vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Miscellaneous Hacks - WC's Affiliate Footer Table Mod (https://vborg.vbsupport.ru/showthread.php?t=218306)

sherwood 07-09-2009 10:00 PM

WC's Affiliate Footer Table Mod
 
1 Attachment(s)
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:
  1. Go to AdminCP > Plugins & Products > Manage Products > [Add/Import Product] then import product-wc_affiliatemanager.xml
  2. Go to your footer template and find:
    PHP Code:

    <div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div>
    <
    br /> 

    After add:
    PHP Code:

    <!--WC Affiliate Footer Start-->
    $wc_affiliate
    <br />
    <!--
    WC Affiliate Footer Start--> 

  3. 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:
Code:

;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:
Code:

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:
Code:

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:
Code:

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:
Code:

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?
Code:

<!--WC Affiliate Footer Start-->
$wc_affiliate
<br />
<!--WC Affiliate Footer Start-->


crouzmind 07-23-2009 02:22 PM

Quote:

Originally Posted by sherwood (Post 1854186)
have you added this to your template?
Code:

<!--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.


All times are GMT. The time now is 01:42 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.01304 seconds
  • Memory Usage 1,741KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (7)bbcode_code_printable
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete