Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#73 2006-12-03 19:21:02
- marios
- Archived Plugin Author
- Registered: 2005-03-12
- Posts: 1,253
Re: [plugin] [ORPHAN] tcm_rating v2 beta release
I haven’t been reading through the whole thread yet. Seemed to be working.
The thing though is, when I already have rated an article, it will insert this:
This article hasn't been rated
right before the doctype tag.
When I check under the ratings tab, the ratings show up there correctly though.
(Is there a way maybe to add the rating totals for each article to the statistics of the ratings tab ?)
(Doesn’t throw any arrors in debugging mode )
regards, marios
Last edited by marios (2006-12-03 19:42:46)
⌃ ⇧ < ⎋ ⌃ ⇧ >
Offline
Re: [plugin] [ORPHAN] tcm_rating v2 beta release
This is such a great plugin. Any plans to update it for 4.04?
Offline
Re: [plugin] [ORPHAN] tcm_rating v2 beta release
Can’t seem to get this to work on 4.0.4 either.
Any suggestions?
Offline
Re: [plugin] [ORPHAN] tcm_rating v2 beta release
davej wrote:
Can’t seem to get this to work on 4.0.4 either.
so it’s not working at all for you guys? that’s strange because i’m using it just fine on two 4.0.4 installations…
Last edited by sthmtc (2007-02-08 08:59:17)
Offline
Re: [plugin] [ORPHAN] tcm_rating v2 beta release
sthmtc wrote:
so it’s not working at all for you guys? that’s strange because i’m using it just fine on two 4.0.4 installations…
Ah, got it sorta working now, it was something stupid on my end.
It seems to be working ok but I’m getting this error…
Notice: Unknown tag attribute: id in /hsphere/local/home/dave/mydomain.com/textpattern/lib/txplib_misc.php on line 582
Offline
Re: [plugin] [ORPHAN] tcm_rating v2 beta release
If I dont have any ratings for a article I see the following text before any of the template code:
“This article hasn’t been rated”
in the plugin code you have:
echo $noratings;
is’t that an error? shouldn’t it be
return $noratings;
?
Offline
Re: [plugin] [ORPHAN] tcm_rating v2 beta release
Seeing this when I post:
1024: Unknown tag attribute: id in /home/gemal/private/dev/mads.gemal.dk/textpattern/lib/txplib_misc.php at line 582
Backtrace:
myErrorHandler(1024,Unknown tag attribute: id,/home/gemal/private/dev/mads.gemal.dk/textpattern/lib/txplib_misc.php,582,Array)
/home/gemal/private/dev/mads.gemal.dk/textpattern/lib/txplib_misc.php:trigger_error(Unknown tag attribute: id) at line 582 in /home/gemal/private/dev/mads.gemal.dk/textpattern/lib/txplib_misc.php
/home/gemal/private/dev/mads.gemal.dk/textpattern/lib/txplib_misc.php(512) : eval()’d code:lAtts(Array,Array) at line 350 in /home/gemal/private/dev/mads.gemal.dk/textpattern/lib/txplib_misc.php(512) : eval()’d code
/home/gemal/private/dev/mads.gemal.dk/textpattern/lib/txplib_misc.php(512) : eval()’d code:tcm_rating_form(Array) at line 295 in /home/gemal/private/dev/mads.gemal.dk/textpattern/lib/txplib_misc.php(512) : eval()’d code
tcm_rating_pt(pretext)
/home/gemal/private/dev/mads.gemal.dk/textpattern/lib/txplib_misc.php:call_user_func(tcm_rating_pt,pretext) at line 548 in /home/gemal/private/dev/mads.gemal.dk/textpattern/lib/txplib_misc.php
/home/gemal/private/dev/mads.gemal.dk/textpattern/publish.php:callback_event(pretext) at line 190 in /home/gemal/private/dev/mads.gemal.dk/textpattern/publish.php
/home/gemal/private/dev/mads.gemal.dk/textpattern/publish.php:preText(,Array) at line 105 in /home/gemal/private/dev/mads.gemal.dk/textpattern/publish.php
/home/gemal/private/dev/mads.gemal.dk/index.php:include(/home/gemal/private/dev/mads.gemal.dk/textpattern/publish.php) at line 33 in /home/gemal/private/dev/mads.gemal.dk/index.php
Offline
Re: [plugin] [ORPHAN] tcm_rating v2 beta release
Please add a urlonly parameter to the
<txp:tcm_rating_js_tag />
tag so that I can get the JS url by doing:
<txp:tcm_rating_js_tag urlonly=“1” />
thanx. Love you plugin!
Offline
Re: [plugin] [ORPHAN] tcm_rating v2 beta release
Is it possible to use this plugin to add ratings to files? I have mp3’s and movies on my site that I’d like to have rated by visitors. Anyone have an idea about how I could go about doing this? Thanks a lot.
Andrew
Offline
Re: [plugin] [ORPHAN] tcm_rating v2 beta release
I have it working (my site, 4.0.4), but the installation process is pretty confusing.
The in-plugin help also seems incomplete.
I also get the “Unknown tag attribute: id…” error, but it goes away if you put the textpattern mode to ‘Live’ instead of ‘Testing’.
Any my stars are weirded up. I get list bullets across the stars, and when I mouseover (as if to vote) the new stars appear BELOW the current stars and over the words.
Offline
#83 2007-05-23 10:49:24
- feragnoli
- Member
- From: the hague
- Registered: 2005-02-10
- Posts: 150
Re: [plugin] [ORPHAN] tcm_rating v2 beta release
hello, I was reading the help in the plugin but cannot see what tags I’m supposed to use…
there it only says:
- – output the number of ratings submitted for an article.
- Options
- noratings=”Text to show if something hasn’t been rated”
- hasbeen=”Text to show when something has been rated.”
- Format: %r = number of ratings
- (singular words/plural words)
- Example: This has been rated %r (time/times)
- alpha=”true” if you want to use number words (e.g. “one” instead of “1”)
- – clone of doArticles but sorts articles by average rating rather than posted time.
- – the input and output plugin for tcm_rating
I seem to understandand there are three tags:
- one
<txp:tcm_rating . . . />
to output the rating - one
<txp:tcm_rating . . . />
to output a list of articles - and one
<txp:tcm_rating . . . />
to input the rating (what does the input and output plugin for tcm_rating mean ?)
help?!
Last edited by feragnoli (2007-05-23 10:53:12)
what was that again…?
Offline
Re: [plugin] [ORPHAN] tcm_rating v2 beta release
feragnoli, the documentation is a bit messed up in the plugin itself but all the necessary info is available on the authors website.
Last edited by sthmtc (2007-05-23 10:54:18)
Offline