Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications

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.5.5 Rating:
Released: 09-28-2005 Last Update: 01-19-2006 Installs: 121
Template Edits
Additional Files  
No support by the author.

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?
  • 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
  #42  
Old 12-09-2005, 08:33 AM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi

I do have it in the "header" template right below "logo"
Yet i still get this issue with it

Going to have another look!!

Bashy
Reply With Quote
  #43  
Old 12-09-2005, 08:39 AM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi

Have tried again, i get that bar in the pic showing in FF but not in IE6

Just does not want to play ball with me

Bashy
Reply With Quote
  #44  
Old 12-19-2005, 01:10 PM
Slapyo Slapyo is offline
 
Join Date: Feb 2004
Location: Rancho Cucamonga
Posts: 370
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bashy, can you please provide a link to the forum so i can see. or maybe take a screenshot in both FF and IE and post them up.
Reply With Quote
  #45  
Old 12-20-2005, 08:31 AM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi slapo..

Sorry for my lateness, i saw the rply come through on email
but totally forgot about replying....
Since doing other mods this one no longer works now anyway

link is... www.bashys-place.com

Cheers m8

Bashy
Reply With Quote
  #46  
Old 01-07-2006, 03:25 AM
Slapyo Slapyo is offline
 
Join Date: Feb 2004
Location: Rancho Cucamonga
Posts: 370
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works with 3.5.3 ... no template changes at all.
Reply With Quote
  #47  
Old 01-12-2006, 08:51 PM
Bytecon Bytecon is offline
 
Join Date: Jan 2005
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks - nice script, however I have found a few problems with it. In firefox there is a horizontal scroll bar, let me tell you why this is.

You have set the links to be 100% in width and ALSO gave them padding. The box model example shows that the total width = Width + margin + padding + border. Therefore firefox sees the width as 100% + PADDING which is why there is a horizontal scrollbar.

I tried adding another element inside the div to handle the padding with no luck I am just explaining to you what the problem is exactly.
Reply With Quote
  #48  
Old 01-12-2006, 09:40 PM
Totti's Avatar
Totti Totti is offline
 
Join Date: Jul 2005
Location: Germany
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

right, indeed ... and when i scroll to the right, the text moves left, but the image sticks to its position ... looks funny

If anybody got a solution, please post, thanks in advance!

p.s.: i got 9 new subscriptions in just 2 weeks, with our mainpage beeing offline ... nice one
Reply With Quote
  #49  
Old 01-13-2006, 01:08 AM
Slapyo Slapyo is offline
 
Join Date: Feb 2004
Location: Rancho Cucamonga
Posts: 370
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bytecon
Thanks - nice script, however I have found a few problems with it. In firefox there is a horizontal scroll bar, let me tell you why this is.

You have set the links to be 100% in width and ALSO gave them padding. The box model example shows that the total width = Width + margin + padding + border. Therefore firefox sees the width as 100% + PADDING which is why there is a horizontal scrollbar.

I tried adding another element inside the div to handle the padding with no luck I am just explaining to you what the problem is exactly.
Ya, I had noticed the same thing too ... I just never ended up trying to fix it. I've been really busy. I'll try to look into the problem some more. Thanks for reminding me...I probably would have forgotten for good.
Reply With Quote
  #50  
Old 01-13-2006, 03:49 PM
Bytecon Bytecon is offline
 
Join Date: Jan 2005
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I am pretty sure I fixed it, there was also a Safari issue by not using hex colours for the background. New code below, maybe add it into the main release once your happy with it?

infobar.css
Code:
body {
	margin: 0 !important;
	padding: 0 !important;
}

/* A fake IE information bar */
#infobar {
	font: message-box;
}

/* Please adjust the values if the infobar is not looking good */
#infobar a, #infobar a:link, #infobar a:visited, #infobar a:active {
	display: block;
	color: #000;
	width:100%;
	background: #FFFFE1 url(warning.gif) no-repeat fixed .3em .3em;
	border-bottom: .16em outset;
	text-decoration: none;
	cursor: default;
}

#infobar a:hover {
	color: #FFF;
	background: #3169B6 url(warning2.gif) no-repeat fixed .3em .3em;
}

#infobar p{
	margin:0px;
	padding: .45em 0em .45em 22px;
	font-size:11px;
}
Add the following code in your header (no sound):
Code:
<if condition="($show['guest']) AND (THIS_SCRIPT != 'register') AND (THIS_SCRIPT != 'login')">
<div id="infobar"><a href="http://www.talkski.com/register.php"><p>It appears you have not yet registered with our community. To register please click here...</p></a></div></if>
Note also that there was no need for a table at the top of the site, it can be done fully in CSS, this has been fixed.

Thanks,
Michael
Reply With Quote
  #51  
Old 01-13-2006, 08:18 PM
Slapyo Slapyo is offline
 
Join Date: Feb 2004
Location: Rancho Cucamonga
Posts: 370
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hrm, it looks weird in FF.
Reply With Quote
Reply

Thread Tools

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 05:47 AM.


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.06054 seconds
  • Memory Usage 2,304KB
  • 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
  • (2)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