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)

Lionel 11-28-2004 11:39 PM

fireworks sucks... to solve all fireworks problems and limit that functionality to IE add this condition too

HTML Code:

<if condition="is_browser('ie')">

Natch 11-28-2004 11:41 PM

fireworks?

Slapyo 11-28-2004 11:42 PM

Quote:

Originally Posted by Lionel
fireworks sucks... to solve all fireworks problems and limit that functionality to IE add this condition too

HTML Code:

<if condition="is_browser('ie')">

should be this. the install file now reflects this.
Code:

<if condition="is_browser('ie')">

Lionel 11-28-2004 11:44 PM

I've got nothing but problems with fireworks. For example the news scroll hack... in fireworks it scrolls from left to right instead of right to left. And many more problems. I really feel like putting a condition if browser is not ie, go get a real browser and come back to the site.

cybermomcafe 11-28-2004 11:47 PM

LOL thanks Lionel

cybermomcafe 11-28-2004 11:51 PM

what can I change so that (when viewing as a guest) the tables don't run all the way to the sides of the page? (i tried changing the table width to 95% but that didn't work)

TIA

Slapyo 11-29-2004 02:02 AM

hrm, my tables are just fine when viewing as a guest. download the latest version of the mod and make sure it is installed properly. also if you can take some screenshots that might help too.

Koutaru 11-29-2004 03:01 AM

:) Nice hack! It would be cool if the bar went down if the user scrolls down.

I'll definately be using this!
[high]* Koutaru clicks install ;)[/high]

Slapyo 11-29-2004 03:58 AM

Quote:

Originally Posted by Koutaru
:) Nice hack! It would be cool if the bar went down if the user scrolls down.

I'll definately be using this!
[high]* Koutaru clicks install ;)[/high]

i'm working on making it stay along the top. right now the code causes the browser to crash and i'm not sure why. could be other CSS stuff conflicting with the code i have. need to look into it more. the code is in place and it should work, i have it working on a test page but when i wrap it around the forum output IE crashes.

mcyates 11-29-2004 05:35 PM

this would be a good hack if the scrollbar on the right didn't dissapear!!!

Slapyo 11-29-2004 07:08 PM

i have IE6 and the scroll bar is still there.

what browser are you using?
are you using the latest version?
can you post a screenshot of the problem?

mcyates 11-29-2004 07:28 PM

I use IE6
Installed it yesterday but uninstalled it today
i'll install it today with the newer version, if it doesn't work i'll post a screen shot for you

mcyates 11-29-2004 07:34 PM

Quote:

Originally Posted by mcyates
I use IE6
Installed it yesterday but uninstalled it today
i'll install it today with the newer version, if it doesn't work i'll post a screen shot for you


here it is as you van see, no scrolling side bar on the left.

Slapyo 11-29-2004 08:16 PM

Quote:

Originally Posted by mcyates
here it is as you van see, no scrolling side bar on the left.

in infobar.css at the very top is the stuff for body, remove this line:
Code:

        overflow: hidden !important;
so now the body should only have 2 properties set. see if that works for you.

Slapyo 11-29-2004 08:51 PM

I've updated the script. It no longer needs to use the javascript file. To update follow these directions.

- delete infobar.js
- upload new infobar.css
- go through the install file and make the proper template changes. you will see the headinclude template no longer loads the javascript file. the header file has the link and text between the div tags.

the javascript was unecessary as you could just type it in between the div tags. i have tested this in firefox and it is working, atleast for me.

TTG 11-29-2004 10:02 PM

Clicked install .. no problems installing .. thanks for the hack.

sabret00the 11-29-2004 10:12 PM

are there still problems for pre-XPSP2 browsers?

Slapyo 11-29-2004 10:12 PM

not sure, i have only tested IE6 and firefox v1.

i wanna say i think it will since i have removed the javascript which was causing problems in firefox. will have to wait and see if someone can test it for sure.

Lionel 11-29-2004 10:44 PM

works fine for me in firefox .8

rex_b 11-29-2004 10:48 PM

Quote:

Originally Posted by Slapyo
I've updated the script. It no longer needs to use the javascript file. To update follow these directions.

- delete infobar.js
- upload new infobar.css
- go through the install file and make the proper template changes. you will see the headinclude template no longer loads the javascript file. the header file has the link and text between the div tags.

the javascript was unecessary as you could just type it in between the div tags. i have tested this in firefox and it is working, atleast for me.


whats the advantage to no java?

Slapyo 11-29-2004 11:08 PM

eh, the javascript was really doing nothing more than just putting in the link and the text. why use javascript to do that when you can just type it yourself. it didn't need to be done in javascript at all since it was so simple and something that could be done by plain html. really was no point in it.

Slapyo 11-29-2004 11:35 PM

edit: links removed ... not working

