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)

Airwaves 02-05-2002 05:32 PM

finally, i get the button the right, and the image in the background, but the bg image 'tiles' and i do not want it to, you can see the banner on the forums at http://www.airwavescomms.co.uk/forums

here is the code I am using, can someone please modify it to not get the image to tile, I think CSS is my answer, but, i am defo no good at that.. so i beg you please help me!

PHP Code:

<tr id="cat">
    <
td bgcolor="#336D95" background="https://vborg.vbsupport.ru/images/catagory_backing.gif" colspan="2"><a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont color="#000000"><b>$forum[title]</b></normalfont></a>
    <
br><smallfont color="#000000">$forum[description]</smallfont></td>
    <
td colspan="4" background="http://www.airwavescomms.co.uk/forum/images/spsback.gif"><a href="$forum[sponsorurl]target="_blank"><img src="http://www.airwavescomms.co.uk/forum/images/$forum[sponsorimg]border="0" align="right" width="88" height="31" alt="Proudly sponsored by $forum[sponsorname]"></a></td>
</
tr

i use {imagesfolder } instead of the full URL however, but vb.org decided to parse that and put its own link there.... :confused:

extreme_old 02-06-2002 01:58 PM

Great hack!!

I have installed the hack now, but how do I then decided what banner to show in each catagories? What's the size of the banners?

Ninth Dimension 02-06-2002 03:08 PM

All customisation and design of the banners is up to you, you set them up as you see fit, however I personally have gone for 210x37 images

extreme_old 02-06-2002 07:26 PM

ok, but where do I set which banner for with catagory. I mean I what .php site or template and how? I want to use a difference banner for all catagories and how to I set the url too?? Please help, or paste some code that shows me what to do?

Thanks

Airwaves 02-06-2002 07:34 PM

the banners can be set up in the forum category properties in admin cp.

each category can have a differnet banner this way

extreme_old 02-07-2002 02:08 PM

What's wrong here:

Database error in vBulletin Control Panel 2.2.1:

Invalid SQL: UPDATE forum
SET
styleid='1', title='General', description='',
active='1', displayorder='1', parentid='-1', parentlist='10,-1',
allowposting='1', cancontainthreads='0',
sponsorname='2pass',sponsorimg='2pass.gif',
sponsorurl='http://www.mysponsor.com/cgi-bin/tts-in.cgi?1020207-0',daysprune='30',
newpostemail='', newthreademail='',
moderatenew='0', allowhtml='0', allowbbcode='1',
allowimages='0', allowsmilies='1', allowicons='1',
styleoverride='0', allowratings='1', countposts='1',
moderateattach='0'
WHERE forumid='10'
mysql error: Unknown column 'sponsorname' in 'field list'

mysql error number: 1054

I have made all the changes that Firefly describes and. I'am running version 2.2.1

freehtml 03-10-2002 01:48 PM

will this work on version 2.2.3 also?

Admin 03-10-2002 04:37 PM

Yup it should.

Floris 03-14-2002 08:35 PM

and 2.2.4 ?

trainer 03-15-2002 04:08 AM

could one of the pros help explain how to add-on the specific sponsor for each forum so it carries over to the threads in that forum.


All times are GMT. The time now is 11:57 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.02877 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
  • (1)bbcode_php_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