These are Wapka's "More Advanced Functions", which obviously need more comprehension.
In this post, I will teach you each of the following codes.
Summary
- Spacing
- Text formatting
- Icon inserting to text
- Time function
- Update info functions
- Tags for forum and chat
- Tag for optional colors
- Tags for random content
- Tags for private messages
- Tags for friends function
- Tags for statistics
- Elective tag for user statistics
- Tags for user details
- Tags for Content Manager
- Tags for last updates
- Tags for files
- Blogs
- Info tag for admin
- Other tags
- Link on existing site (URL tags)
- Transfer values via URL and paging tags
- WapBrowser
1. Spacing
Write command :br: on place where you want to insert new line point
2. Text Formatting
Font style:
If you want to format only single words or single group of words use formatting commands:
One command have two parts - the begin and the end. formatted text have to be enclosed to pair of commands. If you insert only one of commands, site will not working!!!
Commands:
:b-beg: text :b-end: - bold text
:i-beg: text :i-end: - italic text
:u-beg: text :u-end: - underlined text
:big-beg: text :big-end: - big text
:small-beg: text :small-end: - small text
Example:
Professional :b-beg:site:b-end: about phones
This will be displayed like:
Professional site about phones
This formatting you cau use in any item (sites,links,texts,forums,...)
Color text formatting (only for WAP2): If you want to change text color, use tag:
:color-CLR:colored text:/color:
For change background color of text use tag:
:bgcolor-CLR:colored text:/bgcolor:
CLR is name of color or color code (e.g.: #000000)
Example:
This text is :color-#990000:red:/color: with :bgcolor-#0000FF:blue background:/bgcolor:
If you want to format only single words or single group of words use formatting commands:
One command have two parts - the begin and the end. formatted text have to be enclosed to pair of commands. If you insert only one of commands, site will not working!!!
Commands:
:b-beg: text :b-end: - bold text
:i-beg: text :i-end: - italic text
:u-beg: text :u-end: - underlined text
:big-beg: text :big-end: - big text
:small-beg: text :small-end: - small text
Example:
Professional :b-beg:site:b-end: about phones
This will be displayed like:
Professional site about phones
This formatting you cau use in any item (sites,links,texts,forums,...)
Color text formatting (only for WAP2): If you want to change text color, use tag:
:color-CLR:colored text:/color:
For change background color of text use tag:
:bgcolor-CLR:colored text:/bgcolor:
CLR is name of color or color code (e.g.: #000000)
Example:
This text is :color-#990000:red:/color: with :bgcolor-#0000FF:blue background:/bgcolor:
3. Icon Inserting to Text
To site,link or text you can insert icon from list on this site.
Numeric code is near every icon, which you must insert into command:
:icon-number:
Example for use command with icon:
This is icon :icon-251:
Elective tag for icons in forum,chat,blogs and private messages:
Syntax of tag:
:iconlist:PARAMETERS::LINE_FORMAT::DELIMITER:/iconlist:
Parameters have following format:
Parameter1=value, parameter2=value
Available parameters:
d - database. Available: forum, chat, pm, blogs
l - limit parameter. l parameter can have numberic value (1 - 50). It is maximal count of icons for one site.
s - site parameter. This parameter is useful, if you want to separate list on more sites. For example if you want to display list with first 10 icons set parameter l on 10 and parameter s on 1, if you want to display next 10 icons (11-20) leave parameter l on 10 and parameter s set on 2.
For Line format can be used following variables:
%text% - Icon replacement (string).
%icon% - Image of the icon
%url_icon% - URL of the icon (must be used with <img/> xHTML code. Example: <img src="%url_icon%" />)
Line format can contains text,known values (%...%) or WML/xHTML tags.
With Delimiter you can set text or WML/xHTML tags which will separate icons.
Example:
:iconlist:d=forum,l=10::%icon% - %text%::<br/>:/iconlist:
Displayed time you can format to any form from following parameters:
y ... year as two numbers (07)
Y ... year as four numbers (2007)
z ... number of day in year (001-365)
m ... number of month (01-12)
n ... number of month (without begin zero, 1-12)
M ... abbreviation of month name (Jul)
F ... month name (July)
d ... number of day in month (01-31)
j ... number of day in month (without begin zero, 1-31)
t ... number of days in month (28-31)
D ... abbreviation of day in week (Mon)
l ... day name (Monday)
h ... hour (01-12)
g ... hour (without begin zero, 1-12)
H ... hour (01-23)
G ... hour (without begin zero, 1-23)
a ... am/pm
A ... AM/PM
i ... minutes (00-59)
s ... seconds (00-59)
Example: :time-beg:H:i:s:time-end:
display: 17:28:30
Item example: Today is :time-beg:j.n.Y H:i:s:time-end: and it's beautiful day.
Numeric code is near every icon, which you must insert into command:
:icon-number:
Example for use command with icon:
This is icon :icon-251:
Elective tag for icons in forum,chat,blogs and private messages:
Syntax of tag:
:iconlist:PARAMETERS::LINE_FORMAT::DELIMITER:/iconlist:
Parameters have following format:
Parameter1=value, parameter2=value
Available parameters:
d - database. Available: forum, chat, pm, blogs
l - limit parameter. l parameter can have numberic value (1 - 50). It is maximal count of icons for one site.
s - site parameter. This parameter is useful, if you want to separate list on more sites. For example if you want to display list with first 10 icons set parameter l on 10 and parameter s on 1, if you want to display next 10 icons (11-20) leave parameter l on 10 and parameter s set on 2.
For Line format can be used following variables:
%text% - Icon replacement (string).
%icon% - Image of the icon
%url_icon% - URL of the icon (must be used with <img/> xHTML code. Example: <img src="%url_icon%" />)
Line format can contains text,known values (%...%) or WML/xHTML tags.
With Delimiter you can set text or WML/xHTML tags which will separate icons.
Example:
:iconlist:d=forum,l=10::%icon% - %text%::<br/>:/iconlist:
4. Time Function
To insert actual time or date you can use pair of commands: :time-beg: a :time-end:Displayed time you can format to any form from following parameters:
y ... year as two numbers (07)
Y ... year as four numbers (2007)
z ... number of day in year (001-365)
m ... number of month (01-12)
n ... number of month (without begin zero, 1-12)
M ... abbreviation of month name (Jul)
F ... month name (July)
d ... number of day in month (01-31)
j ... number of day in month (without begin zero, 1-31)
t ... number of days in month (28-31)
D ... abbreviation of day in week (Mon)
l ... day name (Monday)
h ... hour (01-12)
g ... hour (without begin zero, 1-12)
H ... hour (01-23)
G ... hour (without begin zero, 1-23)
a ... am/pm
A ... AM/PM
i ... minutes (00-59)
s ... seconds (00-59)
Example: :time-beg:H:i:s:time-end:
display: 17:28:30
Item example: Today is :time-beg:j.n.Y H:i:s:time-end: and it's beautiful day.