the way i wanted it to works is, when you are scrolling the content and the info bar is staying in place at the top. however when i try and wrap the tags around the forum stuff it freaks out and doesn't display properly.

bigcurt 11-30-2004 01:20 AM

It does not work in Opera, Mozilla or Firefox. :(

bigcurt 11-30-2004 01:21 AM

Great hack though :)

Slapyo 11-30-2004 01:36 AM

i tested it in firefox 1 and someone else tested in firefox .8 and it worked.

mcyates 11-30-2004 06:15 AM

Quote:

Originally Posted by Slapyo
in infobar.css at the very top is the stuff for body, remove this line:
Code:

        overflow: hidden !important;
so now the body should only have 2 properties set. see if that works for you.

yup that fixed it, thanks a lot.

speedway 11-30-2004 11:52 AM

Hmmm, I run Firefox 1.0 and the example site works perfectly - the little yellow bar across the top and I still have scroll bars. So for me, it works in Firefox.

Wired1 11-30-2004 12:07 PM

LMAO! Awesome hack man.

Slapyo 11-30-2004 01:39 PM

Quote:

Originally Posted by Slapyo
edit: links removed ... not working

the way i wanted it to works is, when you are scrolling the content and the info bar is staying in place at the top. however when i try and wrap the tags around the forum stuff it freaks out and doesn't display properly.

well i tested out that page and it works fine in IE but it doesn't work in firefox. so it looks like this hack is pretty much finished unless there is more stuff that can be added to it.

Lionel 11-30-2004 01:52 PM

Quote:

Originally Posted by Slapyo
http://www.veteransresources.org/forums/infobar.html - how it should be
http://www.veteransresources.org/forums/infobar2.css - css file used

notice that when you scroll, you are scrolling the content and the info bar is staying in place at the top. however when i try and wrap the tags around the forum stuff it freaks out and doesn't display properly.

you can view the source of that file as well as the css file. i only added back in the overflow: hidden for the body. that was the only change. it obviously works, cause you can see it right there. not sure why it's not working properly when i do it in vB.

have you tried putting the division viewplot in a table with all the vbcontent?

Slapyo 11-30-2004 01:56 PM

what i did was put the div viewplot right after the table holding the div infobar. then in footer i scrolled to the very bottom and put the same conditional and closed the div. that way it encompassed everything. cept it didn't work. atleast it isn't crashing IE anymore when i did that, it displays but not right. it doesn't make the container the right height.

Lionel 11-30-2004 02:11 PM

try enclosing the entire vb, by starting a 100% table in header at the beginning and closing it at the end in footer and put the view plot in the td of that table

Slapyo 11-30-2004 02:20 PM

well it works with the width, it spans 100% the problem is the height of the window is not grabbed by the css. in the css you will see
Code:

height: expression(this.parentNode.offsetHeight - this.offsetTop);
the expression is actually javascript. it should get the height of the site and subtract the top of the view plot so that it knows how high it should be. the problem is in IE the container only filled half the page for some reason, even though in my test page it showed the full window. in firefox, it's all goofed up lol.

KW802 11-30-2004 05:52 PM

HHmm..... is anybody running IE with XP SP2 and is seeing this?

Lionel 11-30-2004 06:12 PM

Quote:

Originally Posted by KW802
HHmm..... is anybody running IE with XP SP2 and is seeing this?

I do.

KW802 11-30-2004 06:27 PM

Quote:

Originally Posted by Lionel
I do.

On your site? With IE 6.0.2900.2180.xpsp_sp2_rtm.040803-2158 I'm not seeing it on your site either. HHmm.....

Lionel 11-30-2004 06:31 PM

Quote:

Originally Posted by KW802
On your site? With IE 6.0.2900.2180.xpsp_sp2_rtm.040803-2158 I'm not seeing it on your site either. HHmm.....

I have many sites. You are not looking at the right one :squareeyed:

Lionel 11-30-2004 06:34 PM

look at that one here

see it in sp1, sp2 and firefox .8

KW802 11-30-2004 06:47 PM

Quote:

Originally Posted by Lionel
I have many sites. You are not looking at the right one :squareeyed:

Weird..... it seems to be working with only the default VB3 style and none of my custom ones (all are a child of the VB default). HHmm........

Edit: Never mind, just having a "Duh!" moment of the day. My headinclude is being inherited but my headers aren't. Duh! :surprised:

Slapyo 11-30-2004 07:02 PM

Quote:

Originally Posted by KW802
HHmm..... is anybody running IE with XP SP2 and is seeing this?

that's what i used when i made this and it worked.


All times are GMT. The time now is 04:20 AM.

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.01507 seconds
  • Memory Usage 1,820KB
  • 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
  • (4)bbcode_code_printable
  • (2)bbcode_html_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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