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
  #12  
Old 09-05-2006, 12: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 Tony_FPM
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
Read the hint in my first post to find out how to do this
Reply With Quote
  #13  
Old 09-05-2006, 03:34 PM
Distance's Avatar
Distance Distance is offline
 
Join Date: Jul 2006
Location: Boston, Uk
Posts: 725
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is good.. however at this moment or at least at this version.. im not going to install it because i think that its inconvenient having to edit the file to add/change settings.. maybe in a future release adding settings from acp?

Good work on first hack though
Reply With Quote
  #14  
Old 10-05-2006, 04:47 PM
exilera exilera is offline
 
Join Date: Sep 2005
Posts: 85
Благодарил(а): 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 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.

What template is edited and where to add this code?
Reply With Quote
  #15  
Old 02-21-2007, 03:57 AM
Ducks Ducks is offline
 
Join Date: Apr 2006
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry if I misunderstand, but you could just edit the master template?
Reply With Quote
  #16  
Old 02-25-2007, 09:00 PM
ss20 ss20 is offline
 
Join Date: Feb 2007
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thks nice Mod. Installed
Reply With Quote
  #17  
Old 04-03-2007, 01:26 PM
JompaMP JompaMP is offline
 
Join Date: Jul 2006
Location: Sweden, Stockholm
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to get this box on all sides so it is in footer?
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 07:06 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.11237 seconds
  • Memory Usage 2,278KB
  • Queries Executed 21 (?)
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
  • (1)bbcode_html
  • (2)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
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (7)postbit_onlinestatus
  • (7)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