vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Add "Sponsored by" banners to your forum categories (https://vborg.vbsupport.ru/showthread.php?t=26818)

bira 12-26-2001 11:19 AM

hypedave,

Please note that posting entire vBulletin scripts is not allowed.

Thanks,

Bira

hypedave 12-26-2001 11:30 AM

yeah I forgot about that, oops sorry, well can someone still help me out, oh yeah, I hate it when people call me hyperdave

if I wanted an r in hype I would add one, thanks :)

Okiewan 01-10-2002 10:21 PM

First of all... great hack firefly... nice mods too amykhar!

Got it working great on forum home and forum display... now trying to get it to show-up on threads, ie; if a forum is sponsored, the threads within that forum inherit the sponsor and display it on each thread.

tried building duplicate template called sponsoredby_thread, with the following:

PHP Code:

<a href="$foruminfo[sponsorurl]target="_blank"><img src="{imagesfolder}/$foruminfo[sponsorimg]border="1" alt="This Forum Made Possible by $foruminfo[sponsorname]"></a

Modified showthread per iinstructions found here, calling that new template.

Added "$sponsoredby" in the template showthread...

Seems to be some kind of path issue? Picks up a holdedr for the image (including alt text), but no sponsor image and no link.

Any ideas? Am I doing this all wrong?

Thanks in advance for any assistance and thanks again for the hack. VERY useful.

rawnet 01-11-2002 08:00 PM

Hello,

I have followed the steps and added some sponsors in my admin system.

Unfortunately, they are not showing up on my Forums homepage where they should be. When I go to edit the admin, it does not pre-fill in the form fields for sponsor information.

Can anybody shed any light on this?

All the best,

Kind Regards,

Ross Williams

rawnet 01-12-2002 12:05 PM

PLEASE - can anybody help? I know this hack has been around for a while, and I've been looking forward to installing it, but for some reason no sponsors are appearing on my forums homepage (http://www.servicepals.com/forums). I'm running vBulletin 2.2.1 and vbPortal.

I can add visitors in the backend, but when I go to edit that forum again, the input fields are not pre-filled with the info I just entered. Is this normal?

The forums are not showing up on my front end, but I would like to clarify the backend first to diagnose what the problem is...sniff sniff... :(

Cheers for now,

Ross

Admin 01-12-2002 12:19 PM

Start with the original forum.php file, and re-install the hack on it.

rawnet 01-12-2002 12:32 PM

Hi Firefly,

Will do - how likely is this to solve the problem? Has my phenomena been seen before?

Ross

rawnet 01-12-2002 12:50 PM

SUCCESS.

I suspect that I'd missed one of the queries out on the forum.php part of the hack.

All working now.

Anybody know how I can incorporate a Commission Junction Smartzone into this code? Reason being that I'd like to rotate the sponsors of each forums without input on my part (I is a lazy bugger).

Cheers for now,

Ross

rawnet 01-12-2002 01:45 PM

Hello,

I've been trying to incorporate Amy's addition, allowing us to display the sponsor at the top of the forum. Have modified forumdisplay.php, created the new template, but am having problems with this bit :

Quote:

and forumdisplay_sponsoredby was included in the list of required templates.
Where do I define this?

Hugely impressed with this hack guys,

Cheers,

Ross

Okiewan 01-12-2002 07:54 PM

add it to the section "$templatesused="

Now if I could get some help with my problem above I would be most thankful! Gotta have it! :)


All times are GMT. The time now is 12:31 PM.

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.01268 seconds
  • Memory Usage 1,741KB
  • 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
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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