Previous Thread
Next Thread
Print Thread
Rate Thread
#231209 12/29/2002 9:47 PM
Joined: Oct 2002
Posts: 165
Member
Member
Offline
Joined: Oct 2002
Posts: 165
Here I go again. Everyone wants an option and I would rather not. I have sponsors for my site that often pay to have a custom look in the 'sponsored' forum. Now members have the option to collapse a catagory, which creates out of site, out of mind.

I can here my advertisers/sponsors telling me that it is to easy for members not to see the forum, since they can easily condense the catagory to which it belongs.

Is there a way I can fix the catagories to remain open, like that last version?

Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Easy template change.


In ubbthreads.tmpl template:

Find this:

{$catrow[$c]['ToggleLink']}


And either remove it, or comment it out like this:

<!--{$catrow[$c]['ToggleLink']} -->


Joined: Oct 2002
Posts: 165
Member
Member
Offline
Joined: Oct 2002
Posts: 165
This worked, but I got a report that someone collasped their board, now the option to open is gone... can I force this to "open" somehow?

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
[]This worked, but I got a report that someone collasped their board, now the option to open is gone... can I force this to "open" somehow? [/]

If you run this SQL query:

UPDATE w3t_Users
SET U_Categories = '-'

That should force everyone's categories open.... in case they closed them before you removed the button.

Joined: Apr 2002
Posts: 1,768
Addict
Addict
Offline
Joined: Apr 2002
Posts: 1,768
Josh's post reminded me that if you use the "Sort the category order" function from admin, that query will also get performed. That should happen even if you don't actually change the numbers.

Sponsored Links
Joined: Oct 2002
Posts: 165
Member
Member
Offline
Joined: Oct 2002
Posts: 165
Dave L,

Thanks. Waited and saw your reply. Much appreciated.

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
[]Josh's post reminded me that if you use the "Sort the category order" function from admin, that query will also get performed. That should happen even if you don't actually change the numbers. [/]

Well if you always want to do it the easy way. LOL


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:
Shock Hosting
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Zarzal
Zarzal
Berlin, Germany
Posts: 808
Joined: July 2001
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,824
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 3296
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 6
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
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-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260108)