Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x
Author Message
rebelt
Worker
Worker



Joined: May 07, 2006
Posts: 172

PostPosted: Sat Feb 25, 2012 9:48 am Reply with quote

Messages
In version 2.4 I used this code so admins can create and edit messages without being super users.
In 2.5, admin/modules/messages.php has changed considerably.
Is there a way to achieve the same result in 2.5?

_________________
I wish I knew what I was doing LOL 
View user's profile Send private message Visit poster's website
nuken
RavenNuke(tm) Development Team



Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina

PostPosted: Sat Feb 25, 2012 1:55 pm Reply with quote

You should be able to do all the changes except the ones mention for admin/modules/messages.php and is should work. The admin/modules/messages.php already determines if the user is a mod_admin and no changes should be needed to it.

Edit:

In admin/modules/messages.php find:
Code:


if (is_mod_admin('admin')) {


and change to:
Code:


if (is_mod_admin('admin') or is_mod_admin('messages')) {

_________________
Tricked Out News 
View user's profile Send private message Send e-mail Visit poster's website
rebelt







PostPosted: Sun Feb 26, 2012 3:42 am Reply with quote

Thank you. Now works Smile
 
montego
Site Admin



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

PostPosted: Thu Nov 29, 2012 6:22 am Reply with quote

Just an fyi that I let my blog domain expire and the content referenced above was moved to:
[ Only registered users can see links on this board! Get registered or login! ]

_________________
Where Do YOU Stand?
HTML Newsletter::ShortLinks::Mailer::Downloads and more... 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x

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 ©