Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Information Bar for Guests Details »»
Information Bar for Guests
Version: 1.05, by Slapyo Slapyo is offline
Developer Last Online: Apr 2013 Show Printable Version Email this Page

Version: 3.6.6 Rating:
Released: 08-04-2006 Last Update: Never Installs: 198
Template Edits
Additional Files  
No support by the author.

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?
  • Uploads: 4
    • infobar.css
    • infobar.wav (optional)
    • warning.gif
    • warning2.gif
  • File edits: 0
  • Template edits: 2
    • headinclude
    • header
  • New templates: 0
  • Queries: 0

Version History
  • 1.05
    • fix for Firefox (Bytecon)
  • 1.04
    • added info bar sound (Lionel)
  • 1.03
    • no javascript required now
    • works in Firefox
  • 1.02
    • removed information bar any browser other than IE
  • 1.01
    • removed information bar from login and registration pages (Lionel)
  • 1.00
    • initial release

Screenshots
Guest on forums
Guest hovering over info bar

Please click Install this Modification if you like it.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 10-08-2006, 01:28 PM
Slapyo Slapyo is offline
 
Join Date: Feb 2004
Location: Rancho Cucamonga
Posts: 370
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated to 3.6.2 and it works just fine.
Reply With Quote
  #23  
Old 10-08-2006, 07:04 PM
Mecho's Avatar
Mecho Mecho is offline
 
Join Date: Aug 2006
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tnx .. installed .

great and work fine
Reply With Quote
  #24  
Old 10-12-2006, 09:09 PM
AdmiralSpock's Avatar
AdmiralSpock AdmiralSpock is offline
 
Join Date: Jul 2006
Location: Earth
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kuimera
Seems to have a prob with Opera, it gives a uge spaca beetween the bar and the logo... Any ideas? Im using a costum theme.
A search in the 3.5.x version thread said that removing the embed code from the hack will take out that space. I am also an Opera user, and I know that would have bothered me.

So this is what I put in my header template:

Code:
<if condition="($show['guest']) AND (THIS_SCRIPT != 'register') AND (THIS_SCRIPT != 'login')">
<div id="infobar"><a href="<my site url>/register.php?referrerid=1"><p>It appears you have not yet registered with our community. To register please click here...</p></a></div>
</if>
And it works fantastically.

*installed*
Reply With Quote
  #25  
Old 10-16-2006, 07:43 AM
Red Matrix Red Matrix is offline
 
Join Date: Jun 2006
Location: Texas
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Aak, this looks like a virus message. Uninstalls.
Reply With Quote
  #26  
Old 10-16-2006, 03:23 PM
Avensen Avensen is offline
 
Join Date: Oct 2006
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool hack. Thank you!
Reply With Quote
  #27  
Old 11-16-2006, 08:30 PM
imported_infitech's Avatar
imported_infitech imported_infitech is offline
 
Join Date: Apr 2004
Location: Queens, NY
Posts: 247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i get some weird clear box on the top left, a large gap and something asking me about a plugin in forefox and internet explorer.... i will attach the screenshots.

i will also post the code to my header and navbar

header
Code:
<script type="text/javascript">
<!--
function log_out()
{
	ht = document.getElementsByTagName("html");
	ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)";
	if (confirm('$vbphrase[sure_you_want_to_log_out]'))
	{
		return true;
	}
	else
	{
		ht[0].style.filter = "";
		return false;
	}
}
//-->
</script>
<if condition="($show['guest']) AND (THIS_SCRIPT != 'register') AND (THIS_SCRIPT != 'login')">
<div id="infobar"><a href="$vboptions[bburl]/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>
<!-- right_column_hack -->
<a name="top"></a>
<table valign="top" border="0" width="950px" cellpadding="0" cellspacing="0" align="center">
  <tr>
    <td valign="top">
<!-- /right_column_hack -->
<!-- logo -->
<a name="top"></a>
<table valign="top" border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
	<td width="160" valign="top" class="page" align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$vboptions[bburl]/images/misc/inf_sin_logo.jpg" border="0" alt="$vboptions[bbtitle]" /></a></td>
	<td height="39px" class="page" align="$stylevar[left]">
		<br /><ul id="maintab" class="shadetabs">
<li <if condition="THIS_SCRIPT == 'index'">class="selected"<else /></if>><a href="index.php" rel="ajaxcontentarea">Home</a></li>
<li <if condition="THIS_SCRIPT == 'faq'">class="selected"<else /></if>><a href="$vboptions[bburl]/faq.php" rel="ajaxcontentarea">FAQ</a></li>
<li <if condition="THIS_SCRIPT == 'memberlist'">class="selected"<else /></if>><a href="$vboptions[bburl]/memberlist.php" rel="ajaxcontentarea">Member List</a></li>
<li <if condition="THIS_SCRIPT == 'ppindex'">class="selected"<else /></if>><a href="$vboptions[bburl]/gallery/" rel="ajaxcontentarea">Gallery</a></li>
<li <if condition="ALTSEARCH == 'true'">class="selected"<else /></if>><a href="$vboptions[bburl]/search.php?do=getnew" rel="ajaxcontentarea" rel="ajaxcontentarea">New Posts</a></li>
<li <if condition="ALTSEARCH == 'true'">class="selected"<else /></if>><a href="$vboptions[bburl]/search.php" rel="ajaxcontentarea">Search</a></li>
<if condition="$show['member']">
<li><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onClick="return log_out()"  rel="ajaxcontentarea">Logout</a></li><else />
<li <if condition="THIS_SCRIPT == 'register'">class="selected"<else /></if>><a href="register.php$session[sessionurl_q]" rel="ajaxcontentarea">Register</a></li></if>
<li <if condition="THIS_SCRIPT == 'calendar'">class="selected"<else /></if>><a href="$vboptions[bburl]/calendar.php"  rel="ajaxcontentarea" rev="content.css, content.js">Calendar</a></li>
</ul>
<br />

	
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output
navbar
Code:
<if condition="is_array($navbits)">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>$phpAds_raw3[html]</td>
  </tr>
</table><br />
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]&nbsp;><a href="$scriptpath"></a>
			<strong><span class="smallfont>">$navbits[lastelement]</span></strong></td>
  </tr>
</table>

								<br />			
		<else />
			
		</if>
Reply With Quote
  #28  
Old 11-17-2006, 06:06 PM
imported_infitech's Avatar
imported_infitech imported_infitech is offline
 
Join Date: Apr 2004
Location: Queens, NY
Posts: 247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyone?
Reply With Quote
  #29  
Old 11-18-2006, 02:45 AM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just checked your site and it displays fine for me.
Reply With Quote
  #30  
Old 11-22-2006, 11:01 AM
firefox100 firefox100 is offline
 
Join Date: Feb 2006
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed, very nice.

Hanks.
Reply With Quote
  #31  
Old 11-25-2006, 10:10 AM
Terminatoronly's Avatar
Terminatoronly Terminatoronly is offline
 
Join Date: Mar 2006
Posts: 313
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice hack installed
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:28 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05420 seconds
  • Memory Usage 2,316KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete