![]() |
Affiliate Box - Scrolling and Fading Affiliate Buttons
Keywords: affiliate, affiliates, partner, partners, scrolling box, fading images
Update: XHTML VALID NOW! There are more template edits guys, sorry. This will fix xhtml errors. For those that use TMS, you won't have any template edits. Also, marquee has been removed due to the xhtml errors. If you don't care about being xhtml valid, I'll explain how to get your marquee back. Features: Adds an affiliate box in "What's Going On?" Collapsible box Images are faded and they light up when you scroll over them Live Demo: LayeredGFX - Sorry, I've moved my affiliates to an affiliates page so live demo doesn't work. Install instructions for TMS users: Upload product [optional] If you want the topsites to show, go into TMS > Affiliates and FORUMHOME: Add topsite box, set active: YES. Install instructions for Non-TMS users: Go to Styles & Templates > Style Manager > Edit Templates Choose Forum Home Templates > Forumhome Find: Code:
<if condition="$show['birthdays']"> Code:
<!-- insert affiliate box --> Code:
<!-- topsitebox --> Choose headinclude template. Find: Code:
<!-- / CSS Stylesheet --> Code:
<style type="text/css"> You're done! To add a site, go to Styles & Templates > Style Manager > Edit Templates > Affiliates and find affiliate_sites (topsite links are found in affiliate_topsite_sites). In there, you can add this code: Code:
<a href="SITE LINK" target="_blank" ><img class="imgfade" onmouseover="this.className='imgfull'" onmouseout="this.className='imgfade'" src="IMAGE LINK" alt="ALT TEXT/DESCRIPTION/SITE TITLE HERE" border="0" /></a> The topsite phase is topsites. For those still interested in marquee, you can add this above your first affiliate/site/link: <marquee width="100%" valign="center" direction="left" scrolldelay="2" scrollamount="1.5" onmouseover="this.stop()" onmouseout="this.start()"> And add this below your last affiliate/site/link: </marquee> Updates July-16 2007 - Added products for affiliate + topsites and affiliate + topsites marquee as requested and as shown on my site. v1.1 August-9 2007: -Fixed xhtml problems -Added TMS support -Moved template out of forumhome -Added more templates to make things easier -Grouped the templates -Cached the templates -Removed marquee from being installed. Can add manually. |
cool ill install it later
thanx |
click install. Does the pic has to be a certain size ?
|
By the way, it would be much better if you can modify it so the affiliate box is on top of the what's going on, instead of the bottom.
Something like this http://www.theadminzone.com/forums/ |
Quote:
And no, there's no size restriction. I personally like having multiple small buttons (88x31 is normal affiliate button size) but you can have whatever size fits your site best. |
wooott! finally it matches my taste now. :)
5 stars for you ;) thanks. |
LOL :D I just saw this Tut in the morning at TAZ [TheAdminZone] and I thought, hopefully someday he will release it at vB.org
Good One! |
Quote:
|
Quote:
Quote:
|
Nice, I've been looking for a good affiliates mod. High five! lol.
<3 Pandas |
much love
|
cool mod, just need to know how can i center the minibanners cause i don't like the empty space at the end :)
|
Thanks, this looks real nice, thanks for sharing, I might install this shortly.
|
Interesting.. a cooler affliate box compared to a few others.. will have to try it out.
|
it looks great, i changed the size to make it look nicer and it's so simple to handle but i'd like to know is it board intensive using gifs instead of jpgs?
|
the images are so small... i don't think so it will be add load to server. :)
|
hi i installed this great affiliates box but i was wondering how can i add 2 like you have on your forum? coz i want one for partners and one for topsites. also how can i changed the title of the box? from affiliates to topsite?
|
Quote:
That should work :) Maybe you should get more affiliates ;) lol j/p Quote:
Quote:
Code:
<!-- Begin Topsites --> If you'd like a topsite to sign up to, here's mine: http://www.se7ensins.com/TopSites/ Thanks for all the wonderful comments guys! I appreciate it :D |
nice one will try it today
|
Thanks man, this is a highly reccomended hack ;)
|
I've just updated the attachments. In the zip, there are 4 products (I hope they are self explanatory):
affiliates affiliates marquee affiliate topsite (will add 2 boxes, 1 for affiliates and 1 for your topsites) affiliate topsite marquee (same as above but with scrolling images) |
Actually I'm going to use this as you've got it setup right now, just I don't want it to say 'Affiliates', everything else is just the way I want it and thank you for creating it.
What would I edit exactly in the template so it says 'blahblah-whatever' ? Regards! |
Find the phrase name is "affiliate_sites". Edit that to your liking.
|
Quote:
Quote:
Sorry, but here's http://www.theadminzone.com/forums/s...ad.php?t=29948 |
Is this mod XHTML 1.0? I got a number of errors when I used it on my forum.
|
I haven't checked...most of it is vbulletin code...I'll have to look into it later and if there's a problem, then I'll fix it.
|
Thanks,
**Installed** |
Nice, ** installes **
|
I love it! I was looking for something like this all morning!
*installed* |
Installed
|
I've found all the xhtml problems. I'll be updating this product within the next few days! :D
|
great product azzid!
|
v1.1 August-9 2007:
Fixed xhtml problems Added TMS support Moved template out of forumhome Added more templates to make things easier Grouped the templates Cached the templates Removed marquee from being installed. Can add manually. I believe I've fixed all of the xhtml errors. I tested it out on my testboard and everything checked out properly. If you have a problem, please let me know. And I apologize for the inconvenience this update may bring to some people but I hope it's smooth sailing from here. If anyone is interested on making an ACP menu option addon for this, please contact me. I'm always up for making things easier for people. |
thanks man, great hack! ;)
Marco ps. how do you make those little button? is there any web site where you can make it easly? |
You use photoshop to make them. Go to my site (the demo link) and you can learn how to use photoshop and make your own :D
|
Guys, a new update is on its way. I'm going to be working on getting the ACP options for you guys :)
|
great! can't wait for it!!! ;)
|
Wow, Azzid, I didn't know you coded! Sweet! Im starting to love you more and more!
|
lol Nm of a coder...I just know some basic xhtml/css.
|
nice mod.....will use it in future ;)
*Installed |
All times are GMT. The time now is 03:19 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:
|