The Arcive of vBulletin Modifications Site. |
|
![]() |
|||||||||||||||||||||||||
Used to have this on my old phpnuke site, and I would like to add it again to my Vbulletin site, if anyone could port it over, it would be magic.
here is the file Code:
Fading Block ============= Block used to display banners and links by hyperlinked images for your Affiliates, Informations, Partners, Supporters, Organizations, etc. with Fading effect !!! INSTALLATION ========== - Open the blocks folder and upload the block-Fading.php in your php-nuke "blocks" folder. - Upload fading.js files in your php-nuke "blocks" folder. - Use admin to create the block. MODIFIED HYPERLINKED IMAGES ===================== - Open the block-Fading.php file and just before the last line (ending with ?> you may include more images/links as many as you want, by simply copying and pasting the amended following line: $content .= "<a href=\"http://www.thainuke.net/\" target=\"_blank\"><img onmouseover=high(this) style=\"FILTER: alpha(opacity=30); moz-opacity: 0.3\" onmouseout=low(this) border=0 src=\"http://www.thainuke.net/nuke/images/thainukel.gif\" alt=\"PHP-Nuke Thailand\" width=88 height=31></a><BR>"; 1- On the above line change the url www.thainuke.net/nuke with your required URL 2- Still in the same line change the http://www.thainuke.net/nuke/images/thainukel.gif (URL of the image file) with the name of your image. Repeat sequence the above 1- and 2- note to include more hyperlinked images. - To remove existing image/link just remove the line starting with $content .="< .......<BR>"; Show Your Support
|
Comments |
#2
|
||||
|
||||
![]()
1: Upload the file in the attatched zip to your root directory. (Site Root, not forum root.)
2: Create a template named "adv_portal_banners" and use the following code: Code:
<!-- Scrolling/Fading Links --> <table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="175"> <tr> <td class="tcat"><span class="smallfont"><strong>$vba_options[portal_blockbullet] Sponsors</strong></span> </td> </tr> <tr> <td class="$getbgrow" width="100%"> <SCRIPT src="fading.js"></SCRIPT> <MARQUEE behavior= "scroll" align= "center" direction= "up" height="120" scrollamount= "2" scrolldelay= "15" onMouseOver="this.stop()" onMouseOut="this.start()"> <center> <!-- Begin Links --> <a href="http://www.sitename.com" target="_blank"><img onmouseover=high(this) style="FILTER: alpha(opacity=30); moz-opacity: 0.3" onmouseout=low(this) border=0 src="http://www.path_to_image.jpg" alt=""></a><BR><BR> <a href="http://www.sitename.com" target="_blank"><img onmouseover=high(this) style="FILTER: alpha(opacity=30); moz-opacity: 0.3" onmouseout=low(this) border=0 src="http://www.path_to_image.jpg" alt=""></a><BR><BR> <a href="http://www.sitename.com" target="_blank"><img onmouseover=high(this) style="FILTER: alpha(opacity=30); moz-opacity: 0.3" onmouseout=low(this) border=0 src="http://www.path_to_image.jpg" alt=""></a><BR><BR> <a href="http://www.sitename.com" target="_blank"><img onmouseover=high(this) style="FILTER: alpha(opacity=30); moz-opacity: 0.3" onmouseout=low(this) border=0 src="http://www.path_to_image.jpg" alt=""></a><BR><BR> <a href="http://www.sitename.com" target="_blank"><img onmouseover=high(this) style="FILTER: alpha(opacity=30); moz-opacity: 0.3" onmouseout=low(this) border=0 src="http://www.path_to_image.jpg" alt=""></a><BR><BR> <!-- End Links --> </center> </Marquee> </td> </tr> </table> <br /> <!-- End Scrolling/Fading Links --> Module Title: Banners (or whatever you wish) File to Include: none OR Template to Include: banners (If you named the template above adv_portal_banners) Active: Yes Templates Used:adv_portal_banners The images will appear faded as they scroll from the bottom of the module to the top. On mouseover they will unfade and stop. |
#3
|
||||
|
||||
![]()
Superb mate, works perfectly, and better than my last 1. Thanks very much for this
Watson |
#4
|
||||
|
||||
![]()
Your welcome
|
#5
|
|||
|
|||
![]()
Thanks mholtum!!!
I have been looking for a mudule FOREVER it seems |
#6
|
||||
|
||||
![]()
I know this thread has been dead for a while, but rather than starting a new one i'm posting here because i'm using the files supplied here, but they aren't seeming to work on 3.6...
it's screwing the layout up...sort of making the middle and right columns disappear and just throwing everything into one column...see example attached does anyone know how to fix this? problem something simple i'm overlooking |
#7
|
||||
|
||||
![]()
as always...i spoke too fast...it was as simple as removing the table tags...
|
#8
|
||||
|
||||
![]()
Great share - Thanx very much!
Jacquii. |
#9
|
||||
|
||||
![]() Quote:
|
#10
|
|||
|
|||
![]()
Can you post the updated template? The way it appears on my site is with the title of the module underneath the module itself
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|