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)
-   -   Major Additions - vB.Sponsors - Forum and Category Sponsorship Ads with Statistics (https://vborg.vbsupport.ru/showthread.php?t=131512)

jonty 02-18-2007 08:23 PM

Had to alter line 49 to
eval(exec_header_redirect($vbulletin->url));

as I was getting a
Quote:

cannot find the phrase ''.

red-dna 02-20-2007 06:09 PM

I installed, it worked fine, looks promising
But i unistall it, because it only take a picture and not a html code (i need it for my ad-banners)

PhilForce 02-22-2007 01:32 PM

This is a great mod, thanks for doing it.

However, I, sucking at PHP and the likes, am having a problem. Whether I use just a text link or a banner image, whenever I click it I am just directed towards www.mysite.com/forums/vB.Sponsors/link.php which is a blank page. Why am I not being directed to to the link that I put as the sponsor's?

Thanks in advance!

K2_02 02-23-2007 11:21 PM

I can't get the large banner to show up. Only the small one. Can someone point me in the right direction - and post it here on this thread for anyone else having this problem in the future? Thanks!

madkeen 02-28-2007 10:41 AM

Thanks for the mod

Is it possible to use .swf files?

Any idea on if/when phpAdsNew integration will be available?

TheBlackPoet 02-28-2007 11:15 AM

im trying to delete an ad.... it does nothing... i checked the permissions... they are fine... i went to the options... no problem there... i went to see if i could delete it from the options.. its not showing up there... hmmm

madkeen 02-28-2007 11:40 AM

Have you gone into Forums & Moderator - Forum Permissions - The Forum you want to delete the ad from and select "No" for "Enable Sponsor" then click on Save

madkeen 02-28-2007 09:49 PM

I have replaced the Forumdisplay code, as below
Code:

<!-- vBSponsors -->
<center>
<if condition="$foruminfo[sponsor_enabled] == 1 AND $vboptions[sponsor_global_enable_sponsorship] == 1">
$vboptions[sponsor_global_default_text] <br/> <a href="vB.Sponsors/link.php?f=$foruminfo[forumid]" title="$foruminfo[sponsor_name]" target="_blank">
<if condition="$foruminfo[sponsor_banner_enabled] == 1 AND $vboptions[sponsor_global_enable_banners] == 1">
<if condition="!empty($foruminfo[sponsor_banner_big])">
<if condition="$vboptions[sponsor_global_enable_big_banners] == 1">
<img src="$foruminfo[sponsor_banner_big]" alt="$foruminfo[sponsor_name]" border="0" />
<else />
<img src="$foruminfo[sponsor_banner]" alt="$foruminfo[sponsor_name]" border="0" />
</if>
<else />
$foruminfo[sponsor_name]
</if>
</if></a>
</if>
</center>
<!-- / vBSponsors -->

with this code

Code:

<!-- vBSponsors -->
<if condition="$foruminfo[sponsor_enabled] == 1 AND $vboptions[sponsor_global_enable_sponsorship] == 1">
<table class="tborder" cellpadding="1" cellspacing="1" border="0" align="center">
 <tr>

<td class="tcat" align="center"><span class="normal"><font size="1">
<span class="smallfont">

$vboptions[sponsor_global_default_text]

</span> </font>
  </span></td>
 </tr>
 <tr>
<td class="alt2" align="center"><span class="normal"><font size="1">


<a href="vB.Sponsors/link.php?f=$foruminfo[forumid]" title="$foruminfo[sponsor_name]" target="_blank">
<if condition="$foruminfo[sponsor_banner_enabled] == 1 AND $vboptions[sponsor_global_enable_banners] == 1">
<if condition="!empty($foruminfo[sponsor_banner_big])">
<if condition="$vboptions[sponsor_global_enable_big_banners] == 1">
<img src="$foruminfo[sponsor_banner_big]" alt="$foruminfo[sponsor_name]" border="0" />
<else />
<img src="$foruminfo[sponsor_banner]" alt="$foruminfo[sponsor_name]" border="0" />
</if>
<else />
$foruminfo[sponsor_name]
</if>
</if></a>

  </span></td>
 </tr>
</table>
</if>
<!-- / vBSponsors -->

It displays fine except the New Thread and Page Links are now shown above the banner instead of below the banner, see attached.

Can anyone tell me what I am doing wrong and how to fix this?

Thanks

K2_02 02-28-2007 10:15 PM

I tired that code and still can't get the banner to show up anywhere. I'm wondering if I have a problem because of my forum layout. See below:

-- Suspension & Brakes (not a forum)
---- Shocks & Springs
---- Stock & Aftermarket Brakes
---- Lowering Kits
---- Stabilizers & Traction Bars

The client wants to sponsor the suspension & brakes forums and have the small logo beside that on the forum list but we want the large banner to show at the top of all the subforums.

Is that possible? If so, how? THANKS!

PhilForce 03-02-2007 04:41 PM

Can anyone help me with my problem? The sponsor only links to www.mysite.com/forums/vB.Sponsors/link.php which is a blank page. Why isn't it forwarding to the actual sponsor link?

Please help me out!

Thanks!


All times are GMT. The time now is 01:56 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.01340 seconds
  • Memory Usage 1,745KB
  • 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_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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