Hello, Quest!
Chat
If you get an error during the chat, please Refresh the page!
----------(1-File-Search)---------->
Related files
Admin
· Published on 2024-07-27 07:34:24 (4 months ago )
Visit http://finewap.tk
views(0) | comment |
----------(1-File-Search)---------->
Forum Creator
salamonvikkas
· Published on 2024-03-16 02:36:17 (8 months ago )
Visit http://finewap.tk
views(0) | comment |
Wapka Basic function
salamonvikkas · Published on 2022-12-06 16:06:08 (2 years ago )
salamonvikkas · Published on 2022-12-06 16:06:08 (2 years 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(<tag>this is tag</tag>); To allow tag use like - :VALUE(<b>this is bold</b><i>this is italic</i>).REMOVE_TAG(<i>);</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 |
resize message lister %msg% image bbcode direct
salamonvikkas · Published on 2022-12-06 16:02:54 (2 years ago )
salamonvikkas · Published on 2022-12-06 16:02:54 (2 years ago )
<style> msg img{width:150px;height:150px;} </style> <msg>%msg%</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 )
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 )
salamonvikkas · Published on 2022-12-06 16:00:17 (2 years ago )
:*VAR(USER_ID).IFEQ(%userid%).THEN(<a href="%delete%">❌ delete</a>).ELSE();
like | comment |
New wapka code called (link target v1.0)
salamonvikkas · Published on 2022-12-06 15:58:04 (2 years ago )
salamonvikkas · Published on 2022-12-06 15:58:04 (2 years ago )
Lot of developers in wapka like to show content of div when link is click something like /index/?page=login but the page load true browser to make sure their :GET; function collect the page data called login. There is a shortcut to display div content like app without page loading... and you will enjoy it. Set your css .login,.register,.terms {display:none;} #login:target,#register:target,#terms:target {display:block;} link <a href="#login">Login Page</a> <a href="#register">Register Page</a> <a href="#terms">Terms Page</a> <div class="login" id="login">Login to your account here</div> <div class="register" id="register">Register your account here</div> <div class="terms" ="terms">You full terms and others content here</div>
like | comment |
Check if logged user is an Admin
salamonvikkas · Published on 2022-12-06 15:56:58 (2 years ago )
salamonvikkas · Published on 2022-12-06 15:56:58 (2 years ago )
The following Wapka code can check if the logged user is an Admin: :VAR(USER_ROLE).IFMATCH(Admin).THEN(Is an Admin).ELSE(Not an Admin); It returns "Is an Admin" if the user belongs to any of the following roles: Administrator, Master Admin, or Super Admin. Returns "Not an Admin" if the user belongs to any other role.
like | comment |
New Six Wapka Themes and Keys ID
salamonvikkas · Published on 2022-12-06 15:55:59 (2 years ago )
salamonvikkas · Published on 2022-12-06 15:55:59 (2 years ago )
1. Popchat 2022 [e30819a3662ed617fca53126789efd74:299548] 2. Edupedic [80e298d1cd2a371dc6156fd380124eac:296416] 3. Poptalk v9.8 [837fc68ef4cbb3958100625163519a3e:276892] 4. Poptalk 2021 [43d7fd7731d0ff820c09956cb05c84c4:263765] 5. Naijashare [dde9d3bde5f7abf7036d77cdb380fa01:205226] 6. Paint Note [e6a79475022db4cc9c23a403fffc0ad4:130074]
like | comment |
How to list posts (forum)
salamonvikkas · Published on 2022-12-06 15:45:42 (2 years ago )
salamonvikkas · Published on 2022-12-06 15:45:42 (2 years ago )
<*div class="catrow"><*a href="/profile/%userid%/?act=info">%username%<*/a><*br/>Says: %content%<*br/>:*VALUE(%delete%).IFEQ(/delete/post/%id%).THEN(<*a href="%delete%">Delete<*/a>).ELSE.NULL;<*br/>:*VALUE(%date%).DATE(AGO);<*/div> Config:<*forumid>15554<*/forumid><*limit>6<*/limit><*status>published<*/status><*order>new<*/order><*page>:*GET(page);<*/page><*url>?page=<*/url>
like | comment |
Checking if the current page starts with certain text
salamonvikkas · Published on 2022-12-06 08:03:40 (2 years ago )
salamonvikkas · Published on 2022-12-06 08:03:40 (2 years ago )
You can detect if the user is accessing a page that starts with a specific text using the URL_PATH and IFMATCH functions. An example of use is to redirect users to the home page if they directly access the /header/ and /footer/ pages. See comment to read more...
like | comment |
How to create wapka link to file,post etc
salamonvikkas · Published on 2022-12-06 07:59:25 (2 years ago )
salamonvikkas · Published on 2022-12-06 07:59:25 (2 years ago )
in wapka we have two (2) ways to create link but not everybody know how to do it the first link goes with / + ? + = + & why the second link goes with / + / + / + / unlimited these second link in wapka is called page pattern url why the other link is for beginners like these /index/?act=login&session=fr322eD6&browser=Chrome&phone=Tecno-Y2, in pattern url its just /index/login/fr322eD6/Chrome/Tecno-Y2 but you will get no result because its VAR not GET... your :VAR(name); will succeed when you add a pattern to header page or specific page like login,home,message any page you like something like these /(?<act>[0-9]+)/*/(?<session>[0-9]+)/*/(?<browser>[0-9]+)/*/(?<phone>[0-9]+)/* i mean you should add it very important. now url pattern is done our final work is to collect value from server and display it by :VAR(name); change the word name to any like :VAR(act); to display content of "login" :VAR(session); Do thesame for rest.
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)
Wapka Codes 2022 Credit user 10point when added comment to post [ ] (salamonvikkas)
Wapka Codes 2022 How to get wapka user info by code without user lister [ ] (salamonvikkas)
Wapka Codes 2022 list of browsers name in wapka database for :VAR(BROWSER) [ ] (salamonvikkas)
Wapka Codes 2022 how to build real rating 5 star by %total% count [ ] (salamonvikkas)
Wapka Codes 2022 How to display my full users lister in any website. [ ] (salamonvikkas)
Wapka Codes 2022 converts comma separated values to random [ ] (salamonvikkas)
Wapka Codes 2022 how to create a shoutbox? [ ] (salamonvikkas)
Categorys
News Feed (25)
Wapka Codes 2021 (40)
Wapka Codes 2022 (19)
Wapka Codes 2023 (2)
File Upload (4)
Wapka Images 2021 (15)