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
Donovan
Client


Joined: Oct 07, 2003
Posts: 735
Location: Ohio

PostPosted: Fri Feb 17, 2006 3:34 pm Reply with quote Back to top

Is it possible to develop a custom module and have it display in the Modules Administration menu versus the Administration Menu? How do you develop custom Nuke modules and give access to users without giving them superusers accounts?
View user's profile Send private message Visit poster's website ICQ Number
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Fri Feb 17, 2006 9:35 pm Reply with quote Back to top

Yes. Put the admin file in an admin directory under the module, rather than on the site admin file. You can create admin users without giving them full access to your nuke administration - you just specify those modules to which they have access. They will need to access your admin page, but they won't see anything other than the modules to which you've granted them admin access.
View user's profile Send private message
Donovan
Client


Joined: Oct 07, 2003
Posts: 735
Location: Ohio

PostPosted: Fri Feb 17, 2006 10:57 pm Reply with quote Back to top

My structure is like this:

html/admin/links/links_milpacs.php
html/admin/case/case_milpacs.php
html/image/admin/milpacs.png
html/modules/MILPACS/admin/index.php
etc

and so on.

I did not create a file under

html/admin/modules/milpacs.php

As I think you meant.

Can you be more descriptive when you say

"admin file in an admin directory under the module"

Currently all my admin files are in my module except for my case and link.
View user's profile Send private message Visit poster's website ICQ Number
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Sat Feb 18, 2006 7:49 am Reply with quote Back to top

Moving the case and links to the module moves it from administration to modules administration, and allows you to assign admin users to that module in later versions of PHP-Nuke.

When you move the files, you can rename like:
html/admin/links/links_milpacs.php -> html/modules/milpacs/admin/links.php
html/admin/case/case_milpacs.php -> html/modules/milpacs/admin/case.php
View user's profile Send private message
Donovan
Client


Joined: Oct 07, 2003
Posts: 735
Location: Ohio

PostPosted: Sat Feb 18, 2006 8:00 pm Reply with quote Back to top

Thanks...I didn't think it was that easy.
View user's profile Send private message Visit poster's website ICQ Number
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