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)
-   -   Sub-Forums (https://vborg.vbsupport.ru/showthread.php?t=28478)

Axelon 09-27-2001 08:38 PM

i don't see the subforum...

i have only the write :

subforum:



:( :( :(

Kengan 10-02-2001 04:35 AM

Nice Hack !! ;)

hacker 10-02-2001 06:05 AM

One of the simplest and yet very elegant hack!!

BTW, I don't understand this. Can someone explain it to me?

if you watn the HR to look good add this into your
"Custom replacements"

hr is replaced by <hr size="1" color="{ tablebordercolor }"

{ tablebordercolor } - dont forget to remove the spaces "{ }

YourHostSucks 10-02-2001 06:28 AM

PHP Code:

<hr size="1" color="{ tablebordercolor } ">

take out the space after {  and before 

Will make you hr line size"1" (nice and small)
and color will be your styles color for the table border...

hacker 10-02-2001 06:31 AM

Where do I find this line of code?

YourHostSucks 10-02-2001 06:44 AM

I am going to assume you already installed this hack...

So, open index.php and forumdisplay.php

Search For:

PHP Code:

$forum['description'] .= "<hr><B>Sub-Forums:</B> "

Replace With:

PHP Code:

$forum['description'] .= "<hr size="1" color="tablebordercolor "><B>Sub-Forums:</B> "

But take out the space after { and before } around tablebordercolor.

hacker 10-02-2001 09:13 AM

Thanks for your help.

Only thing now: Whenever I replace the code that you gave me, I get an error message:

Parse error: parse error in /home/public_html/forums/index.php on line 291

hacker 10-02-2001 09:20 AM

$forum['description'] .= "<hr><B>Sub-Forums:</B> ";

Replace With:

PHP:

$forum['description'] .= "<hr size="1" color="#555576 "><B>Sub-Forums:</B> ";

I just can't seem to get past the error.

mister 10-02-2001 12:55 PM

you need to escape your quotes.

put a \ before any " inside your string.

your code should be:

Quote:

$forum['description'] .= "<hr size=\"1\" color=\"#555576\"><B>Sub-Forums:</B> ";

hacker 10-02-2001 01:05 PM

Thanks a million. The escape characters really helped! Thank you thank you thank you!!!:p


All times are GMT. The time now is 04:04 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.01175 seconds
  • Memory Usage 1,737KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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