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)

DCTR 09-29-2001 11:49 PM

thankx m8

ForzaGrifo 09-30-2001 01:30 AM

Strange!!! I finally got it to work, but that's after I figured out that the culprit is in the copy and paste!!!!

When I copy and paste the code, it gives error when the script is run. But when I manually type the code in, no errors!!!

Does anyone know why it won't work when I copy the code from this thread and paste it into my text editor??

btw, Thx Firefly for helping!

SirSteve 09-30-2001 02:00 AM

Quote:

Originally posted by ForzaGrifo
Strange!!! I finally got it to work, but that's after I figured out that the culprit is in the copy and paste!!!!

When I copy and paste the code, it gives error when the script is run. But when I manually type the code in, no errors!!!

Does anyone know why it won't work when I copy the code from this thread and paste it into my text editor??

btw, Thx Firefly for helping!

You are probably capturing a space where one shouldn't belong...

hacker 09-30-2001 07:41 AM

Thanks Firefly for this wonderful hack. ;)

MarkB 09-30-2001 11:12 PM

Thanks for that extra snippet of code for showthread.php, Firefly :) As the kids like to say, you rock!:D

FreestylerNZ 10-02-2001 07:28 AM

Heya, I just registered so I can post a question.

How exactly do you have different sponsor ads for each Forum?

I did everything that amykhar listed, including adding $sponsoredby to my forumdisplay template.

Nothing shows up at all in the Forum that I added the banner to through the Admin system!

It would be really great if someone could write more detailed instructions on having unique banners in each forum.

Stephan Whelan 10-03-2001 07:10 AM

Firefly,

I saw this hack a while ago and wanted to install it - however i've only just got round to doing it - and I just wanted to say THANKS! for a great hack...

Rcooper 10-06-2001 03:00 AM

Great hack! One Question. . .

i want to link to pictures on another server. I figure i would have to edit this part of the template
Code:

<img src="{imagesfolder}/$forum[sponsorimg]" border="0" alt="Proudly sponsored by $forum[sponsorname]">
but i am not sure exactl what to do. I understant that I will have to type the full URL to evey sponsor i add. that is ok with me!

Thank for any help and thanks for a GREAT hack!

Ryan C.

YourHostSucks 10-06-2001 03:06 AM

I would just replace ( src="images/$forum[sponsorimg]" )

With (src="http://www.blahblah.com/blah/images/$forum[sponsorimg]" )
then you store the images in that folder on that site.. and
when you ad the sponsor just write the picture name..

Seems like the best way to me..

Rcooper 10-06-2001 03:11 AM

YourHostSucks,
only problem is i want to use comission junction to sponsor the forums. This is the code they give you. . .

<a href="http://www.qksrv.net/click-904372-1614906" target="_top" >
<img src="http://www.qksrv.net/image-904372-1614906" width="120" height="60" alt="" border="0"></a>


Any ideas?

BTY Damn your quick! :)


All times are GMT. The time now is 09:24 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.01441 seconds
  • Memory Usage 1,735KB
  • 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_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