Hello, Quest!
"Get Knowledge And Spread Knowledge"
More
Chat
If you get an error during the chat, please Refresh the page!
News Feed
samman · Published on 2025-03-17 11:52:02 (3 weeks ago )
wapka sering sekali erorr SSL PROTOCOL kenapa ya 
+ comments
like comment share
FB_IMG_1739463024479 vikkas · Published on 2025-03-14 08:00:39 (3 weeks ago )
Visit http://finewap.tk
like comment
FB_IMG_1739463438259 test_007 · Published on 2025-03-14 07:46:42 (3 weeks ago )
Visit http://finewap.tk
like comment
News Feed
thanmatienthanh · Published on 2022-12-24 16:52:03 (2 years ago )
hello, how do i deduct the user's credit, when viewing a post
like comment
How to set api data & structure
vikkas · Published on 2022-12-06 17:06:30 (2 years ago )
Hello dev. Today u will know how api spiritually worked. For example: A group,B group,C group. I want to join A group by my id 1234. And i want B,C group to not have my id then <key1>A</key1> <key2>1234</key2>. So let say i want all group to have my id then <key1></key1> <key2>1234</key2>. Another method is i want a post comment lister that store comment,react,reply using one headline here is how it works. <pid>:GET(postid);</pid> <key1>comment</key1>. So if want to comment in each of the comment then <pid>:GET(postid);</pid> <key1>comment</key1> </key2>reply:GET(userid);</key2> in here both post comments count & comments replys count will be combine to gether. look just carmly settle down learn wapka. i also learn wapka too,u r expected to do thesame.
like comment
How to let post visible to people who followed you.
vikkas · Published on 2022-12-06 17:02:03 (2 years ago )
These time no one will even see the post trash half. here we go.

create page called "followers.js"

/statement.js
--Api Data Lister
---configuration
<pid>:GET(owner);</pid>
<key1>followers</key1>
<key2>:VAR(USER_ID);</key2>
---code
document.getElementById(":GET(status);").style.display = "block";
---code(default)
document.getElementById(":GET(status);").style.display = "none";

Now create new page called "private.js"
--New Tag Code
document.getElementById(":GET(status);").style.display = ":GET(owner).IFNE.VAR(USER_ID).THEN(none).ELSE(block);";

we are true now go to newsfeed.html
<div><div id="%id%">news code here</div><script src=":VALUE(%key3%).REPLACE([["private","followers","public"],["/private/?owner=%userid%&status=%id%","/followers/?owner=%userid%&status=%id%","#index"]]);"></script></div>
like comment
How to build different page pattern url structure
vikkas · Published on 2022-12-06 17:00:32 (2 years ago )
Look it is very case sensitive...

/(?<token>[0-9]+)/* - link /index/123456 - :VAR(token);

/(?<token>[a-z]+[0-9]+)/* - link /index/abcdtoz0123456789 - :VAR(token);

/(?<token>[A-Z]+[a-z]+[0-9]+)/* - link /index/ABCabc01239 - :VAR(token);

/(?<token>[a-z-0-9]+)/* - link /index/a1b2c3d4 - :VAR(token);

if multiple then url must be sensitive
/(?<token>[a-z]+)/*/(?<session>[0-9]+)/* - link /index/abcd/012349 - token is: :VAR(token); and session: :VAR(session);

if tripple then url also must be sensitive
/(?<token>[a-z]+)/*/(?<session>[A-Z]+)/*/(?<apikey>[0-9]+)/* - link /index/abcd/ABCDE/012349

if want to reject some number
/(?<token>[0-5]+)/* - link /index/0123456789 - :VAR(token); 6789 will not show

if want start Capital
/(?<token>[A-z]+)/* - link /index/Wapka /index/wapka
like comment
How to set file upload variable
vikkas · Published on 2022-12-06 16:55:07 (2 years ago )
Very easy but is the only permission key for you to edit file. without adding variable in file upload,then it seams the file doen't belongs to you anymore

<'set_var_width>...<'/set_var_width>
<'set_var_height>...<'/set_var_height>
<'set_var_description>...<'/set_var_description>
<'set_var_meta_content>upload<'/set_var_meta_content>
<'set_var_meta_type>...<'/set_var_meta_type>
like comment
Credit user 10point when added comment to post
vikkas · Published on 2022-12-06 16:54:20 (2 years ago )
Yeah,these is how it works
create page called "getpoint.html"

--user editor
---configuration
<'userid>:VAR(USER_ID);<'/userid><'set_point>:POST(pt);<'/set_point>
---code
<'input type="hidden" name="pt" value=":VALUE(%point%).PLUS(10);"/><'button id=":VALUE(%notify%).IFEQ(Success).THEN().ELSE(add);">%notify%<'/button>
<'script>
function submit2() { document.submitForm2.submit2( // Submits the form without the button } setTimeout(function submit2(){ document.getElementById("add").click() }, 0000););
<'/script>

Now in your post comment form just add <'embed src=":VALUE(%notify%).IFEQ(Success).THEN(/getpoint.html).ELSE();" style="width:0px;height:0px;border:0px;margin:0px;"/>

When comment page refresh user will not be credited untill the %notify% says "Success" thats all.
like comment
How to get wapka user info by code without user lister
vikkas · Published on 2022-12-06 16:53:13 (2 years ago )
Yes possible we are going to use angular js to make special and useful even when where we are going to display the user info is not a wapka site.
here we go.

Create page called "import.js".

/import.js
---user lister
----configuration:
<'id>:GET(userid);<'/id>

----code:
var app = angular.module('User', []); app.controller('Information', function($scope) { $scope.Username= "%username%";
$scope.Id= "%id%";
$scope.Avatar= "%avatar%";
$scope.Logindate= "%logindate%";
$scope.Country= ":VALUE(%country%).OR(%var(country)%);";
});
you can add more scopes

Now all is done.
Any page or site just add
<'script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"><'/script> <!!--box block--!!>
<'div ng-app="User" ng-controller="Information">Hello {{Username}},you are welcome to my site and your info:
Username: {{Username}}
Id: {{Id}}
more and more scope. <'/div>then under <'script src="http://mywapkasite.com/import/?userid=1234"><'/script>
<!!--box block--!!>
like comment
list of browsers name in wapka database for :VAR(BROWSER)
vikkas · Published on 2022-12-06 16:31:02 (2 years ago )
-:VAR(BROWSER);
--Opera
--Chrome
--Safari
--Firefox
--Handheld
--Ucweb
like comment
how to build real rating 5 star by %total% count
vikkas · 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
<!!postbox start!!>contents etc <img id="%id%star1"><img id="%id%star2"><img id="%id%star3"><img id="%id%star4"><img id="%id%star5"> then make sure these script is under <script src="/count.js/?postid=%id%"></script>
<!!postbox closed!!> 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.
vikkas · 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:
<div id="userlist"></div> <script src="/user.js"></script>

file js -userlister
header code:
var list = "

code:
html here

footer code:
"
document.getElementById("userlist").innerHTML = list;
like comment
Update
File Upload Post Creator.jpg [ ] (224.62 KB)(vikkas)
File Upload Message Sender.jpg [ ] (279.86 KB)(vikkas)
File Upload Message Lister.jpg [ ] (207.61 KB)(vikkas)
News Feed News Feed [ ] (mobtony)
News Feed News Feed [ ] (mobtony)
News Feed News Feed [ ] (mobtony)
News Feed News Feed [ ] (mobtony)
News Feed News Feed [ ] (mobtony)
Categorys
Statistics
Total posts 1457 •Total Files 62 •Total members 42 •Our newest member patepang
2025 forum.wapka.co
Version 1.0