Removing text

Discussion corner for Developers of Serendipity.
Post Reply
Alexander1977
Regular
Posts: 5
Joined: Wed Dec 21, 2005 12:40 pm

Removing text

Post by Alexander1977 »

Hello,

I'de like to remove the text:
"
Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Standard emoticons like :-) and ;-) are converted to images.
"

below the comment textbox. However, I don't seem to be able to find this text in the code. How can I remove this?

Thanks a lot,
Alexander van Deursen

www.seksieleksie.com
Col. Kurtz
Regular
Posts: 450
Joined: Thu May 26, 2005 10:43 am
Location: Bonn, Germany
Contact:

Post by Col. Kurtz »

remove the markup plugins for those.
Marc
Alexander1977
Regular
Posts: 5
Joined: Wed Dec 21, 2005 12:40 pm

Post by Alexander1977 »

Hello,

Thanks for your reply. I overlooked that function. Great!

However, is it also possible to only remove the TEXT:
"Standard emoticons like :-) and ;-) are converted to images.",
while emoticons are still converted to images in the comments?

Regards,
Alexander
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

You can do that by editing the plugin file, or by editing your serendipity template's commentform.tpl template and removing this code:

Code: Select all

{serendipity_hookPlugin hook="frontend_comment" data=$commentform_entry}
Removing that generall will disable ALL markup notes from all plugins, though.

The last variant is to use CSS to hide the specific note emitted by the emoticon plugin. Look at the HTML code to get the propper CSS selector.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply