>>  Site Map >>  Forums >>  Modules 6x

Forum module - topics in forum:



Modules 6x - Discussions regarding PHP-Nuke Modules.



4ncalendar Administration

I have added 4ncalendar and what a great module, I have a question though

when in the Edit Admins Section > Modify Info

I want to give access to an administrator to accept posts for the calendar but it doesnt appear in the tick boxes to select it as a option, I dont want to make this person a superuser

were would I look to add this Confused ?

ta

Technochoc






Open the admin/links/link.4nCalender.php (or something like that not sure exactly what it will be) and post the code up here. Also post the name of the admins you want to give access to.






links.4ncalendar.php is as follows:

Code: :
<?php

/************************************************************************/
/* 4n Calendar Version 0.91 (german & english)                          */
/* for phpNUKE Version 6.5 - 6.8 (www.phpnuke.org)                      */
/* ==================================================================== */
/* By WarpSpeed (Marco Wiesler) (warpspeed@4thDimension.de) @ Aug/2oo3  */
/* http://www.warp-speed.de @ 4thDimension.de Networking                */
/* ==================================================================== */
/* Based on:                                                            */
/* Event Calendar                                                       */
/* ==============                                                       */
/* Author: Rob Sutton                                                   */
/* ==================================================================== */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License.       */
/************************************************************************/

if (($radminsuper==1) OR ($radminCalendarAdmin==1)) {
            adminmenu("admin.php?op=4nCalendarAdmin", "4nCalendar", "4ncalendar.gif");
}

?>


the admin user I want to add has username 'teresa'

Regards

Technochoc






Looking at the code I'd just change radminCalendarAdmin to something like radmintopic or some other insignificant section and give them privilidges for that in edit authors section.




Attention! You are currently viewing sitemap page!
We strongly suggest to look at original content

Search from web

Valid HTML 4.01 Valid CSS