Hello, Quest!
More
Chat
If you get an error during the chat, please Refresh the page!
News Feed
mobtony · Published on 2023-11-17 09:01:22 (5 months ago )
Free complete facebook clone theme 
https://sweetpi.com.ng/wapka-center

like comment
Forum Creator salamonvikkas · Published on 2024-03-16 02:36:17 (1 month ago )
Visit http://finewap.tk
views(0) comment
Random code salamonvikkas · Published on 2024-03-03 18:58:25 (2 months ago )
Visit http://finewap.tk
views(0) comment
How to delete Api Data file
salamonvikkas · Published on 2022-12-05 17:53:21 (1 year ago )
its good to delete api using js auto submit button form method="post" when action="/data/delete/%id%" button id="autosubmit" think of using rule to disable code when data api file delete success
<*script type="text/javascript"> function submit2() { document.submitForm2.submit2(); // Submits the form without the button } setTimeout(function submit2(){ document.getElementById("autosubmit").click() }, 0000); <*/script>
like comment
how to replace your name with any content in message lister
salamonvikkas · Published on 2022-12-05 17:50:48 (1 year ago )
:VALUE(%sender_id%).IFEQ.VAR(USER_ID).THEN(your content here).ELSE(%sender_id%);
like comment
how to submit wapka login form without clicking the button
salamonvikkas · Published on 2022-12-05 17:47:44 (1 year ago )
We have specific js for you already
your form button should have id="autologin"

Javascript:
function submit2() { document.submitForm2.submit2(); // Submits the form without the button } setTimeout(function submit2(){ document.getElementById("autologin").click() }, 0000);

make sure login url config. Redirect to any page else archieved denied
like comment
how to banned user from posting again in newsfeed.
salamonvikkas · Published on 2022-12-05 17:43:01 (1 year ago )
Very easy, create page called banned list... Add User Editor code:
configuration:
userid > :POST(id);
set_role > :POST(access);
Then code box: Enter Userid:<*input type="text" name="id"/><br>Select access: <*select name="access"><*option value="Banned">Banned These Userid<*/option><*option value="Member">Unbanned These Userid<*/option><*/select>
<*button>Saved Condition<*/button>
%notify%
Remember only admin it should be visible too.
Now lets start main condition or funtion code in newsfeed creator code! edit the Code Rule :VAR(USER_ROLE).IFEQ(Banned).THEN(#DISABLE#);
Now lets informed the user that he or she is banned from posting again for violenting the rule you quoted lol... :D okay.
Add new fresh Tag code with these text inside it. <*div -your angry div->Dear :VAR(USER_NAME);,you are banned to post news in these site anymore.. next time try to obey rule of any site. we will unbanned you after few weeks... chat friends online untill we unbanned you. Thanks<*/div> These code is created. Now edit these code Rule: :VAR(USER_ROLE).IFEQ(Banned).THEN(#ENABLE#).ELSE(#DISABLE#);
be carefull cuz these coding need metal reasons. not functional reasons lol
like comment
Wapka Helper function Tags
salamonvikkas · Published on 2022-12-05 17:40:20 (1 year ago )
<div class="bar1">


<div class="bar1top">Helper function</div>


<div class="info">You can use helper function with tag codes. Helper function is very useful for data processing.




WAPKA function name is case sensitive. To make function chain use (.) dot</div>


<div class="bar13"><b>:GET(name);</b> - To get data from url</div>


<div class="bar14"><b>:POST(name);</b> - To get http post data</div>


<div class="bar13"><b>:COOKIE(name);</b> - To get http cookie</div>


<div class="bar14"><b>:REQUEST(name);</b> - Get combined data from get, post & cookie</div>


<div class="bar13"><b>:VALUE(data);</b> - This function is used to set function parameter.</div>


<div class="bar14"><b>:DATA(Function or tag or data);</b> - You can get data from many function like :DATA(Name: #GET(name)# ID: #VAR(USER_ID)#);</div>


<div class="bar13"><b>:SET(name);</b> - You can use this function to define variable. :VALUE(test data).SET(new_var); You can also call multiply function and make chain - :GET(id).INT.SET(ID); here we get data from url then make sure it number then set variable.</div>


<div class="bar14"><b>:SAVE(name);</b> - This is similar as SET but this will save data in server (session) and you can use this data later on any page</div>


<div class="bar13"><b>:VAR(name);</b> - To get data from variable use this function</div>


<div class="bar14"><b>:DATE();</b> - This function is for date and time. To format current date Use :DATE(formater); You can format any date from other function and also time ago like :VALUE(Dec 2020).DATE(AGO); to use with other function use :VALUE(%date%).DATE(Formater or AGO);</div>


<div class="bar13"><b>:SLUG(make url);</b> - Make SEO frendly url from any text. You can use with other function/tag like :SLUG(%title%);</div>


<div class="bar14"><b>:URL_ENCODE(url); , :HTML_ENCODE(html);, :BASE64_ENCODE(data);)</b> - To encode data</div>


<div class="bar13"><b>:URL_DECODE(url); , :HTML_DECODE(html);, :BASE64_DECODE(data);)</b> - decode encoded data</div>


<div class="bar14"><b>:REMOVE_TAG;</b> - to remove html tag from input. usage - :REMOVE_TAG(&lt;tag&gt;this is tag&lt;/tag&gt;); To allow tag use like - :VALUE(&lt;b&gt;this is bold&lt;/b&gt;&lt;i&gt;this is italic&lt;/i&gt;).REMOVE_TAG(&lt;i&gt;);</div>


<div class="bar13"><b>:LOWER(MAKE IT LOWER);</b> - convert all character to lower case.</div>


<div class="bar14"><b>:UPPER(lower to upper)</b> - convert all character to upper case</div>


<div class="bar13"><b>:TRIM( space );</b> - Remove whitespace from data. You can also remove other character like :VALUE(-----test--------).TRIM(-); this will remove all -</div>


<div class="bar14"><b>:CHOP(space );</b> - Same as TRIM but remove from at the end of string</div>


<div class="bar13"><b>:CUT(["start", "end"]);</b> - Get part of string from start to end you can also set starting and ending position like :VALUE(this is test).CUT([0, 10]); to get first 10 character</div>


<div class="bar14"><b>:LENGTH(data);</b> - length</div>


<div class="bar13"><b>:INT(1234abcd);</b> - To make sure data is numeric</div>


<div class="bar14"><b>:NULL(nothing);</b> - If you want to call a function and hide result use this at the end. :GET(data).SET(var).NULL; set variable and display nothing</div>


<div class="bar13"><b>:REPLACE(["search", "replace"]);</b> - This function is used to search and replace you can pass json array or string as parameter. Usage :VALUE(test_data).REPLACE("_data");</div>


<div class="bar14"><b>:RANDOM(["one", "two", "three", "More");</b> - Get random value form JSON array or string. To generate random number use like :RANDOM("123456790");</div>


<div class="bar13"><b>:PLUS(numeric value);</b> - Math function.</div>


<div class="bar14"><b>:MINUS(numeric value);</b> - Math function.</div>


<div class="bar13"><b>:DIVIDE(numeric value);</b> - Math function.</div>


<div class="bar14"><b>:MULTIPLY(numeric value);</b> - Math function.</div>


<div class="bar13"><b>Math function usage:</b> - To calculate data you can use math function. Example usage: :GET(id).PLUS(100); , :VALUE(100).PLUS(100).DIVIDE(2);, :VAR(number).PlUS.GET(number);</div>
</div>
like comment
Browser Shortcut, Add to..
salamonvikkas · Published on 2022-12-05 17:21:02 (1 year ago )
<script>final Intent in = new Intent(); final Intent shortcutIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(url)); long urlHash = url.hashCode(); long uniqueId = (urlHash << 32) | shortcutIntent.hashCode(); shortcutIntent.putExtra(Browser.EXTRA_APPLICATION_ID, Long.toString(uniqueId)); in.putExtra(Intent.EXTRA_SHORTCUT_INTENT, shortcutIntent); in.putExtra(Intent.EXTRA_SHORTCUT_NAME, title); in.putExtra(Intent.EXTRA_SHORTCUT_ICON_RESOURCE, Intent.ShortcutIconResource.fromContext( BrowserBookmarksPage.this, R.drawable.ic_launcher_shortcut_browser_bookmark)); in.setAction("com.android.launcher.action.INSTALL_SHORTCUT"); //or in.setAction(Intent.ACTION_CREATE_SHORTCUT); sendBroadcast(in);</script> (Change Data that u want)
like comment
Auto Hide Message
salamonvikkas · Published on 2022-12-05 17:19:28 (1 year ago )
:VALUE(%status%).IFEQ(unread).THEN(<center><div id="scgnoti"><p class="success"> <a id="close">Close</a>New Message <br>%sender_name%<br><textarea>%msg%</textarea></p></div></center>).ELSE(); <script> close = document.getElementById("close"); close.addEventListener('click', function() { scgnoti = document.getElementById("scgnoti"); scgnoti.style.display = 'none'; }, false); </script> For more details replay
like comment
how to abbrevate color text bbcode.
salamonvikkas · Published on 2022-12-05 17:17:36 (1 year ago )
:POST(content).REPLACE([["[red]","[blue]","[green]","[/red]","[/blue]","[/green]"],["[*color=red]","[*color=blue]","[*color=green]","[/color]","[/color]","[/color]"]]);
like comment
how to add button to claim point everyday 1 times when user come online
salamonvikkas · Published on 2022-12-05 17:15:37 (1 year ago )
Add User editor and edit
configuration: <*userid>:VAR(USER_ID);<*/userid> <*set_point>:POST(point);<*/set_point> <*set_var_date>:POST(date);<*/set_var_date>
code: <*input type="hidden" name="date" value=":DATE(d);"/> <*input type="hidden" name="point" value=":VALUE(%point%).PLUS(50);"/>:VALUE(%var(date)%).IFNE.DATE(d).THEN(<*button type="submit">claim 50 point<*/button>).ELSE(You have successfully claim today gift point,come back tomorrow for more);
like comment
how to inform user that his or her point is not enough to purchase items
salamonvikkas · Published on 2022-12-05 17:14:10 (1 year ago )
:VALUE(%point%).IFLE(299).THEN(Sorry your point is too low to purchase item cost 300 point); you need :VALUE(300).MINUS(%point%); point to purchase these item.
correct lol am good in maths.
like comment
Update
File Upload IMG-20220518-WA0000.jpg [ ] (113.29 KB)(salamonvikkas)
File Upload IMG-20220625-WA0000.jpg [ ] (111.48 KB)(salamonvikkas)
File Upload image_downloader_1650300255349.jpg [ ] (61.86 KB)(test_006)
Categorys
2024 merci.wapka.co
Version 1.0