Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#31 2008-05-10 19:07:59

WebKat
Member
Registered: 2007-01-16
Posts: 301

Re: jmd_rate: A CSS star rater

I installed it and the stars show up but they don’t seem to function. That is, even after I’ve voted, it still displays “This article hasn’t been rated.” Also, it shows 4 stars and not 5. When I built the CSS in the Extensions tab I specified 5 stars, so I’m confused. (Also, I just tacked on the generated CSS to my main style at the end—that isn’t a problem is it?)

Per the previous poster’s question/answer exchange I checked and my diagnostics says this:
PHP Server API: cgi-fcgi
also, in case it’s relevant: PHP version: 5.2.5

I’m a designer, not a programmer, so it’s likely that I’ve done something retarded.

Also, I can’t get any of your demo pages to load. They all say “Forbidden” and return a 404 error :(

Here is an example, though this is in my default article form so any article on my site would be as good:
http://opalcat.com/Rant/harry-potter-and-the-nudity-kerfuffle

Here is the relevant bit from my default form (until I get it working I just snagged the exact code from the example in the help):


<txp:jmd_rate>
	<txp:if_jmd_rate_votes>
		<p>
			Currently rated <txp:jmd_rate_rating/>/<txp:jmd_rate_max/> after <txp:jmd_rate_votes singular="vote" plural="votes"/>.
		</p>
	<txp:else/>
		<p>
			This article hasn’t been rated.
		</p>
	</txp:if_jmd_rate_votes>

	<txp:jmd_rate_display/>
	<txp:if_jmd_rate_voted>
		<p>
			Thanks for voting.
		</p>
	</txp:if_jmd_rate_voted>
</txp:jmd_rate>


WebKat

Offline

#32 2008-05-14 15:16:24

WebKat
Member
Registered: 2007-01-16
Posts: 301

Re: jmd_rate: A CSS star rater

(Is this plugin still being supported?)



WebKat

Offline

#33 2008-05-14 15:56:20

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: jmd_rate: A CSS star rater

OpalCat wrote:

Is this plugin still being supported?

Yes, it is supported, but Jm, the author, is quite busy with the real(ity) life, school and so on.

If I remember right, there were little redirecting problems with cgi-fcgi during the development progress, but it should work fine (seems not, but it’s hard to say for sure, as we can’t see your actual code, nor logs, only the output).

Offline

#34 2008-05-14 15:57:43

WebKat
Member
Registered: 2007-01-16
Posts: 301

Re: jmd_rate: A CSS star rater

I understand about busy—I’m in school myself. I just didn’t want to sit around waiting on a project that wasn’t still live so I had to check.



WebKat

Offline

#35 2008-05-14 19:44:06

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

Re: jmd_rate: A CSS star rater

Sorry for the delays everyone – I’m finally done with school and miscellaneous projects.

Lozmatic, OpalCat – try 0.4b out. I borrowed a little more of ZCR’s redirect code, so maybe it’ll work!

Offline

#36 2008-05-14 19:53:28

WebKat
Member
Registered: 2007-01-16
Posts: 301

Re: jmd_rate: A CSS star rater

I installed and activated the plugin, but it still isn’t working. Do I need to change the css the old code generated, or change my forms?



WebKat

Offline

#37 2008-05-14 20:07:16

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

Re: jmd_rate: A CSS star rater

No, the only new code is the redirect. It’s probably something else in the plugin :(. I’ll get my demo up and running in a minute. That worked at one point!

Offline

#38 2008-05-14 20:09:25

WebKat
Member
Registered: 2007-01-16
Posts: 301

Re: jmd_rate: A CSS star rater

Does it matter that I appended the css to my main stylesheet rather than as a separate file?



WebKat

Offline

#39 2008-05-14 20:22:56

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

Re: jmd_rate: A CSS star rater

Nope, but it looks like I need to add more specificity to the generated CSS (bottom border).

Offline

#40 2008-05-16 22:56:36

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

Re: jmd_rate: A CSS star rater

Just guessing, but try this one. Just install and activate and see if it works.

Offline

#41 2008-05-17 08:35:40

WebKat
Member
Registered: 2007-01-16
Posts: 301

Re: jmd_rate: A CSS star rater

It seems the same.



WebKat

Offline

#42 2008-05-19 22:29:30

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

Re: jmd_rate: A CSS star rater

I figured as much! I think this might be The One.

Last edited by jm (2008-05-19 22:29:48)

Offline

#43 2008-05-20 03:33:45

WebKat
Member
Registered: 2007-01-16
Posts: 301

Re: jmd_rate: A CSS star rater

Installing and activating it didn’t do anything new. Again, if I need to change the forms or the css or something let me know.



WebKat

Offline

#44 2008-05-20 04:25:38

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

Re: jmd_rate: A CSS star rater

No, nothing’s different. Sorry for all the failed versions!

I might have a functioning one soon. I need to rewrite a portion of it for Ajax, so hopefully I’ll find the fcgi bug.

Offline

#45 2008-05-31 13:09:53

WebKat
Member
Registered: 2007-01-16
Posts: 301

Re: jmd_rate: A CSS star rater

:sends virtual brownies to help as brain fuel:



WebKat

Offline

Board footer

Powered by FluxBB