Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > vBadvanced CMPS
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[Request] Fading Affiliates Module Details »»
[Request] Fading Affiliates Module
Version: , by Watson Watson is offline
Developer Last Online: Feb 2013 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 05-02-2005 Last Update: Never Installs: 0
 
No support by the author.

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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 02-18-2007, 02:01 PM
project-Buckfas project-Buckfas is offline
 
Join Date: Jul 2006
Location: Ireland
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Worked perfect for me on 3.6.4 Been waiting for a module like this for a long time.

One question how do I make it collapsable?

Thanks again!
Reply With Quote
  #13  
Old 02-18-2007, 03:06 PM
carpefile carpefile is offline
 
Join Date: Jul 2004
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you make sure that the "Use Module Shell Template" is checked "yes", it will automatically make it all fit right in your page. It will make the block collapsible too, in short, it will look like all the other blocks on your VBA. The block title you choose will be what will display on your block
This works for template modules;

Code:
<!-- Custom Block--!>        

<tr>
		<td class="$getbgrow">
<!-- Custom Code Start -->
YOUR CODE HERE

<!-- Custom Code End -->
		</td>
	</tr>
So in this case, it would look like this;

Code:
<!-- Custom Block--!>        

<tr>
		<td class="$getbgrow">
<!-- Custom Code Start -->
<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>
<!-- Custom Code End -->
		</td>
	</tr>
I use this all the time, so far had no problems at all.
Reply With Quote
  #14  
Old 02-18-2007, 03:20 PM
project-Buckfas project-Buckfas is offline
 
Join Date: Jul 2006
Location: Ireland
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Carpe!

Didn't expect to see you here! The internets a small place eh?
Reply With Quote
  #15  
Old 02-18-2007, 04:13 PM
carpefile carpefile is offline
 
Join Date: Jul 2004
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi ya!
Yeah, I lurk here a lot. Its helped me advance from being a "cut & paste" end-user to being a "tinker with stuff & break everything, pull hair out & cuss & sweat till it works" end-user.

Thought you guys were an IPB ?
Reply With Quote
  #16  
Old 02-18-2007, 04:17 PM
project-Buckfas project-Buckfas is offline
 
Join Date: Jul 2006
Location: Ireland
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah P2PC runs IPB. I use vB for my other sites.

I'm here quite a bit myself. There's always somethingn ew to experiment with
Reply With Quote
  #17  
Old 06-06-2007, 04:37 AM
kylek kylek is offline
 
Join Date: Oct 2003
Location: British Columbia, Canada
Posts: 798
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What do you need to change to remove the fading of the banner? We would like to have them at full intensity if at all possible.
Reply With Quote
Reply


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


All times are GMT. The time now is 02:14 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.04827 seconds
  • Memory Usage 2,281KB
  • Queries Executed 22 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete