Understanding Forumlist Tag in Wapka

In this lengthy tutorial I will try to illustrate all uses of wapka forumlist tag. I will show you how to and when use this code.. Keep reading!

Forum help you to gather info or comment from the users, remember that users have the best suggestion about your services. This tutorial was requested by wapkatutor user some days ago, now I am adding it on his request.
After this tutorial, you will be able to use :forumlist: tags in wapka and also will be able to allow users to read or write comments on your site as like all other forums.. :)
You need to do the following in order to learn the wapka forumlist tag..

  1. Login to your free wapka account
  2. Goto Admin Mode
  3. Add the new forum via ES > Forum
    1. Write Forum Name: Demo
    2. Forum Type: Simple
    3. Item will be visible for: In admin mode
    4. It should look like this picture..
  4. Now click the created forum and note down its forum ID, You can find the forum ID at the bottom right of the forum site under the EDIT SITE Link.. like this picture, instead of black marked space you will see the forum ID
  5. Now goto the main page of your site, and add the following code via ES > WML/xHTML code

    In above code change XXXXXX with the noted Forum ID. Add this code and check what it displayed... It will display nothing at this time.. Now to add new messages in our forum we need to add the form to add messages, add the following code via ES > WML/xHTML code

    Change ID with the noted forum ID in above code.. After that add new message via the form and immediately you will see the message via code in :forumlist: that we have added above..
  6. Now if you like you can change the :forumlist:--------:/forumlist: code that we used in step 5. For this purpose you need to understand this tag, lets do it in this step..
    1. Forumlist code starts with :forumlist: and ends on :/forumlist:
    2. We seperate the DELIMITERS, LINE_FORMAT and PARAMETERS with the :: i.e. :forumlist:PARAMETERS::LINE_FORMAT::DELIMITERS:/forumlist:
    3. Now instead of PARAMETERS we can use following values. You can separate two or more values with a comma..
      1. f=ID ID can be any Forum ID. Like f=12345. You can add two forum by separating with a space, like f=12345 123456
      2. t=TIME_FORMAT this defines the time format for %time% in LINE_FORMAT.. Like you can use t=-- this will display time as 1 minute ago, two weeks ago etc
      3. l=1-200 This will define the number of messages in one page. Minimum messages is 1 and maximum messages are 200 per page. You can use l=0 if you like only count of messages.. For example, l=2 this will display the two messages only.
      4. s=PAGES You can set the target page with this value.. This parameter is useful, if you want to separate list on more sites. For example if you want to display list with first 10 messages set parameter l on 10 and parameter s on 1, if you want to display next 10 messages (11-20) leave parameter l on 10 and parameter s set on 2.
      5. o=ORDER order parameter can have two values: n (new first) and o (old first).. So if you want to display the old messages first set o=o and set o=n if you wanted to display new messages first.
      6. Now you can write more parameter by using this code: :forumlist:f=ID,o=n,s=1,l=1::LINE_FORMAT::DELIMITERS:forumlist:
        You can see that we have separated values via comma. You can reorder it as you like but always separate it with comma and parameter should be used before the ::.
    4. For Line format can be used following variables. All variables have different values stored in wapka server. Thats why wapka has lots more than you can imagine.
      1. %name% User name of the user who added the message. If you will add the message than your username will be administrator
      2. %tname% User name only text without Icons or colors etc.
      3. %lname% Adds the link to user profile who has added the message, if its administrator then user will goto the new PM page.
      4. %time% Time of message
      5. %text% Text of the message or body of the message
      6. %ip% IP address of the user who has added the message.
      7. %ipx% IP address of the user who added the message but last three digits hidden.
      8. %browser% Browser of the user. i.e. Opera Mini etc
      9. %flag% Flag of the users country..
      10. %country1% Full country name.. i.e. Pakistan, India etc
      11. %country2% Abbreviation of country 2 letters.
      12. %country3% Abbreviation of country 3 letters.
      13. %prvar-N% Profile variable from user profile, I will add tutorial on profile variable but not in this tutorial..
      14. %urlpicture% URL of picture from profile. This variable generate only URL, not whole picture code!!! It means, that must be used with HTML image code. i.e.

      15. %urlprcom% This varialbe create the link to user profile comments who added the message.. This tag must be used with HTML link/anchor tag.i.e.

      16. %urlpm% Same like %rcom% but it creates link to the user Private Mwssages if he/she is your reg. member.
    5. Instead of DELIMITERS you can use any HTML code like line beak. Actually this is the separator adding space.. i.e you can add anthing that you wanna use as separator.. It can be line break, hard line, simple text or any other thing..
  7. You can do whatever you like in wapka forumlist just follow the rules.. :)

I hope my hard work will be work for you and I want you to be master of :forumlist: after reading this tutorial.. Somehow if you don't understand anything or something write coment and I will be there.
Join our facebook page
Create your own free wapsite in minutes
Request New Tutorials

21 comments:

  1. If we have make many forums Like mobile tricks, pc tricks... Then have We to follow whole step or we can copy the whole Forum

    ReplyDelete
  2. You just need to change the FORUM ID of the forum..

    ReplyDelete
  3. How to share my files and forums at my other wapka site???

    ReplyDelete
  4. You can not use files of another users easily.. :)

    ReplyDelete
  5. Ahmed Bhai, Plz add "TOP 20 Filelist code" for wapka site

    ReplyDelete
  6. u really rock bro! Keep up the good work! This blog is good since i'm still learning wapka.. Im looking forward for more tutorials.. Thanks a lot! ;D

    ReplyDelete
  7. @fundunia I need your help...

    Do u know any free sms server/gateway... I want to add free sms service in my site and also email sender...The old sms server was closed and I cant find a email sender server in Mobile easily... So if you know please contact me at fb.com/brusterio or brusterio@live.com
    Thanks...keep up your hardwork.....

    - Saravanan brusterio

    ReplyDelete
  8. brusterio@ Sorry I don't know any of them.. Maybe I add tutorial on it later.

    ReplyDelete
  9. K..thanks..but Is it possible to view source of exloader...? I mean which url/server/gateway used...

    ReplyDelete
  10. Sorry, its not possible because you can't see php source coding..

    ReplyDelete
  11. hi i create a chatting wapsite hairat.wapka.mobi.i want Photo Gallery for my wapsite help me

    ReplyDelete
  12. How do i crown admin of my site

    ReplyDelete
  13. Hello, Is there a way to copy forum on a particular site to other sites? E.g Forum-Music to sites, A, B , C etc so that Forum-Music appears in all your linked sites?

    Thanks so far

    ReplyDelete
  14. i didn't see my forum id
    it is like right side of my computer screen
    like this ............................................................. EDIT SITE (#) ::
    ...........................................................................................Site ID: 0»

    thats why i din't see my forum id
    reply me plxx

    ReplyDelete
  15. Nice tutorial bro.. mail me at asagar966@gmail.com i have something for you. or checkout my site www.hallagulla.ca.vu

    ReplyDelete
  16. Please i created a forum but but a message in one category of the forum appears in all the categoris.pls what do i do to separate them

    ReplyDelete
  17. Pls Admin, I need wapka codes for forum theme-list on homepage

    ReplyDelete
  18. Pls Admin, I need wapka codes for forum theme-list on my homepage

    ReplyDelete

You are always welcome to add comments and suggestion about the tutoiral. Please note that, we do not allow misuse and if you have any questions write briefly so that our moderators can understand your message and reply as early as possible.