PHP Web Host - Quality Web Hosting For All PHP Applications Free RavenNuke(tm) Add Ons
  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
DaRube
New Member
New Member


Joined: Apr 26, 2005
Posts: 1

PostPosted: Tue Apr 26, 2005 3:20 pm Reply with quote Back to top

I recently displayed the Forum Topics Block on my site, but noticed that it displayed the 10 most recent topics without sensitivity to the permissions configured for the forums.

In my case, none of my forums are available to users who are not locked in, and several of them are hidden from users who don't belong to specific groups.

I would like to modify this block to filter topics according to the same permissions in effect for the forums.

I've looked at the ForumsCollapsing block available for download here, and I am hoping to go beyond that also, at least as far as the filtering is concerned.

In my first attempt to do this, I tried to leverage some of the existing code, such as the auth.php file, but I found that it had tons of dependencies to other files, variables, etc, and that approach became unwieldy.

Perhaps someone could explain for me how certain concepts are represented in the tables, and then I could do the programming:

1) What permissions does phpBB/phpNuke check to determine whether to display a forum to a user? In what order does it check them?

2) How do I determine which forums are visible to users who are logged in but not members of groups?

I'm sure I'll have more questions as I get into it.

If anyone is knowledgeable of the phpBB workings and would be willing to advise me more closely on this, send me a private message with an Instant Messenger ID and I'd be delighted to share the process.
View user's profile Send private message
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-2011 by Raven

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 Modified by the RavenNuke™ Team ::

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

zerosum