Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 12-17-2014, 01:08 AM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 110,881
Kyttias is on a distinguished road
Default Profile Bio Box

I'm not even sure where I wanted to post this thread, but, here goes -

I'm having my gf finally do some alpha testing on my site and she decided she'd use the bio box on the profile to list off things she wants me to change. Or she tried to, anyway.

We both agreed there are two big issues with this particular part of the site:
  • Linebreaks are impossible, even if you shift-enter down to a new line.
  • HTML is impossible, so you can't use it to make your linebreaks.
  • Triple backslashes are attacking the apostrophes, lol.

It's okay and understandable that HTML isn't allowed, for security reasons! As an alternative, I feel that BBCode should be introduced to this box in the future and for linebreaks to be respected.

But those triple backslashes, man. What is even going on?
__________________
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.
Reply With Quote
  #2  
Old 12-19-2014, 05:42 PM
Abronsyth's Avatar
Abronsyth Abronsyth is offline
A Headache Embodied
 
Join Date: Aug 2011
Location: NY
Posts: 1,011
Gender: Male
Credits: 133,144
Abronsyth is on a distinguished road
Default

It could be that ' is used in coding, and it's conflicting with said code. Some coding/sites, I've noticed, are touchy about this, myisida being one of those.

This page is directed at Wordpress, but might help:
http://www.puravidamultimedia.com/ap...-magic-quotes/
__________________
My Mods Site (1.3.4, 2020 Mods)
Reply With Quote
  #3  
Old 12-19-2014, 06:01 PM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 110,881
Kyttias is on a distinguished road
Default

Not really.

I think I found a fix, however. In classes/class_userprofile.php, replace
PHP Code:
      $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}"
__________________
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; 01-09-2015 at 11:32 PM.
Reply With Quote
  #4  
Old 12-22-2014, 10:07 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 488,241
Hall of Famer is on a distinguished road
Default

Well the older script used to have BBCode, but since the introduction of CKEditor it has been phased out. If you like BBCode though, I may consider making it an option in Mys v1.4.0, just like Plain Text and CKEditor.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #5  
Old 12-22-2014, 11:55 PM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 110,881
Kyttias is on a distinguished road
Default

CKEditor would work, too, so long as it's not too overwhelming. No need for a surplus of buttons on a comment page like that (think like how the quick replies are done here).
__________________
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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Profile Pictures >.< parayna Questions and Supports 2 12-18-2014 10:49 AM
A Little Problem with the Profile Abronsyth Questions and Supports 1 01-29-2013 07:38 PM
Error with profile.php Aasixx Questions and Supports 5 10-20-2012 07:08 PM
Profile Add-Ons :3 PTGigi Mys v1.1.x Mods 9 02-17-2011 03:48 PM
Last 10 visitors to your profile! Hall of Famer Other Chat 8 01-21-2011 06:20 PM


All times are GMT -5. The time now is 06:27 AM.

Currently Active Users: 741 (0 members and 741 guests)
Threads: 4,081, Posts: 32,031, 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