|
Joined: Mar 2002
Posts: 14
Junior Member
|
Junior Member
Joined: Mar 2002
Posts: 14 |
Modification Name: Category Styles for 6.5.0 Author(s): Original by LK , Ported to 6.5.0 Lbritish Description: Category Style Modification for 6.5.0 LK wrote a mod for 6.3.0 that made category forum summaries able to be hidden and use styles. I have not used any versions in between 6.3 and 6.5 so if 6.4 works I have no idea... It is NOT compatible with 6.3 anymore in this version so use LK's version for that. Really all I did was update most of the find's to match the new wordlet usages and a few column size lines. Most of this is STILL LK's code so credit goes to him for the mod still. I just figured out how to shove it into 6.5 since UBB updated the table header stuff. Dont ask LK about implementation of this in 6.5 since he didnt write it for 6.5 anyway... Thanks... Requirements: UBB 6.5.0 fully licensed. Read lbritish's comments in the mod. If it dont work dont bug LK... it's not his fault... He didnt even know this was coming... Download Link: http://www.littlefishtank.com/download/catstyle.zip Credits: LK for 6.3.0 compatible version. Notes: I only needed it for a private hidden restricted forum so I dont really wanna post the url for it. If you have a demo using it that is public please post it. Thanks! LBritish
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
cool, thanks
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
I'm only using it for ability to hide categories, but that part works awesome I've been looking for something like this for my private forums. Now if there was only a way to make private categories. The cp looked fine when I removed the width declarations. This is one of the easiest hacks I've done, and yet one of the most important
|
|
|
|
Joined: Mar 2002
Posts: 14
Junior Member
|
Junior Member
Joined: Mar 2002
Posts: 14 |
Yeah... it really should be part of the base program but Infopop "has not gotten around to it" I guess. It is one of the most logical steps in the process. Hopefully they will take this into consideration when they build the next one. As I said in my comments the width declarations when removed look fine. I guess Infopop was trying to be "pretty" with 6.5 but once we hack it around and stick the new stuff in it looks fine It's definately a great mod and credit really belongs to LK for it since it was his mod to begin with. One day I would like to see it hide the forums on the category if you are not registered, not logged in, and/or not approved to read when they are private forums. Maybe LK will figure that one out next...
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
good job about hiding from certain users, it'd make your UBB slower because UBB uses cache. (it saves the HTML version of forum summary every time a post is made, so it'd make your UBB slower if the categories would be visible to only some users) about disallowing some users to view categories when they go to ?category=X manually (if you choose to hide a category), that is possible, with just a few lines.
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
quote: Originally posted by LK: good job
about disallowing some users to view categories when they go to ?category=X manually (if you choose to hide a category), that is possible, with just a few lines.that's what I was hoping for.
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
hey LK, what would those few lines be?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
in ubb_forum_summary.cgi (untested):[code][/code]you can also variate it to check if the user is a certain number (like 00000055) you can check $user_number.
|
|
|
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.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|