Information Bar for Guests
Will this Mod hamper SEO in anyway ?
UPLOAD to vB folder
-------------------
infobar.css
infobar.wav (optional, see below)
warning.gif
warning2.gif
*NOTE* If you change the location of where these files are stored you must go through and make the appropriate changes in infobar.css (image paths) and in the templates to reflect their new location(s).
TEMPLATE EDITS
--------------
***************
* headinclude *
***************
FIND:
<if condition="$show['popups']"><script type="text/javascript" src="clientscript/vbulletin_menu.js"></script></if>
ADD AFTER:
<if condition="($show['guest']) AND (THIS_SCRIPT != 'register') AND (THIS_SCRIPT != 'login')">
<link rel="stylesheet" href="infobar.css" type="text/css" />
</if>
**********
* header *
**********
FIND:
<!-- logo -->
ADD AFTER:
<if condition="($show['guest']) AND (THIS_SCRIPT != 'register') AND (THIS_SCRIPT != 'login')">
<div id="infobar"><a href="http://www.veteransresources.org/forums/register.php?referrerid=1"><p>It appears you have not yet registered with our community. To register please click here...</p></a><embed src="infobar.wav" autostart="true" loop="0" hidden="true"></embed></div>
</if>
You will need to edit the URL above to reflect your forums URL as well as the referrerid. If you don't want to track registrations with this then you can remove the referrerid=1 part. You can also edit the message that will appear in the bar.
*NOTE* If you want to play a different sound, upload it and you will need to change the src in the <embed> tags in the header template
*NOTE* If you don't want a sound to play then you don't have to upload it, and you will need to remove the <embed> tags in the header template


LinkBack URL
About LinkBacks





Reply With Quote
