Search Result: co
what is wapka code RULE means?
mario · Published on 2021-11-14 07:52:31 (3 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.
comment
how to inactivate user account.
mario · Published on 2021-11-14 07:47:53 (3 years ago )
Go to admin panel and enter user profiles click default user and click edit type....
comment
how to add comment count for newsfeed in homepage
mario · Published on 2021-11-14 07:39:59 (3 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();


Updated 20/07/2022
comment
how to styled user status using green icon for online and grey icon for offline.
mario · Published on 2021-11-13 10:52:59 (3 years ago )
however it comprises of css like 100% and wapka tag like 65%

<*style>
#on {width:3px;height:3px;background:green;padding:3px;border-radius:50%;}
#off {width:3px;height:3px;background:grey;padding:3px;border-radius:50%;}
<*/style>

:VALUE(Published).IFNE(online).THEN(<*span id="off"><*/span>).ELSE(<*span id="on"><*/span>);
comment
how to create smilies code in post
mario · Published on 2021-11-12 20:39:41 (3 years ago )
Welcome all new wapka developer my name is mashionmario let learn how to create smilies code in wapka 2021 post creator

Single replace is :POST(content).REPLACE(["hello","HELLO"]);

when content is hello then switch to HELLO. multiple is just easy when calm down and an create it :POST(content).REPLACE([["1","2","3"],["a","b","c"]]);
thats you can also create :POST(content).REPLACE([[":D",":)"],["['img]laugh photo['/img]","['img]smile photo['/img]"]]); hope all is well.?
comment
Wapka Tag codes
aishwarya · Published on 2021-11-11 14:43:37 (3 years ago )
<div class="bar1top">Tags</div>


<div class="info">Tag code is useful for dynamic website. You can use this tag in any wapka function.</div>


<div class="bar13"><b>:VAR(SITE_NAME);</b> - To get your website name.</div>
<div class="bar14"><b>:VAR(PAGE_NAME);</b> - To get page name</div>
<div class="bar13"><b>:VAR(PAGE_ID);</b> - To get page id</div>
<div class="bar14"><b>:VAR(PAGE_TYPE);</b> - To get page content type (default = text/html)</div>
<div class="bar13"><b>:VAR(USER_NAME);</b> - To get user name</div>
<div class="bar14"><b>:VAR(USER_ROLE);</b> - To get user role</div>
<div class="bar13"><b>:VAR(USER_ID);</b> - To get logged user id</div>
<div class="bar14"><b>:VAR(USER_EMAIL);</b> - To get logged user email</div>
<div class="bar13"><b>:VAR(USER_TYPE);</b> - To get user account type</div>
<div class="bar14"><b>:VAR(IP);</b> - To get IP address</div>
<div class="bar13"><b>:VAR(USER_AGENT);</b> - To get http user agent string</div>
<div class="bar14"><b>:VAR(DEVICE);</b> - To get device type (Desktop or Mobile)</div>
<div class="bar13"><b>:VAR(BROWSER);</b> - To get browser name</div>
<div class="bar14"><b>:VAR(OS);</b> - To get user operating system name</div>
<div class="bar13"><b>:VAR(PROTOCOL);</b> - To get url protocol e.g. http</div>
<div class="bar14"><b>:VAR(HOST);</b> - To get http host</div>
<div class="bar13"><b>:VAR(URL);</b> - To get full url or Uniform Resource Locator</div>
<div class="bar14"><b>:VAR(URI);</b> - To get Uniform Resource Identifier</div>
<div class="bar13"><b>:VAR(URL_PATH);</b> - To get path</div>
<div class="bar14"><b>:VAR(URL_QUERY);</b> - To get query string</div>
<div class="bar13"><b>:VAR(HTTP_METHOD);</b> - HTTP request method</div>
<div class="bar14"><b>:VAR(HTTP_REFERER);</b> - To get http referer</div>
</div>
comment