Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

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

Version: 3.0.10 Rating:
Released: 11-27-2004 Last Update: 12-02-2004 Installs: 128
Template Edits
Additional Files  
No support by the author.

Information Bar for Guests (for version 3.5.0)

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.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 11-28-2004, 09:08 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I also added the condition
HTML Code:
<if condition="THIS_SCRIPT != 'register'">
in headinclude. No need to display it if guest is registering.
Reply With Quote
  #23  
Old 11-28-2004, 09:21 PM
Slapyo Slapyo is offline
 
Join Date: Feb 2004
Location: Rancho Cucamonga
Posts: 370
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sweet thanks, i will add that in.
Reply With Quote
  #24  
Old 11-28-2004, 09:29 PM
Natch's Avatar
Natch Natch is offline
 
Join Date: Nov 2002
Location: Australia
Posts: 851
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have no problems wsith this running on IE6, but I have a XP SP1 box, so maybe it's related to XPSP2?

And I can confirm that it doesn;t work on FF/Moz... there is a javascript error on both IE/Moz/FF: for FF it's infobar.children has no properties, on IE it's Object expected
Reply With Quote
  #25  
Old 11-28-2004, 09:32 PM
Slapyo Slapyo is offline
 
Join Date: Feb 2004
Location: Rancho Cucamonga
Posts: 370
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does it give a line number for the error?
Reply With Quote
  #26  
Old 11-28-2004, 09:39 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get no error with firefox .8. The problem with IE is the side scrollbar.
Slapyo, you wanted for it to always display as you scroll? Then use dhtml
Reply With Quote
  #27  
Old 11-28-2004, 09:44 PM
Slapyo Slapyo is offline
 
Join Date: Feb 2004
Location: Rancho Cucamonga
Posts: 370
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lionel
I get no error with firefox .8. The problem with IE is the side scrollbar.
Slapyo, you wanted for it to always display as you scroll? Then use dhtml
look in the infobar.css file. there is #viewplot which should work in displaying it that way. it should go like this.

Code:
<div id="infobar"></div>
<div id="viewplot">
all the rest of the forum code here
</div>
</body>
</html>
however, when i do that it freezes IE6.
Reply With Quote
  #28  
Old 11-28-2004, 09:48 PM
rex_b rex_b is offline
 
Join Date: Jul 2004
Location: LA
Posts: 271
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lionel
to solve your problem, include the division in header within a table where you set the width.
No more scrolling problems with below. Notice the table is set at 100%

PHP Code:
<if condition="$show['guest']"><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td width="100%">
<
div id="infobar"></div></td></tr></table>
</if> 


yep that works!!
Reply With Quote
  #29  
Old 11-28-2004, 09:52 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

take a look at this code. You could set the timing for a long time, so it always stay on top
https://vborg.vbsupport.ru/showthrea...hlight=vbpopup
Reply With Quote
  #30  
Old 11-28-2004, 10:01 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Natch
I have no problems wsith this running on IE6, but I have a XP SP1 box, so maybe it's related to XPSP2?

And I can confirm that it doesn;t work on FF/Moz... there is a javascript error on both IE/Moz/FF: for FF it's infobar.children has no properties, on IE it's Object expected
I see what you are saying with IE when you are login.

add this also in the head to remove the javascript error:

HTML Code:
<if condition="THIS_SCRIPT != 'login'">
Reply With Quote
  #31  
Old 11-28-2004, 10:08 PM
Natch's Avatar
Natch Natch is offline
 
Join Date: Nov 2002
Location: Australia
Posts: 851
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Slapyo
does it give a line number for the error?
It's inside the loop, at the start of the loop in the infobar.js file...
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 07:01 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.06846 seconds
  • Memory Usage 2,310KB
  • 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
  • (1)bbcode_code
  • (2)bbcode_html
  • (1)bbcode_php
  • (4)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
  • (1)pagenav_pagelinkrel
  • (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