Hello, Quest!
"Get Knowledge And Spread Knowledge"
More
Chat
If you get an error during the chat, please Refresh the page!
Message lister (wapka api)
salamonvikkas · Published on 2025-01-24 10:52:03 (4 days ago )
https://api.wapka.org/MessageInfo?apikey={{VAR(APIKEY&userid=143520&limit=10&page=1)}}
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 (10 months ago )
Visit http://finewap.tk
views(0) comment
how to build real rating 5 star by %total% count
salamonvikkas · Published on 2022-12-06 16:29:51 (2 years ago )
657
76

 Home » Wapka Codes 2022 » how to build real rating 5 star by %total% count
mario
 mario
 5 months ago
Hello i heard you want to build a rating 5 star image for a content like post,musics,videos

All you need are here.
Step 1
build a page called "count.js"
--/count.js
---Api Data Lister
----configuration:
<'pid>:GET(postid);<'/pid><'limit>1<'/limit><'key1>rates<'/key1>
----code(header):
document.getElementById(":GET(postid);star1).src = ":VALUE(%total%).IFGE(10).THEN(yellowstar.png).ELSE(greystar.png);"
document.getElementById(":GET(postid);star2).src = ":VALUE(%total%).IFGE(20).THEN(yellowstar.png).ELSE(greystar.png);"
document.getElementById(":GET(postid);star3).src = ":VALUE(%total%).IFGE(30).THEN(yellowstar.png).ELSE(greystar.png);"
document.getElementById(":GET(postid);star4).src = ":VALUE(%total%).IFGE(40).THEN(yellowstar.png).ELSE(greystar.png);"
document.getElementById(":GET(postid);star5).src = ":VALUE(%total%).IFGE(50).THEN(yellowstar.png).ELSE(greystar.png);"
----code:
:NULL();

Now create new page called "newsfeed.html" etc.
--/newsfeed.html
---api lister or any
attach
contents etc  then make sure these script is under 
 the box of the content you are listing
---attach key1-rates when adding comments,likes,etc pointed to the id api lister data.
like comment
How to display my full users lister in any website.
salamonvikkas · Published on 2022-12-06 16:25:36 (2 years ago )
is possible we need js experience

user.js:

var list = "html code here"
document.getElemetById("userlist").innerHTML = list;

mysite.com/index.html:
file js -userlister header code: var list = " code: html here footer code: " document.getElementById("userlist").innerHTML = list;
like comment
converts comma separated values ​​to random
salamonvikkas · Published on 2022-12-06 16:15:07 (2 years ago )
value tags: pop, rock, metal, edm :URL_ENCODE(["%var(tags)%"]).REPLACE(["%2C%20", "%22%2C%20%22"]).URL_DECODE.RANDOM.SET(related).NULL; result var(related) : edm (one of the random var tags above)
like comment
how to create a shoutbox?
salamonvikkas · Published on 2022-12-06 16:12:24 (2 years ago )
Post creator: <*div class="list"><*b>What's On Your Mind?<*/b><*br/><*textarea type="text" name="shout"><*/textarea><*br/><*input type="submit" name="submit" value="Share" /> or <*img src="http://static.ak.fbcdn.net/rsrc.php/v1/yz/r/StEh3RhPvjk.gif"/> <*a href="/photo">Photo<*/a><*/div> Config:<*forumid>14630<*/forumid><*title>salamonvikkas<*/title><*content>:*POST(shout);<*/content> <*status>published<*/status>


Post lister: <*a href="/profile">%username%<*/a><*br/>Says: %content%<*br/>:*VALUE(%delete%).IFEQ(/delete/post/%id%).THEN(<*a href="%delete%">Delete<*/a>).ELSE.NULL;<*br/> Config:<*limit>6<*/limit><*status>published<*/status><*order>new<*/order><*page>:*GET(page);<*/page><*url>?page=<*/url>
like comment
How many programe skill wapka accept?
salamonvikkas · Published on 2022-12-06 16:08:40 (2 years ago )
1. Tags & functions 2. Html 3. Javascript 4. Jquery 5. css 6. xml 7. wapka script (ws) [new]
like comment
What type of site wapka can create?
salamonvikkas · Published on 2022-12-06 16:07:09 (2 years ago )
1. Chat site 100% 2. Video Share 100% 3. Music Share 100% 4. Graphic Work 100% 5. Blog site 100% 6. Additive Game 92% 7. Mailing to Gmail 25% 8. Map site 55% 9. Website builder 90% 10. Tech & science
like comment
Wapka Basic function
salamonvikkas · Published on 2022-12-06 16:06:08 (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
resize message lister %msg% image bbcode direct
salamonvikkas · Published on 2022-12-06 16:02:54 (2 years ago )
 %msg% dont worry,any image that is inside will be resizeable.
like comment
How to set wapka theme
salamonvikkas · Published on 2022-12-06 16:01:20 (2 years ago )
wapka.org: Control panel > Pre-build Themes > Restore

Wapka themes downloaded json file and select restore
Or
Enter wapka themes file key to restore
Ex:
[05f71cfbc2b6b19ff8cad727c55a03d1:326377]
like comment
delete post creator only code
salamonvikkas · Published on 2022-12-06 16:00:17 (2 years ago )
:*VAR(USER_ID).IFEQ(%userid%).THEN(❌ delete).ELSE();
like comment
Update
File Upload Post Lister.jpg [ ] (255.69 KB)(salamonvikkas)
File Upload Post Creator.jpg [ ] (224.62 KB)(salamonvikkas)
File Upload Message Sender.jpg [ ] (279.86 KB)(salamonvikkas)
News Feed News Feed [ ] (thanmatienthanh)
Categorys
Statistics
Total posts 1145 •Total Files 42 •Total members 39 •Our newest member Priyanka
2025 merci.wapka.co
Version 1.0