php forum
php mysql forum
php mysql smarty
 
Topic Options
#200406 - 06/16/03 12:19 PM [6.5] Category Styles
lbritish Offline
Junior Member

Registered: 03/24/02
Posts: 14
Loc: Germantown, MD

   [6.5] Category Styles to Del.icio.us Add to del.icio.us
  Digg [6.5] Category Styles Digg it
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
_________________________
LBritish

Top
#200407 - 06/16/03 09:54 PM Re: [6.5] Category Styles
AllenAyres Administrator Online   content
I type Like navaho

Registered: 03/10/00
Posts: 25419
Loc: Texas
cool, thanks smile
_________________________
- Allen wavey
- What Drives You?

Top
#200408 - 06/17/03 11:24 AM Re: [6.5] Category Styles
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
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
_________________________
Code monkey like Fritos

Top
#200409 - 06/17/03 12:45 PM Re: [6.5] Category Styles
lbritish Offline
Junior Member

Registered: 03/24/02
Posts: 14
Loc: Germantown, MD
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
_________________________
LBritish

Top
#200410 - 06/17/03 12:57 PM Re: [6.5] Category Styles
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
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.
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#200411 - 06/17/03 01:20 PM Re: [6.5] Category Styles
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
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.
_________________________
Code monkey like Fritos

Top
#200412 - 06/22/03 03:24 PM Re: [6.5] Category Styles
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
hey LK, what would those few lines be? smile
_________________________
Code monkey like Fritos

Top
#200413 - 06/23/03 06:36 AM Re: [6.5] Category Styles
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
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.
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top


Moderator:  Charles, Gizmo 
Top Posters Last 30 Days
AllenAyres 20
Gizmo 10
blaaskaak 2
S7ARBVCK 2
Iann128 1
Claus1 1
M4D 1
Who's Online
1 Registered (AllenAyres), 33 Guests and 7 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Security Patch released for all 7.x versions
by AllenAyres
Today at 08:00 PM
What do you use to edit the files
by AllenAyres
Today at 07:54 PM
Team UBBDev Rides Again!
by AllenAyres
Today at 07:32 PM
Here I am! Rock me like a Hurricane!
by AllenAyres
Today at 07:20 PM
BeyondCompare v3.00
by AllenAyres
Today at 07:16 PM
[7.3.1] add search to showmembers page
by AllenAyres
Today at 07:13 PM
Noob - need help, or a reality check!
by Gizmo
09/04/08 03:21 AM
New Mods
[7.3.1] add search to showmembers page
by blaaskaak
Today at 04:50 AM
Installing FlashChat with 7.3
by Paug
08/23/08 12:14 AM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.2.1] - Naked shoutbox
by sirdude
08/17/07 10:36 PM
[7.x] Generic Page Outside of forum directory
by
01/14/07 10:58 PM
Newest Members
veedubb8, twentyseven, Claus1, welcomeback1, Paug
13327 Registered Users

 

 

 
fusionbb message board php hacks