vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Odd Banner Advert Behaviour - Please Help! (https://vborg.vbsupport.ru/showthread.php?t=300045)

donkspurs 07-12-2013 03:30 PM

Odd Banner Advert Behaviour - Please Help!
 
I've been using Sryrus' modification here.

Trying to position an advert in the main banner that will look good across all browsers and resolutions but I can only get it looking right in Internet Explorer. In all other browsers I get some odd behaviour.

The more I stretch the browser window out, the advert follows it correctly to the right side up to a certain point and then it suddenly jumps back over to the left and then continues moving right again. I can't work out why it does this, but it means for resolutions on 1280x800 the position of the advert doesn't look nice.

There seems to be a difference when logged in compared to when logged out. When I'm logged in, this strange behaviour with the advert isn't there and it correctly moves to the right side as I stretch the window out. It's only when I'm logged out that it causes trouble.

Here are two screenshots, from within Chrome. One is logged out, the other is logged in. If anyone can help with this it would be greatly appreciated - thanks!

Logged Out Screenshot

Logged In Screenshot

Lynne 07-12-2013 05:15 PM

Questions/Problems regarding modifications/styles need to be asked in the modification/style thread. That is where the support for modification/style is - not out here in the main forums. Please note that if a modification/style is unsupported (or even if it says it is supported), you may be on your own if you chose to install it.

donkspurs 07-12-2013 06:20 PM

Thanks for the reply Lynne.

The reason I created a separate thread for this was because it seems to be a browser specific issue and also related to a difference between being logged in and logged out. I'm sure someone who knows more about developing would be able to see what the problem is quite quickly and fix it themselves but unfortunately it's just beyond me.

I've also asked Syrus for any help, but thanks in advance to anyone else who think they might be able to help too. It would be much appreciated!

Lynne 07-12-2013 11:00 PM

Since you have a non-default style, and I'm guessing you also have other modifications, my guess is the problem is because of either changes to the style or changes to the style based on the usergroup. I'd suggest using firebug and checking the CSS differences between logged in and logged out users.

donkspurs 07-13-2013 02:46 PM

Thanks again for the reply Lynne.

Just out of interest which template(s) would I need to look into to check on the CSS differences between logged in and logged out users? Seeing as this involves the banner area I'd guess at it being the header template, but I'm probably completely wrong.

Lynne 07-13-2013 06:14 PM

I know nothing about that modification and therefore nothing about where any CSS for that modification was entered. I would just use firebug to look at the CSS and then do a Search in Templates for any line that is different.

darnoldy 07-14-2013 03:10 PM

The "modification" is actually just instructions how to modify the header template. I suspect (hard to know for sure without playing with your templates) that the log-in box is interfering with the ad position.

--don

donkspurs 07-14-2013 06:42 PM

Yep that's right. It's simply just editing code in the header and vbulletin.css templates.

Thanks for the help guys. Do you know specifically which template has the login boxes? Would that be the header as well? I'll play around with it.


All times are GMT. The time now is 01: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.00961 seconds
  • Memory Usage 1,725KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete