|
|
#53968
07/04/2002 4:45 PM
|
Joined: Apr 2002
Posts: 111
Member
|
|
Member
Joined: Apr 2002
Posts: 111 |
Okay A hack I wrote for our 6.05 board - never released it because the coding wasn't exactly brilliant.
What it does:
In the User's profile, they have the option of which forums they want to hide. And an option for whether those should be hidden from Daily Topics aswell. And it has a default hide for guests aswell (via a wordlet) If you goto our boards and begin to register you'll see the options I mean. (although they were split into two boxes, but since adding and deleting forums it seems to have confused it)
What I did was to make HTML comments in the rows part that wrote each line for the forums. i.e
|
|
#53969
07/04/2002 5:07 PM
|
Joined: Dec 2000
Posts: 371
Member
|
|
Member
Joined: Dec 2000
Posts: 371 |
Awesome idea. I hope some good codehackers could make this work for 6.3 
|
|
|
#53970
07/04/2002 5:19 PM
|
Joined: Mar 2001
Posts: 644
Member
|
|
Member
Joined: Mar 2001
Posts: 644 |
I suggested this not long ago and it sounded like it would be pretty rough. But if it were possible... oh boy would my users love it. 
|
|
|
#53971
07/05/2002 3:30 AM
|
Joined: Apr 2002
Posts: 111
Member
|
|
Member
Joined: Apr 2002
Posts: 111 |
Thinking along some lines of how to improve it.
I guess the PHP accelerator could act as a SSI page.
Each forum row gets cached seperately.
And the PHP would be something like
if (in_array($f, $hidearray) == FALSE) { include("./$cache_path/forum_summary/Forumrow$f"); }
that could work without putting too much of a strain on the server. Not sure how it would work on the non-php side though. Thoughts?
|
|
|
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: 5,834
Joined: January 2000
|
|
|
Forums63
Topics37,583
Posts293,957
Members13,826
| |
Most Online151,614 Nov 14th, 2025
|
|
Currently Online 6013
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 14
|
|
|
|
|
|
|
|
 |
 |
 |