Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
Add your own affiliate box for buttons Details »»
Add your own affiliate box for buttons
Version: 1.00, by Sp32 Sp32 is offline
Developer Last Online: Oct 2009 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.7.4 Rating:
Released: 12-09-2008 Last Update: Never Installs: 7
Template Edits
Re-useable Code Is in Beta Stage  
No support by the author.

I just made this myself, I couldn't find it anywhere and it is so basic and I am pretty sure it has flaws but it is working for me so to save the trouble of someone else doing this I thought I would post it here, sorry if this has already been done ^-^'

go to FORUMHOME and search for:

Code:
</table>
<br />
<!-- end what's going on box -->
above that add:

Code:
	
<tr>
		<td class="thead" colspan="2">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_stats')"><img id="collapseimg_forumhome_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a>
			<phrase 1="$vboptions[bbtitle]">Affilliates</phrase>
		</td>
	</tr>
<tbody id="collapseobj_forumhome_stats" style="$vbcollapse[collapseobj_forumhome_stats]">
	<tr>
		<td class="alt2"><img src="$stylevar[imgdir_misc]/stats.gif" alt="<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>" border="0" /></td>
		<td class="alt1" width="100%">
		<div class="smallfont">





		</div>
		</td>
	</tr>
</tbody>




under 'small font' add the code for the button







I am sure you can rip some of the code out of it to suit your needs and change where your picture is etc, this is my first ever edit so I am sorry if this is 'crap' but I am only doing this so less people have to find it, thanks

Show Your Support

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

Comments
  #12  
Old 12-12-2008, 02:29 PM
TheInsaneManiac TheInsaneManiac is offline
 
Join Date: Feb 2008
Posts: 1,360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's been made and God made a search feature for a reason:
https://vborg.vbsupport.ru/showthread.php?t=184198
Reply With Quote
  #13  
Old 12-12-2008, 02:33 PM
fattony69 fattony69 is offline
 
Join Date: Jun 2007
Location: Philly
Posts: 353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sp32 View Post
template modification, why?
It is in the wrong section, that is why? I thought there was just a missing file.
Reply With Quote
  #14  
Old 12-12-2008, 09:40 PM
Sp32 Sp32 is offline
 
Join Date: Sep 2008
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TheInsaneManiac View Post
It's been made and God made a search feature for a reason:
https://vborg.vbsupport.ru/showthread.php?t=184198
alright calm down its not like I am raining on your parade... Jesus...

Also mine is done differently to yours and yes I do know how to use search but funnily enough I didn't search for "affiliation display" I wonder why I didn't automatically know the name of the mod...
Reply With Quote
  #15  
Old 12-12-2008, 09:57 PM
skol skol is offline
 
Join Date: Oct 2008
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Don't let em upset you Sp keep up the good work...It's far better than that search feature thats for sure..
Reply With Quote
  #16  
Old 12-13-2008, 02:19 AM
TheInsaneManiac TheInsaneManiac is offline
 
Join Date: Feb 2008
Posts: 1,360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sp32 View Post
alright calm down its not like I am raining on your parade... Jesus...

Also mine is done differently to yours and yes I do know how to use search but funnily enough I didn't search for "affiliation display" I wonder why I didn't automatically know the name of the mod...
lol a simple topic search for affiliation would have found it. Yours seems more simple than mine, I have a bunch of option with mine and it confuses people lol.

Quote:
Originally Posted by skol View Post
Don't let em upset you Sp keep up the good work...It's far better than that search feature thats for sure..
I'm not trying to upset him. I was just letting him know that it was already created. Actually it's been made before a couple of times, most of them were just template edits though.
Reply With Quote
  #17  
Old 12-13-2008, 07:12 AM
Jaiibee's Avatar
Jaiibee Jaiibee is offline
 
Join Date: Sep 2007
Location: Australia
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice, thanks for sharing this code
Reply With Quote
  #18  
Old 12-13-2008, 07:24 AM
secrtagnt secrtagnt is offline
 
Join Date: Mar 2008
Location: Los Angeles, CA
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for sharing.

On another note, who cares if it has been done or not? It's nice having alternatives.
Reply With Quote
  #19  
Old 12-13-2008, 10:09 AM
Sp32 Sp32 is offline
 
Join Date: Sep 2008
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TheInsaneManiac View Post
lol a simple topic search for affiliation would have found it. Yours seems more simple than mine, I have a bunch of option with mine and it confuses people lol.



I'm not trying to upset him. I was just letting him know that it was already created. Actually it's been made before a couple of times, most of them were just template edits though.
Sorry I took it the wrong way buddy, your one is very good
Reply With Quote
Reply

Thread Tools

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 06:15 AM.


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.04323 seconds
  • Memory Usage 2,282KB
  • 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
  • (2)bbcode_code
  • (5)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
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)postbit_onlinestatus
  • (9)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