Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> BBtoNuke Mods
Author Message
srhh
Involved
Involved



Joined: Dec 27, 2005
Posts: 296

PostPosted: Wed Aug 16, 2006 5:01 pm Reply with quote

I'm having a problem with forums permissions and the main center forums block on my front page.
I'm trying to get it so that only the public forums are viewable on the main forums block to anonymous users, then when the user logs in then the rest of the member forums become viewable on the block.
I've tried everything, what am I missing?


Last edited by srhh on Mon Sep 04, 2006 5:13 pm; edited 2 times in total 
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce



Joined:
Posts: 5661

PostPosted: Wed Aug 16, 2006 5:11 pm Reply with quote

mmm,the first step is to make sure everything is set as it should in your forum administration/config...

second step is to use the right block that reflects the forum settings....
not all of them do that...
but your forum config determines the viewable rights...not your block.. Wink
 
View user's profile Send private message
srhh







PostPosted: Wed Aug 16, 2006 5:27 pm Reply with quote

Thanks, I'll try a few different blocks. Smile
 
srhh







PostPosted: Wed Aug 16, 2006 6:14 pm Reply with quote

Hmmm, well I've tried a few and no luck. Any suggestions to point me in the right direction?
So, theoretically, I would need to set the View and Read permissions both for registered members for this to work, right? Just want to make sure I'm at least doing that right.

Bang Head
 
srhh







PostPosted: Tue Aug 22, 2006 5:40 pm Reply with quote

*bump*
 
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Wed Aug 23, 2006 7:08 am Reply with quote

It is possible that the particular block that you are using will not work that way. Have you tried Raven's Collapsing Forums block?

_________________
Where Do YOU Stand?
HTML Newsletter::ShortLinks::Mailer::Downloads and more... 
View user's profile Send private message Visit poster's website
srhh







PostPosted: Wed Aug 23, 2006 10:14 am Reply with quote

Well, I've tried several different blocks. I'll give Raven's a shot, but I'm ideally looking for a non-collapsing type of block.
 
srhh







PostPosted: Mon Sep 04, 2006 5:11 pm Reply with quote

Well, I tried all the blocks I could and none worked, so I came up with my own workaround and just posting it here in case anyone else has the same issue.
I made a copy of the forums block I'm using now and renamed it something else. I changed this setting in the block file:
$HideViewReadOnly = 0;
Setting it to zero seems to override the permission settings in the forums, so no matter what, the public and members forum posts show up in the block. I activated this block and set it to be viewable to registered members only.
Then I set the second forums block to $HideViewReadOnly = 1, so it picks up the forums permissions in phpbb and then set the block to only be viewable to anonymous users so only the one public forum is viewable to anonymous users before they log in.
Yay!
 
montego







PostPosted: Tue Sep 05, 2006 6:16 am Reply with quote

Innovative! Thanks for sharing this.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> BBtoNuke Mods

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©