php forum
php mysql forum
php mysql smarty
 
Page 1 of 3 1 2 3 >
Topic Options
#55292 - 01/17/03 06:12 PM Selected Category Display?
PrimeTime Offline
Member

Registered: 11/06/01
Posts: 1046
Is there a way in which I can select which forum categories I want to display without the forums?

I guess this is similar to the Infinite Sub-Categories hack, but the only difference would be that some of the categories will allow the forums to show up on the public_forum_summary.pl while let's say, "Administrative" is set to category view only, where the forums are suppressed until the category link is clicked.

The flexibility for this feature would be awesome. thumbsup
_________________________
Members Spotlight Winner
bac-Clan
--------------------

Top
#55293 - 01/20/03 08:51 AM Re: Selected Category Display?
tgreene Offline
Member

Registered: 11/28/02
Posts: 187
Loc: Jonesboro, Arkansas
That's in "Extended category Settings", and I've been waiting for awhile for somebody to modify the code for one of the pages (cp_forums_cats.pl), since it's very different from the 6.3.1.2 that I am using...

If you look for the thread entitled "I need a way to make specific categories invisible", you see that this is a possibility.

Top
#55294 - 01/21/03 04:54 AM Re: Selected Category Display?
PrimeTime Offline
Member

Registered: 11/06/01
Posts: 1046
While The Extended Category Settings is a cool hack, I'm not sure if that's what I'm looking for. I don't want a particular category to become hidden...I would like the forums in a particular category to be surpressed until you click on the category's name.

Basically, as an example, categories 1 - 4 display normally (category + forums will show) while category 5 only shows the category, but not the forums. This is for public_forum_summary.pl file. The settings in CP will still be selected as:

"Yes, display my forums by category." and "No, do not start with categories only."

Basically in CP there could be an option to select that all forums in "this" category will not display in the public_forum_summary.pl.

smile
_________________________
Members Spotlight Winner
bac-Clan
--------------------

Top
#55295 - 01/21/03 08:44 AM Re: Selected Category Display?
tgreene Offline
Member

Registered: 11/28/02
Posts: 187
Loc: Jonesboro, Arkansas
As I understood it, the Extended categories hack would do that...

Top
#55296 - 01/21/03 07:04 PM Re: Selected Category Display?
PrimeTime Offline
Member

Registered: 11/06/01
Posts: 1046
Well if that's the case then I'll try it. smile
_________________________
Members Spotlight Winner
bac-Clan
--------------------

Top
#55297 - 01/21/03 09:48 PM Re: Selected Category Display?
PrimeTime Offline
Member

Registered: 11/06/01
Posts: 1046
Hmm...Unless I did this wrong? I've installed the Extended Category Settings hack and this is not what I'm looking for. The best I can do is "hide" a category from everyone...But what I would like is to surpress the forums, not make a category invisible. Example:

---------------

Category 1
forum 1
forum 2

Category 2
forum 1
forum 2

Category 3

-----------------------

Noticed that "Category 3" is still visible on the forum summary but the forums do not display. When "Category 3" is clicked then the forums will show.

Maybe LK can figure it out? laugh
_________________________
Members Spotlight Winner
bac-Clan
--------------------

Top
#55298 - 01/28/03 09:43 AM Re: Selected Category Display?
tgreene Offline
Member

Registered: 11/28/02
Posts: 187
Loc: Jonesboro, Arkansas
This too is EXACTLY what I was hoping for, but it appears it isn't a possibility yet...

Any help on this would be fantastic!

Top
#55299 - 01/28/03 07:28 PM Re: Selected Category Display?
PrimeTime Offline
Member

Registered: 11/06/01
Posts: 1046
Cool. UBB coders wanted please. tipsy
_________________________
Members Spotlight Winner
bac-Clan
--------------------

Top
#55300 - 01/28/03 08:39 PM Re: Selected Category Display?
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Twinsburg, Ohio
Is this what your talking about? link down

Here's the doc: TXT

I should warn you that it's not compatible with the infinite subcategories or extended category. If you want these to be compatible, just let me know. smile

Top
#55301 - 01/28/03 10:21 PM Re: Selected Category Display?
PrimeTime Offline
Member

Registered: 11/06/01
Posts: 1046
Whoa...Hahaa! The "Admin" category is exactly what I was referring to. Forums 1-3 are hidden and only viewable when you click the category link. You're the man Brett!

Hmm...While I have the Extended Category installed I don't think I have any use for it (although it's a cool hack). For myself I'm cool with your version as it stands now.

I'll try this later tonight and let you know how it goes. Thanks Brett again! smile
_________________________
Members Spotlight Winner
bac-Clan
--------------------

Top
#55302 - 01/29/03 05:09 AM Re: Selected Category Display?
PrimeTime Offline
Member

Registered: 11/06/01
Posts: 1046
I just installed your hack and it works perfectly. I haven't spotted any bugs so far. thumbsup

Just curious...Based on this hack is it possible to suppress only certain forums? Example: I can select which forums I wish to suppress via CP so in the forum summary the forums I have selected will not show up. Only when you click on the category link will the forums be seen.

