PDA

View Full Version : Miscellaneous Hacks - WC's Affiliate Footer Table Mod


sherwood
07-09-2009, 10:00 PM
I hear lots of people always asking 'How do you get a affiliate table in your footer?' and since some people don't no any html/php/ect they don't know so I've created a simple way for you to have a Affiliate Footer Table without you having to do anything apart from changing a few things in VB Options.

What does it do?
What this mod does is adds a table in your footer where you can add links to affiliating sites.
Screenshot:
https://vborg.vbsupport.ru/external/2009/07/36.png

This is what it will look like from admin CP side:
https://vborg.vbsupport.ru/external/2009/07/37.png

How to install:

Go to AdminCP > Plugins & Products > Manage Products > [Add/Import Product] then import product-wc_affiliatemanager.xml
Go to your footer template and find:
<div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div>
<br />
After add:
<!--WC Affiliate Footer Start-->
$wc_affiliate
<br />
<!--WC Affiliate Footer Start-->
Go to vBulletin Options > vBulletin Options > WC Affiliate Manager Manager to change the URL and Forum name that appears in the affiliate table


How do I change the colors of the affiliate table?
Go to Styles & Templates > Style Manager > Edit Templates > wc_affiliate

To change the color of the border find:
;table-layout:fixed;background-color:#e9a209;width:550px;}
and change the color code that I've highlighted red.

To change the color of the text when the mouse is not over the cell find:
table#ll tbody td a{color:#e9a209;background-color:#1e1e1e;}
and change the color code that I've highlighted red.

To change the color of the cell background when the mouse is not over the cell find:
table#ll tbody td a{color:#e9a209;background-color:#1e1e1e;}
and change the color code that I've highlighted red.

To change the color of the text when the mouse is over the cell find:
td a:hover{color:#F2F5F9;background-color:#da9c17;font-weight:bold;font-size:10pt;}
and change the color code that I've highlighted red.

To change color of the cell background when the is over the cell find:
td a:hover{color:#F2F5F9;background-color:#da9c17;font-weight:bold;font-size:10pt;}
and change the color code that I've highlighted red.

Please mark as Installed before asking for support

saadessa
07-10-2009, 04:20 PM
very nice mod i need it and look for from long time thank you

sherwood
07-10-2009, 09:30 PM
You're Welcome saadessa, I'm glad you liked it!

JointRolla420
07-14-2009, 05:10 AM
haha wats up sherwood..

ive already had this thing installed for like a month from when u posted it on......... ;) ;)

crouzmind
07-22-2009, 10:22 AM
i installed this mod and edit the template but nothing is show . this mod not work for my site and i m using vbulletin 3.8.1 .

any body tell me why this not work for me . plz .

sherwood
07-23-2009, 02:17 PM
have you added this to your template?
<!--WC Affiliate Footer Start-->
$wc_affiliate
<br />
<!--WC Affiliate Footer Start-->

crouzmind
07-23-2009, 02:22 PM
have you added this to your template?
<!--WC Affiliate Footer Start-->
$wc_affiliate
<br />
<!--WC Affiliate Footer Start-->

yes i have add this code but problem same .

sherwood
07-23-2009, 02:23 PM
can you link me to your site and post your footer template.

Astral001
07-27-2009, 08:08 AM
Thanks for the mod, works great.What have I got to do for it not to appear on the login or registration page.

sherwood
07-27-2009, 08:41 PM
The other way you can do that is by adding it to the Pharse:

powered_by_vbulletin

add it underneath the copyright information and that should do the trick.

Sunka
08-02-2009, 12:40 AM
Very good!
Installed, thanks!

Edit: Coud you alter MOD with group permissions (which groups see, and which groups to not see)

ahmer
08-02-2009, 02:32 AM
thanks nice share!!!1

sherwood
10-28-2009, 04:27 PM
You're welcome!

COL NIL SATIS
10-28-2009, 11:04 PM
excellent..will install this tomorrow!!

Reserved!!!

COL NIL SATIS
10-29-2009, 04:41 PM
WOW!!! Thats a cool mod..thanks for this man..installed

ChopSuey
11-01-2009, 11:16 PM
Shouldn't it be
<!-- WC Affiliate Footer Start -->
$wc_affiliate
<br />
<!-- /WC Affiliate Footer Start -->

Instead of starting it twice

ChopSuey
11-01-2009, 11:40 PM
This mod dont even work right. All links lead to your forum then the affiliates link. Not good at all.

pythonimp
11-01-2009, 11:57 PM
What exactly does this mod do?
Does it create something similar to fatwallet?
Where if someone posts a link for a product, it will automatically change that link to YOUR affiliate link? If not does anyone know of anything like that?

Thanks!

ChopSuey
11-02-2009, 08:15 AM
No lol, you see the admincp options? You put the links in yourself.
But it leads to your forum like
http://www.yoursite.com/www.affiliatelink.com/

X_FiLeS
04-20-2010, 01:32 PM
thanks really great share and Installed.