Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#91 2007-07-19 22:12:51
- feragnoli
- Member
- From: the hague
- Registered: 2005-02-10
- Posts: 150
Re: [plugin] [ORPHAN] tcm_rating v2 beta release
something like that should work but you have to specify a form for the article too.
not sure 100% but I guess the tag will accept most of the attributes of article_custom
what was that again…?
Offline
Re: [plugin] [ORPHAN] tcm_rating v2 beta release
Thanx for your answere, but still a no show.
Getting this errormessage when in debug-mode:
tag_error <txp:tcm_rating_articles limit="10" section="foodcourt" form="default" /> -> Textpattern Warning: Unknown column 'txp_tcm_rsum.ratings' in 'field list'
select *, txp_tcm_rsum.ratings, txp_tcm_rsum.average, unix_timestamp(Posted) as uPosted from `foodtextpattern`,`foodtxp_tcm_rsum` where 1 and Status='4' and Posted < now() and Section = 'foodcourt' and foodtxp_tcm_rsum.parent_id = foodtextpattern.ID order by foodtxp_tcm_rsum.average desc limit 0, 10
textpattern/lib/txplib_misc.php(534) : eval()'d code:834 startRows() on line 84
textpattern/lib/txplib_db.php:84 trigger_error()
textpattern/lib/txplib_db.php:284 safe_query()
textpattern/lib/txplib_misc.php(534) : eval()'d code:834 startRows()
textpattern/lib/txplib_misc.php(534) : eval()'d code:789 safe_rows_start_joined()
textpattern/publish.php:963 tcm_rating_articles()
processTags()
textpattern/publish.php:922 preg_replace_callback()
textpattern/publish/taghandlers.php:2315 parse()
textpattern/publish.php:963 if_article_list()
processTags()
Don't know what to do about this...
Offline
#93 2007-07-21 11:15:37
- feragnoli
- Member
- From: the hague
- Registered: 2005-02-10
- Posts: 150
Re: [plugin] [ORPHAN] tcm_rating v2 beta release
I’m using this and it works <txp:tcm_rating_articles section="extra" form="by_vote" limit="9999" />
check the context of your tag too, is it a page form the tag is in?
what version of textpattern are you using?
last but not least: if no article has been voted for, no article will show up; only articles which have already been rated will be output by the tag
what was that again…?
Offline
Re: [plugin] [ORPHAN] tcm_rating v2 beta release
I’m using textpattern 4.0.5 and I’m using the tag in a search form for a side column on the main site.
As far as I know there are votes for several articles.
What’s bothering me is that it looks as if the tables aren’t created correctly in the db? or am I wrong?
Offline
#95 2007-07-21 17:55:41
- feragnoli
- Member
- From: the hague
- Registered: 2005-02-10
- Posts: 150
Re: [plugin] [ORPHAN] tcm_rating v2 beta release
mmm search form?
not sure what you mean with that. you want to search for articles and sort them by rating?
hard to do it with this plugin.
did you check the site for detailed installation?
anyway, the tables installed by this plugin will report only articles somebody did vote for.
the tcm_articles tag will therefore output a list of articles arranged according to the rating as reported by the tables.
articles ‘eligible’ for rating but not rated yet simply don’t show up in the database and will not appear, hence: no article rated = no articles output.
what was that again…?
Offline
Re: [plugin] [ORPHAN] tcm_rating v2 beta release
feragnoli wrote:
mmm search form?
not sure what you mean with that. you want to search for articles and sort them by rating?
What I do is that in the right column of the page I output a form that contains a search field where you can search articles and a tag cloud. Beneath them I would like to have a “or view top 10 rated articles” type of thing… so there are no <txp:article />-tag on that page. Does it have to be?
Last edited by ilpalmo (2007-07-22 10:39:24)
Offline
#97 2007-07-22 11:20:59
- feragnoli
- Member
- From: the hague
- Registered: 2005-02-10
- Posts: 150
Re: [plugin] [ORPHAN] tcm_rating v2 beta release
nope, it doesn’t.
you just need to use the tcm_articles tag with limit=10, I suppose.
you’ll probably need to specify the section(s) to extract the articles from too.
do you see the tables in your database?
what was that again…?
Offline
Re: [plugin] [ORPHAN] tcm_rating v2 beta release
the download link for this is not working. is it available anywhere else, and also, does anyone know if it works with 4.0.6?
thanks, —paula
Offline
Re: [plugin] [ORPHAN] tcm_rating v2 beta release
Hi, Paula.
Did you find an answer to this? I’m having the same problem. I found this package but it seems to be missing the main plugin file, and I can’t get the tables to install correctly, even using the enclosed SQL query in phpMyAdmin. I may post a question in the Troubleshooting forum for help— but let me know if you can offer any insight!
I even looked up the author’s site in the Internet Archive but there seems to be a problem with the cache.
kind regards,
john
Offline
#100 2008-06-03 21:26:08
Re: [plugin] [ORPHAN] tcm_rating v2 beta release
Hi John, unfortunately I did not receive any sort of reply. Looks like this plugin is deep-sixed. sigh
—paula
Offline
#101 2008-06-03 21:41:53
Re: [plugin] [ORPHAN] tcm_rating v2 beta release
I got help in the Troubleshooting forum and I think you’re right. In that thread, I learned about an alternative rating plugin by Jon-Michael Deldin which has been easy to install and configure. As you can see from the conversation in troubleshooting, the developer is actively enhancing the plugin! I’m experimenting with it for a site I’m building, and I think it may be the solution I need. I hope this helps!
Offline
#102 2008-06-04 03:05:12
Re: [plugin] [ORPHAN] tcm_rating v2 beta release
Hi again, Paula. I wanted to let you know that I was able to recompile the tcm_rating 0.6b plugin using the version installed at Rob Sable’s City Eats demo site, along with Zem’s plugin compiler . I even included the plugin help, but it isn’t very detailed. I can eMail you the compiled plugin if you still need it.
I shall be comparing this with jmd_rate for the project I’m working on now.
Offline