Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> v2.3 RN Issues
Author Message
Palbin
Site Admin



Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania

PostPosted: Wed Oct 29, 2008 8:14 pm Reply with quote

When creating or editing a group in the group admin area it allows you to enter a username to a user that does not exist. If a moderator is not set it will give a sql error in the forum admin when using this group.


Possible Solution:

BETWEEN LINES 21 & 22 OF NSNGroupsEditSave.php ADD
Code:
if ($db->sql_numrows($db->sql_query('SELECT username FROM ' . $user_prefix . '_users WHERE username=\'' . $mname . '\'') == 1)){

   $mname = $mname;
} else {
   $mname = '';
}


BETWEEN LINES 18 & 19 OF NSNGroupsAddSave.php ADD
Code:
if ($db->sql_numrows($db->sql_query('SELECT username FROM ' . $user_prefix . '_users WHERE username=\'' . $mname . '\'') == 1)){

   $mname = $mname;
} else {
   $mname = '';
}
 
View user's profile Send private message
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6432

PostPosted: Thu Oct 30, 2008 10:54 pm Reply with quote

Interesting catch. We'll investigate and hopefully resolve in the next update.

_________________
I search, therefore I exist...
nukeSEO - nukeFEED - nukePIE - nukeSPAM - nukeWYSIWYG
 
View user's profile Send private message
montego
Site Admin



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

PostPosted: Sat Nov 08, 2008 5:06 pm Reply with quote

Was this entered into Mantis?

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



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Sat Nov 08, 2008 8:32 pm Reply with quote

Not to my knowledge, It needs to be tested by someone who uses NSNGroups. I do not.
 
View user's profile Send private message
Display posts from previous:       
Post new topic   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> v2.3 RN Issues

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 ©