Textpattern Forum

You are not logged in. Register | Login | Help

#41 2008-06-11 19:29:38

whocarez
Plugin Author
From: Germany/Ukraine
Registered: 2007-10-08
Posts: 165

Re: wlk_helpful, a rating plugin

Hello,

maybe it is interesting for someone.
The plugin first didn’t work on my site. Than I figured out, that the problem lies in my messy (can`t change it) URLs. So I had also, like “Blueprint”, to change the js in line 6 from
jQuery.post('/wlk_helpful_ajax', {"article_id":article_id,"up_down":'up'}, function(data)

into

jQuery.post('/index.​php?​s=wlk_helpful_ajax', {"article_id":article_id,"up_down":'up'}, function(data){

after that everything worked fine.
Thanks for that great plugin …

Offline

#42 2008-06-23 19:05:53

geoff777
Plugin Author
From: Benarrabá Andalucía Spain
Registered: 2008-02-19
Posts: 271
Website

Re: wlk_helpful, a rating plugin

Hi I’ve installed this plugin and it counts the ‘Yes’ counts but not the ‘No’ counts

Here’s the dB’s

id textpattern_id plus minus ip
2 57 1 79.152.245.94
3 55 1 79.152.245.94
4 59 1 79.152.245.94

id textpattern_id count pluses minuses
4 57 1
3 47
5 55 1
6 56
7 59 1
8 53

(Sorry textile’s stripping the spaces)

The ’1’s are in the plus/pluses column

It also returns me to my frontpage from any article I rate eg to www.mysite.com/#

Plus the top rated – bottom rated articles are identical – possibly because of the problem above?

Thanks
Geoff

Last edited by geoff777 (2008-06-23 19:08:13)


There are 10 types of people in the world: those who understand binary, and those who don’t.

Offline

#43 2008-06-23 20:04:28

Walker
Plugin Author
From: Boston, MA
Registered: 2004-02-24
Posts: 592
Website

Re: wlk_helpful, a rating plugin

Hey Geoff,

Sounds like something might be wrong with the javascript or your javascript install. If you have urls, I could take a peek at?

otherwise, I’m going to be no help.

Offline

#44 2008-06-24 09:18:51

geoff777
Plugin Author
From: Benarrabá Andalucía Spain
Registered: 2008-02-19
Posts: 271
Website

Re: wlk_helpful, a rating plugin

Hi,

I uninstalled, dropped the dB’s and started again

It now counts ‘no’ inputs.

It however still adds both yes and no’s to both outputs – Top & Bottom rated.

It also takes me back to the frontpage from any Section. ie www.mysite.com/#
I’m uninstalling again – sorry, perhaps it’s just my site …?

Geoff


There are 10 types of people in the world: those who understand binary, and those who don’t.

Offline

#45 2008-07-15 05:11:12

mwr
Member
From: Canada
Registered: 2006-01-31
Posts: 146
Website

Re: wlk_helpful, a rating plugin

I would appreciate it if someone would test my installation. I’m having the problem with the number showing up beside a Yes or No, but when I come back to look later, it’s gone. Sometimes it will reappear if I refresh the page.

You can check it out by going to an individual article for one of the apps listed in the sections at thriftmac

Thank you for any and all help.

Offline

#46 2008-07-16 04:17:47

Walker
Plugin Author
From: Boston, MA
Registered: 2004-02-24
Posts: 592
Website

Re: wlk_helpful, a rating plugin

Looks fine to me! :)

Offline

#47 2008-07-16 04:20:33

mwr
Member
From: Canada
Registered: 2006-01-31
Posts: 146
Website

Re: wlk_helpful, a rating plugin

Thanks for the feedback, and thanks for the great plugin.

Offline

#48 2008-08-08 23:20:15

whocarez
Plugin Author
From: Germany/Ukraine
Registered: 2007-10-08
Posts: 165

Re: wlk_helpful, a rating plugin

Hello,

<txp:wlk_helpful_list which="bottom" />

has the same output like

<txp:wlk_helpful_list which="top" />

Is there any solution???
Thanks

Offline

#49 2008-08-08 23:25:35

Walker
Plugin Author
From: Boston, MA
Registered: 2004-02-24
Posts: 592
Website

Re: wlk_helpful, a rating plugin

Do you only have 5 articles on the site?

….ermm…..that’s the only reason I could see that happening.

Offline

#50 2008-08-09 07:54:42

whocarez
Plugin Author
From: Germany/Ukraine
Registered: 2007-10-08
Posts: 165

Re: wlk_helpful, a rating plugin

Walker wrote:

Do you only have 5 articles on the site?

….ermm…..that’s the only reason I could see that happening.

—————————-
No, there are more than 500 articles …

The database has also enough negative counts/entries.
txp_wlk_helpful 140
txp_wlk_helpful_counts 588

If I change the code for the wlk_helpful_list function in this line

'order'=> (isset($prefs['wlk_helpful_list_which']) && $prefs['wlk_helpful_list_which']=='bottom')?'ASC':'DESC',

to ‘DESC’:‘ASC

I get the opposite result – the “bottom” or “negative” – for both parameters “which=‘top’” and “which=‘bottom’”. That show’s me, that the script can calculate a negative list.
Any hints?

Offline

Board footer

Powered by FluxBB