Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Make Linked Forums Appear as Sponsors Details »»
Make Linked Forums Appear as Sponsors
Version: 1.00, by Wayne Luke (Senior Member) Wayne Luke is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 03-02-2004 Last Update: Never Installs: 4
 
No support by the author.

This was inspired by the sponsor forums on vBulletin.nl and implemented at theadminzone.com. I would like to share it with you.

Open your forumhome_forumbit_level2_post template and replace the code with:
HTML Code:
  <tr align="center">
   <if condition="$forum[link] != ''">
 	 <td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /></td>
  	 <td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]">
  		 <div>
 			 <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]" target="_blank"><strong>$forum[title]</strong></a>
 			 <if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>
  		 </div>
 		 <if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
  		 </td>
 		 <td align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">4<else />3</if>">
  		 <!-- Advertising Banner -->
 		 	<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]" target="_blank"><img src="$stylevar[imgdir_misc]/banner_$forumid.gif" width="185" height="25" border="0"></a>
  		 <!-- End Advertising Banner -->
  		 </td>
   <else />
 	 <td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /></td>
  	 <td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]">
  		 <div>
 			 <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
 			 <if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>
  		 </div>
 		 <if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
 		 <if condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&amp;f=$forum[forumid]">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if>
 		 <if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
  	 </td>
  	 <td class="alt2" nowrap="nowrap">$forum[lastpostinfo]</td>
  	 <td class="alt1">$forum[threadcount]</td>
  	 <td class="alt2">$forum[replycount]</td>
  	 <if condition="$vboptions['showmoderatorcolumn']">
 	 <td class="alt1"><div class="smallfont">$forum[moderators]&nbsp;</div></td>
  	 </if>
   </if>
  </tr>
  $childforumbits
There is a default size of 185 X 25 pixels for the images hardcoded in the code above, feel free to change this. You would name the images banner_$forumid.gif where $forumid corresponds with the Forum ID appropriately.

I don't have a screen shot but you can see it in action at either of the sites listed above. I am sure for those who use Advertising on their sites, this would allow a new avenue of advertising. You can probably modify the above code to work with Categories easily enough as well.

Show Your Support

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

Comments
  #12  
Old 03-17-2004, 06:47 AM
jluerken's Avatar
jluerken jluerken is offline
 
Join Date: Aug 2003
Location: Germany
Posts: 1,016
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by apoc
any template changes to make this work on child forums?
Yeah I would also like to see a hint how to make this working also for subforums.
Reply With Quote
  #13  
Old 03-24-2004, 04:21 PM
btekcan btekcan is offline
 
Join Date: Nov 2002
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is is works with VB3 Gold ?
Reply With Quote
  #14  
Old 03-25-2004, 06:07 PM
jluerken's Avatar
jluerken jluerken is offline
 
Join Date: Aug 2003
Location: Germany
Posts: 1,016
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I want to have a change within this hack.

1. Make it working for Subforums
2. See screenshot. I want to remove the 4 columns and put only one above with
a text like LINKS/BANNERS or something like that.

Idea?
Reply With Quote
  #15  
Old 03-25-2004, 10:41 PM
ap0c's Avatar
ap0c ap0c is offline
 
Join Date: Mar 2003
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jluerken
I want to have a change within this hack.

1. Make it working for Subforums
2. See screenshot. I want to remove the 4 columns and put only one above with
a text like LINKS/BANNERS or something like that.

Idea?
I got it working for subforums,not sure on the process around here if it's ok to release a mod of someone else's work ?

Staff??
Reply With Quote
  #16  
Old 03-26-2004, 10:30 AM
jluerken's Avatar
jluerken jluerken is offline
 
Join Date: Aug 2003
Location: Germany
Posts: 1,016
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by apoc
I got it working for subforums,not sure on the process around here if it's ok to release a mod of someone else's work ?

Staff??

You should ask the thread beginner if you can release the modification but I think that this will not be a prob.

Its simply a addon this his template change to make this also working for sub forums.

Can you PM it to me until he allows you to post it here?


@ALL: Has someone an idea regarding my post above?
Reply With Quote
  #17  
Old 03-26-2004, 07:16 PM
Wayne Luke's Avatar
Wayne Luke Wayne Luke is offline
Senior Member
 
Join Date: Jan 2002
Location: Southern California
Posts: 1,694
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have given him permission to post his modifications here.
Reply With Quote
  #18  
Old 03-27-2004, 02:30 AM
ap0c's Avatar
ap0c ap0c is offline
 
Join Date: Mar 2003
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Wayne Luke
I have given him permission to post his modifications here.
thanks Wayne

http://www.vbulletintemplates.com/mo...ead.php?t=5958
Reply With Quote
  #19  
Old 03-31-2004, 08:01 AM
hollyboy's Avatar
hollyboy hollyboy is offline
 
Join Date: Mar 2004
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what do I have to change?
It doesn't work for me
Reply With Quote
  #20  
Old 03-31-2004, 08:10 AM
hollyboy's Avatar
hollyboy hollyboy is offline
 
Join Date: Mar 2004
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd like something like this
http://www.srtforums.com/forums/index.php?
Reply With Quote
  #21  
Old 04-02-2004, 10:52 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by pennylessz28
I've had this installed for some time now at my website, www.hr3rdgen.org/forum.php

I love your site!! I want to make my forums have epanded threads like yours.. I am a newbie so I know I'm not explaining right.. How can I get my forums to look like yours??

Here's my site www.speakoutonline.net

Thanks,

Rich
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 06:24 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.06917 seconds
  • Memory Usage 2,323KB
  • 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
  • (1)bbcode_html
  • (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
  • (2)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