Search Result:
how to inactivate user account.
vikkas · Published on 2022-12-05 17:10:29 (2 years ago )
vikkas · 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....
![]() | comment |
how to add comment count for newsfeed in homepage
vikkas · Published on 2022-12-05 17:08:01 (2 years ago )
vikkas · 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();
![]() | comment |
how to replace user avatar with thumbnail when pic is not uploaded
vikkas · Published on 2022-12-05 17:06:26 (2 years ago )
vikkas · Published on 2022-12-05 17:06:26 (2 years ago )
if user have not upload avatar (picture) think of it.. his or her profile will look boring. suggest you code avatar <*img>:VALUE(%avatar%).IFEQ().THEN(/thumbnail.png).ELSE(%avatar%);<*/img>
![]() | comment |
how to styled user status using green icon for online and grey icon for offline.
vikkas · Published on 2022-12-05 17:04:37 (2 years ago )
vikkas · Published on 2022-12-05 17:04:37 (2 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 direct guest from any page to login page
vikkas · Published on 2022-12-05 17:01:53 (2 years ago )
vikkas · Published on 2022-12-05 17:01:53 (2 years ago )
Try to command :VAR(USER_ID).IFEQ().GOTO(/login.php).ELSE.NULL;
![]() | comment |
how to create smilies code in post
vikkas · Published on 2022-12-05 16:58:34 (2 years ago )
vikkas · Published on 2022-12-05 16:58:34 (2 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 |
how to make dynamic url easy
vikkas · Published on 2022-12-05 16:56:09 (2 years ago )
vikkas · Published on 2022-12-05 16:56:09 (2 years ago )
you like dynamic url? /message/uid/1234 why out put 1234 ? then create page and input new page PATTERN (?<*uid>[0-9]+)/*/(?<*send>[0-9]+)/* remove * and output code is just :VAR(uid); why /index/?uid=1234 is just :GET(uid); remeber /index/1234 or any number is allowed only if not number its terminated try to use a letters n number dynamic url like /message/1234/ or /message/admin/ when page is not index.
![]() | comment |
Wapka Tag codes
vikkas · Published on 2022-12-05 16:53:29 (2 years ago )
vikkas · Published on 2022-12-05 16:53:29 (2 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 |