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)

Littlebit 12-06-2002 05:58 PM

Hi Firefly,
I need to uninstall this hack. What query do I need to run to complete this?
Thanks and hi :)

A guess:
ALTER TABLE forum REMOVE sponsorname VARCHAR(100) not null AFTER cancontainthreads, REMOVE sponsorimg VARCHAR(100) not null AFTER sponsorname, REMOVE sponsorurl VARCHAR(255) not null AFTER sponsorimg

? lol

SVTBlackLight01 01-14-2003 06:32 AM

Great mod. Thanks.

Where do I put the "proudly supported by" text to get it to display like on Site Point?

cyc 01-17-2003 08:49 PM

Great hack....very easy to install

Quote:

Where do I put the "proudly supported by" text to get it to display like on Site Point?
It looks like its part of the displayed banner

cheers!

Winky 01-19-2003 12:04 AM

I have the expand contract on forum home hack installed and when I install the banner code it breaks my expand contract. Is there any way around this?

pcoskat 02-01-2003 08:59 PM

What are the specific dimensions for the banner? I assume that the sponsor needs to supply the banner in that size (or I have to create it) - yes?

Also, I'm using 2.2.8...I'm assuming this hack works for that?

I'm somewhat dense on the topics of hacks, so forgive me if these questions seem sophmoric.

Thanks in advance for any replies.

Based on the examples I've viewed, this is a lovely hack. :banana:

PK

cymru2000 02-10-2003 10:09 PM

Just installed the hack, as per instructions on page one, to a 2.2.9 forum. GREAT work. Changed it a bit so that it would display outside site images such as those from commission junction and added "Proudly Sponsored By" to the left of the banner, and then right aligned the lot.

Very nice hack, those wanting to see it working take a look at www.wweforums.co.uk.

SVTBlackLight01 02-10-2003 10:26 PM

Quote:

Originally posted by cymru2000
Just installed the hack, as per instructions on page one, to a 2.2.9 forum. GREAT work. Changed it a bit so that it would display outside site images such as those from commission junction and added "Proudly Sponsored By" to the left of the banner, and then right aligned the lot.

Very nice hack, those wanting to see it working take a look at www.wweforums.co.uk.

How did you use the commission junction images?

cymru2000 02-11-2003 03:26 PM

Quote:

Originally posted by SVTBlackLight01


How did you use the commission junction images?

In
PHP Code:

forumhome_forumbit_level1_nopost_sponsor 

I Put
PHP Code:

<img src="$forum[sponsorimg]border="0" alt="Proudly sponsored by  $forum[sponsorname]"

in relace of
PHP Code:

<img src="{imagesfolder}/$forum[sponsorimg]border="0" alt="Proudly sponsored by $forum[sponsorname]"



And then in the admin panel just put in the full URL to the image, instead of a partial URL. This image URL can be those given by CJ.

Just make sure you use a small sponsorship image!

retinax 02-14-2003 08:58 PM

Hi, I am installing FireFly's hack on a new Parenting Forum for a customer of mine. I followed the instructions on the original post (and did it twice) but the ads don't show up.. My main forum list page stays the same after I go into the control panel and enter sponsor information to a forum.

I had tried another hack before this one that added a banner anywhere (i put it at bottom) and it worked, but I wanted a hack that allowed banners on each Main Category listing on the main page. So I left the other hack in and installed this one..

The SQL query went through in phpmyadmin with no problems.. I double checked them. I did the code modifications in admin/forum.php and index.php twice, added the template forumhome_forumbit_level1_nopost_sponsor with the correct code, and went into the control panel to add the sponsor info.

I guess my question is, if the script can't find the image for the sponsor does it just not show anything (as if the hack wasnt installed) ? The control panel entry for the image says not to put the images folder in the path.. well is that the images folder in my "Forum" folder or the root of my server? I tried many combinations but it acts as if the hack isn't even there.

Any suggestions??? Please help! Thanks a lot-

BTW the forum is: www.echildshealth.com/Forum

James Johns
Retina-X Studios
www.retinax.com

amykhar 02-14-2003 10:05 PM

ummm retinax, forgive me if I am a wee bit dumb, but I don't see any categories on your forum home. That is where the banners would be - not on the individual forums.

Amy


All times are GMT. The time now is 01:08 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.01401 seconds
  • Memory Usage 1,749KB
  • 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
  • (3)bbcode_php_printable
  • (3)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