Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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
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
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
Offline
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
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
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
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
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
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
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
Re: [plugin] [ORPHAN] tcm_rating v2 beta release
Oh, wait, are you using the latest version?
Offline
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
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