Thanks again Brett for an awesome job! smile
_________________________
Members Spotlight Winner
bac-Clan
--------------------

Top
#55303 - 01/29/03 05:47 AM Re: Selected Category Display?
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Twinsburg, Ohio
Thanks! laugh Way ahead of ya! Hiding forums, individually is much easier. smile

Download: Doc TXT

The option to hide them is in the detailed forum edit/add pages. But an option on the main forums page can be added if you want.

If you click the demo above, you'll see that i have forum 8 hidden in the other category, but if you click the category, it will appear.

Top
#55304 - 01/29/03 06:05 AM Re: Selected Category Display?
PrimeTime Offline
Member

Registered: 11/06/01
Posts: 1046
LOL...Damn. This is too scary. Did I already say you're the man? I was just about to go to bed (2:00am Hawaii time) but I must try this hack. laugh

Thanks again Brett! I'll let you know how it goes!
_________________________
Members Spotlight Winner
bac-Clan
--------------------

Top
#55305 - 01/29/03 07:06 AM Re: Selected Category Display?
PrimeTime Offline
Member

Registered: 11/06/01
Posts: 1046
I just installed it and reviewed the steps 3 times to make sure I did it properly. For some reason when I select "yes" in the CP to display the forums it reverts back to "no"; when I select "no" (to suppress the forums) the forums still show up in the forum summary. Did I miss a step somewhere?

Ohh...I think where it says:
"Open cp_edit_forums.cgi && cp_add_forums.pl"

it should be:
"Open cp_edit_forum.pl & cp_forum_add.pl"

Where it says to find (twice) in cp_forums.cgi:

Code:
[/code]The second one will be:
[code]
Hope that helps. smile
_________________________
Members Spotlight Winner
bac-Clan
--------------------

Top
#55306 - 01/29/03 07:23 AM Re: Selected Category Display?
PrimeTime Offline
Member

Registered: 11/06/01
Posts: 1046
Ohh...I'm not sure if this makes a difference but I just re-checked cp_forums.cgi and where it says to find:

Code:
[/code]there are two instances of it.

Also where it says to find:

[code]
there are two instances of it.

I followed your instructions in the first try then on the second try I found those codes twice and entered the hack code in both times. Unfortunately it still didn't work. Thanks for taking the time with this Brett. smile
_________________________
Members Spotlight Winner
bac-Clan
--------------------

Top
#55307 - 01/29/03 07:50 AM Re: Selected Category Display?
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Twinsburg, Ohio
I think i rushed it, but hopefully i got it this time. Just uploaded another copy.

Sorry about that. shocked

Top
#55308 - 01/29/03 08:07 AM Re: Selected Category Display?
tgreene Offline
Member

Registered: 11/28/02
Posts: 187
Loc: Jonesboro, Arkansas
This is PERFECT, as my original intent was to supress several categories, to keep my board tidy...

Suppresed categories would include; For Sale, Industry, Restricted & "Club House" forums.


Thanks a million Brett, and if you ever need any special graphics, don't hesitate to contact me... The same goes for you other UBB guru's here!

Top
#55309 - 01/29/03 08:26 AM Re: Selected Category Display?
PrimeTime Offline
Member

Registered: 11/06/01
Posts: 1046
Hey Brett...LOL. Umm, even with the changes for some reason I'm getting the same results. I also tried adding this (in cp_forums.cgi) from your original code:

[code][/code]in 3 different places and same result. I may be doing something wrong... laugh
_________________________
Members Spotlight Winner
bac-Clan
--------------------

Top
#55310 - 01/29/03 08:29 AM Re: Selected Category Display?
PrimeTime Offline
Member

Registered: 11/06/01
Posts: 1046
The good news is that your Selected Category hack can be considered gold and should make an appearance in the 6.4 mods. smile
_________________________
Members Spotlight Winner
bac-Clan
--------------------

Top
#55311 - 01/29/03 08:50 AM Re: Selected Category Display?
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Twinsburg, Ohio
frown confused

I've looked over the instructions over and back through comparing it with my cgi files and i just can't find any difference. It works perfectly on my test forum. :

I don't know. Can you try backtracking and trying again?

Top
Page 1 of 3 1 2 3 >


Moderator:  Gizmo 
Who's Online
0 registered (), 31 Guests and 16 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Forum 'Trader Ratings'.
by blaaskaak
11/20/08 08:27 AM
Problems reading a lot of old posts here
by Ruben Rocha
11/18/08 04:33 PM
PhotoPost BB Code Popup
by Iann128
11/15/08 01:24 PM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
Active Topics.
by AllenAyres
11/11/08 02:13 PM
Looking for a simple upload script
by AllenAyres
11/11/08 02:12 PM
New Mods
Forum 'Trader Ratings'.
by McLemore
11/19/08 02:14 PM
[7.4] Keep log of custom title changes
by blaaskaak
10/27/08 07:51 AM
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Newest Members
Begbie, cenk, MATTO, DougMMcts, tim Anderson
13361 Registered Users
Top Posters
AllenAyres 25448
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks