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 -> phpnuke 7.8
Author Message
neggard
Hangin' Around



Joined: Jan 20, 2006
Posts: 40
Location: Seden

PostPosted: Thu May 18, 2006 6:18 pm Reply with quote

When I edit an admin I can give him access to different categories like
content, FAQ and Forums... and lots of more

When I add a new module, whats should I do to get it in this space so I can give the admin access to use this module?
 
View user's profile Send private message MSN Messenger
montego
Site Admin



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

PostPosted: Fri May 19, 2006 5:51 am Reply with quote

Sorry for this seemingly stupid question: does the module have an admin section? I mean, for you logged in as the god admin, do you see the icon/link in the administration control panel? If you do, please post the code from the admin/links.php so I can take a look at it.

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







PostPosted: Fri May 19, 2006 7:02 am Reply with quote

No I installed amxbans (counter-strike bansystem) like a module.
The only thing that is important is that the people I want should be able to see the link in the menu.

So what is needed to make this?
Maybe I can make a nasty hack just to make this work.
 
montego







PostPosted: Fri May 19, 2006 7:41 am Reply with quote

Ok, that is in the Modules configuration. Edit that module and set it to whatever group of user you wish to see it and don't forget to check the box "Show in Modules block" option.
 
neggard







PostPosted: Fri May 19, 2006 7:53 am Reply with quote

What files do I need to edit?

btw. Nice website you have.
 
neggard







PostPosted: Fri May 19, 2006 2:40 pm Reply with quote

I have found out that I need case.php and links.php in the adminfolder.
Then my custom made module is show up in the right place but would it give the user access to see the link?

I am a little bit confuse about the _modulename
What does it do and do I need it in other place too?
 
montego







PostPosted: Sat May 20, 2006 12:24 am Reply with quote

What is sounded like you wanted to do is make it available on your modules block, so all you have to do is go into the Administration control panel, select "Modules" and edit it to possibly be visible to "Administrators Only". Your module does not have an administrative feature to it, so you don't need to create anything under the module admin folder.
 
neggard







PostPosted: Sat May 20, 2006 10:54 am Reply with quote

Montego thats correct and its working.
But it is possible to login as normal and still se that link, just to avoid login at two place at once. (normal and admin login)
 
montego







PostPosted: Sat May 20, 2006 2:27 pm Reply with quote

Yes, that is possible, but not when you tell me that you want your "administrators" to only see it... If you still only truelly want your administrators to see this, they have to login ONLY with the admin login. They do NOT have to be logged in as both. That is what "Administrators Only" will do for you.
 
neggard







PostPosted: Sat May 20, 2006 7:14 pm Reply with quote

Thanks for all the help.

I have play with some test account and find out the best solution for me.
 
montego







PostPosted: Sun May 21, 2006 6:30 pm Reply with quote

Ok. Very good. Thank you for letting us know.

Regards,
montego
 
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 -> phpnuke 7.8

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 ©