Boku Guide Book
 

Chapters



1 Getting Started


2 System Overview


3 Advanced Functionality


  3.1 Elements


    3.1.1 Elements In Your Layout


    3.1.2 Using Your Elements


    3.1.3 Meet the Elements


      3.1.3.1 Custom


      3.1.3.2 Donation


      3.1.3.3 Match Calendar


      3.1.3.4 New Members


      3.1.3.5 Poll


      3.1.3.6 Recent Forum Posts


      3.1.3.7 Recent News


      3.1.3.8 Recent Results


      3.1.3.9 Server Details


      3.1.3.10 Shout Box


      3.1.3.11 Teamspeak


      3.1.3.12 Top Donators


      3.1.3.13 Upcoming Match


      3.1.3.14 Users Online


      3.1.3.15 Ventrilo


      3.1.3.16 YouTube


4 Theming


Advanced Functionality > Elements > Meet the Elements > Match Calendar

Custom

If you create a custom element, you can display it using the element ‘custom’.

 

[e:custom id=1]

 To use it you would change the element ID to the ID of the element you have created

Donation

The donation element displays details/progress about a specific campaign.


[e:donation id=1 amount=3]

 

id – Required to specify the campaign ID.
Amount – Specifies the number of donations to show. Defaults to 3 if not set.

Match Calendar

To display the match calendar element

[e:match_calendar]


New Members

The new members element displays the last number of new members.


[e:new_members amount=3]


Amount – Specifies the number of new members to show. Defaults to 5 if not set.

Poll

If you create a poll, you can display it using the element ‘poll’.

[e:poll id=1]

 

To use it you would change the poll ID to the ID of the poll you have created.

Recent Forum Posts

The recent posts element displays the last specified number of forum posts.

If you do not wish to return duplicate topics, set 'unique' to true.


[e:recent_posts amount=3 unique=true]


Amount – Specifies the number of posts to show. Defaults to 5 if not set.


Unique – Does not return duplicate topics.

Recent News

The recent news posts element displays the last specified number of news posts.


[e:recent_news amount=3]


Amount – Specifies the number of posts to show. Defaults to 5 if not set.

Recent Results

The recent results element displays the last specified number of results.


[e:recent_results amount=3]


Amount – Specifies the number of posts to show. Defaults to 5 if not set.

Server Details

The server details element displays details about one of your servers within an element.

[e:server id=1 title=Match! players=1]


ID – The ID is the number the website gives the server, when you add it to the website’s servers page. You can find this number by clicking the view link of the server and looking at the last number in the address bar.

Title – The title is the text that will be placed at the top of the server element.

Players – This is a 1 (yes) or 0 (no) flag which will decide whether or not the element will display a players list. For servers with a large number of players, this is best set to off (0), as the element can become huge!

Shout Box

To display the shout box, just insert:


[e:shoutbox]

 

Warning: you can only display 1 shout box.

Teamspeak

To display your clan’s teamspeak server:

[e:teamspeak ip=86.64.192.14 port=24015]



IP - either the ip address for your teamspeak server, or the URL.

Port - the port for your teamspeak server.

Top Donators

The Top Donators element displays a list of the top donators, this excludes anonymous donators.


[e:top_donators currency=USD amount=3]


currency – Specifies the currency you wish to display the top donators list in, full list of currencies:

AUD Australian Dollars NOK Norwegian Kroner
CAD Canadian Dollars PLN Polish Zloty
CZK Czech Koruna GBP Pounds Sterling
DKK Danish Kroner SGD Singapore Dollars
EUR Euros SEK Swedish Kronor
HKD Hong Kong Dollars CHF Swiss Francs
HUF Hungarian Forint USD US Dollars
NZD New Zealand Dollars JPY Yen

amount – Limit the number of donators returned.

Upcoming Match

To display upcoming match, just use:

[e:matches]

 

Users Online

The users online element will display users who are currently viewing the site.

[e:users_online]

Ventrilo

To display your clan’s ventrilo server:

[e: ventrilo ip=86.64.192.14 port=24015]


IP - either the ip address for your ventrilo server, or the URL.

Port - the port for your ventrilo server.

 

YouTube

To display a Youtube video on your site:

[e:youtube video=Q5im0Ssyyus]

Using the last part of the YouTube URL:

http://www.youtube.com/watch?v=Q5im0Ssyyus



< Meet the Elements
Theming >