![]() |
|
Mod Options |
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Options for forums - display or don't display on forum home
![]() Developer Last Online: Mar 2009 ![]() ![]() ![]() This modification is in the archives.
This hack adds a yes/no option for forums, to select whether you want to display that forum (or category) on the main page.
I added a "sanity check", so you can't hide forums that have no parent (because then you won't be able to access any of its sub-forums). I'll get a demo in a few minutes. Demo:: http://www.vbulletin.org/forum/attac...&postid=172718 Installation:: Run this query:
In forum.php (admin folder) replace
with
Still in forum.php, replace
with
Still in forum.php, replace
with
Still in forum.php, replace
with
Still in forum.php, replace
with
Still in forum.php, replace
with
We don'e with forum.php, save and upload. In index.php (main folder) replace
with
We don'e with index.php, save and upload. That's it! ![]() Download Now Only licensed members can download files, Click Here for more information. Show Your Support
No members have liked this post.
|
Comments |
#2
|
||||
|
||||
Demo:
![]() It says "You can hide a forum with a parent!" but it's "You can't hide a forum with no parent!". ![]() No members have liked this post.
|
#3
|
||||
|
||||
![]()
master i am first reply your post!!
but i still can not use this hack in my forum~~~ cause i haven't phpmyadmin right now~~~ i think next time ba!! by the way have any picture??--haha!!sorry~i see it!! it looks great!! thanks your hack~~ No members have liked this post.
|
#4
|
|||
|
|||
Tested on 2.0.3
Working great. Great hack!!! No members have liked this post.
|
#5
|
||||
|
||||
Squawell this is the second time that I will ask you to enter your license into your profile.
No members have liked this post.
|
#6
|
|||
|
|||
I'm not sure exactly what this does? Here's my idea of it:
You have the forum depth set at 2, so forums 4 deep aren't shown. But if you want one of those shown, you use this and select to have it shown, then its on the forum homepage? I'm not really sure about this... squawell: Enter your license info in your profile. To do that go to [url=http://www.vbulletin.com/forum/member.php?s=&action=editprofile]this[url] page and scroll down. Then enter your license and password. No members have liked this post.
|
#7
|
|||
|
|||
It's the other way around
Say you have the depth at 3 and have a category with three forums in it: cat-->forum1 forum2 forum3 Now all forums are shown on forumhome under the category turn of the show on forumhome switch and they are not shown on main page but if you click the category they're there. No members have liked this post.
|
#8
|
|||
|
|||
Oh! So its sorta like what happens when a forum is beyond the depth that is shown. Sweet.
![]() No members have liked this post.
|
#9
|
||||
|
||||
I just wanted to add, FireFly you rock!!!
I was looking for a collapsable forum feature, but this is just as good if not better!!! Thanks I'm going to add this tonight. No members have liked this post.
|
#10
|
|||
|
|||
Very nice...
Just something about 'sanity check'... ![]() If I had some private forums within a category, can it be hidden by this hack if none of the subforums is visible to the logged user ? Thank you very much Bye No members have liked this post.
|
#11
|
||||
|
||||
nice i like this one
![]() okay for 2.2.0 and 2.2.1 ?
__________________
No members have liked this post.
|
#12
|
||||
|
||||
Should work fine.
/me is embarrassed ![]()
__________________
Chen Avinadav Formerly vBulletin.org Owner and Founder [email protected] No members have liked this post.
|
#13
|
|||
|
|||
nice hack
![]() ![]() No members have liked this post.
|
#14
|
|||
|
|||
![]() No members have liked this post.
|
#15
|
||||
|
||||
![]()
Thank you, Chen for another great hack. Just what I have been looking for.
__________________
It's a small world..... But I wouldn't want to paint it! Stephen Wright No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 01:28.