Previous Thread
Next Thread
Print Thread
Hop To
Anonymous
Unregistered
Anonymous
Unregistered
I had some of my forums marked as restricted viewing and decided to remove the restriction. When I did that all the postings disappeared. I put the restriction back in and they all displayed again. How can I remove the restriction and not lose the postings?

C. Young

[This message was edited by Charles Capps on June 03, 2003 at 11:46 AM.]

Anonymous
Unregistered
Anonymous
Unregistered
This isn't a bug - it's a security feature.

Yes, the behavior does seem a little wrong, but it's as designed. Here's the story.

In the early days of the UBB, the topics were stored as .html files. You could easily find a topic by looking for a numbered .html directory in a forum directory, i.e. NonCGI/Forum1/HTML/000000.html

When it came time to implement private forums, this feature became a liability - anyone could easily explore any forum directory and find topics.

The solution was to store the topic data files and topic .html files in different directories. So, when you switch the forum from one mode to another, the actual place that the data is stored changes, which is why the topics seem to disappear and reappear.

In the 6-series, all requests go through the scripts, so technically, the different private fourm directories are no longer required. However, we've held off on changing the behavior because of a number of other potential quirks... for instance, what would happen if a forum contained topics in both private and public mode, and the two were merged? Would the current mode take over, completely destroying the topics in the other mode? Would they be merged?

Anyway... For now, the solution is to use the Move Topics tool to move all the topics from your private forum to a new public forum. You should then probably delete the old private forum completely.

(Previously I've advised just making the old private forum public, then moving the topics back in, however this will result in worse bookmark breakage. If the forum is deleted, the user gets an error. If the topics are rearranged, the user will get a completely different topic instead. That's probably worse. <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" /> )

If you don't see a Move Topics tool under the Maintenance menu in your control panel, you'll need to upgrade to the latest release.

--
Charles Capps
UBB.classic™ Developer
Having problems? Open up a support ticket!


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
2 members (2 invisible), 721 guests, and 156 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240501)