The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Information Bar for Guests Details »» | |||||||||||||||||||||||||
https://vborg.vbsupport.ru/showthread.php?t=72279 - Original hack for 3.0.x
https://vborg.vbsupport.ru/showthread.php?t=97150 - Hack for 3.5.x What is this? This will display an information bar across the top of the browser window that appears to be like the Information Bar that is from Windows XP SP2. When the user clicks it they will be sent to the registration page for your forums. This is not a popup. If the user is logged in then this will not display at all. This only appears on the page for people who are not logged in. http://www.veteransresources.org/forums/index.php? - Example Site How many changes?
Version History
Screenshots Guest on forums Guest hovering over info bar Please click Install this Modification if you like it. Show Your Support
|
Comments |
#52
|
|||
|
|||
is this mod. work on 3.6.8?
|
#53
|
|||
|
|||
yes, it works fine on 3.6.8
|
#54
|
|||
|
|||
so, where's the support??
|
#55
|
||||
|
||||
you can't expect coders to be on 24 hour call - that is wrong.
Try this in your header template (instead of the code indicated in the install info) to align it to the right: Quote:
|
#56
|
|||
|
|||
Code:
<if condition="($show['guest']) AND (THIS_SCRIPT != 'register') AND (THIS_SCRIPT != 'login')"> <div id="infobar" align="right"><a href="http://www.forum.persianfinance.net/register.php?referrerid=1"><p> content goes here</p></a></div> </if> |
#57
|
||||
|
||||
Quote:
Quote:
|
#58
|
|||
|
|||
Installed, :up: very nice.:erm:
|
#59
|
||||
|
||||
*Installed* This is an excellent little hack. I've changed the wording a bit, and added a custom .wav file. This will either improve the registration rate, or annoy the heck out of those who can't be bothered LOL
Thank you, just what my site needed! Incidentally, the sound plays in both Firefox & IE, which is more than I'd hoped for. A great job, keep up the good work. :up: |
#60
|
||||
|
||||
<i>For anyone who may have concerns that the "warning" image gives the false impression of a security risk, you might like to use these instead (see attached). They're just a simple letter "i" in a circle, which I'm sure most folks would interpret as an information logo.</i>
|
#61
|
|||
|
|||
One of the pitfalls of this hack that has been pointed out is that the first thing a search engine sees is this...
HTML Code:
<!-- ADDINFO BAR PLUGIN --> <div id="infobar"><a href="http://www.example.com/forums/register.php"><img style="vertical-align:middle;margin:3px 5px;border:none;float:left;" src="http://www.example.com/forums/images/misc/warning.gif" alt="" /><span>Welcome to <strong>Greatest Forum</strong> - please click here to register. If you are already a member, please log in.</span></a></div> <!-- END ADDINFO BAR PLUGIN --> The Greatest Forum Welcome to Greatest Forum - please click here to register. If you are already a member, please log in. Not very informative. So anyway, here's a suggestion. in the CSS file find: HTML Code:
/* A fake IE information bar */ #infobar { font: message-box; } HTML Code:
/* A fake IE information bar */ #infobar { font: message-box; position:fixed; left:0px; top:0px; } HTML Code:
<if condition="($show['guest']) AND (THIS_SCRIPT != 'register') AND (THIS_SCRIPT != 'login')"> <div id="infobar"><a href="http://www.example.com/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> Of course your mileage may vary with the CSS positioning settings thus requiring you to make some adjustments. This can cover stuff up depending on your style. But this is tested on IE and FF and appears to work on a validated XHTML page. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|