Previous Thread
Next Thread
Print Thread
Rate Thread
#200406 06/16/2003 12:19 PM
Joined: Mar 2002
Posts: 14
Junior Member
Junior Member
Offline
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... smile 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

Sponsored Links
#200407 06/16/2003 9:54 PM
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 smile


- Allen wavey
- What Drives You?
#200408 06/17/2003 11:24 AM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
I'm only using it for ability to hide categories, but that part works awesome smile 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 smile

#200409 06/17/2003 12:45 PM
Joined: Mar 2002
Posts: 14
Junior Member
Junior Member
Offline
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 smile

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... wink

#200410 06/17/2003 12:57 PM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
good job laugh

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.

Sponsored Links
#200411 06/17/2003 1:20 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
Quote
quote:
Originally posted by LK:
good job laugh

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.

#200412 06/22/2003 3:24 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
hey LK, what would those few lines be? smile

#200413 06/23/2003 6:36 AM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
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.


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
Morgan 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)