![]() |
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?
Version History
Screenshots Guest on forums Guest hovering over info bar Please click Install this Modification if you like it. |
Works Like a Charm. Thankyou
|
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"> |
i dont see it running on your site, any live demos of this....
|
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. |
this definately doesnt work with firefox and most likely mozilla>_>
|
wow this hack looks great!
|
Quote:
it "should" work because it is just javascript and css. then again i say "should" cause i can't test it myself and see. |
It does make the page stretch though.. Any fix for that?
|
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.
|
Yah I'm talking about that..
And you know what in the last 2 min since install. I got 2 new registers.. hehe |
hehe cool.
rex_b you wouldn't happen to have firefox would you? i don't have it and would like to verify if it is working or not in that browser. if it isn't working i'd like to fix it so that it will. |
Nope no firefox here. I might DL it though :)
|
well if you do and don't mind testing it out lemme know! thanks.
i installed firefox at work but wasn't blown away with it so i kept IE here at home. the only thing i like is the tabbed browsing. |
Nope doesn't work in firefox and it removes the scrollbars in firefox.. weird
|
it does not display anything in firefox. But don't feel bad, firefox does not display a lot of things.
|
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:
|
Quote:
Code:
<if condition="$show['guest']"> |
It does not work with firefox. That only solves the scrolling problem in IE. Look at my edited post above.
|
ohh ok cool thanks. what i am trying to get working is some more code that will place it at the top and it will not scroll with the rest of the page. it stays in place.
but this is a good quick fix. thanks! |
I also added the condition
HTML Code:
<if condition="THIS_SCRIPT != 'register'"> |
sweet thanks, i will add that in.
|
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 |
does it give a line number for the error?
|
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 |
Quote:
Code:
<div id="infobar"></div> |
Quote:
yep that works!! |
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 |
Quote:
add this also in the head to remove the javascript error: HTML Code:
<if condition="THIS_SCRIPT != 'login'"> |
Quote:
|
natch, were you getting the errors on every page or just the login page? i saw the error on the login page like Lionel pointed out and put in his code. I no longer get that error. the latest version is in a txt file in my original post.
|
I didn't try logging in: I just looked at your site.
|
the IE error is gone on your site, on FF, it's in this line :
Code:
Error: infobar.children has no properties |
hrm, that's weird. i've gone over my javascript code and dunno what it is. i've searched on google for that error but can't figure it out.
|
I wonder which version of firefox? I get no errors with .8 It just does not display
|
Looks like the error has been resolved.
|
You don't get the error anymore Natch?
But the information bar doesn't show up right? |
That's correct: this is on FF 1.0 Final, the error does not orccur anymore, but no information bar shows up.
|
How do I get the scroll bars back for firefox? I'm not worried about the infobar working with firefox, I just want the scroll bars to work ? TIA
|
never mind...
|
All times are GMT. The time now is 04:52 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|