Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools
CP_Affiliates - An affiliates box for your forum! Details »»
CP_Affiliates - An affiliates box for your forum!
Version: 1.5, by cyberphr cyberphr is offline
Developer Last Online: Apr 2011 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.6.x Rating:
Released: 12-09-2006 Last Update: 05-04-2007 Installs: 97
Uses Plugins
 
No support by the author.

Basic affiliates box plugin for vbulletin 3.6,
simply upload the plugin and edit to insert your own html.

Further installation instructions and information on how to move it below "What's Going On" provided in the readme.

Enjoy, and hit install if you use.


Tip: How to add link images.

To make an image link to a site like this:


Insert the html into the plugin:
HTML Code:
<a href='http://google.com/'><img border='0' src='http://www.hybridsoft.net/images/affiliates/cp.gif' alt='' /></a>
* In plain HTML replace /> with >.

Be careful using double-quotations in the html,
remember to use either single-quotations or put a backslash before each double-quotation ( \" ).


Previews of it in use on my forum below.

Show Your Support

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

Comments
  #12  
Old 12-10-2006, 04:19 PM
vietfancy's Avatar
vietfancy vietfancy is offline
 
Join Date: Feb 2005
Posts: 278
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what is we have about 20 banners, are they willing to fix in there? How to have them running to the right?
Reply With Quote
  #13  
Old 12-10-2006, 05:38 PM
cyberphr's Avatar
cyberphr cyberphr is offline
 
Join Date: Jul 2006
Location: Hell
Posts: 293
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vietfancy View Post
what is we have about 20 banners, are they willing to fix in there? How to have them running to the right?
Edit it like this:

<marquee> Your html links </marquee>

This will make them slide from the right side off the left, so it fits.

Otherwise if you exceed the width of the box some of the content will go onto a second line.
Reply With Quote
  #14  
Old 12-11-2006, 09:10 AM
JamieLee2k's Avatar
JamieLee2k JamieLee2k is offline
 
Join Date: Sep 2006
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

2 questions.

How can I move it so that it sits at the top of the forums just below the navbar?
How can I have more links without it going off the edge of the screen?
Reply With Quote
  #15  
Old 12-11-2006, 11:51 AM
iran.gs iran.gs is offline
 
Join Date: Jul 2006
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not bad, how ever i made mine some how different to do 3 things like marq news and affialates and more, here is a photo
Reply With Quote
  #16  
Old 12-11-2006, 05:26 PM
cyberphr's Avatar
cyberphr cyberphr is offline
 
Join Date: Jul 2006
Location: Hell
Posts: 293
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JamieLee2k View Post
How can I move it so that it sits at the top of the forums just below the navbar?
That IS where it will be by default, if it's not directly above the forums and below the navbar it's because you have other hacks installed or you have edited your skin.

Nevertheless, try changing "$navbar" to "<!-- main -->".

Quote:
Originally Posted by JamieLee2k View Post
How can I have more links without it going off the edge of the screen?
Use <marquee> to make them slide across, or <br /> to linebreak.
Reply With Quote
  #17  
Old 12-12-2006, 10:41 PM
JamieLee2k's Avatar
JamieLee2k JamieLee2k is offline
 
Join Date: Sep 2006
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default


This is what I mean, I wanted to add more banners but it's not working, I added the same code right after the first one and this happened, how do I add more banners so they are placed right next to each other.
Reply With Quote
  #18  
Old 12-13-2006, 08:09 AM
cyberphr's Avatar
cyberphr cyberphr is offline
 
Join Date: Jul 2006
Location: Hell
Posts: 293
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Show me the code from the plugin (all of it).
Reply With Quote
  #19  
Old 12-13-2006, 10:36 AM
JamieLee2k's Avatar
JamieLee2k JamieLee2k is offline
 
Join Date: Sep 2006
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
$affiliates = "<!-- Affiliates --> 

<table class='tborder' cellpadding='$stylevar[cellpadding]' cellspacing='$stylevar[cellspacing]' border='0' width='100%' align='center'> 

<td class='tcat' align='center' width='100%'><a href='http://cyber-phreaks.net/links.php' target='_self'>Affiliates</a></td> 

<tr> 

<div class='fieldset' style='margin:0px'>     
    <td class='alt1' align='center'> 
<a href='http://google.com/'><img border='0' src='http://www.xleagues.net/test.jpg' alt='' /></a><div class='fieldset' style='margin:0px'>     
    <td class='alt1' align='center'> 
<a href='http://google.com/'><img border='0' src='http://www.xleagues.net/test.jpg' alt='' /></a> 

</td> 
</div> 
</tr> 
</table> 
<!-- / Affiliates --> 

<br />"; 

$Position = '<!-- end what\'s going on box -->'; 

$vbulletin->templatecache['FORUMHOME'] = str_replace($Position, $Position . ' $affiliates', $vbulletin->templatecache['FORUMHOME']); 
Reply With Quote
  #20  
Old 12-13-2006, 11:36 AM
cyberphr's Avatar
cyberphr cyberphr is offline
 
Join Date: Jul 2006
Location: Hell
Posts: 293
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, you coded it to show like that.
You need to remove the extra td & div tags.

Edit it like this:
Code:
$affiliates = "<!-- Affiliates -->

<table class='tborder' cellpadding='$stylevar[cellpadding]' cellspacing='$stylevar[cellspacing]' border='0' width='100%' align='center'>

<td class='tcat' align='center' width='100%'>Affiliates</td>

<tr>

        <div class='fieldset' style='margin:0px'>	
	<td class='alt1' align='center'>

<a href='http://google.com/'><img border='0' src='http://www.xleagues.net/test.jpg' alt='' /></a>
<a href='http://google.com/'><img border='0' src='http://www.xleagues.net/test.jpg' alt='' /></a>

</td>
</div>
</tr>
</table>
<!-- / Affiliates -->

<br />";

$Position = '$navbar';

$vbulletin->templatecache['FORUMHOME'] = str_replace($Position, $Position . ' $affiliates', $vbulletin->templatecache['FORUMHOME']);
Reply With Quote
  #21  
Old 12-14-2006, 11:08 PM
weindians weindians is offline
 
Join Date: Sep 2006
Posts: 130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is Fantastic..thanks
Reply With Quote
 


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 11:41 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.04357 seconds
  • Memory Usage 2,311KB
  • Queries Executed 25 (?)
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
  • (2)bbcode_code
  • (1)bbcode_html
  • (3)bbcode_quote
  • (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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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