Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN NSN Groups Issues
Author Message
kdunbar
New Member
New Member



Joined: Apr 08, 2007
Posts: 2

PostPosted: Tue Aug 19, 2008 1:38 am Reply with quote

I have a need to not only restrict access to some download categories to certain groups, but to disallow those categories to be viewed by anybody else. Currently, even if you disable a category, it's still visible.

My thought was to duplicate the Downloads module (call it Staff_Downloads),
create a new set of nsngd tables (*_staff_nsngd_*), create a staff_nsngd_func.php file, and away I go.

Downloads module works as expected, I just enable that module for the staff group, and nobody else can then see it. My problem is that the second admin menu I get for Staff Downloads operates against the original tables.
I've made some edits on $module_name="Staff_Downloads" but it seems that any php?op= (such as DLMain) works against the original tables. (even though I have all the table edits done in the code, and module name is correct, and the paths are correct...etc.

I'm not sure I understand the admin.php?op=DLMain enough to trouble shoot this. What have I missed in order for the admin menu downloads to work against the new staff_nsngd tables?

Thanks in advance.
 
View user's profile Send private message
montego
Site Admin



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

PostPosted: Tue Aug 19, 2008 6:41 am Reply with quote

kdunbar, unfortunately, when there is an admin module, you must also change all the op codes for the second copy. See your Staff_Downloads/admin/case.php file for what I mean. You have to change them in that file as well as in the admin/index.php which passes those op codes in the form actions and URLs.

_________________
Where Do YOU Stand?
HTML Newsletter::ShortLinks::Mailer::Downloads and more... 
View user's profile Send private message Visit poster's website
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN NSN Groups Issues

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 ©