Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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

#74 2006-12-13 16:48:12

gdtroiano
Archived Plugin Author
From: Highland Park, NJ
Registered: 2005-01-29
Posts: 59
Website

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

This is such a great plugin. Any plans to update it for 4.04?

Offline

#75 2007-02-08 03:36:52

davej
Member
From: Ireland
Registered: 2005-11-01
Posts: 27
Website

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

Can’t seem to get this to work on 4.0.4 either.

Any suggestions?

Offline

#76 2007-02-08 08:59:02

sthmtc
Member
From: CGN, GER
Registered: 2005-01-17
Posts: 586
Website

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

#77 2007-02-08 13:09:39

davej
Member
From: Ireland
Registered: 2005-11-01
Posts: 27
Website

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

#78 2007-04-20 11:30:42

gemal
Member
From: Copenhagen, Denmark
Registered: 2007-01-09
Posts: 107
Website

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

#79 2007-04-20 11:31:58

gemal
Member
From: Copenhagen, Denmark
Registered: 2007-01-09
Posts: 107
Website

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

#80 2007-04-20 11:40:25

gemal
Member
From: Copenhagen, Denmark
Registered: 2007-01-09
Posts: 107
Website

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

#81 2007-04-24 20:25:14

aswihart
Member
From: Pittsburgh, PA
Registered: 2006-07-22
Posts: 345
Website

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

#82 2007-05-21 02:25:48

pfctdayelise
Member
From: Melbourne, Australia
Registered: 2007-05-18
Posts: 68
Website

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:

  1. one <txp:tcm_rating . . . /> to output the rating
  2. one <txp:tcm_rating . . . /> to output a list of articles
  3. 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

#84 2007-05-23 10:54:10

sthmtc
Member
From: CGN, GER
Registered: 2005-01-17
Posts: 586
Website

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

Board footer

Powered by FluxBB