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)

jminiman 11-18-2001 03:04 PM

I just figured out what the problem is. Table padding is fine. Problem is that for some reason a space exists right beneath ever Category Name, so as you can see in the screen shot, I can enter a line of text beneath "Unit Specific." If I kill that line in FrontPage, the silly "padding" goes away. Where can I kill that line return?

The attached screen shot shows what I'm talking about.

Littlebit 11-21-2001 01:39 PM

Could someone help me fix this...I'm getting a parse error on this line in index.php:

if ($forum['sponsorimg'] && $forum['cancontainthreads']==0 && $depth==1) {

Littlebit 11-22-2001 01:14 PM

I'm going to retry the index.php changes, but before I do, could me added code with incorrect spacing be the cause of getting a parse error? I copied and pasted from your thread and included the skips in lines...would that be my mistake?

Hooper 11-25-2001 04:13 PM

I too have a parsing problem and just emailed Chen about it.

Parse error: parse error in community/index.php on line 310

I've installed this in 3 or 4 versions up to 2.2.1 without a hitch.

Let's hope Chen see's the problem. I love this hack.

Crinos 11-25-2001 06:33 PM

Well, one of the most common mistakes when posting code in these forums is how the code changes ...

the most common thing I saw was &#123 appearing instead of { when it's in a code quote .... check those and that might solve the problem...

Littlebit 11-25-2001 11:31 PM

Ohhh..I bet you are right. I thought it might be the spaces in between the lines of the code posted on this thread. It's one of those things... if you don't know how to write the stuff, you certainly would not know if 123 was intentional or not. Thanks. I'll go back and look at it again and give it another whirl.

LuBi 12-05-2001 05:40 PM

At what point did this thread go from fireflys hack to amys? Did firefly make a banner hack and then amy made the proudly supported by "sitepoint" hack. I once saw that hack but can't seem to find it anymore, I'm looking for the hack that adds a sponsors on the index not banners but proudly supported by. Any ides where i can find that in here or anywhere on vbhacks?

Thanks!

amykhar 12-05-2001 06:16 PM

It's not my hack :D

I merely added a bit that allows you to have a different banner in a given forum. Firefly wrote the main part, and the part that puts the banner on the forumhome page.

Amy

LuBi 12-05-2001 08:19 PM

I'm still not clear where to find the hack to install the small adds on the index..?

amykhar 12-05-2001 10:43 PM

Firefly's first post.

Amy


All times are GMT. The time now is 12:17 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.01192 seconds
  • Memory Usage 1,733KB
  • 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)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