Page 1 of 1
images in comments
Posted: Mon Feb 14, 2005 1:42 pm
by zero01
Hallo!
I hope someone can help me.. i want to allow every user to post an image or a link in a comment. is it possible to change the code? i know it is dangerous because of spam-comments..
thank you for your help!!!
Re: images in comments
Posted: Mon Feb 14, 2005 2:49 pm
by garvinhicking
Enable BBCode markup plugin and tell your users to read BBCode specifications (a link is emitted near the comments for that as well).
Regards,
Garvin
Posted: Mon Feb 14, 2005 2:58 pm
by zero01
Hallo Garvin!
Thank you for your answer.. but i have a question again: i don't know how to enable the bbcode..
if I post an image in a comment, the comment is empty (the code is ignored?) i don't know how i can activate this plugin..
(sorry, my english is not so well)
Posted: Mon Feb 14, 2005 6:02 pm
by garvinhicking
Go to Plugin Configuration, there you can install the Event plugin "Markup: BBCode".
Then in your comment just enter things like:
Regards,
Garvin
Posted: Mon Feb 14, 2005 11:20 pm
by zero01
ahh, okay, thank you.. now, i hope i understand the problem, because i can't choose this plugin.. it is not in that dropdown-menu..
perhaps i destroyed something while edditing the blog..
do you know which site I destroyed?

i don't think so, because you don't know what i have done..
Posted: Tue Feb 15, 2005 10:17 am
by garvinhicking
First off, which Serendipity version are you running?
If its not in the dropdown look at plugins/serendipity_event_bbcode if that file and directory exists. Also take care that you're looking at the dropdown of event plugins and not the dropdown of sidebar plugins.
Regards,
Garvin
Posted: Tue Feb 15, 2005 11:04 am
by zero01
Hallo again,

I use the Serendipity version 0.7.1.
the file event_bbcode does exist.. but I don't understand where that dropdownmenu of event-plugins is located.
if i am loged in, I can go to the sidebar-item "plugins". there I can choose plugins like rss, archives, e.g..
I don't have the opportunity to select event-plugins..where are they located?
sorry for asking questions like this, but I have no idea anymore..
Posted: Tue Feb 15, 2005 12:32 pm
by garvinhicking
The event plugins are located below the sidebar plugins. bottom of the page, read through all displayed text carefully.
(Maybe look out for PHP errors on the page and/or in the HTML source!)
Regards,
Garvin.
Posted: Tue Feb 15, 2005 1:50 pm
by zero01
ah, okay, thank you..
When I checked my page source I found this error:
<b>Fatal error</b>: Cannot instantiate non-existent class: serendipity_plug_plugin in <b>/www/xxxxxx.com/theblog/serendipity_plugin_api.php</b> on line <b>257</b><br />
I think that causes the problem?!

Posted: Tue Feb 15, 2005 1:56 pm
by garvinhicking
Please check that you have the correct and complete file serendipity_sidebar_items.php. The class serendipity_plug_plugin is defined in that file!
Regards,
Garvin
Posted: Tue Feb 15, 2005 9:53 pm
by zero01
thank you very much! now it works..