_________________ Famous people never give their signature http://www.cpgnuke.com <- back online thanks to dedicatednow.com
Don't ask me to be admin on your site please
Calim Private
Joined: Feb 25, 2004
Posts: 47
Location: In space with my tortilla Chips
Posted:
Wed Feb 25, 2004 1:25 pm
Ahhhh, nope I need it for PHP-Nuke, not CPG-Nuke. And I was kinda looking for it to take out the need of html so that it automatically puts the spaces the way you type it.
Example: (Now)
Hi,
My names bob
What I get: (Now)
Hi, My names bob
Thats what I get if I don't use html in an html needed php-nuke area.
Example:(What I'm talking about)
Hi,
My names bob
What I get:(What i'm talking about_
Hi, My names bob.
you see? I want to totally eliminate that need of html or bbcode for less security issues!
djmaze Captain
Joined: Nov 29, 2003
Posts: 566
Location: Netherlands
Posted:
Wed Feb 25, 2004 2:18 pm
CPG-Nuke is almost the same as PHP-Nuke and you can mostly use the code in PHP-Nuke that's why i tell you this.
Eliminate HTML is easy
Converting newlines to <br> is also easy
Using BBcode easy as well
Now the part you need to be aware of is converting it back as well when you want to "edit" the message.
So the best to do that is before print() and not when you save the code in database.
_________________ Famous people never give their signature http://www.cpgnuke.com <- back online thanks to dedicatednow.com
Don't ask me to be admin on your site please
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum