vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Miscellaneous Hacks - The Ultimate Random Header Mod (https://vborg.vbsupport.ru/showthread.php?t=212351)

Jaxel 07-02-2009 05:13 AM

Quote:

Originally Posted by Merjawy (Post 1840658)
sorry, but I don't fully get it

is it either or? or can you do all?

can you randomly select forum wide banners and also force certain banners on certain forums and allow users as well?

I tried it now and even forced forum gets the other banners too.. I know I am not getting it


Thanks

You can do as much or as little as you want... either or... and ALL.

4.The script has a heirarchy of importance when searching for images. The first thing it will look for is the FORCED image from step 1. If it doesn't find a forced image, it will use the user defined image in step 2. If the user doesn't have a defined image, it will pick an image at random from the folder it resides in.

applebeef 07-02-2009 05:23 AM

Quote:

Originally Posted by Jaxel (Post 1840442)
Yes, the images are cachable.

Thanks!

One other thing, I tried doing a forced header for a forum and could not get it to work. I'm not really worried about... just thought I'd report.

ShawneyJ 07-02-2009 05:49 AM

Quote:

Originally Posted by Jaxel (Post 1841205)
Its a HIGHLY MODIFIED version of this:
https://vborg.vbsupport.ru/showthread.php?t=118935

damn, been looking for a mod like that but set out like your forum for over year.
thanks anyway ;)

Jaxel 07-02-2009 03:48 PM

Quote:

Originally Posted by jaycob (Post 1841224)
damn, been looking for a mod like that but set out like your forum for over year.
thanks anyway ;)

I will ask Atakan if I can release my version.

ShawneyJ 07-03-2009 08:48 AM

Quote:

Originally Posted by Jaxel (Post 1841484)
I will ask Atakan if I can release my version.

YEAH? i will buy you a beer for sure. thx.

applebeef 07-04-2009 07:48 AM

Jaxel, sorry to bother you again, but can you confirm that images cache with this mod?

That would be really important to me. I don't understand why it has a 'scroll down' effect every time if the images is cached.

I have a fast connection so I'm not sure can properly say that they're not caching--- they load fast either way for me-- but why the scrolling? I notice that that effect is pretty much nonexistent on your forum headers.

Here's the url to my header.php if you can take a look to confirm: http://www.wetacollectors.com/forum/...es/header.php?

I'd really appreciate it, thanks

Jaxel 07-04-2009 11:37 PM

You have some weird setting on your directory... as I cant view your image...

If I go here: it will display a random image, and if I press enter on the address bar, it clearly pulls from the cache (as it loads immediately and doesnt have the scroll)
http://www.8wayrun.com/customstyles/...der/header.php

However, if I go to your script: it WONT display an image, instead it will give me a download prompt for your php file... which is something that it should never do.
http://www.wetacollectors.com/forum/...ges/header.php

applebeef 07-05-2009 05:41 AM

Quote:

Originally Posted by Jaxel (Post 1842953)
You have some weird setting on your directory... as I cant view your image...

If I go here: it will display a random image, and if I press enter on the address bar, it clearly pulls from the cache (as it loads immediately and doesnt have the scroll)
http://www.8wayrun.com/customstyles/...der/header.php

However, if I go to your script: it WONT display an image, instead it will give me a download prompt for your php file... which is something that it should never do.
http://www.wetacollectors.com/forum/...ges/header.php

Jaxel, may I ask what browser you use? Your reply has prompted me to look at various things using both Firefox (my main browser) and Safari. Here are some of my findings:

-Your direct header DOES scroll for me in Firefox, with the loading progress bar too. Although it still happens very fast, but it's definitely there, even in instances where the same image has appeared consecutively. I wish I could video it so you could see.

-Your direct header does not scroll in Safari, as far as I can tell. It 'pops' in, which I think is the desired effect.

-My header direct link works fine for me in Firefox (obviously) but trying it in Safari does indeed lead to a download prompt. (Though the header(s) work fine in the forum itself.

-On my actual forum, which I've looked at plenty of times with both browsers and can confirm again-- the scrolling behavior is present on both browsers.


From these results I would hazard to guess you are using Safari (my header direct link doesn't load for you, your header direct link loads 'good') but it's only a guess.

Obviously I don't know further what is 'wrong', but I'm hoping you can find something in these results that might help. This is the link to the forum: http://www.wetacollectors.com/forum

Jaxel 07-05-2009 08:07 AM

I use IE8 on this computer, and FF3 on my other computer... everything works fine on my website without issues.

But I found out what your issue is... You have the following meta tag:
Code:

        <meta http-equiv="Pragma" content="no-cache" />
        <meta http-equiv="Expires" content="-1" />
        <meta http-equiv="Cache-Control" content="no-cache" />

This means nothing on your website will cache... EVER.

applebeef 07-05-2009 02:50 PM

Wow Jaxel you are so right, it even targets the headers specifically it looks like: <!-- no cache headers -->

How did that get there!? My Vbulletin is pretty vanilla, and quite new (only recently set up, and transferred from PHPBB3)

If that is not a 'standard' part of the code, I honestly have no idea how/why it got there, I certainly did not add that.

I will try and figure out how to remove it. Thanks a lot!


All times are GMT. The time now is 02: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.01011 seconds
  • Memory Usage 1,749KB
  • 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
  • (6)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
  • (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