kiril_cvetkov
12-14-2007, 10:00 PM
Hi ;)
This template modification is very interesting.
If you "install" that modification, browser statusbar on your forum will be very interesting..
How to add this modification :
1. Go to admincp/styles&Templates/Style Manager/Edit templates/ Footer
2.
Above
<br />
<div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div>
<br />
Add this :
<SCRIPT LANGUAGE="JavaScript">
<!-- StatusBar forum name by Kiril_Cvetkov-->
var forum_message = "$vboptions[bbtitle] "
var str = ""
var vbulletin_name = ""
var leftforum_message = ""
function setMessage()
{
if (vbulletin_name == "")
{
str = " "
vbulletin_name = forum_message
leftforum_message = ""
}
if (str.length == 1)
{
while (vbulletin_name.substring(0, 1) == " ")
{
leftforum_message = leftforum_message + str
str = vbulletin_name.substring(0, 1)
vbulletin_name = vbulletin_name.substring(1, vbulletin_name.length)
}
leftforum_message = leftforum_message + str
str = vbulletin_name.substring(0, 1)
vbulletin_name = vbulletin_name.substring(1, vbulletin_name.length)
for (var ii = 0; ii < 120; ii++)
{str = " " + str}
}
else
{
str = str.substring(10, str.length)
}
window.status = leftforum_message + str
JSCTimeOutID = window.setTimeout('setMessage()',100)
}
</SCRIPT>
<body onload="JSCTimeOutID = window.setTimeout('setMessage()',500);">
</body>
<!-- End Of StatusBar forum name by Kiril_Cvetkov -->
OK.. now go on your forum index and see the statusbar (see the screenshot where you will have to see :) )
This template modification is very interesting.
If you "install" that modification, browser statusbar on your forum will be very interesting..
How to add this modification :
1. Go to admincp/styles&Templates/Style Manager/Edit templates/ Footer
2.
Above
<br />
<div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div>
<br />
Add this :
<SCRIPT LANGUAGE="JavaScript">
<!-- StatusBar forum name by Kiril_Cvetkov-->
var forum_message = "$vboptions[bbtitle] "
var str = ""
var vbulletin_name = ""
var leftforum_message = ""
function setMessage()
{
if (vbulletin_name == "")
{
str = " "
vbulletin_name = forum_message
leftforum_message = ""
}
if (str.length == 1)
{
while (vbulletin_name.substring(0, 1) == " ")
{
leftforum_message = leftforum_message + str
str = vbulletin_name.substring(0, 1)
vbulletin_name = vbulletin_name.substring(1, vbulletin_name.length)
}
leftforum_message = leftforum_message + str
str = vbulletin_name.substring(0, 1)
vbulletin_name = vbulletin_name.substring(1, vbulletin_name.length)
for (var ii = 0; ii < 120; ii++)
{str = " " + str}
}
else
{
str = str.substring(10, str.length)
}
window.status = leftforum_message + str
JSCTimeOutID = window.setTimeout('setMessage()',100)
}
</SCRIPT>
<body onload="JSCTimeOutID = window.setTimeout('setMessage()',500);">
</body>
<!-- End Of StatusBar forum name by Kiril_Cvetkov -->
OK.. now go on your forum index and see the statusbar (see the screenshot where you will have to see :) )