vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - 8WayRun.Com - Random Header (https://vborg.vbsupport.ru/showthread.php?t=240629)

sploodge 04-24-2010 02:56 PM

Still cannot get this to randomize banners.. Works for individual forums ( by naming the image as the forum number )..

Any suggestions?

EDIT: Fixed it..... Being a tool :)

Contra Fates 04-28-2010 01:44 AM

I've been waiting for this mod, thanks!

The only issue I'm having is that the user selected portion isn't working. =( Any suggestions?

rdbrown 05-01-2010 09:41 PM

I can get the logo to be random on my site, but I can't get the forced option to work. For example I edited the header/header.php file and changed the forced to .jpg instead of the .png. I then placed a logo named 33.jpg into the header/forums folder. When I goto the forum with the id of 33, It is still giving me random images. Has anyone else had this problem? Or am I doing something wrong?

I also have a question as to wether or not I did the right thing in the StyleVars>ImagePaths>titleimage. Instead of the default image that was there, I replaced it with header/header.php.

Thanks

Jaxel 05-04-2010 03:36 PM

titleimage should be:

header/header.php?fid={vb:var forum.forumid}

not

header/header.php

your24hourstore 05-04-2010 08:01 PM

Usage Procedure:
Anywhere you want to use this random script, just link to this script, instead of an image.
header/header.php?fid={vb:var forum.forumid}&pid={vb:var bbuserinfo.field9}
Notice the field9 above, this should match the field name given to you in a previous step.

You can use this script anywhere you would normally use an image; whether it be your logo image, or even the background image to your header or website

the above script can it be modified to just show specif imgs in specific forums , Not Random?

rdbrown 05-07-2010 06:26 PM

I went Into the Style Variable Editor and replaced the title image with header/header.php?fid={vb:var forum.forumid}&pid={vb:var bbuserinfo.field9}. I placed my image in header/forums and named it as 33.png and when I goto forum 33 it doesn't load this image. It still does the random image. I am not really interested in the user select option. I am only interested in random and forum specific logos. Am I placing the variable in the wrong place? Maybe I have to manually edit the header code instead of replacing the variable?

https://vborg.vbsupport.ru/external/2010/05/49.jpg

Quote:

Originally Posted by Jaxel (Post 2031660)
titleimage should be:

header/header.php?fid={vb:var forum.forumid}

not

header/header.php


Quote:

Originally Posted by harleyparts (Post 2031803)
Usage Procedure:
Anywhere you want to use this random script, just link to this script, instead of an image.
header/header.php?fid={vb:var forum.forumid}&pid={vb:var bbuserinfo.field9}
Notice the field9 above, this should match the field name given to you in a previous step.

You can use this script anywhere you would normally use an image; whether it be your logo image, or even the background image to your header or website

the above script can it be modified to just show specif imgs in specific forums , Not Random?


your24hourstore 05-07-2010 10:31 PM

Quote:

Originally Posted by rdbrown (Post 2033313)
I went Into the Style Variable Editor and replaced the title image with header/header.php?fid={vb:var forum.forumid}&pid={vb:var bbuserinfo.field9}. I placed my image in header/forums and named it as 33.png and when I goto forum 33 it doesn't load this image. It still does the random image. I am not really interested in the user select option. I am only interested in random and forum specific logos. Am I placing the variable in the wrong place? Maybe I have to manually edit the header code instead of replacing the variable?

https://vborg.vbsupport.ru/external/2010/05/49.jpg

jaxel is so busy on media he has no time to even come look at this :<

give him time, it does work random and its kind of kool

rdbrown 05-08-2010 05:18 PM

Disregard my previous question. I ended up putting it into my header template and it now works.

I did notice that the forced logo only works on the forum, but not the threads in that forum. Is there a way to make it work on all of the threads in forum that is forced?

Golzarion 05-12-2010 11:43 AM

1 Attachment(s)
Quote:

Originally Posted by rdbrown (Post 2033827)
I did notice that the forced logo only works on the forum, but not the threads in that forum. Is there a way to make it work on all of the threads in forum that is forced?

Yes ! that would very nice ! I rewrite the codes for this ability . Now it can show them on "threads in forum that is forced " too .
Just use the attached file .

rdbrown 05-20-2010 10:07 PM

Golzarion, that was an great fix. Thanks.


All times are GMT. The time now is 03:19 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.00986 seconds
  • Memory Usage 1,739KB
  • 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_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