Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
(This is my first dual mod topic, but i felt making another topic would be a waste of space wink )

Title: Selected Forum/Category Display

Tested on ubb: 6.4.0.1 && 6.5.0

Description: The selected category display adds an option to let categories hide the forums, that it contains. The selected forum display adds an option to hide forum(s) from forum summary display. In both cases, the forums hidden will reappear when you click the category, such as ultimatebb.cgi?ubb=category;f=...'. Both can be used together or seperately.

Inspired by: This Topic

Download:
Selected Category Display
Selected Forum Display

Special Thanks: PrimeTime, tgreene

Demo: Down

Note: The selected category display one is not compatible with the infinite subcategory mod or the extendand category mod. Sorry.

Sponsored Links
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
Ohh...I didn't even see this thread. Hey Brett. I'm not sure if it was updated but I found that whenever I updated a forum name and/or created a new forum all of the selected forums (from the Selected Forum Display) appeared again.

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
in english, what does this one do again? smile


- Allen wavey
- What Drives You?
Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
The forum one will 'collapse' a forum from being seen on the summary page. Sort of like a hidden forum. But will be displayed on the category pages.

Same thing for the category mod which can hide categorys and their forums from being seen.

PrimeTime: I'll check to see, I know where to look.

Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
Quote
quote:
Originally posted by AllenAyres:
in english, what does this one do again? smile
Good stuff especially if you have a lot of forums. thumbsup

Ok...Thanks Brett! smile

Sponsored Links
Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
Both Selected Forums/Cats tested on 6.5 but is backwards compatible. Selected Forums Text File updated. smile

Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
Whoa...Sweet! I'll rehack both files. I'll let you know how it goes Brett. smile

Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
Hehe...I guess I didn't have to do any changes to the "Selected Category Display" hack. I made the changes in the "Selected forum Display" but unfortunately the forums that I've selected to be suppressed appeared again after I renamed another forum...The "no" ended up as a "yes" again.

Maybe I did something wrong. LOL.

Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
hrm...

Alright here's a couple of guesses. Make sure you added the "local($ivforumyes, $ivforumno);...." junk in cp_forums.cgi after "@thisforum = &GetForumRecord($in{number});".

Or try adding "&exochomp($thisforum[19]);" after "local($ivforumyes, $ivforumno);".

Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
I'll try that today sometime as right now I should sleep (2:55am Hawaii time). sleep I'll let you know how it goes.

Thanks again Brett for your time and effort! thumbsup

Sponsored Links
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
LOL...I couldn't resist. I just tried it and umm...No go. Hehe. Today I'll re-hack cp_forum.cgi just in case. smile

Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
An update:

I've been looking at several CP .cgi and .pl forum files and wonder if the problem lies within the update protocol which seems to tie in with the rest of the CP forum pages? For every update I do (all except inside cp_edit_forum.pl) my forum settings reset (back to "yes").

I've even check out:

$in{number}
$number
$ThisNum

= split (/|^|/, $uno); (whatever this does)

I'm not sure if this helps at all. smile

Joined: May 2002
Posts: 35
Member
Member
Offline
Joined: May 2002
Posts: 35
Feature suggestion for this:

add a little down arrow image or some "more >>" text or something next to the forum title to set the forums with collapsed topics under them apart from the rest

just a thought

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
Brett, any chances of getting this reuploaded?

Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
shocked , got the link back up smile

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
this would be nice here smile


- Allen wavey
- What Drives You?

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)