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

Reply
 
Thread Tools
Partner Box for Forumhome Details »»
Partner Box for Forumhome
Version: 1.0.1, by jluerken jluerken is offline
Developer Last Online: Dec 2018 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.6.0 Rating:
Released: 08-18-2006 Last Update: 08-18-2006 Installs: 53
Uses Plugins Template Edits
 
No support by the author.

I installed several styles to my board and manually had to include a Partner Box to each of them at the end of my FORUMHOME.
Because I am a little bit lazy I thought it is a good idea to write a small product adding the Partner Box for me where I want it, creating templates and phrases.

I have NEVER written a product for vBulletin on my own and I have no idea about php and all this stuff, but I installed many products and spent a few minutes to take a look how other authors solved such things.

Well, I was successful, the product is working fine for me.

Installation:
1. Install product-forumhome_partners.xml
2. Edit forumhome_partner_sites to fit your needs

Hint:
You can place the Box everywhere you want on forumhome by changing a small thing in the product-forumhome_partners.xml file.
Open it with an editor before importing it and search for:
Code:
$search_text = '<!-- / icons and login code -->';
Replace <!-- / icons and login code --> with something unique of your FORUMHOME Template, $footer for example.

I am starting to love the new product system making such things so easy

If you like it don't forget to click on INSTALL!

Show Your Support

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

Comments
  #2  
Old 08-19-2006, 12:57 PM
EnIgMa1234 EnIgMa1234 is offline
 
Join Date: Mar 2006
Location: .:: Ireland ::.
Posts: 1,306
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thx
installed
Reply With Quote
  #3  
Old 08-19-2006, 01:36 PM
Gsmmind Gsmmind is offline
 
Join Date: May 2006
Location: In My Mind
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Man Needed Work.......
Reply With Quote
  #4  
Old 08-19-2006, 01:47 PM
MojoNixon MojoNixon is offline
 
Join Date: Oct 2004
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very useful. Installed...
Reply With Quote
  #5  
Old 08-19-2006, 06:09 PM
Yorixz Yorixz is offline
 
Join Date: Jun 2005
Location: Netherlands
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks a lot for this nice addon.

I've made a few changes to it though, in order to make it easier to "nicely" show the affiliates in multiple columns, it's only a template edit so I'll post it here:
HTML Code:
<style type="text/css">
.affiliates {
	padding: 0;
	margin:	0;
}
.affiliates li {
	display:inline;
	width:15em;
	float:left;
	padding-left:0.5em;
	padding-right:0.5em;
}
.clear {
	clear:both;
}</style>
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%"> 
<tr> 
<td class="tcat"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_affiliates')"><img id="collapseimg_forumhome_affiliates" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_affiliates].gif" alt="" border="0" /></a><b><center>$vbphrase[partner_sites]</center></b></td>
</tr>
<tbody id="collapseobj_forumhome_affiliates" style="$vbcollapse[collapseobj_forumhome_affiliates]">
<tr>
<td class="thead"><span class="smallfont"><b><center>Category 1</center></b></span></td>
</tr>
<tr>
  <td class="alt1">
  	<ul class="affiliates">
	<li>
		<a href="http://leftblank.nl/" target="_blank" title="Demo Link">Demo Link</a>
	</li>
	<li>
		<a href="http://leftblank.nl/" target="_blank" title="Demo Link">Demo Link</a>
	</li>
	<li>
		<a href="http://leftblank.nl/" target="_blank" title="Demo Link">Demo Link</a>
	</li>
	</ul>
	<b class="clear" />
  </td> 
  </tr>
  <tr>
  <td class="thead"><span class="smallfont"><b><center>Category 2</center></b></span></td>
  </tr>
  <tr>
  <td class="alt1">
  	<ul class="affiliates">
	<li>
		<a href="http://leftblank.nl/" target="_blank" title="Demo Link">Demo Link</a>
	</li>
	<li>
		<a href="http://leftblank.nl/" target="_blank" title="Demo Link">Demo Link</a>
	</li>
	<li>
		<a href="http://leftblank.nl/" target="_blank" title="Demo Link">Demo Link</a>
	</li>
	</ul>
	<b class="clear" />
  </td>
  </tr>
</tbody>
</table>
<br />
You should ofcourse change the demo links to your own, but I guess this should be pretty straightforward.

Edit: Heres (another) example showing the box with multiple links:


Edit2: removed the style-specific CSS.
Reply With Quote
  #6  
Old 08-19-2006, 06:18 PM
jluerken's Avatar
jluerken jluerken is offline
 
Join Date: Aug 2003
Location: Germany
Posts: 1,016
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Yorixz
I've made a few changes to it though, in order to make it easier to "nicely" show the affiliates in multiple columns, it's only a template edit so I'll post it here:
Thanks. Can you post a screenshot of your changes so that we all can see what it will look like afterwards?
Reply With Quote
  #7  
Old 08-20-2006, 05:16 AM
Breathex Breathex is offline
 
Join Date: Oct 2004
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Yorixz
Thanks a lot for this nice addon.

I've made a few changes to it though, in order to make it easier to "nicely" show the affiliates in multiple columns, it's only a template edit so I'll post it here:
HTML Code:
<style type="text/css">
.affiliates {
	padding: 0;
	margin:	0;
}
.affiliates li {
	display:inline;
	width:15em;
	float:left;
	padding-left:0.5em;
	padding-right:0.5em;
}
.clear {
	clear:both;
}</style>
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%"> 
<tr> 
<td class="tcat"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_affiliates')"><img id="collapseimg_forumhome_affiliates" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_affiliates].gif" alt="" border="0" /></a><b><center>$vbphrase[partner_sites]</center></b></td>
</tr>
<tbody id="collapseobj_forumhome_affiliates" style="$vbcollapse[collapseobj_forumhome_affiliates]">
<tr>
<td class="thead"><span class="smallfont"><b><center>Category 1</center></b></span></td>
</tr>
<tr>
  <td bgcolor="#F5F5FF" >
  	<ul class="affiliates">
	<li>
		<a href="http://leftblank.nl/" target="_blank" title="Demo Link">Demo Link</a>
	</li>
	<li>
		<a href="http://leftblank.nl/" target="_blank" title="Demo Link">Demo Link</a>
	</li>
	<li>
		<a href="http://leftblank.nl/" target="_blank" title="Demo Link">Demo Link</a>
	</li>
	</ul>
	<b class="clear" />
  </td> 
  </tr>
  <tr>
  <td class="thead"><span class="smallfont"><b><center>Category 2</center></b></span></td>
  </tr>
  <tr>
  <td bgcolor="#F5F5FF">
  	<ul class="affiliates">
	<li>
		<a href="http://leftblank.nl/" target="_blank" title="Demo Link">Demo Link</a>
	</li>
	<li>
		<a href="http://leftblank.nl/" target="_blank" title="Demo Link">Demo Link</a>
	</li>
	<li>
		<a href="http://leftblank.nl/" target="_blank" title="Demo Link">Demo Link</a>
	</li>
	</ul>
	<b class="clear" />
  </td>
  </tr>
</tbody>
</table>
<br />
You should ofcourse change the demo links to your own, but I guess this should be pretty straightforward.
Yorixz, a screenshot would be nice
Reply With Quote
  #8  
Old 08-20-2006, 05:37 AM
utw-Mephisto utw-Mephisto is offline
 
Join Date: Jan 2005
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[high]* utw-Mephisto clicks install ...
[/high]

I won't use it for partner, but I was looking for the code for a simple box which this hack provides Thanks for that ..

One additional thing though : You use hex code as BG color - shouldn't you rather use classes to make sure it looks nice on every style ?

Quote:
Originally Posted by Breathex
Yorixz, a screenshot would be nice
Quote:
Originally Posted by jluerken
Thanks. Can you post a screenshot of your changes so that we all can see what it will look like afterwards?
There you go ..
Reply With Quote
  #9  
Old 08-20-2006, 02:22 PM
project-Buckfas project-Buckfas is offline
 
Join Date: Jul 2006
Location: Ireland
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed.

Thanks
Reply With Quote
  #10  
Old 08-23-2006, 03:21 PM
Tony_FPM Tony_FPM is offline
 
Join Date: Feb 2005
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey , I have installed this hack and i really like it. But now i want it above the Who is online box. Can somebody help me with this...

Thanks in advance
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:32 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05204 seconds
  • Memory Usage 2,323KB
  • Queries Executed 23 (?)
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
  • (1)bbcode_code
  • (2)bbcode_html
  • (4)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
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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