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)

Warlord 07-29-2002 12:17 AM

Quote:

Originally posted by almightyone

if you dont got time to read a few pages wher will you find the time to install this hack? :ermm: :tired:

Methinks it'd take alot longer to read 16 pages then it would to install this hack. :p

Warlord 07-31-2002 12:50 AM

Nice hack Firefly! :)

Note to anyone who doesn't know... this hack DOES work on 2.2.6 :)

mikeschultz 08-05-2002 03:42 PM

is there any way i can add sponsors to the forums, not just the categories?

Destee 08-06-2002 01:43 AM

FireFly ... Thank You Again !

Wonderful Hack ... (clicking on installed now).

:)

Destee

DannyITR 08-21-2002 04:08 AM

Here is my error

Parse error: parse error, unexpected ':' in /home/dannyitr/public_html/forums/admin/forum.php on line 156




adn this is the line they are talking about:

VALUES
(NULL,'$styleset','".addslashes <http://www.php.net/addslashes>($title)."','".addslashes <http://www.php.net/addslashes>($description)."','$isactive','$displayorder','$p arentid',

DannyITR 08-21-2002 04:33 AM

Fixed it. for some reason, when I copied and pasted the code it added a website after each "addslashes". I took out all the websites since they are not in the code provided on the first page and it worked!

DannyITR 08-21-2002 05:37 AM

I can't get the banner in the thread like it says on page 5. Can someone help me?

"and forumdisplay_sponsoredby was included in the list of required templates.

I don't know how to do this so I left it out. Can someone help me?


Quote:


"SirSteve, yes, but you might want to change forumdisplay_sponsoredby to another template.
Add that code (with the new template) in showthread.php right after this:"

Why would I modify the new template I just created? I tried re-naming it but all my banners disapeared. I still can't get the banners in the threads.

Help.

Audionuts 08-23-2002 12:07 AM

man this is exatcly what i have been looking for, but i cant get this to work :( after i edit the forum.php and upload, i go to the modify forums in the cp i see the the sponsor stuff on top of everything?? looks real funky and i saw a gif posted here that shows the feature in the options of each forum, and thats not what i get at all...what could i be doing wrong? am i adding the code to the wrong place? i'm a little lost with the instalation instructions...sorry to bug but if anyone has time to help i would really apreciate...

DannyITR 08-27-2002 04:25 AM

When I wan to add a new forum, I get this problem:




Database error in vBulletin Control Panel 2.2.6:

Invalid SQL: INSERT INTO forum
(forumid,styleid,title,description,active,displayo rder,parentid,
parentlist,allowposting,cancontainthreads,daysprun e,newpostemail,newthreademail,
moderatenew,allowhtml,allowbbcode,allowimages,allo wsmilies,allowicons,
styleoverride,allowratings,countposts,moderateatta ch)
VALUES

(NULL,'1','Vole / Stolen','Post items that have been stolen so people can keep an eye out. ','1','3','13',
'','1','1','','',
'','30','','',
'0','0','1','1','1','1',
'0','1','1','0')
mysql error: Column count doesn't match value count at row 1

mysql error number: 1136

Date: Tuesday 27th of August 2002 01:20:26 AM
Script: http://www.montrealracing.com/forums...dmin/forum.php
Referer: http://www.montrealracing.com/forums...dd&parentid=13

DannyITR 08-27-2002 02:30 PM

They refuse to help me on vb.com so can anyone here please respond?


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