vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Forum Display Enhancements - Forum Sponsor (https://vborg.vbsupport.ru/showthread.php?t=128829)

rateit05 01-17-2007 10:43 AM

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

Yago 01-19-2007 09:53 PM

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.

ep13 01-25-2007 12:47 PM

Quote:

Originally Posted by rateit05 (Post 1161328)
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

GrossKopf 01-26-2007 02:31 AM

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...

Neal-UK 01-26-2007 07:30 AM

How can I get links to open in a new window so people don't leave my sites?

madkeen 02-01-2007 12:10 PM

Quote:

Originally Posted by GrossKopf (Post 1167466)
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

madkeen 02-01-2007 12:12 PM

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

Rather than just at the top of the forum index.

anahowa 02-05-2007 05:27 AM

Quote:

Originally Posted by rateit05 (Post 1161328)
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 :confused:

Yago 02-05-2007 12:50 PM

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.

computer1 02-06-2007 06:23 AM

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 ?

hitboy 02-06-2007 05:51 PM

is there a way to add "Forum Sponsor" at the top or bottom of the box?

vietConnecting 02-12-2007 06:01 PM

Nice mod
Just thank!

madkeen 02-12-2007 08:18 PM

Quote:

Originally Posted by madkeen (Post 1172034)
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?

antiekeradio 03-08-2007 10:07 PM

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

fat chance it works right away.

dbirosel 03-13-2007 09:23 PM

Great mod! Simple, Clean & Easy! Thank you. Installed.

daveh900 03-21-2007 01:59 PM

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

myidealmate 03-22-2007 10:14 PM

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

Jesakos 03-27-2007 01:26 PM

how i put 2 banners near of them?

v12kid 05-01-2007 09:13 PM

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!

StuntFactoryX 05-10-2007 06:43 AM

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.

jasondavis 05-12-2007 09:41 PM

cant seem to get it to work in the new version, I fill out the forms in the admin area but it doesn't show up in my forums

StuntFactoryX 05-13-2007 05:16 AM

mine is working on 3.6.6 are you sure you ticked the option to turn on in the desired forum above where u add links and url to images? i did it like 20x

talenak 05-14-2007 01:11 AM

OK, I have this installed, and the template edited, but there is no sponsorship option in forum edit page? *head scratching*

Oh my word. It's there. I'm blind. Go ahead and laugh at me. I totally earned it.

jasondavis 05-16-2007 02:00 AM

It would be awsome to make this work on forum post as well

fpattberg 06-26-2007 02:00 PM

Does this mod work with 3.6.7 anyone?

Dannyloski 06-26-2007 02:40 PM

^ Works perfectly on 3.6.7 :up:

sunnycher 06-26-2007 05:44 PM

I LOVE this! Thank you!

evotion 06-26-2007 06:53 PM

Brilliantly simple and simply brilliant....

Thanks very much!:up:

madkeen 06-27-2007 12:59 AM

I am using Openads Adserver software to run my ads. Does anyone know how I can get the ads from Openads to show up?

Can the code be inserted into the Adsense section, and if so how, what code option, etc?

fpattberg 06-27-2007 02:10 PM

Sorry problem solved!

fpattberg 06-28-2007 02:32 PM

Hi.

Is there a way to have it say above the logo: "This forum is sonsored by:"

Can I do that myself or do I need to change the xml? :eek:

Thanks for the help.

Fabian

fpattberg 07-06-2007 09:46 PM

Hi.

Can any help me on this one? See above.

Thanks.

Fabian

Dannyloski 07-07-2007 03:30 AM

^ Should be pretty easy ... Open the FORUMDISPLAY template

FIND:
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>

REPLACE WITH:

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="100%" colspan="2" valign="left"><div align="left"><strong>This Forum is Sponsored By:</strong></div></td>
      </tr>
      <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>

Hope that helps you :up:

fpattberg 07-09-2007 07:49 AM

Thanks Dannyloski. Works perfectly. Thank you for your help! :up:

Fabian

Dannyloski 07-09-2007 03:09 PM

^ Glad to help out :up: ...

periphrastic 09-24-2007 01:56 AM

attempted on 3.6.8 & forum doesn't show

is this hack applicable to that version? thanks

SliceofLife 09-25-2007 01:15 AM

This works perfectly on my forum 3.6.8 and is exactly what we were looking for. Thank you very much!

periphrastic 09-25-2007 04:42 AM

did you follow the exact instructions?

i've done everything - the template change and import - i have turned it on and completed the required fields for the particular forum

absolutely nothing

sR Craig 10-18-2007 11:01 PM

working fine here...i just had to re-install the template edit after upgrading to 3.6.8

www.straferight.com/forums

gwerzal 10-22-2007 02:29 PM

Installed and working as described.

I have even managed to get it showing in the threads.

What this mod needs to make it a super mod is some kind of random banners feature.


All times are GMT. The time now is 11:22 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01388 seconds
  • Memory Usage 1,844KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (1)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete