vForums Support > System Improvements :: Suggestions :: Implemented Suggestions :: > Hidden Field - UBBC ?

Hidden Field - UBBC ? - Posted By Dreg[Bot] (dregondrahl) on 1st Jan 08 at 6:49pm
Why not allow UBBC for it ? May be useful for somethings ? not sure what things tho {Tongue Out}

Re: Hidden Field - UBBC ? - Posted By Michael (wrighty) on 1st Jan 08 at 8:17pm
The hidden field, is hidden... therefore no one will see it... what's the point? {Tongue Out}

Re: Hidden Field - UBBC ? - Posted By Dreg[Bot] (dregondrahl) on 1st Jan 08 at 8:33pm
>.> your thinking too small. say the biography thing, or even an RPG code. you can add images, and tags and it will be output as HTML. I'm doing a Concept code for biographies using it, so if people can add images, they can make it instead an image gallery for sigs and such. or they can use it for biographies and add data the way they want with customization and security.

Re: Hidden Field - UBBC ? - Posted By Michael (wrighty) on 1st Jan 08 at 8:48pm
hmmm ok... fair enough...

Wouldn't you need to make it HTML anyway?

Re: Hidden Field - UBBC ? - Posted By Marc (cr0w) on 1st Jan 08 at 9:20pm
 
hmmm ok... fair enough...

Wouldn't you need to make it HTML anyway?


That's what the UBBC parser does. {Wink}

I like this idea, Dregond; sounds useful. {Smile}

Re: Hidden Field - UBBC ? - Posted By Ross (admin) on 1st Jan 08 at 11:49pm
The value is now passed through the UBBC parser before being outputted {Smile}

Re: Hidden Field - UBBC ? - Posted By Dreg[Bot] (dregondrahl) on 1st Jan 08 at 11:54pm
YAYY! *tackles and huggles Ross*

Tho on this note, Coders should use {} instead of [] for addon codes >.>

Re: Hidden Field - UBBC ? - Posted By Michael (wrighty) on 1st Jan 08 at 11:56pm
*changes code* {Tongue Out}

I'll do that too Dreggie !:)

Re: Hidden Field - UBBC ? - Posted By Dreg[Bot] (dregondrahl) on 2nd Jan 08 at 12:06am
Hmm i'm only having one bug with it so far >.> any recarrige / new lines, its parsed the right way, but when you go back to the modify profile they become \n for textarea tags.

Re: Hidden Field - UBBC ? - Posted By Ross (admin) on 2nd Jan 08 at 12:07am
 
Hmm i'm only having one bug with it so far >.> any recarrige / new lines, its parsed the right way, but when you go back to the modify profile they become n for textarea tags.


Can you link me to it?

Re: Hidden Field - UBBC ? - Posted By Michael (wrighty) on 2nd Jan 08 at 12:07am
Forum Link? {Tongue Out}

Ross wins! {Sad}

Re: Hidden Field - UBBC ? - Posted By Ross (admin) on 2nd Jan 08 at 12:13am
 
Forum Link? {Tongue Out}

Ross wins! {Sad}


I always win {Tongue Out}

Re: Hidden Field - UBBC ? - Posted By Dreg[Bot] (dregondrahl) on 2nd Jan 08 at 12:15am
http://samus.virtualforums.co.uk/action/view_profile/user/dregondrahl/

Smiley

Re: Hidden Field - UBBC ? - Posted By Ross (admin) on 2nd Jan 08 at 12:27am
So you want them to be outputted as "\r\n". If so, it should be doing that now {Smile}

Re: Hidden Field - UBBC ? - Posted By Dreg[Bot] (dregondrahl) on 2nd Jan 08 at 12:49am
Not exactly Ross. In the signature area when you go [Enter] it goes to a new line, and if you do that like 3 times it goes like this


Here, now when you see the sig on the profile page the gap is there, and when you return to the modify profile page the gap is still there.

But for this field, instead of phrasing the new lines as an gap

Its outputting it as a '\n' In the modify profile page.

so the textarea to be

BURP

Burp


But now its showing it as

BURP\nBurp

Which is wrong ....right ?

Re: Hidden Field - UBBC ? - Posted By Ross (admin) on 2nd Jan 08 at 10:08am
OK, I think I get what you mean. I've changed it again if you want to see if that's any good.

Re: Hidden Field - UBBC ? - Posted By Dreg[Bot] (dregondrahl) on 2nd Jan 08 at 2:36pm
YEsh its doing it the right way, but iv been testing it a bit and now i see what the problem was. You did it right the first time, the thing, it didn't go to a new line because your replacing the \ (slashs) with their HTML equivalent, thats why it didn't go to a new line XD

Re: Hidden Field - UBBC ? - Posted By Dreg[Bot] (dregondrahl) on 2nd Jan 08 at 3:58pm
Actually ill do some testing, and i'll get back. I'm so sorry for ll the trouble. this time ill make sure how it will be done {Smile}

Re: Hidden Field - UBBC ? - Posted By Dreg[Bot] (dregondrahl) on 2nd Jan 08 at 4:32pm
Okay confirmed, the first way is fine {Smile} i will convert the \n to its proper way using RegExp .replace(/\\n/g,"\n")

So set it the way you did the first time {Smile}

Re: Hidden Field - UBBC ? - Posted By Dreg[Bot] (dregondrahl) on 2nd Jan 08 at 7:15pm
Perfect! Thanks Ross! *tackles* YAYY! Smiley

{Grin} {Grin} {Grin}

Re: Hidden Field - UBBC ? - Posted By Michael (wrighty) on 2nd Jan 08 at 7:26pm
4 posts in a row enough? {Tongue Out}

Re: Hidden Field - UBBC ? - Posted By Ross (admin) on 2nd Jan 08 at 7:27pm
Dreggie gets away with anything {Kiss}

Re: Hidden Field - UBBC ? - Posted By Dreg[Bot] (dregondrahl) on 2nd Jan 08 at 7:28pm
Ross didn't have to post {Tongue Out}

I live outside his window {Cool}