Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
8WayRun.Com - Random Header Details »
8WayRun.Com - Random Header
Mod Version: 4.0.2, by Jaxel (Coder) Jaxel is offline
Developer Last Online: Sep 2013 I like it Show Printable Version Email this Page

vB Version: 4.0.x Rating: (5 votes - 5.00 average) Installs: 59
Released: 17 Apr 2010 Last Update: 13 Aug 2010 Downloads: 381
Not Supported Uses Plugins Template Edits Additional Files  

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/
http://www.8wayrun.com/customstyles/...der/header.php
Installation Procedure:
  1. Upload all the files in the "upload" directory of the attached zip file to your forum root.
    .
  2. Import the product file called "product-header.xml" in the Product Manager of vBulletin.
    .
  3. RANDOM OPTION: Put the images you want randomized into the "header" folder that you just uploaded in the previous step.
    This randomized option will work with any JPG, GIF or PNG image extension.
    .
  4. SELECTED OPTION: If you want, you can let users SELECT which header they want on places where the script would normally randomize.
    1. Create a new "Single-Selection Menu" profile field in your adminCP.
    2. For each selection option, enter an image's filename as an option.
    3. Set Default: None
    4. Field Required: No
    5. Field Editable: Yes
    6. Private Field: No
    7. Field Searchable on Members List: No
    8. Show on Members List: No
    9. Display Page: Options: Other
    After you submit, this field will be given a name (ex: field9). Make sure to remember this name.
    This selected option will work with any image extension defined in an image's filename
    .
  5. FORCED OPTION: If you want to FORCE an image on specific forum, upload the image, to the "header/forums" directory.
    Images are forced by their forum ID, so if the forum you want to force is forum 38, then name the image "38.png".
    By default, this selected option will only work with the PNG image extension.
    If you want to change this extension to something else, open up the included "header/header.php".
    Find and edit the fourth line in this file which by default should state: $forced = ".png";
    .
  6. NOTE: This script has a heirarchy of importance when searching for images.
    1. The first thing it will look for is the FORCED OPTION.
    2. If it doesn't find a forced image, it will use the SELECTED OPTION.
    3. If it doesn't find a selected image, it will use the RANDOM OPTION.
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.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 17 Apr 2010, 05:22
Juggernaut's Avatar
Juggernaut Juggernaut is offline
 
Join Date: Dec 2009
Looks very nice, tagged for later
Reply With Quote
  #3  
Old 17 Apr 2010, 08:16
sploodge sploodge is offline
 
Join Date: Jan 2006
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 ..
Reply With Quote
  #4  
Old 17 Apr 2010, 11:53
WassoufTunClub WassoufTunClub is offline
 
Join Date: Jan 2010
Nice Jaxel thnx. I wait a new version for Video directory vb4
Reply With Quote
  #5  
Old 17 Apr 2010, 14:12
Poeta Poeta is offline
 
Join Date: Oct 2007
just to let you know that there is a malware on your forum found with Avast!. Ciao
Reply With Quote
  #6  
Old 18 Apr 2010, 13:19
pjcnlv pjcnlv is offline
 
Join Date: Jul 2007
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?
Reply With Quote
  #7  
Old 19 Apr 2010, 00:09
JohnMcClane JohnMcClane is offline
 
Join Date: Jan 2010
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.
Reply With Quote
  #8  
Old 19 Apr 2010, 04:21
Jaxel Jaxel is offline
 
Join Date: Sep 2005
You can easily use this mod multiple times by creating multiple folders and linking to each header.php differently.
Reply With Quote
  #9  
Old 19 Apr 2010, 22:06
Jaxel Jaxel is offline
 
Join Date: Sep 2005
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.
Reply With Quote
  #10  
Old 19 Apr 2010, 22:20
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Real name: Blue
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
__________________

My Hacks [ click ] | Steve ~ Administrator for British Expats AustraliaBound.org/forum | Test our forum - user; don pass; pass123
Sports Tipping Mod - coming February 2010 ~ Show your Interest !
Reply With Quote
  #11  
Old 24 Apr 2010, 15:56
sploodge sploodge is offline
 
Join Date: Jan 2006
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

Last edited by sploodge; 24 Apr 2010 at 15:59. Reason: Fixed it..
Reply With Quote
  #12  
Old 28 Apr 2010, 02:44
Contra Fates's Avatar
Contra Fates Contra Fates is offline
 
Join Date: Sep 2008
Real name: Kendra
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?
__________________

Reply With Quote
  #13  
Old 01 May 2010, 22:41
rdbrown rdbrown is offline
 
Join Date: Feb 2009
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
Reply With Quote
  #14  
Old 04 May 2010, 16:36
Jaxel Jaxel is offline
 
Join Date: Sep 2005
titleimage should be:

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

not

header/header.php
Reply With Quote
  #15  
Old 04 May 2010, 21:01
your24hourstore your24hourstore is offline
 
Join Date: Feb 2010
but

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?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 06:09.

Layout Options | Width: Wide Color: