Null Parameter
09-15-2008, 10:00 PM
Title Rotater
--------------------------------------
Created By: Null Parameter
This mod is tested with 3.7.3, but may work with earlier versions.
Please leave any comments, suggestions or bugs.
Description
This mod takes a list of admin defined possible titles and chooses one randomly to be displayed as the page title for FORUMHOME. Both a prefix and postfix can be defined to encapsulate the random title.
You may also use the keyword {username} to specify the current user's name.
See the attached image for the ACP options panel.
Demo
You can see my site use this on FORUMHOME, here:
http://www.xforgery.com/forum/index.php
Refresh it a few times to see different titles.
Although, it doesn't use the postfix option.
Limitations
This mod will not work if you have altered the default title in the FORUMHOME or FORUMDISPLAY template, or if a style doesn't use the same format.
The Title code in FORUMHOME should appear like this:
<title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
The Title code in FORUMDISPLAY should appear like this:
<title>$foruminfo[title_clean]<if condition="$pagenumber>1"> - <phrase 1="$pagenumber">$vbphrase[page_x]</phrase></if> - $vboptions[bbtitle]</title>
Fixes
* Version 1.2
Changed {username} occurences for unregistered users to $vbphrase[guest]
Added FORUMDISPLAY capabilities
Added Options to enable/disable individually on FORUMHOME & FORUMDISPLAY
Reworded a few things
This is the first mod that I decided to make into a releasable form, so I hope you like it.
--------------------------------------
Created By: Null Parameter
This mod is tested with 3.7.3, but may work with earlier versions.
Please leave any comments, suggestions or bugs.
Description
This mod takes a list of admin defined possible titles and chooses one randomly to be displayed as the page title for FORUMHOME. Both a prefix and postfix can be defined to encapsulate the random title.
You may also use the keyword {username} to specify the current user's name.
See the attached image for the ACP options panel.
Demo
You can see my site use this on FORUMHOME, here:
http://www.xforgery.com/forum/index.php
Refresh it a few times to see different titles.
Although, it doesn't use the postfix option.
Limitations
This mod will not work if you have altered the default title in the FORUMHOME or FORUMDISPLAY template, or if a style doesn't use the same format.
The Title code in FORUMHOME should appear like this:
<title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
The Title code in FORUMDISPLAY should appear like this:
<title>$foruminfo[title_clean]<if condition="$pagenumber>1"> - <phrase 1="$pagenumber">$vbphrase[page_x]</phrase></if> - $vboptions[bbtitle]</title>
Fixes
* Version 1.2
Changed {username} occurences for unregistered users to $vbphrase[guest]
Added FORUMDISPLAY capabilities
Added Options to enable/disable individually on FORUMHOME & FORUMDISPLAY
Reworded a few things
This is the first mod that I decided to make into a releasable form, so I hope you like it.