Hello, Quest!
"Get Knowledge And Spread Knowledge"
More
Chat
If you get an error during the chat, please Refresh the page!
News Feed
wap4co · Published on 2024-06-16 02:48:36 (7 months ago )
create anything and your site with our platform: https://wap4.cp
like comment
Related files Admin · Published on 2024-07-27 07:34:24 (6 months ago )
Visit http://finewap.tk
views(0) comment
Forum Creator salamonvikkas · Published on 2024-03-16 02:36:17 (11 months ago )
Visit http://finewap.tk
views(0) comment
how to banned user from posting again in newsfeed.
salamonvikkas · Published on 2022-12-05 17:43:01 (2 years 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"/>
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 (2 years ago )
Helper function
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
:GET(name); - To get data from url
:POST(name); - To get http post data
:COOKIE(name); - To get http cookie
:REQUEST(name); - Get combined data from get, post & cookie
:VALUE(data); - This function is used to set function parameter.
:DATA(Function or tag or data); - You can get data from many function like :DATA(Name: #GET(name)# ID: #VAR(USER_ID)#);
:SET(name); - 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.
:SAVE(name); - This is similar as SET but this will save data in server (session) and you can use this data later on any page
:VAR(name); - To get data from variable use this function
:DATE(); - 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);
:SLUG(make url); - Make SEO frendly url from any text. You can use with other function/tag like :SLUG(%title%);
:URL_ENCODE(url); , :HTML_ENCODE(html);, :BASE64_ENCODE(data);) - To encode data
:URL_DECODE(url); , :HTML_DECODE(html);, :BASE64_DECODE(data);) - decode encoded data
:REMOVE_TAG; - to remove html tag from input. usage - :REMOVE_TAG(<tag>this is tag</tag>); To allow tag use like - :VALUE(<b>this is bold</b><i>this is italic</i>).REMOVE_TAG(<i>);
:LOWER(MAKE IT LOWER); - convert all character to lower case.
:UPPER(lower to upper) - convert all character to upper case
:TRIM( space ); - Remove whitespace from data. You can also remove other character like :VALUE(-----test--------).TRIM(-); this will remove all -
:CHOP(space ); - Same as TRIM but remove from at the end of string
:CUT(["start", "end"]); - 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
:LENGTH(data); - length
:INT(1234abcd); - To make sure data is numeric
:NULL(nothing); - 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
:REPLACE(["search", "replace"]); - This function is used to search and replace you can pass json array or string as parameter. Usage :VALUE(test_data).REPLACE("_data");
:RANDOM(["one", "two", "three", "More"); - Get random value form JSON array or string. To generate random number use like :RANDOM("123456790");
:PLUS(numeric value); - Math function.
:MINUS(numeric value); - Math function.
:DIVIDE(numeric value); - Math function.
:MULTIPLY(numeric value); - Math function.
Math function usage: - 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);
like comment
Browser Shortcut, Add to..
salamonvikkas · Published on 2022-12-05 17:21:02 (2 years ago )
 (Change Data that u want)
like comment
Auto Hide Message
salamonvikkas · Published on 2022-12-05 17:19:28 (2 years ago )
:VALUE(%status%).IFEQ(unread).THEN(

CloseNew Message
%sender_name%

).ELSE(); For more details replay
like comment
how to abbrevate color text bbcode.
salamonvikkas · Published on 2022-12-05 17:17:36 (2 years 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 (2 years 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 (2 years 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
what is wapka code RULE means?
salamonvikkas · Published on 2022-12-05 17:12:01 (2 years ago )
anytime i add code i see RULE under the code.... code rule is the easy way to detect and ban or command what will happen to the code when success not archeived.
like comment
how to inactivate user account.
salamonvikkas · Published on 2022-12-05 17:10:29 (2 years ago )
Go to admin panel and enter user profiles click default user and click edit type....
like comment
how to add comment count for newsfeed in homepage
salamonvikkas · Published on 2022-12-05 17:08:01 (2 years ago )
Newsfeed/Posts
<'comment id="count%id%"><'/comment> <'script src="/count/?id=%id%"><'/script>
page count.js
--Api data lister
---configuration
<'pid>:GET(id);<'/pid><'key1>comments<'/key1>
---code(header)
document.getElementById("count:GET(id);").innerHTML = "%total%";
---code
:NULL();
like comment
Update
File Upload image_downloader_1650300255349.jpg [ ] (61.86 KB)(test_006)
Categorys
Statistics
Total posts 1148 •Total Files 42 •Total members 39 •Our newest member Priyanka
2025 merci.wapka.co
Version 1.0