![]() |
Subforums on Forumhome (no extra queries Version)
Well, i think most of you know the hack already but with a great ammount of additional queries.
This hack shows on every forum on forumhome (also on categories if you want it so) all it's Subforums. It works dynamically so whenever you add a forum, it will be added to the list :) One disadvantage on having it queryless is, that if you have private subforums below nonprivate mainforums that these will be seen so (not accesable but seen) Hope it fits in what some of you need :) |
For all of you a screenie of the hack.
|
Hey thanks Xenon... I will surely install this hack in a near future!
|
Xenon, THANKYOU VERY MUCH! This hack is something i've wanted for about 9 months now, I didn't want to add any queries to my precious forumhome! Thankyou very much for this, this is truly a masterpiece, no queries at all, brilliant.
|
Thanks working good for me
|
Thx for kind words :)
@N9ne: you know how i hate additional queries ^^ |
@Xenon: you know how much I too hate additional queries ;).
|
Quote:
hi xenon i don't want the subforums to show on main categories how can i change this? |
got a parse error .. on the beginnig of
find... got a way out ? |
ok sorry..m<y mistake..
edit: thought it was my mistkae..but.. really.. i did altered the table..added the changes to forum.php and on line 52 i got an parse error.. whats wrong? msn:lolo@okay.net |
great hack pal!
|
Hey Xenon, you said you were reading about hacks. Not having an orgasm release of 'em ;)
Good job buddy :)! - miSt |
@dnd: well take out $forum[subforums] from the templates where you don't need em.
personally i just have added it to forumhome_level2_post template, but it depends on you where you want it to show up. @highlander: well without the exact error i can't say anything. but most likely you've done an mistake while installing it works as you can see... @Logician: thx pal. @Mist: :p ;) |
I guess it's time to move my staff forum, heh.
I'll install this one. :) |
Hey just checking. If you have a private sub-forum. Will it appear on the list of subforums on index.php?
Regards - miSt |
Excellent idea Xenon! :)
|
@Martin: thx
@Mist: maybe you should read the info's i posted :P yes, private subforums would also be listed public (except the main forum is also private of course ;)) |
Stefan - you are a legend. :)
|
Thx Erwin :)
hmm, should i feel old now? (legends most are ^^) |
very nice hack Xenon, I maybe use it. Now please fix the vb home uptimization hack ;))
|
I installed your hack but cant get it to work. i checked the forum.php if something was misising its there, i run the db query its there, i posted $forum(subforums) in my forumhome_forumbits2_nopost and it doesnt how up any idea im on 2.29
also i checked in db and it added the subforums table i have my sub forum text in there |
it's not:
$forum(subforums) it is $forum[subforums] |
Great hack, Stefan. Excellent addition. Thank you. :)
And it didn't even mess anything up on my forums. ;) |
Thank you. :) Is it possible to show post markers next to each subforum so you can see if it has new posts? (See attachment)
|
nope, not with 0 extra queries.....
|
Cool Hack, i install it right now!!
Thank you Stefan ;) |
Xenon i already use ur another hack call Delete/Revert multiple templates at once than i install this hack but it dont work the subforum do not show up ?so how should i do when i already install this hackDelete/Revert multiple templates at once
thankz~ |
the two hacks don't make problems to the other.
you must have made an mistae while installing this hack. retry it again and read the install file carefulle. especially the last step (edit a forum) is important |
Quote:
now it works~~ :cool: |
:)
you're welcome :) |
Xenon -
Please excuse my ignorance - where do we run the initial query before going ahead with the code replacement? Thanks! |
phpmyadmin for example
|
I'm just having bad luck. Installed it and nothing happened.
|
have you done the last step and edited a forum and saved?
|
Yep. Did that also. Still nothing.
|
hmm, have you editet the right templates?
as noone else has any problems, you must have made an mistake, so read the instructions carefully to be sure you haven't forgotten a single instruction... |
In forumhome_forumbit_level2_nopost, I added:
Quote:
Quote:
|
as said, the code is correct, you must have done something wrong....
the thing in forum.php sometimes make problems, if you haven't added it to the right positions. if everything doesn't help, you may have an interfering hack in index.php which changes the get forum part to strong... then i can't help |
Thanks Xenon !
Nice hack ! Installed it, and works like a charm ! www.cdrbase.com if anybody wants to take a look :> |
Stefan,
Works great! But I went one step further, trying to add an image in front of "subforums: but I get errors... ideas? PHP Code:
|
All times are GMT. The time now is 05: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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|