Thread: Profilessss
View Single Post
  #2  
Old 12-19-2014, 12:49 PM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 92,543
Kyttias is on a distinguished road
Default

I literally brought this up in this same sub-forum two days ago. I have it written down in my to-do list as 'win the war against apostrophes', lol.

This and many, many other tiny tweaks is why my site is still months from being ready to go public.

-

edit: You can try this, however? I think this fixed it for me: In classes/class_userprofile.php, replace
PHP Code:
 $membersince $mysidia->db->select("users", array("membersince"), "username = '{$mysidia->input->get("user")}'")->fetchColumn();      
      
$basicinfo "<br><strong>Member Since:</strong> {$membersince}<br>
                    Gender: 
{$this->gender}<br>
                    Favorite Color: 
{$this->color}<br>
                    Nickname: 
{$this->nickname}<br>
                    Bio: 
{$this->bio}"
with
PHP Code:
 $str_bio stripslashes($this->bio);
      
$basicinfo "<br><strong>Member Since:</strong> {$membersince}<br>
                    Gender: 
{$this->gender}<br>
                    Favorite Color: 
{$this->color}<br>
                    Nickname: 
{$this->nickname}<br>
                    Bio: 
{$str_bio}"
Did you try that? Because stripslashes was exactly what was needed, just, there.
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it.

Last edited by Kyttias; 12-19-2014 at 05:04 PM.
Reply With Quote