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)
-   -   Subforums on Forumhome (no extra queries Version) (https://vborg.vbsupport.ru/showthread.php?t=49037)

Xenon 10-07-2003 03:39 PM

yes it should, but i haven't tested it.
as not much has changed i cannot imagine it doesn't work

deathemperor 10-10-2003 05:20 AM

i install this, but... when i try to put $forum[subforums] in
forumdisplay_forumbit_level1_nopost, forumdisplay_forumbit_level1_post,
forumdisplay_forumbit_level2_post, or
forumdisplay_forumbit_level2_nopost.
it shows nothing, I put it right after $forum[description] in all of them, but it doesnt work
any suggestion ?

deathemperor 10-10-2003 12:46 PM

and, I got this too:

Parse error: parse error in ***/www/forums/admin/forum.php on line 38
when trying to modify my forums

Xenon 10-10-2003 02:10 PM

well obviously you made a mistake while installing the hack.
use an backup and start again, and be careful when changing the files, that you don't make a mistake again.

once the php file works, the subforumcache will be visible, too

deathemperor 10-11-2003 08:53 AM

may it be....because the others hack ? I did install some others

Xenon 10-11-2003 03:42 PM

parse error means you just make a mistake while hacking.
it could be for several reasons, but it's just a normal php error you caused while editing.
it has nothing to do with the functionality of any hacks normally

deathemperor 10-14-2003 05:27 AM

ahh, I did it again, more carefully than before. But I still get an erorr, it said Prase erorr on line.... ( I didnt remember ). And it is in the start of your code
what should I do ?

Xenon 10-14-2003 05:26 PM

i cannot help you then.

the code is working, so it is an error on your side.
Maybe your editor makes a problem.

As said, i can't help, the code does not contain a parse error or it won't work on the others board, too

deathemperor 10-15-2003 01:29 PM

ok, I can MAKE SURE that I did nothing wrong, but there is no sub-forum displayed in forum home.
Or I have to add a sub-forum after install this and it will show up ? it has no effects to the old sub-forums ?

Xenon 10-15-2003 03:26 PM

the subforums are cached, that is why you have to make the changes to admin/forum.php and update one forum after the installation, so the cache will be reconstructed

deathemperor 10-16-2003 01:30 PM

well, I'm truly sorry, that was my terrible mistake.
I shouldn't have worked when I am exhausted :(
it works perfectly. Much thanks, Xenon

Xenon 10-16-2003 02:59 PM

:)
np, at least it works now, that's all what counts :)

translucent 11-20-2003 08:21 PM

Great hack! I changed the field "title" to "displayorder" in order to have the subforums sorted accordingly:
PHP Code:

$forums=$DB_site->query("SELECT forumid, title, parentlist FROM forum ORDER BY displayorder"); 


cerebro 11-21-2003 12:12 AM

i made another MOD

Code:


  $forums=$DB_site->query("SELECT forumid, title, parentlist FROM forum WHERE parentid=53 OR parentid=2 OR parentid=3 OR parentid=60  ORDER BY title");

And only show First Level of Subforums, but not all.

Xenon 11-21-2003 02:54 PM

@cerebro: that way looks better:

PHP Code:

$forums=$DB_site->query("SELECT forumid, title, parentlist FROM forum WHERE parentid IN(53, 2, 3, 60) ORDER BY title"); 


cerebro 11-21-2003 06:05 PM

Quote:

Originally Posted by Xenon
@cerebro: that way looks better:

PHP Code:

$forums=$DB_site->query("SELECT forumid, title, parentlist FROM forum WHERE parentid IN(53, 2, 3, 60) ORDER BY title"); 



Nice!...
sos un Groso! :d (in spanish)

Oblivion Knight 12-25-2003 12:40 PM

Is it possible to hide sub-forums that are currently turned off (active=0).?

I've tried adding this myself, with little success..

Xenon 12-27-2003 03:24 PM

just add a
[sql]active = 1 AND [/sql]

behinde the WHERE tag

mzbcarper 01-10-2004 04:53 PM

is there a version 4 vBB 3.0 to expect ?

Xenon 01-10-2004 04:54 PM

vb3 has this hack already included iirc

kaotic 03-28-2004 06:03 PM

It is? Where might I find the option to activate this feature?

Xenon 03-28-2004 08:50 PM

you might read through the vb3 manual.

i believe it'S somewhere in the vb settings forumhome sektion

Sleepyk 03-08-2005 11:48 PM

hey i got a problem http://kleptikmusic.com/ like the subforums do not show how you have them on 1st page, the file was edited right, and when i put $forum[subforums] in the templates it shows Subforums: K.M.B.L (Audio), K.M.B.L (Text) etc in table headers so please check out site and tell me what u think is wrong

foniac 11-01-2005 11:39 AM

Will this work on version 3.5 or is there one like it for 3.5? I dont want them showing in a line on forum home
Thanks

Marco van Herwaarden 11-01-2005 01:42 PM

vB2 (or vB3.0) hacks will not work on vB3.5 in 99% of the cases.

Xenon 11-01-2005 03:46 PM

erm, this hack is already included in vb since version 3
(apart fromt he fact they never added my name to any credists pages ;))

foniac 11-01-2005 04:54 PM

How do i make it show in v3?

Xenon 11-01-2005 05:02 PM

i would suggest to read the manual :)

pdatoon 08-04-2007 10:37 AM

Sorry to dig that discussion. but i deleted some subforums and they still show on forumhome. How can i correct that?

thank you for your help


All times are GMT. The time now is 01:02 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.01377 seconds
  • Memory Usage 1,771KB
  • 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_code_printable
  • (3)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (29)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