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
Forum Sponsor Details »»
Forum Sponsor
Version: 1.00, by Adrian. Adrian. is offline
Developer Last Online: Feb 2014 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.6.1 Rating:
Released: 10-10-2006 Last Update: Never Installs: 449
DB Changes Uses Plugins
 
No support by the author.

Forum Sponsor
Made by Adrian at Dreamit.co.uk
Tested on 3.6.1


Hey,

I seen a few people wanting a modification like this, this adds some fields in the Edit Forum Options, and allows you add a forum sponsor.

It's a pritty basic mod'.
I didn't want to spend alot of time on it, it does the functions people wanted.

See the screenshots to get a better understanding.

Installation
Import product-sponsor.xml

Done.

Template Edit
Open Forum Display templates > FORUMDISPLAY

Find:
HTML Code:
$navbar
Add after:
HTML Code:
<if condition="$foruminfo['sponsorenabled'] == 1">
<table width="100%" class="tborder" border="0" align="center">
  <tr>
    <td class="alt1"><table width="100%" border="0" cellspacing="5">
      <tr>
        <td width="10" rowspan="2" valign="middle"><div align="center"><a href="$foruminfo[sponsorlink]"><img src="$foruminfo[sponsorimage]" alt="$foruminfo[sponsorname] Image" border="0"></a></div></td>
        <td valign="top"><div align="left"><strong><a href="$foruminfo[sponsorlink]">$foruminfo[sponsorname]</a></strong></div></td>
      </tr>
      <tr>
        <td valign="top"><div align="left">$foruminfo[sponsordescription]</div></td>
      </tr>
    </table></td>
  </tr>
</table>
<br>
</if>
Done.

A quick install.

If you use this, please click installed.

Thanks.

Adrian

Show Your Support

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

Comments
  #92  
Old 02-06-2007, 05:51 PM
hitboy hitboy is offline
 
Join Date: Jan 2007
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there a way to add "Forum Sponsor" at the top or bottom of the box?
Reply With Quote
  #93  
Old 02-12-2007, 06:01 PM
vietConnecting vietConnecting is offline
 
Join Date: Jul 2006
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice mod
Just thank!
Reply With Quote
  #94  
Old 02-12-2007, 08:18 PM
madkeen madkeen is offline
 
Join Date: Jan 2007
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by madkeen View Post
Can this be displayed at the top of every thread in the forum?

Rather than just at the top of the forum index.
Can anyone help with this?


Is this mod still being supported?
Reply With Quote
  #95  
Old 03-08-2007, 10:07 PM
antiekeradio's Avatar
antiekeradio antiekeradio is offline
 
Join Date: Feb 2006
Location: Netherlands
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you could easily put the same code you change in forumview, in the threadview template.

fat chance it works right away.
Reply With Quote
  #96  
Old 03-13-2007, 09:23 PM
dbirosel dbirosel is offline
 
Join Date: Feb 2007
Location: San Diego
Posts: 587
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod! Simple, Clean & Easy! Thank you. Installed.
Reply With Quote
  #97  
Old 03-21-2007, 01:59 PM
daveh900 daveh900 is offline
 
Join Date: Apr 2005
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this mod!

Two things that would make it perfect:

• Some sort of click tracking

• The ability to open the link in a new window
Reply With Quote
  #98  
Old 03-22-2007, 10:14 PM
myidealmate myidealmate is offline
 
Join Date: Mar 2007
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice Mod. Installed it in a few seconds.

Installed on 3.6.5

For those of you who wanted it to say "Forum Sponsor" at the top and also wanted the links to open in the seperate window just change the code to the following:

PHP Code:
<if condition="$foruminfo['sponsorenabled'] == 1">
<
table width="100%" class="tborder" border="0" align="center">
<
tr>
<
td width="100%" align="right">Forum Sponsor</td>
</
tr>
  <
tr>
    <
td class="alt1"><table width="100%" border="0" cellspacing="5">
      <
tr>
        <
td width="10" rowspan="2" valign="middle"><div align="center"><a href="$foruminfo[sponsorlink]target="_blank"><img src="$foruminfo[sponsorimage]alt="$foruminfo[sponsorname] Image" border="0"></a></div></td>
        <
td valign="top"><div align="left"><strong><a href="$foruminfo[sponsorlink]target="_blank">$foruminfo[sponsorname]</a></strong></div></td>
      </
tr>
      <
tr>
        <
td valign="top"><div align="left">$foruminfo[sponsordescription]</div></td>
      </
tr>
    </
table></td>
  </
tr>
</
table>
<
br>
</if> 
Hope this helps.

Regards,
Ray
Reply With Quote
  #99  
Old 03-27-2007, 01:26 PM
Jesakos's Avatar
Jesakos Jesakos is offline
 
Join Date: Nov 2005
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how i put 2 banners near of them?
Reply With Quote
  #100  
Old 05-01-2007, 09:13 PM
v12kid's Avatar
v12kid v12kid is offline
 
Join Date: Feb 2006
Location: Washington D.C.
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am having brain freeze, I installed it but I dont see the settings tab in the admincp? Where am I missing it?

EDIt- found it!

anyone know if this guy is supporting his mod. I have a few suggestions!
Reply With Quote
  #101  
Old 05-10-2007, 06:43 AM
StuntFactoryX StuntFactoryX is offline
 
Join Date: May 2006
Posts: 228
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you. works great on 3.6.5

i also wish it worked on showthread above all threads in that forum. im not sure how much traffic my forum display gets. i think most my users go directly to each thread from vbadvanced "recent thread module" or "new posts" in the nav bar.

update.

i stuffed that code in my showthread template under $ navbar and it works. its shows above all threads too.
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 08:38 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.05026 seconds
  • Memory Usage 2,332KB
  • 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_html
  • (1)bbcode_php
  • (1)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
  • (4)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