![]() |
8WayRun.Com - Random Header
1 Attachment(s)
Don't forget to click INSTALL!
I'm an unemployed computer programmer... if you appreciate the work I have done on this mod, please don't hesitate in offering me a donation by clicking the "Support Developer" link to the right of this text. I had to rewrite this mod because it stopped working in vB4x. It now requires a product installation; don't blame me, blame vB4x. This script does not use Javascript! I wrote this mod for my own website last year (http://www.8wayrun.com/). I was looking for a way to create a random header situation, while also letting people select the random header through their UserCP and force a header depending on what forum they are on. If you go to my website (http://www.8wayrun.com/), a random character will appear on your header, if you ctrl+refresh, a new character will show up... if you go to our character specific forums, the character in the random header will be forced to the character of that specific forum... I have done my best to make this script as simple as possible. Product Demo: http://www.8wayrun.com/Installation Procedure:
Anywhere you want to use this random script, just link to this script, instead of an image.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.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. |
Looks very nice, tagged for later :D
|
How do you get it to display an image in the main forum list ( forum.php ).. I have it working for individual forums but naming the png by the forum ID but I get no image in the forum index not the CMS.
Installed though :).. |
Nice Jaxel thnx. I wait a new version for Video directory vb4
|
just to let you know that there is a malware on your forum found with Avast!. Ciao :)
|
Very cool! IS there a way to set a group of header images per forum:
Forum33_1.png Forum33_2.png Forum33_4.png etc Where only Forum 33 would show the above images randomly? |
Feature request - could you possibly include an option to change the header + thread title strips + footer? Would be cool if all 3 or even just header and footer could be changed at once.
|
You can easily use this mod multiple times by creating multiple folders and linking to each header.php differently.
|
Okay... just uploaded a new version. Fixes a big with the SELECT OPTION. Now if someone selects an image, and then later decides to go back to RANDOM, it will be handled correctly.
|
Only see Random Header, wheres the original script gone mate ? or is that it :)
Strike that LOL< I thought I was on your Media MOD !!! I am a terwatt ;) |
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 :) |
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? |
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 |
titleimage should be:
header/header.php?fid={vb:var forum.forumid} not header/header.php |
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? |
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:
Quote:
|
Quote:
give him time, it does work random and its kind of kool |
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? |
1 Attachment(s)
Quote:
Just use the attached file . |
Golzarion, that was an great fix. Thanks.
|
Quote:
|
This is awesome can it be used on None vbulletin pages?
Thanks |
This mod has been globalized, so now the FID and PID will work on everypage.
And yes, Animemike, header.php can be used on ANY page; not just VB. All the product file does is send the registers for FID and PID. With the VB3 version, it didn't even need a product since you didn't have to register anything. |
Quote:
|
One important question : Dose this mod causes the high server load ? ( cpu usage )
I think may be it is better not to use this mod on big forums with heavy traffics... Any idea ? |
I am really interested in this mod. I am assuming this will work with vb 4.0.7?
|
Interesting.
|
Sorry but I don`t understand this purpose, Vbulletin can do this without any mod.
Create a style for each forum with a different logo. Then go to the forum desired and in the options force the forum to see in other style. |
Quote:
|
Quote:
|
This is basically what I've been looking for, my problem is I have a custom main header logo which is cut into 3 separate images. I'm not sure how I can implement this onto my site, maybe you can assist me on this?
|
is it possible to have different banners on different styles? from what i see, all banners that rotate are located in the header folder, but there is no way to tell the mod which set should be loaded, if you want to have different sets of images.
example my site had 2 styles, dark and light. we have about 10 dark banners, and 10 light banners. i cant dump all 20 banners in the header folder as they would get mixed up between the 2 styles. is there any way around this? |
I am trying this, but I have a problem. The random option is working fine, but when I try to force to some forums, it doesn´t work.
In the URL of the image appears (clicking properties of the image): domain.com/header/header.php?fid={vb:var%20forum.forumid} I think the %20 of the space is the problem. I ´ve setup the image URL in custom vars as: header/header.php?fid={vb:var forum.forumid} because i don´t want the users to customize this setting, In header.php forced to .png as default, and in the forums directory a 33.png, but when I enter in the Forum 33 it apperars a random image. Is that sapce in the URL (%20) the problem? Any help would be apreciated, tested in Vb 4.1.2 Thanks, |
Any help?
|
The force isnt working for me either.
|
Quote:
|
Quote:
|
Any help for these last problems?
Is this mod supported, isn't it? Please give us some response to know if we can try to make it to work with your help, or if we have to uninstall it and try the eother way with php styles. Thanks, |
Odd this developer usually has great support.
|
Jaxel hasn't been on since early August. I just left him a message at his forum, though it is now running Xenforo so he may have jumped ship. :(
|
All times are GMT. The time now is 05:52 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|