vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Information Bar for Guests (https://vborg.vbsupport.ru/showthread.php?t=97150)

bashy 12-09-2005 08:33 AM

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

bashy 12-09-2005 08:39 AM

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

Slapyo 12-19-2005 01:10 PM

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.

bashy 12-20-2005 08:31 AM

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 :o

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

Cheers m8

Bashy

Slapyo 01-07-2006 03:25 AM

Works with 3.5.3 ... no template changes at all.

Bytecon 01-12-2006 08:51 PM

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.

Totti 01-12-2006 09:40 PM

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

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 :)

Slapyo 01-13-2006 01:08 AM

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.

Bytecon 01-13-2006 03:49 PM

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

Slapyo 01-13-2006 08:18 PM

Hrm, it looks weird in FF.


All times are GMT. The time now is 10:37 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.01120 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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