View Full Version : Friend Request problem
kristhasirah
02-01-2013, 11:49 AM
visitors can send friend request
visitors can send friend request to the members, and the members only get a message they can't read and a friend request they can't accept
Hall of Famer
02-02-2013, 03:10 PM
Here's a simple fix of this glitch. Go to friends.php and find this if statement:
if($mysidia->user->status->canfriend == "no"){
// The user has no privilege to use the friend system
$mysidia->page->addcontent($lang->banned);
}
Add below:
elseif(!$mysidia->user->isloggedin){
// The user is not logged in, show generic login error message
$mysidia->displayerror("guest");
}
Note this bug is officially gone in Mys v1.3.3.
kristhasirah
02-03-2013, 09:17 AM
Thank you!!! it works perfectly =D
Hall of Famer
02-04-2013, 09:05 PM
Great, glad it works. ^^
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.