vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Information Bar for Guests (https://vborg.vbsupport.ru/showthread.php?t=72279)

Slapyo 11-27-2004 10:00 PM

Information Bar for Guests
 
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.

owner 11-28-2004 07:24 PM

Works Like a Charm. Thankyou

Slapyo 11-28-2004 07:29 PM

hopefully i can get some help here to figure out how to do this. but here is the problem. right now the information bar will cause a tiny X-axis scroll bar. it is set to be 100% wide which is fine, but when there is a Y-axis scroll bar that covers up that little bit ... causing you to have to scroll.

now, if there is some way to place this code around the rest of the forums output then it will work. by work, i mean appear to be a true information bar. the scroll bar will display below the information bar.

Code:

<div id="viewplot">
all forum output here
</div>

i tried some things but it caused IE to crash. i will keep playing with it.

AN-net 11-28-2004 07:47 PM

i dont see it running on your site, any live demos of this....

Slapyo 11-28-2004 07:56 PM

ya, sorry about that. trying some other stuff with it. but it's up and running now.

i have only tested this with IE 6, my only browser, so if anyone wants to test it out and lemme know if it works or not that would be great.

http://www.veteransresources.org/forums/index.php? - test site

if it doesn't work, please post a screenshot and/or any errors that pop up.

AN-net 11-28-2004 08:13 PM

this definately doesnt work with firefox and most likely mozilla>_>

rex_b 11-28-2004 08:20 PM

wow this hack looks great!

Slapyo 11-28-2004 08:22 PM

Quote:

Originally Posted by AN-net
this definately doesnt work with firefox and most likely mozilla>_>

does it not appear in the browser at all, or does it mess up the page?

it "should" work because it is just javascript and css. then again i say "should" cause i can't test it myself and see.

rex_b 11-28-2004 08:28 PM

It does make the page stretch though.. Any fix for that?

Slapyo 11-28-2004 08:30 PM

how far? or is it what i mentioned in post #3. i'm trying to fix this, but when i use the code it causes IE to crash. the page will partially load, then hang and i have to kill the process.


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

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01340 seconds
  • Memory Usage 1,736KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete