Karma Problem

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Fila
Regular
Posts: 34
Joined: Thu Oct 26, 2006 11:16 am

Karma Problem

Post by Fila »

Hi there,
I have a little problem using Karma plugin.

It works fine on the home page but when I vote in other pages, after submitting, it goes back to the homepage.

For example.. I vote on page 3 http://www.mysite.com/archives/P3.html then it goes to http://www.mysite.com/index.php?archive ... ma_vote444

That page takes me to homepage in stead of page 3. Is there anyway to get rid of index.php? in that url? Without it, it works fine.

Thank you very much.
Fila
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Karma Problem

Post by garvinhicking »

Hi!

The actual problem is that your URL is index.php?archives/P3.html but it should be index.php?/archives/P3.html.

Which s9y version are you using?

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/
Fila
Regular
Posts: 34
Joined: Thu Oct 26, 2006 11:16 am

Re: Karma Problem

Post by Fila »

garvinhicking wrote:Hi!

The actual problem is that your URL is index.php?archives/P3.html but it should be index.php?/archives/P3.html.

Which s9y version are you using?

Regards,
Garvin
Hi Garvin,
I just upgraded it to Serendipity 1.4-beta1.

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

Re: Karma Problem

Post by garvinhicking »

Hi!
I just upgraded it to Serendipity 1.4-beta1.
And is the problem still the same?

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/
Fila
Regular
Posts: 34
Joined: Thu Oct 26, 2006 11:16 am

Re: Karma Problem

Post by Fila »

garvinhicking wrote:Hi!
I just upgraded it to Serendipity 1.4-beta1.
And is the problem still the same?

Regards,
Garvin
Hi,
I upgraded it before I installed Karma.

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

Re: Karma Problem

Post by garvinhicking »

Hi!

Ah, okay. I just fixed the bug. Edit your serendipity_event_karma.php file and search for serendipity_currentURL() and replace it with serendipity_currentURL(true).

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/
Fila
Regular
Posts: 34
Joined: Thu Oct 26, 2006 11:16 am

Post by Fila »

Hi Garvin,
It works like charm now...thank you very much :)

Fila
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

Thanks, Garvin! I'm busy adding a log to the Karma plugin; did you have to change that in two places?
Judebert
---
Website | Wishlist | PayPal
Post Reply