Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Options for forums - display or don't display on forum home Details »
Options for forums - display or don't display on forum home
Mod Version: 1.00, by Chen (Member) Chen is offline
Developer Last Online: Mar 2009 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.0.x Rating: (0 vote - 0 average) Installs: 22
Released: 17 Sep 2001 Last Update: Never Downloads: 1
Not Supported  

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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

In forum.php (admin folder) replace

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

with

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Still in forum.php, replace

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

with

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Still in forum.php, replace

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

with

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Still in forum.php, replace

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

with

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Still in forum.php, replace

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

with

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Still in forum.php, replace

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

with

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

We don'e with forum.php, save and upload.

In index.php (main folder) replace

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

with

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 17 Sep 2001, 15:09
Chen's Avatar
Chen Chen is offline
 
Join Date: Sep 2001
Demo:

It says "You can hide a forum with a parent!" but it's "You can't hide a forum with no parent!".
Attached Images
File Type: gif showonhome.gif (20.1 KB, 877 views)
__________________
Chen Avinadav
Formerly vBulletin.org Owner and Founder

[email protected]
Reply With Quote
  #3  
Old 17 Sep 2001, 15:12
squawell's Avatar
squawell squawell is offline
 
Join Date: Oct 2001
Talking

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~~
Reply With Quote
  #4  
Old 17 Sep 2001, 16:20
shadowbreed shadowbreed is offline
 
Join Date: Oct 2001
Tested on 2.0.3
Working great.

Great hack!!!
Reply With Quote
  #5  
Old 17 Sep 2001, 16:32
Freddie Bingham's Avatar
Freddie Bingham Freddie Bingham is offline
 
Join Date: Oct 2001
Squawell this is the second time that I will ask you to enter your license into your profile.
Reply With Quote
  #6  
Old 17 Sep 2001, 20:10
DarkReaper DarkReaper is offline
 
Join Date: Oct 2001
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.
Reply With Quote
  #7  
Old 17 Sep 2001, 20:57
shadowbreed shadowbreed is offline
 
Join Date: Oct 2001
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.
Reply With Quote
  #8  
Old 17 Sep 2001, 21:04
DarkReaper DarkReaper is offline
 
Join Date: Oct 2001
Oh! So its sorta like what happens when a forum is beyond the depth that is shown. Sweet.
Reply With Quote
  #9  
Old 17 Sep 2001, 21:57
bbensen's Avatar
bbensen bbensen is offline
 
Join Date: Nov 2001
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.
Reply With Quote
  #10  
Old 05 Dec 2001, 15:32
Jawelin Jawelin is offline
 
Join Date: Nov 2001
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
Reply With Quote
  #11  
Old 01 Jan 2002, 02:27
eva2000's Avatar
eva2000 eva2000 is offline
 
Join Date: Oct 2001
nice i like this one

okay for 2.2.0 and 2.2.1 ?
__________________
Reply With Quote
  #12  
Old 01 Jan 2002, 14:18
Chen's Avatar
Chen Chen is offline
 
Join Date: Sep 2001
Should work fine.

/me is embarrassed
__________________
Chen Avinadav
Formerly vBulletin.org Owner and Founder

[email protected]
Reply With Quote
  #13  
Old 03 Jan 2002, 13:15
over over is offline
 
Join Date: Nov 2001
nice hack thinkin bout installin it
Reply With Quote
  #14  
Old 04 Jan 2002, 16:21
Jawelin Jawelin is offline
 
Join Date: Nov 2001
Originally posted by Jawelin
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
Just a remark...
Reply With Quote
  #15  
Old 16 Jan 2002, 18:50
Stretchr's Avatar
Stretchr Stretchr is offline
 
Join Date: Jan 2002
Thumbs up

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
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 03:46.

Layout Options | Width: Wide Color: