PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
srhh
Involved
Involved


Joined: Dec 27, 2005
Posts: 296

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

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
persona_non_grata



Joined:
Posts: 0

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

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
Involved
Involved


Joined: Dec 27, 2005
Posts: 296

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

Thanks, I'll try a few different blocks. Smile
View user's profile Send private message
srhh
Involved
Involved


Joined: Dec 27, 2005
Posts: 296

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

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
View user's profile Send private message
srhh
Involved
Involved


Joined: Dec 27, 2005
Posts: 296

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

*bump*
View user's profile Send private message
montego
Site Admin


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

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

It is possible that the particular block that you are using will not work that way. Have you tried Raven's Collapsing Forums block?
View user's profile Send private message Visit poster's website
srhh
Involved
Involved


Joined: Dec 27, 2005
Posts: 296

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

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.
View user's profile Send private message
srhh
Involved
Involved


Joined: Dec 27, 2005
Posts: 296

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

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!
View user's profile Send private message
montego
Site Admin


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

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

Innovative! Thanks for sharing this.
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum