The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Multiple images on header fed by members
Hi there,
I am very interested in getting the full version of vbulletin. I've noticed that several communities have the same header with various images fed from the forums and featuring their members work, however I have not seen that vbulletin has it by default. How do I get vbulletin to behave like this? See images. Thanks for your time. |
#2
|
|||
|
|||
Live links please!
We can check source code |
#3
|
||||
|
||||
more than likely the images in question are all in one folder, and there is a php script running, scanning the folder, and displaying at random. Plus a bunch of other code
|
#4
|
||||
|
||||
<a href="http://forums.cgsociety.org/" target="_blank">http://forums.cgsociety.org/</a>
|
#5
|
|||
|
|||
How do they do it????
Live links here: http://cgtalk.com http://www.cghub.com http://www.gameartisans.org/forums/index.php How do they do it??? they look awesome!!! Any ideas? --------------- Added [DATE]1307558708[/DATE] at [TIME]1307558708[/TIME] --------------- Here is another vbulletin forum with header images: http://www.scifi-meshes.com/forums/ |
#6
|
|||
|
|||
TheWindows7Site is correct, they are using some script called MM_preloadImages
Here's a snippet Code:
<script language="JavaScript" type="text/JavaScript"> <!-- function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; } function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && d.getElementById) x=d.getElementById(n); return x; } function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } MM_preloadImages('/images_cgn/buttons/btn_logout_over.gif','/images_cgn/buttons/btn_login_over.gif','/images_cgn/buttons/btn_register_over.gif'); //--> </script> How to do it? Not my fort? cghub.com isnt even vbulletin Here's one way: https://vborg.vbsupport.ru/showthread.php?t=264213 |
#7
|
|||
|
|||
Yeah, that looks promising, thanks a lot!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|