Search found 118 matches

by gimmel
Wed Oct 10, 2012 10:00 pm
Forum: Generelles in Deutsch
Topic: Einen Beitrag mehreren Kategorien zuweisen?
Replies: 12
Views: 6075

Re: Einen Beitrag mehreren Kategorien zuweisen?

Naja, ist nicht das gleiche. Eher genau das Gegenteil… ;-) Ich finde es unpraktisch, immer eine Kategorie vergeben zu müssen. Was ist, wenn keine passt? Erst mal eine neue anlegen? Für evtl. nur einen Beitrag? Es gibt viele Plugins, die auf Kategorien zugreifen, aber keins davon kümmert sich um die ...
by gimmel
Mon Oct 08, 2012 10:52 am
Forum: Generelles in Deutsch
Topic: Einen Beitrag mehreren Kategorien zuweisen?
Replies: 12
Views: 6075

Re: Einen Beitrag mehreren Kategorien zuweisen?

Allerdings, über die Jahre sind da mehrere phpmyadmin als auch mehrere Serendipity-Versionen zum Einsatz gekommen. Dann lag es wohl tatsächlich am Export durch ein altes phpmyadmin. Ich habe erst jetzt den Fehler bemerkt, da ich erst jetzt anfange, mehrere Kategorien zu benutzen. Bisher hatten die m...
by gimmel
Mon Oct 08, 2012 10:29 am
Forum: Generelles in Deutsch
Topic: Einen Beitrag mehreren Kategorien zuweisen?
Replies: 12
Views: 6075

Re: Einen Beitrag mehreren Kategorien zuweisen?

Ja, ich habe mein Blog schon mehrfach verschoben und dabei einen SQL-Dump verwendet. Aber dabei sollten die Indexe doch eigentlich übernommen werden. Schon merkwürdig. Ich habe den Index jetzt neu erstellt und es können problemlos mehrere Kategorien gewählt werden. Ich wollte das Thema hier nur vere...
by gimmel
Sun Oct 07, 2012 2:39 pm
Forum: Generelles in Deutsch
Topic: Einen Beitrag mehreren Kategorien zuweisen?
Replies: 12
Views: 6075

Re: Einen Beitrag mehreren Kategorien zuweisen?

Ich dachte ja auch, dass es so einfach wäre. Ich konnte auch mehrere Kategorien auswählen, die nach dem Speichern sogar noch angezeigt wurden. Allerdings hatten die Beiträge anschließend immer nur eine zugeordnete Kategorie. Ein Blick in die Tabelle entrycat Datenbank zeigte den Grund für den Fehler...
by gimmel
Tue Jun 28, 2011 1:13 pm
Forum: Plugins
Topic: Anti Troll
Replies: 26
Views: 16021

Re: Anti Troll

@Timbalu: $COMMENTFORM is a Smarty variable, it is not available in $eventData. Surely $COMMENTFORM is defined in the core, but it is only shown in the hook frontend_display that shows comments. There it is possible to do $COMMENTFORM="". But if an entry has no comments, I have no access t...
by gimmel
Tue Jun 28, 2011 11:16 am
Forum: Plugins
Topic: Anti Troll
Replies: 26
Views: 16021

Re: Anti Troll

There is no hook that contains the index 'commentform' in $eventData.
by gimmel
Mon Jun 27, 2011 11:07 pm
Forum: Plugins
Topic: Anti Troll
Replies: 26
Views: 16021

Re: Anti Troll

No, this doesn’t help. I found out the reason: Nearly no hook contains Smarty var $COMMENTFORM, only the frontend_display that shows the comments in an entry. This is the only chance to clear the $COMMENTFORM. If there are no comments, there is no comment frontend_display, so $COMMENTFORM can’t be c...
by gimmel
Mon Jun 27, 2011 4:04 pm
Forum: Plugins
Topic: Anti Troll
Replies: 26
Views: 16021

Re: Anti Troll

I tried everything from installing all live plugins to my sandbox to removing all plugins from the live blog. Both systems differ somehow, but I don’t know how. I makes me want to tear my hear out! $serendipity['smarty']->get_template_vars('COMMENTFORM') has content on frontend_display, but I can’t ...
by gimmel
Fri Jun 24, 2011 6:35 pm
Forum: Plugins
Topic: Anti Troll
Replies: 26
Views: 16021

Re: Anti Troll

Thats’s weird: I installed 1.5.5 on my live blog, too. But I still can’t delete the COMMENTFORM variable. Do you have an idea why this behaviour is different between sandbox and live blog, Garvin?
by gimmel
Fri Jun 24, 2011 4:35 pm
Forum: Plugins
Topic: Anti Troll
Replies: 26
Views: 16021

Re: Anti Troll

The antitroll plugin is nearly final. I’ve included some functions to have fun with trolls… You can redirect them to appropriate places like here or here . If someone wants to test it: you can download it here . I only have one little problem: deleting the commentform with $serendipity['smarty']->as...
by gimmel
Mon May 23, 2011 12:53 pm
Forum: Plugins
Topic: Anti Troll
Replies: 26
Views: 16021

Re: Anti Troll

Hi Garvin, thanks for the tips! The frontend_footer hook does not give access to $COMMENTFORM but in frontend_display. So this both works in frontend_display: Hide the comment form $serendipity['smarty']->assign(array('COMMENTFORM'=>'')); Block comments $eventData['allow_comments'] = 'false'; But, m...
by gimmel
Fri May 20, 2011 7:04 pm
Forum: Plugins
Topic: Anti Troll
Replies: 26
Views: 16021

Re: Anti Troll

Thanks so far for some very good help. The antiTroll plugin grows… 1. Is there a way to add elements to the backend comment list? I would like to add the cookie user token. I see that the spam plugin modifies the entries (author, email, etc.), but does not add more entries. 2. I would like to give t...
by gimmel
Thu May 12, 2011 10:31 pm
Forum: Plugins
Topic: Anti Troll
Replies: 26
Views: 16021

Re: Anti Troll

There are 97 hooks! Incredible! If someone wants a list, here it is. If I find the time, I will complete it with the submitted values of $addData. backend_approvecomment backend_auth backend_cache_entries backend_cache_purge backend_category_addNew backend_category_delete backend_category_showForm b...
by gimmel
Wed May 11, 2011 11:57 pm
Forum: Plugins
Topic: Anti Troll
Replies: 26
Views: 16021

Re: Anti Troll

Wow, frontend_saveComment_finish sounds good and works perfect. Now I’m tracking the cookie to each comment. The rest seems to be easy. Can you tell me where I can find those hooks like frontend_saveComment_finish? It’s not in your book, it’s not on the hook list . Since I know serendipity (and work...
by gimmel
Fri May 06, 2011 11:52 pm
Forum: Plugins
Topic: Anti Troll
Replies: 26
Views: 16021

Re: Anti Troll

Thanks a lot, Timbalu. :D „Stalkerbuster“ does the same that my „AntiTroll“ plugin does now: generating unique ids and saving them in a cookie. It’s a nice workaround to attach the id to the notification mail, but I would like to have a list of all comments of a specific troll before I decide if I k...