Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Projects > The Bug Tracker > Bug

Notices

Friend Request problem Issue Tools
issueid=27 02-01-2013 11:49 AM
Member
Friend Request problem
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
Issue Details
Project The Bug Tracker
Category Unknown
Status Fixed
Priority 9
Affected Version Mys v1.3.2
Fixed Version Mys v1.3.3
Users able to reproduce bug 1
Users unable to reproduce bug 0
Assigned Users (none)
Tags (none)

02-02-2013 03:10 PM
Administrator, Lead Coder
 
Here's a simple fix of this glitch. Go to friends.php and find this if statement:

PHP Code:
if($mysidia->user->status->canfriend == "no"){
   
// The user has no privilege to use the friend system
   
$mysidia->page->addcontent($lang->banned);

Add below:

PHP Code:
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.
Reply
02-03-2013 09:17 AM
Member
 
Thank you!!! it works perfectly =D
Reply
02-04-2013 09:05 PM
Administrator, Lead Coder
 
Great, glad it works. ^^
Reply
Reply

Issue Tools
Subscribe to this issue

All times are GMT -5. The time now is 04:49 PM.

Currently Active Users: 467 (0 members and 467 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636