Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#31 2006-02-06 11:53:43

vesa
New Member
From: Finland
Registered: 2005-12-02
Posts: 5
Website

Re: [plugin] [ORPHAN] tcm_rating v2 beta release

Thanks, seems to work great on my 4.0.3!

Last edited by vesa (2006-02-06 14:58:44)


Bbf

Offline

#32 2006-02-06 21:50:17

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

Re: [plugin] [ORPHAN] tcm_rating v2 beta release

I did some research and discovered that clean urls don’t play well with Apache on localhost in Mac OS X. There are solutions, but they are too scarey for me. Once I get a host, I’ll try the rating system again.


Mark

Offline

#33 2006-02-10 20:24:12

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

Re: [plugin] [ORPHAN] tcm_rating v2 beta release

Hey, I got it working … good stuff!


Mark

Offline

#34 2006-02-15 08:20:41

strawberryfusion
Member
Registered: 2005-07-24
Posts: 20

Re: [plugin] [ORPHAN] tcm_rating v2 beta release

Hi,

Installed the plugin on my local machine and it would not work? So I then installed it on a test site and it works fine – thanks. Is this plug-in going to have more functionality? Like:

1. Have multiple ratings on one article?
2. To integrate description text for rating within the tag?

Many thanks
rajiv

Offline

#35 2006-02-16 04:36:50

variaas
Plugin Author
From: Chicago
Registered: 2005-01-16
Posts: 402
Website

Re: [plugin] [ORPHAN] tcm_rating v2 beta release

Does someone having a working example they would want to show off?

Offline

#36 2006-02-16 04:43:26

tmacwrig
Archived Plugin Author
Registered: 2004-03-06
Posts: 204
Website

Re: [plugin] [ORPHAN] tcm_rating v2 beta release

@strawberryfusion

I’m working on multiple ratings. I’m swamped with work, but I’ll probably work on this this weekend. I’m thinking that it will work like this:

the input & output tags will have a new option for “subs” – short text ids for specific “things” within the article which are rated. all of the subs are still averaged into the article rating.

I don’t see the reasoning for integrating desc. text with the tag… if you could elaborate further, give it a go – but I don’t see the purpose to do this – it seems like it would sacrifice a lot of flexibility for a tiny simplification of tag code.

Last edited by tmacwrig (2006-02-16 04:48:13)

Offline

#37 2006-03-04 02:09:51

jamiew
Archived Plugin Author
From: NYC
Registered: 2005-01-08
Posts: 74
Website

Re: [plugin] [ORPHAN] tcm_rating v2 beta release

In action at http://mediumnyc.com/submissions/meghan-groves

tcm_rating_num appears to be broken though, even with the C version… it always says “no ratings”

Offline

#38 2006-03-08 23:54:57

Dragan
Member
From: Novi Sad, Serbia
Registered: 2005-10-26
Posts: 100
Website

Re: [plugin] [ORPHAN] tcm_rating v2 beta release

can someone please post their code for implementing this plugin cause I get weird things. for example when I use the atributes for this tag tcm_rating_num it only spits out the first word I have entered, it just stops at the first space. I’ll have to confirm this, cause it’s tested on my XAMPP which is not really what you could call stable, it messes up easily.

Offline

#39 2006-03-08 23:59:54

tmacwrig
Archived Plugin Author
Registered: 2004-03-06
Posts: 204
Website

Re: [plugin] [ORPHAN] tcm_rating v2 beta release

could you give more information, for instance, code samples, etc, what string your are trying to use? judging by your websites, it might be a character that preg_replace is choking on, etc.

Offline

#40 2006-03-09 00:16:03

Dragan
Member
From: Novi Sad, Serbia
Registered: 2005-10-26
Posts: 100
Website

Re: [plugin] [ORPHAN] tcm_rating v2 beta release

In a moment, I am testing on a separate section right now, but I have thought of that too, and it did the exact same thing when I used your examples from the plugin help. Right now I haven’t added any attrbutes to the plugin tag and it output “This article hasn’t been rated” before the doctype.

Offline

#41 2006-03-09 00:19:32

Dragan
Member
From: Novi Sad, Serbia
Registered: 2005-10-26
Posts: 100
Website

Re: [plugin] [ORPHAN] tcm_rating v2 beta release

Now it spits out “Niko još nije glasao” before the doctype, and here’s the code i am using as an “rating” form:
<code>
<txp:title />

<txp:body />

<txp:tcm_rating_num noratings=“Niko još nije glasao” hasbeen=“Glasalo je %r osoba” />

<txp:tcm_rating_form />
</code>

Offline

#42 2006-03-09 01:46:10

tmacwrig
Archived Plugin Author
Registered: 2004-03-06
Posts: 204
Website

Re: [plugin] [ORPHAN] tcm_rating v2 beta release

Dragan, your example code works perfectly on my installation (for both rated and unrated articles.) I’m thinking that XAMPP & Windows UTF support is the problem, not the plugin code, but I can’t be sure.

Offline

#43 2006-03-09 01:48:53

tmacwrig
Archived Plugin Author
Registered: 2004-03-06
Posts: 204
Website

Re: [plugin] [ORPHAN] tcm_rating v2 beta release

Oh, wait, are you using the latest version?

Offline

#44 2006-03-09 09:06:00

Dragan
Member
From: Novi Sad, Serbia
Registered: 2005-10-26
Posts: 100
Website

Re: [plugin] [ORPHAN] tcm_rating v2 beta release

probably not, I have downloaded it a week or two ago. It has worked once on my localhost. I’ll give this a whirl and let you know, ok.

Offline

#45 2006-03-09 09:12:05

Dragan
Member
From: Novi Sad, Serbia
Registered: 2005-10-26
Posts: 100
Website

Re: [plugin] [ORPHAN] tcm_rating v2 beta release

yeah, I guess it works now, in the admin panel for the plugin is it supposed to count votes in dashes? i have “——” in the votes column. (and there is a grade of 4 on the article.)

Offline

Board footer

Powered by FluxBB