Run this query in phpMyAdmin to add the "messages" option to the list of permissions in the admins section:
PHP:
ALTER TABLE `cms_admins` ADD `radminmessages` TINYINT( 4 ) DEFAULT '0' NOT NULL ;
To allow users to modify the messages, open your admin/modules/messages.php file and change line 17 from:
PHP:
if (!can_admin()) { die('Access Denied'); }
to:
PHP:
if (!can_admin('messages')) { die('Access Denied'); }
And lastly, to show the messages link in the administrator menu, open admin/links/adlnk_main.php and cut lines 58 and 59 and paste them at the end of the file. Then put around them:
PHP:
if (can_admin('messages')) { }
So, the end of this file should look like:
PHP:
if (can_admin('messages')) { $menuitems['_AMENU3'][_MESSAGES]['URL'] = adminlink('messages'); $menuitems['_AMENU3'][_MESSAGES]['IMG'] = 'messages'; }
Created: Sunday, December 31, 2006 (20:40:39) by Dizfunkshunal
All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners We are not responsible for comments posted by our users, as they are the property of the poster. Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
This page generated in 0.2107 seconds with 12 DB Queries in 0.0159 seconds Memory Usage: 1.48 MB
Interactive software released under GNU GPL,
Code Credits,
Privacy Policy