Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-01-24 05:31:35

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

[plugin] [ORPHAN] tcm_rating v2 beta release

Hi all,

This is just a beta release of the completely rewritten, rethunk tcm_rating plugin for Textpattern. It’s big, and that means that there will be bugs. If you’re willing to try it out, here’s what to do.

  • Get the plugin here
  • Get this image or this one, that might fit TXP a bit better.
  • Enable the plugin
  • Go to the “Extensions” tab and it’ll install into your database automatically.
  • Click the “Install and Admin” link to install the required CSS automatically or paste it into an offsite stylesheet.
  • Add <txp:tcm_rating_js_tag /> to the head section of your pages
  • Add <txp:tcm_rating_form /> inside an article form or an article
  • Add <txp:tcm_rating_num /> to get the number of ratings (details in the plugin, this one is multifaceted)
  • Use <txp:tcm_rating_articles /> with the same options as article_custom to get articles organized by rating.
  • Report bugs and be patient.
  • Knock yourself out.

Offline

#2 2006-01-24 11:42:14

Niconemo
Member
From: Rhône-Alpes, France
Registered: 2005-04-18
Posts: 557

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

Thanks tmacwrig :

Bug around 4th or 5th item :
I have a “ratings” tab under Extensions… but absolutely nothing in it.


Nico

Offline

#3 2006-01-24 13:59:34

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

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

I assume you’re using 4.0.3? Any other info?

Offline

#4 2006-01-24 15:16:31

Niconemo
Member
From: Rhône-Alpes, France
Registered: 2005-04-18
Posts: 557

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

Yes. 4.0.3. No much more to tell… When I click on the “ratings” tab there is nothig under it except Txp’s footer menu.

Do you wan’t me to look for somethig particular ?

I’m trying on another fresh install… ‘coming back soon.

Edit :
Exactly the same problem… nothing in the extension tab on another install of TXP 4.0.3

Edit 2 :
And no new table in the DB

Last edited by Niconemo (2006-01-24 15:35:03)


Nico

Offline

#5 2006-01-24 16:00:46

sekhu
Member
Registered: 2005-05-12
Posts: 428
Website

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

Anyone else had success with this yet?

Offline

#6 2006-01-24 16:05:41

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

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

Try setting your production status to Debug or Test. There might be a SQL compatibility issue.

Offline

#7 2006-01-24 16:07:04

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

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

personally, I have it up and running on 3 installations.

Offline

#8 2006-01-25 08:17:30

Niconemo
Member
From: Rhône-Alpes, France
Registered: 2005-04-18
Posts: 557

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

I was in test status. Here is what I get in debug status in place of the “ratings” tab :

<code>Fatal error: Erreur de syntaxe pr�s de ‘DEFAULT CHARSET=latin1’ � la ligne 10 CREATE TABLE IF NOT EXISTS `txp_tcm_rqueue` ( `parent_id` int(11) NOT NULL default ‘0’, `id` int(11) NOT NULL auto_increment, `ip` varchar(30) NOT NULL default ‘’, `rating` int(11) NOT NULL default ‘0’, `posted` datetime NOT NULL default ’0000-00-00 00:00:00’, PRIMARY KEY (`id`), KEY `ip` (`ip`), KEY `posted` (`posted`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; in /home/mysite/textpattern/lib/txplib_db.php on line 61</code>

And here is some of de Diagnostics info if it can help :

<code>Textpattern version: 4.0.3 (r1188)
last_update: 2006-01-24 13:48:49/2006-01-24 13:47:00
Permanent link mode: section_title
PHP version: 4.3.11
Register globals: 1
server_time: 2006-01-25 09:13:26
MySQL: 4.0.26-standard
Locale: en_US.UTF-8
Server: Apache/1.3.33 (Unix)
php_sapi_mode: cgi-fcgi
os_version: Linux 2.6.8-2-386</code>

Edit: the first test was with the same configuration except PHP version: 5.0.4

Last edited by Niconemo (2006-01-25 08:32:01)


Nico

Offline

#9 2006-01-25 15:03:55

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

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

Looks like a language problem in the DB. I’ll post a fix after class.

Offline

#10 2006-01-25 15:31:49

sekhu
Member
Registered: 2005-05-12
Posts: 428
Website

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

i’ll give this plugin a go in a bit then

EDIT: Enabled plugin, went to extensions, blank screen. What went wrong?

Last edited by sekhu (2006-01-25 15:38:54)

Offline

#11 2006-01-25 16:44:42

Dawk
Member
Registered: 2005-02-22
Posts: 74

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

I’ll give it a go after your after class fix ;)

Offline

#12 2006-01-25 19:35:27

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

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

okay, I can’t really see these errors because my db setup is definitely different. but here’s a fix which doesn’t specify the table type or charset. it also fixes a bug in tcm_rating_num. download

Offline

Board footer

Powered by FluxBB