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
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 |
#82
|
|||
|
|||
I'm sure it is possible, and if someone can come up with how to do it so it is compatible in the major browsers I'd put it in. I haven't been able to get it to work in all of the major browsers. :/ So I just left it at the top.
|
#83
|
||||
|
||||
I made the same but with another code thanks I think your code is better |
#84
|
||||
|
||||
i like the look of this hack, but for referring to it as a 'trick' is hardly fair. As stated, a person need only 'read' the content of the bar and all is clear. Additionally, if they are ignorant and simply click-happy, then the "registration page" should give them a hint that they've been directed to a signup page.I've NOT installed this, as my board is fairly limited, but still I can see the advantages of having it for other boards, and it's ingenuity.
|
#85
|
|||
|
|||
Works fine in 3.5.5 and I started a thread in 3.6.x because it works with that as well.
https://vborg.vbsupport.ru/showthread.php?t=123117 - 3.6.x forum |
#86
|
||||
|
||||
Thanks for this, have rated and clicked installed. :up:
|
#87
|
|||
|
|||
Work on 3.7 too?
|
#88
|
|||
|
|||
I cant see the warning and warning2.jpg
The path is correct. How can I fix this ? Here is my header and the headinclude: header: Code:
<a name="top"></a> <!-- size - center --> <div align="center"> <div id="sizd" style="width:$sizd;"> <div align="$stylevar[left]"> <!-- /size - center --> $spacer_open <!-- logo --> <if condition="($show['guest']) AND (THIS_SCRIPT != 'register') AND (THIS_SCRIPT != 'login')"> <div id="infobar"><a href="http://www........php"><center><p>Sie haben noch keinen account ? <b>Registrieren</b> Sie sich hier kostenlos um alle Funktionen nutzen zu k?nnen.</p></center></a></div> </if> <div id="logoo_bg"> <div id="logo_links" style="height:30px; overflow:hidden;"> <if condition="$show['member']"> <div class="smallfont"> Loged in as $bbuserinfo[username] <if condition="$show['notifications']"> <div><span id="notifications"><a href="usercp.php$session[sessionurl_q]">$vbphrase[your_notifications]:</a> <strong>$notifications_total</strong></span></div> <if condition="$show['popups']"> <script type="text/javascript"> vBmenu.register("notifications"); </script> <else /> <script type="text/javascript" src="clientscript/vbulletin_notifications_nopopups.js?v=$vboptions[simpleversion]"></script> <script type="text/javascript"> vBulletin.register_control("vB_Notifications_NoPopups", "notifications"); </script> </if> <else /><if condition="$show['pmstats']"> <div><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></div> </if></if> <if condition="$show['pmwarning']"><div><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></div></if> </div> <else /> <!-- login form --> <form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])"> <script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> <tr> <td class="smallfont" style="white-space: nowrap;"><label for="navbar_username">$vbphrase[username]</label></td> <td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td> <td class="smallfont"><label for="navbar_password">$vbphrase[password]</label></td> <td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" /></td> <td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td> <td class="smallfont" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />$vbphrase[remember_me]</label></td> </tr> </table> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" /> <input type="hidden" name="do" value="login" /> <input type="hidden" name="vb_login_md5password" /> <input type="hidden" name="vb_login_md5password_utf" /> </form> <!-- / login form --> </if> </div> <div id="header_right_cell"> <if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else /> </if></div> <div id="logoo_lft"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></div> <div id="site_links"> <ul> <li<if condition="THIS_SCRIPT == 'adv_index'"> class="current"</if>><a href="$vboptions[homeurl]" title="$vboptions[hometitle]"><span>$vboptions[hometitle]</span></a></li> <li<if condition="!in_array(THIS_SCRIPT, array('adv_index'))"> class="current"</if>><a href="$vboptions[forumhome].php$session[sessionurl_q]" title="$vbphrase[forum]"><span>$vbphrase[forum]</span></a></li> </ul> <div class="clear"></div> </div> </div> <!-- /logo --> <!-- content table --> $_phpinclude_output $ad_location[ad_header_end] Code:
<meta http-equiv="Content-Type" content="text/html; charset=$stylevar[charset]" /> <meta name="generator" content="vBulletin $vboptions[templateversion]" /> <if condition="$show['threadinfo']"> <meta name="keywords" content="<if condition="$threadinfo['taglist']">$threadinfo[taglist], </if>$threadinfo[prefix_plain_html] $threadinfo[title], $vboptions[keywords]" /> <meta name="description" content="<if condition="$pagenumber>1"><phrase 1="$pagenumber">$vbphrase[page_x]</phrase>-</if>$threadinfo[prefix_plain_html] $threadinfo[title] $foruminfo[title_clean]" /> <else /><if condition="$show['foruminfo']"> <meta name="keywords" content="$foruminfo[title_clean], $vboptions[keywords]" /> <meta name="description" content="<if condition="$pagenumber>1"><phrase 1="$pagenumber">$vbphrase[page_x]</phrase>-</if>$foruminfo[description_clean]" /> <else /> <meta name="keywords" content="$vboptions[keywords]" /> <meta name="description" content="$vboptions[description]" /> </if></if> <!-- CSS Stylesheet --> $style[css] <if condition="is_browser('opera') AND !is_browser('opera', '8.0.1')"> <style type="text/css" id="vbulletin_opera8fix_css"> ul, ol { padding-$stylevar[left]:20px; } </style> </if> <if condition="$show['editor_css']"> $editor_css </if> <!-- / CSS Stylesheet --> <script type="text/javascript" src="$stylevar[yuipath]/yahoo-dom-event/yahoo-dom-event.js?v=$vboptions[simpleversion]"></script> <script type="text/javascript" src="$stylevar[yuipath]/connection/connection-min.js?v=$vboptions[simpleversion]"></script> <script type="text/javascript"> <!-- var SESSIONURL = "$session[sessionurl_js]"; var SECURITYTOKEN = "$bbuserinfo[securitytoken]"; var IMGDIR_MISC = "$stylevar[imgdir_misc]"; var vb_disable_ajax = parseInt("$vboptions[disable_ajax]", 10); // --> </script> <script type="text/javascript" src="clientscript/vbulletin_global.js?v=$vboptions[simpleversion]"></script> <if condition="$show['popups']"><script type="text/javascript" src="clientscript/vbulletin_menu.js?v=$vboptions[simpleversion]"></script></if> <if condition="($show['guest']) AND (THIS_SCRIPT != 'register') AND (THIS_SCRIPT != 'login')"> <link rel="stylesheet" href="infobar.css" type="text/css" /> </if> <if condition="$vboptions['externalrss']"> <link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] RSS Feed" href="external.php?type=RSS2" /> <if condition="$show['foruminfo'] OR $show['threadinfo']"> <link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] - $foruminfo[title_clean] - RSS Feed" href="external.php?type=RSS2&forumids=$foruminfo[forumid]" /> </if> </if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|