[BUG] code-level profile editor - Anime-Planet forum
Why register?

make an anime and manga list, and more! all free!

Theme
Old 06-05-2008, 02:23 PM   #1 (permalink)
Otaku
 
alexander's Avatar
 
Join Date: May 2008
Age: 30
Posts: 1,682
Default [BUG] code-level profile editor

The WYSIWYG editor for the site user profile sucks. I tried several times with different browsers and still can't figure out how to get the line breaks I want.

Also, if you save first with Safari and then Firefox, *without changing anyting*, line spacing will double.

Is there a way to disable it? I'd rather edit HTML or BBcode by hand.
alexander is offline   Reply With Quote
Old 06-05-2008, 04:47 PM   #2 (permalink)
Cross-eyed Cyclops
 
Drahken's Avatar
 
Join Date: Nov 2007
Location: 1985
Posts: 3,014
Default Re: [QUESTION] code-level profile editor

I think you can use bb code in it, but that doesn't really help since there's no bb code for a line break.
I see that when I try to make a linebreak by hitting enter to go to the next line, it leaves a doubled space, as though there were 2 line breaks.

I strongly doubt sothis will enable full bbcode or especially html, she's afraid people would abuse it & make the site wind up looking like the profiles on myspace. Still, the double line break thing is something that should be fixable.
__________________
*Warning: The above post may be highly opinionated, read it at your own risk.
Wham! Bam! It's the dino-jam!


Halloween Music
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Tag Definitions . | . Answers to Common Questions
Drahken is offline   Reply With Quote
Old 06-05-2008, 10:10 PM   #3 (permalink)
Experienced Anime Fan
 
AnarchicQ's Avatar
 
Join Date: Nov 2006
Posts: 693
Send a message via AIM to AnarchicQ Send a message via MSN to AnarchicQ
Default Re: [BUG] code-level profile editor

If you hit shift and enter, you should get a single linebreak.
AnarchicQ is offline   Reply With Quote
Old 06-05-2008, 10:25 PM   #4 (permalink)
Cross-eyed Cyclops
 
Drahken's Avatar
 
Join Date: Nov 2007
Location: 1985
Posts: 3,014
Default Re: [BUG] code-level profile editor

Well... Not really. I just tried that & it makes a normal line break while editting, but then those linebreaks don't remain after you save, it just all winds up on a single line.
__________________
*Warning: The above post may be highly opinionated, read it at your own risk.
Wham! Bam! It's the dino-jam!


Halloween Music
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Tag Definitions . | . Answers to Common Questions
Drahken is offline   Reply With Quote
Old 11-11-2008, 06:57 AM   #5 (permalink)
Otaku
 
alexander's Avatar
 
Join Date: May 2008
Age: 30
Posts: 1,682
Default Re: [QUESTION] code-level profile editor

Quote:
Originally Posted by Drahken View Post
I strongly doubt sothis will enable full bbcode or especially html, she's afraid people would abuse it
Even if the form only allows limited formatting, it is easy to bypass and send anything to the server. So all input has to be cleaned before being stored, anyway, or you could wind up with bad people stealing the site accounts of users visiting their profile.

This means allowing HTML would not make abuse much easier. It can be done by adding 'code' to theme_advanced_buttons.

Last edited by alexander; 11-11-2008 at 07:40 AM. Reason: added links
alexander is offline   Reply With Quote
Old 11-11-2008, 08:00 AM   #6 (permalink)
MY DNA IS MADE UP OF ANIME
 
Oehr's Avatar
 
Join Date: Mar 2008
Location: Germany
Age: 21
Posts: 2,918
Send a message via ICQ to Oehr Send a message via AIM to Oehr Send a message via MSN to Oehr Send a message via Yahoo to Oehr
Default Re: [BUG] code-level profile editor

i dont like the editor in your account options. its just so... stupid to handle. adding links in a popup, not textbased only(like on the boards) and those line breaks are really annoying as the arent just linebreaks because they are doubled... please - a new editor with full v3!!! PLEASE
Oehr is offline   Reply With Quote
Old 11-11-2008, 08:48 AM   #7 (permalink)
Overlord
 
sothis's Avatar
 
Join Date: May 2002
Location: Seattle, Washington
Age: 32
Posts: 15,699
Default Re: [BUG] code-level profile editor

tinymce is the best wysiwyg editor that exists, so we will continue to use it for v3.

we will not be allowing html or bbcode in the near future. i'll consider it for later on, depending on how much funding there is to develop minor parts of the site.

as for the double line break, that's very odd and the cleaning function in place should fix it. i'll look into that soon as a bug. as for the line breaks in general, hitting enter = line break, that's how i chose to set things up by design. it's not possible to put in multiple line breaks in a row.

if it makes you feel any better, the other wysiwygs available are a lot worse. most of them completely break on safari/opera, and tinymce works the 'best' for cross browser compatibility. if any of you want to go do some research and find out if the other major php-based wysiwygs are now solid on cross browser compat, i'll consider switching.
__________________

Anime-Planet.com - anime | manga | reviews

Adding Anime - Synopsis Templates | Twitter | MySpace

[sixth sense voice] I SEE BRITISH PEOPLE - Control my signature or avatar!
sothis is offline   Reply With Quote
Old 11-11-2008, 10:13 AM   #8 (permalink)
Otaku
 
alexander's Avatar
 
Join Date: May 2008
Age: 30
Posts: 1,682
Default Re: [BUG] code-level profile editor

Quote:
Originally Posted by sothis View Post
we will not be allowing html or bbcode in the near future.
As I said, HTML could be allowed in seconds, though documenting what will get past the cleaner might take longer.
BBcode would be a huge amount of work as the available TinyMCE plugin is designed to use it for the backend, not the form.

Quote:
hitting enter = line break, that's how i chose to set things up by design.
You mean typing return results in <p>.
I just noticed a <br> in my profile, no idea where that comes from.

Quote:
it's not possible to put in multiple line breaks in a row.
But that'd be great to divide my bio into sections!
alexander is offline   Reply With Quote
Old 11-11-2008, 10:14 AM   #9 (permalink)
Overlord
 
sothis's Avatar
 
Join Date: May 2002
Location: Seattle, Washington
Age: 32
Posts: 15,699
Default Re: [BUG] code-level profile editor

what i saw when i didnt clean up multiple line breaks is ridiculous amounts of space and not on purpose.

html is absolutely not going to be allowed because it's a massive security hole, and we dont have the bandwidth to create a robust cleaner function right now.
__________________

Anime-Planet.com - anime | manga | reviews

Adding Anime - Synopsis Templates | Twitter | MySpace

[sixth sense voice] I SEE BRITISH PEOPLE - Control my signature or avatar!
sothis is offline   Reply With Quote
Old 11-11-2008, 10:21 AM   #10 (permalink)
Otaku
 
alexander's Avatar
 
Join Date: May 2008
Age: 30
Posts: 1,682
Default Re: [BUG] code-level profile editor

Quote:
Originally Posted by sothis View Post
html is absolutely not going to be allowed because it's a massive security hole, and we dont have the bandwidth to create a robust cleaner function right now.
It's your decision, I won't nag. But remember that without a cleaner you already have the security hole, it's just a teensy bit harder to exploit. The link to TinyMCE I posted says as much.
alexander is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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
Trackbacks are Off
Pingbacks are Off
Refbacks are On



All times are GMT -7. The time now is 10:35 AM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0