bug with karma
bug with karma
when i view my index-page, the karma-thing is placed correctly at {$entry.add_footer} ...
but when i go to detailed view (ex. if i have an extended content), the karma thing goes to {$entry.extended}
... is this a bug? ... or is this intention? ... if yes - how can i prevent this?
but when i go to detailed view (ex. if i have an extended content), the karma thing goes to {$entry.extended}
... is this a bug? ... or is this intention? ... if yes - how can i prevent this?
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
This is intentional behavior of the karma plugin to go into the add_footer only in the entry overview.
About your other issue: If you have the entryproperties plugin used and use caching, you need to refresh your cache for the entries maybe.
Regards,
Garvin
About your other issue: If you have the entryproperties plugin used and use caching, you need to refresh your cache for the entries maybe.
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/
# 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/
can i change this somehow?garvinhicking wrote:This is intentional behavior of the karma plugin to go into the add_footer only in the entry overview.
nope - haven't got this in use ...garvinhicking wrote:About your other issue: If you have the entryproperties plugin used and use caching, you need to refresh your cache for the entries maybe.
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi Reion!

Very strange. What's your URL so I can look at it?
Yes, by modifying the plugins/serendpity_event_karma/serendipity_event_karma.php file. Lines 490-501, 542-617. There you need to change the references to the target fields. It's PHP work and cannot be done easilyreion wrote:can i change this somehow?garvinhicking wrote:This is intentional behavior of the karma plugin to go into the add_footer only in the entry overview.
nope - haven't got this in use ...[/quote]garvinhicking wrote:About your other issue: If you have the entryproperties plugin used and use caching, you need to refresh your cache for the entries maybe.
Very strange. What's your URL so I can look at it?
# 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/
# 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/
THANKS ...garvinhicking wrote:Yes, by modifying the plugins/serendpity_event_karma/serendipity_event_karma.php file. Lines 490-501, 542-617. There you need to change the references to the target fields. It's PHP work and cannot be done easily
http://www.ksl.mediendesign.eduhi.at/chrism/weblog/garvinhicking wrote:Very strange. What's your URL so I can look at it?
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Hm, this may be a compatibility plugin with others. The entrypaging plugin is one which comes to my mind which could maybe cause the trouble that no karma output is shown on your extended entry view. Can you check if removing that plugin helps?
If not, I could use a full list of your installed event plugins.
Regards,
Garvin
Hm, this may be a compatibility plugin with others. The entrypaging plugin is one which comes to my mind which could maybe cause the trouble that no karma output is shown on your extended entry view. Can you check if removing that plugin helps?
If not, I could use a full list of your installed event plugins.
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/
# 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/
hallo garvin ... ich schreib das jetzt in deutsch ...
ich hab bei meiner ersten installation das karma gehabt a´parallel mit paging ... da hat's gefunzt ... dann ist mir das aufgefallen, dass das karma irgendwo angezeigt wurde, also hab ichs deinstalliert, wollte es wieder reintun ... und seit dem gehts nicht mehr
hab das paging schon die ganze zeit am laufen
--- hoffentlich ist das wegen dem einen post in deutsch kein problem...
ich hab bei meiner ersten installation das karma gehabt a´parallel mit paging ... da hat's gefunzt ... dann ist mir das aufgefallen, dass das karma irgendwo angezeigt wurde, also hab ichs deinstalliert, wollte es wieder reintun ... und seit dem gehts nicht mehr
hab das paging schon die ganze zeit am laufen
--- hoffentlich ist das wegen dem einen post in deutsch kein problem...
Last edited by reion on Fri Mar 04, 2005 4:02 pm, edited 3 times in total.
i'm so sorry, to don't use the edit-function
have a look at this:
http://www.ksl.mediendesign.eduhi.at/ch ... steht.html
i've just kicked paging, and reinstalled it ... now everything works parallel ....
??? why
have a look at this:
http://www.ksl.mediendesign.eduhi.at/ch ... steht.html
i've just kicked paging, and reinstalled it ... now everything works parallel ....
??? why
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
It may have been a problem because the order of event plugins is important and they can affect each other easily.
However I don't really see in which way the plugins could affect each other. I'm sorry - if you find out a further way to reproduce the issue, let me know!
Regards,
Garvin
However I don't really see in which way the plugins could affect each other. I'm sorry - if you find out a further way to reproduce the issue, let me know!
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/
# 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/
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Can'T you just then place the karma plugin before the paging plugin? Just click on the up/down image arrows to move the plugins in the queue, on the Plugin Configuration subpage.
I'll also look and see why/how the plugins affect each other.
Regards,
Garvin
I'll also look and see why/how the plugins affect each other.
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/
# 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/
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Okay, I just fixed the buggy issue.
You can fix it easily by editing your include/plugin_api.inc.php file and go to line #532.
change:
to tihs:
(Remove the ampersand (&). Then the issue should be fixed. BTW, that one was a very good catch! It seems passing by reference obfuscated the plugin execute command queue, so this wouldn't have been easily noticed.
I did not commit the fix to the current -beta1 release because I first want to see if it has serous side effects (but I can think of none).
Regards,
Garvin
You can fix it easily by editing your include/plugin_api.inc.php file and go to line #532.
change:
Code: Select all
$plugins = &serendipity_plugin_api::get_event_plugins();
Code: Select all
$plugins = serendipity_plugin_api::get_event_plugins();
(Remove the ampersand (&). Then the issue should be fixed. BTW, that one was a very good catch! It seems passing by reference obfuscated the plugin execute command queue, so this wouldn't have been easily noticed.
I did not commit the fix to the current -beta1 release because I first want to see if it has serous side effects (but I can think of none).
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/
# 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/