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
  #82  
Old 01-17-2007, 10:43 AM
rateit05 rateit05 is offline
 
Join Date: May 2006
Location: UK
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

for some reason mine will not show up. I have it set to the announcements forum of my site, i also edited the settings in the forum manager for that forum categorie and for some reason it wont show.

i am running 3.6.4

any reason why it is not showing?

regards
Reply With Quote
  #83  
Old 01-19-2007, 09:53 PM
Yago Yago is offline
 
Join Date: Dec 2006
Location: Desert (Armed Forces)
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Adrain.
Thanks a lot just what I need. In a couple of weeks http://www.PetMessageBoard.com will go live and you can check out your awesome mode there.
It is also easy to install even for a newbie. This is my 3rd mod install. I just wished you explained how to get to forumdisplay. If I did not have my past experience from installing "welcome headers" I would have been confused.
Reply With Quote
  #84  
Old 01-25-2007, 12:47 PM
ep13 ep13 is offline
 
Join Date: Nov 2006
Location: UK
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rateit05 View Post
for some reason mine will not show up. I have it set to the announcements forum of my site, i also edited the settings in the forum manager for that forum categorie and for some reason it wont show.

i am running 3.6.4

any reason why it is not showing?

regards
Not showing on my 3.6.4 either
Reply With Quote
  #85  
Old 01-26-2007, 02:31 AM
GrossKopf GrossKopf is offline
 
Join Date: Jan 2007
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I'm a total noob... I figured out the second step due to the replies here, but how do I do step 1?

Quote:
Import product-sponsor.xml
I went to Style and Templates, Download/Upload Styles and tried uploading the xml file there but it said it was invalid format...
Reply With Quote
  #86  
Old 01-26-2007, 07:30 AM
Neal-UK's Avatar
Neal-UK Neal-UK is offline
 
Join Date: Feb 2004
Location: Lancashire, England
Posts: 604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can I get links to open in a new window so people don't leave my sites?
Reply With Quote
  #87  
Old 02-01-2007, 12:10 PM
madkeen madkeen is offline
 
Join Date: Jan 2007
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GrossKopf View Post
Ok, I'm a total noob... I figured out the second step due to the replies here, but how do I do step 1?



I went to Style and Templates, Download/Upload Styles and tried uploading the xml file there but it said it was invalid format...
Go into Plugins & Products - Manage Products - Add/Import Product
Reply With Quote
  #88  
Old 02-01-2007, 12:12 PM
madkeen madkeen is offline
 
Join Date: Jan 2007
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can this be displayed at the top of every thread in the forum?

Rather than just at the top of the forum index.
Reply With Quote
  #89  
Old 02-05-2007, 05:27 AM
anahowa anahowa is offline
 
Join Date: Mar 2005
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rateit05 View Post
for some reason mine will not show up. I have it set to the announcements forum of my site, i also edited the settings in the forum manager for that forum categorie and for some reason it wont show.

i am running 3.6.4

any reason why it is not showing?

regards
Not showing on my 3.6.4 either
Reply With Quote
  #90  
Old 02-05-2007, 12:50 PM
Yago Yago is offline
 
Join Date: Dec 2006
Location: Desert (Armed Forces)
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is the url where my forum sponsor is installed

http://www.petmessageboard.com/forum...isplay.php?f=7

The image is set in the edit forum "Enter the URL to the image sponsor." option as

http://www.pethall.com/pet_memorials...logo_small.gif

However the image does not come up and when you check the image properties on the board this is what I see below even though this is not what is on my control panel

http://www.petmessageboard.com/forums/

Please help.
Reply With Quote
  #91  
Old 02-06-2007, 06:23 AM
computer1 computer1 is offline
 
Join Date: Feb 2005
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice
its work but if I have 5 sponsors I wont to showe on my main forum page
howe can I do that I only se one sponsor input there ?
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 09: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.04409 seconds
  • Memory Usage 2,318KB
  • 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
  • (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
  • (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