Textpattern Forum

You are not logged in. Register | Login | Help

#81 2010-05-26 13:48:00

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

Re: jmd_rate: A CSS star rater

Hey JM, thanks for the tips. Coincidentally, I actually I tried putting those two lines in, and I just tried again to reconfirm, unfortunately, it doesn’t work for me. If I include the offset attribute in the jmd_rate_article tag and set to anything but “0” , it returns nothing. What about for you?

Offline

#82 2010-07-02 15:54:24

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: jmd_rate: A CSS star rater

Hi all,

I’m working on jmd_rate again — I checked the crappy 0.4 version into a repository. I tested on TXP 4.2-SVN (Apache 2 + PHP 5.3.2 and Lighttpd + PHP 5.3.2 servers), and it works fine. If you have any issues, please post them to the tracker. Sorry about the hassle, but it makes it easier for me to find out what’s wrong with the plugin.

Thanks,
JM

Offline

#83 2010-07-04 11:46:12

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

Re: jmd_rate: A CSS star rater

Great to hear you are back jm, your plugin continues to work very well for me, and I’m looking forward to the improvements you may have coming for us.

The IP logging feature is great, and to add even more robustness in the area of preventing rating spam, I would like to submit a feature request if I may: to only allow one vote per user. I’m already using rvm_privileged to hide the rating links from anyone who isn’t logged in, so this feature would just make a lot of sense.

Last edited by aswihart (2010-07-05 22:55:29)

Offline

#84 2010-07-06 19:23:08

Katalonian
Member
From: Baku, Azerbaijan
Registered: 2010-04-18
Posts: 219
Website

Re: jmd_rate: A CSS star rater

can i use this plugin as a standart poll pluin without stars?


<txp:txp_me />

Offline

#85 2010-07-06 19:28:19

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: jmd_rate: A CSS star rater

Katalonian wrote:

can i use this plugin as a standart poll pluin without stars?

If you don’t include the CSS file, you can. By default, the unstyled display is:


  • Currently rated X/4
  • 1/4
  • 2/4
  • 3/4
  • 4/4

If you want those values to be different, you can modify the jmd_rate->display() method.

Offline

#86 2010-07-07 04:39:49

Katalonian
Member
From: Baku, Azerbaijan
Registered: 2010-04-18
Posts: 219
Website

Re: jmd_rate: A CSS star rater

because the demo page its not available i cant see how its works and some way how i can put polls. How i can directlu create/delete/manage polls ?


<txp:txp_me />

Offline

#87 2010-07-07 04:46:53

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: jmd_rate: A CSS star rater

Katalonian wrote:

because the demo page its not available i cant see how its works and some way how i can put polls. How i can directlu create/delete/manage polls ?

You can create a poll (“rater”) with <txp:jmd_rate>...</txp:jmd_rate> (see first post). This should go in an article form. You can set an article to use an override form (e.g., form = “rateable”) or surround the <txp:jmd_rate> tags with <txp:if_article_id id="x">...</txp:if_article_id>. Sorry about the demo being down…I moved hosts awhile ago and didn’t migrate the demo DB.

There isn’t really a backend for managing polls, other than deleting all of your results. If you have phpMyAdmin or a MySQL CLI, you can use delete from jmd_rate where parentid = yourArticleId;.

If you’re looking for a two-option plugin, check out wlk_helpful — it’s what’s used on textpattern.org.

Offline

Board footer

Powered by FluxBB