Author |
Message |
merc11
New Member


Joined: Jan 31, 2006
Posts: 5
|
Posted:
Tue Jan 31, 2006 1:19 am |
|
When adding a new module like "NuCalendar", I can't get it to show up in the admin section as a selection to give a new admin access to. Is there a work around for this, or a way to get it to show up?
Any help is appreciated. Thanks. |
|
|
|
 |
montego
Site Admin

Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Tue Jan 31, 2006 7:09 am |
|
merc11, What nuke version are you running as well as patch level? Also, having never used NuCalendar, I am not sure what versions are supported, but lets start with the above and go from there. |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
 |
merc11

|
Posted:
Tue Jan 31, 2006 3:23 pm |
|
Yeah, sorry, should have provided that info in the first post. I'm using PC-Nuke Max! v7.9.31c Only registered users can see links on this board! Get registered or login!, which is based off of PHP-Nuke v7.9. I asked this question on their board and was directed here. The moderator there said the solution would be the same for both. The version of NuCalendar is .65, included with PC-Nuke Max, or the website for NuCalendar is Only registered users can see links on this board! Get registered or login!. If you know of another calendar that would work i'm also open to suggestions. The calendar will be the main draw for the site i'm doing. I want to give access to admins, but aviod having to make them superusers in order to use it (which is the only way to give them access currently). |
|
|
|
 |
montego

|
Posted:
Tue Jan 31, 2006 3:48 pm |
|
merc11, do this (I don't use 7.9, nor will I download it... personal reasons related to FB): compare modules/NuCalendar/admin/links.php with modules/Content/admin/links.php. Do they look similar in how they are calling the adminmenu function? |
|
|
|
 |
merc11

|
Posted:
Tue Jan 31, 2006 4:58 pm |
|
montego wrote: | merc11, do this (I don't use 7.9, nor will I download it... personal reasons related to FB): compare modules/NuCalendar/admin/links.php with modules/Content/admin/links.php. Do they look similar in how they are calling the adminmenu function? |
There isn't an admin folder in the modules/NuCalendar/ folder, or a file called links.php anywhere in that folder. Something interesting I noticed is when i'm on the administration page, the calendar shows up under the "Administration Menu", not under the "Modules Administration" menu. I'm assuming the "Administration Menu" is reserved for functions only a superuser has access to. Maybe this is why it's not an option when adding modules a regular admin has access to. It may not be implemented correctly... ? It almost seems like that may be the case, and if so i'm sorry for wasting your time. |
|
|
|
 |
montego

|
Posted:
Tue Jan 31, 2006 7:44 pm |
|
No, no need to be sorry. I was assuming that what you found was already made to work with the new module admin structure introduced in version 7.5. Not an issue. How about then comparing admin/modules/links.nucalendar.php (if that is the name) with something like admin/modules/links.newsletter.php? |
|
|
|
 |
merc11

|
Posted:
Tue Jan 31, 2006 8:07 pm |
|
Ok, i'm trying to compare nucalendar.php to newsletter.php, both found in the admin/modules/ folder. I looked for adminmenu, admin menu, nothing found for that. I'm not quite sure what i'm looking to compare between the two. Can you point me in the right direction? |
|
|
|
 |
montego

|
Posted:
Wed Feb 01, 2006 6:48 am |
|
merc11, ok, I now see what is going on. I was under the impression that you were saying the icon was not showing up in the Admin Control Panel for your other admins. Now I am understanding it better (my fault, not yours). I believe you are saying that the NuCalendar module is not showing up in the Edit Admins screen so you cannot add an admin with specific access to that module.
Unfortunately, it looks like the version of NuCalendar that you have is not made to work with 7.5 or greater. It must have the admin folder and respective scripts under it within the modules/nucalendar folder.
I would try this version of NuCalendar instead and see if it works with 7.9
http://www.ravenphpscripts.com/postp58625.html#58625 |
|
|
|
 |
merc11

|
Posted:
Wed Feb 01, 2006 5:23 pm |
|
Yes, the module doesn't show up as an option to give new admins access to. No problem, I may have not explained it clearly.
Anyway, looks like I'll probably be going to a more robust calendar solution anyway. Thanks for you help. |
|
|
|
 |
montego

|
Posted:
Wed Feb 01, 2006 6:57 pm |
|
merc11, we are looking for a possible calendar candidate for RavenNuke76, so if you find something good and integrated, please let us know (and provide a link to where we can review it).
Thanks! |
|
|
|
 |
sting
Involved


Joined: Sep 23, 2003
Posts: 456
Location: Somewhere out there...
|
Posted:
Wed Feb 01, 2006 11:48 pm |
|
I would suggest Kalendar actually, haven't gone through the code to ensure FIEO but it is a really nice package that was easy to install under 7.6.
-sting |
|
|
 |
 |
utssace
Worker


Joined: Feb 18, 2006
Posts: 155
Location: Virginia
|
Posted:
Sat Feb 18, 2006 6:16 pm |
|
Thanks, this helped me. For me, the icon was not showing up in the admin panel for mini admins.
I changed the links.php file...
From this
Code:if (($radminsuper==1) OR ($radminlink==1)) {
adminmenu("admin.php?op=NuCalendar", "NuCalendar", "nucalendar.gif");
}
|
To this
Code:if (!defined('ADMIN_FILE')) {
die ("Access Denied");
}
global $admin_file;
adminmenu("".$admin_file.".php?op=NuCalendar", ""._NuCalendar."", "nucalendar.gif");
|
It worked fine for me. |
|
|
|
 |
|