I am running drupal 5.1 installed via fantastico. I have drupal installed in a directory called /authorpool. (Not installed on the root). (Domain is www.authorpool.com)

I installed the module, saw no errors, but in the theme I am using (a theme called "429 blue" by autothemes.com) has a radio button but no stars or other icons. I checked the drupal.org forums and saw no suggestions on how to correct this issue.

The I tried two other themes that came standard with drupal (Bluemarine and Chameleon) that had the stars but no submit button, and no rating was ever recorded.

(To install the theme I copied to the modules directory in drupal/sites/all/modules, then went to the admin/modules and enabled the module). there were no special instructions within the readme that I noted.

CommentFileSizeAuthor
#4 screenshot_fivestar.jpg66.46 KBseanm

Comments

mr700’s picture

It is normal to not see submit button but only stars, the form submits itself when a star is pressed. As for why "429 blue" does show only radio button I can only guess. Isn't what you see with your theme the same when you disable javascript in your browser - 6 radios + 1 submit button or?

btw: Why your module is installed in
/authorpool/sites/all/modules/fivestar rating/fivestar-5.x-1.3/fivestar/
instead of just in
/authorpool/sites/all/modules/fivestar/
? You also have installed votingapi, right?

seanm’s picture

Yes, I have the voting.api installed.

In both firefox and IE6 I see the radio buttons and submit button on theme 429 blue.

In other standard themes that come with drupal I get the stars and submit is hidden. (When opening up a post which has been voted on no matter what user I log in as, I see the stars lit up on the last voted position).

I have moved the module to /www/authorpool/authorpool/modules/fivestar/ from where it was before removing the extra directory. I contacted the creator of the theme, however he is not sure why fivestar and his theme would not cooperate with each other and display correctly.

mr700’s picture

Hmm, I can still see <style type="text/css" media="all">@import "/authorpool/sites/all/modules/fivestar rating/fivestar-5.x-1.3/fivestar/theme/fivestar.css";</style>" on your site, moved it really? If so, visit the modules page and hit 'Save'. I also can't find a node on the site which has fivestar enabled (forbidden for anonymous?).

Looks like jQuery fails to replace the form with the widget in your theme and works with the other ones. Can you get firebug and see if it shows you any javascript errors/warnings. Is your theme using <body onload="whatever"...? Do you have any errors logged in your drupal logs?

About the last voted position - that's the way the current stable module works - shows your own vote (zero for all anonymous users). The cvs version has options to show your vote, average vote, total number of votes in the body and the teaser.

seanm’s picture

StatusFileSize
new66.46 KB

OK I completely removed fivestar from drupal (deactivate module, delete files, delete entries in database, ran update.php) I then installed the cvs version.

(Version details of cvs :
1.2.2.5 from the cvs +
patches from the following drupal nodes (drupal.org/node/nid):
125303 - make fivestar disabled by default
127530 - In fivestar_form $current_vote is referred as scalar and class
110758 - 1/2 - IE6 background fix's fix - add try-catch
http://www.mister-pixel.com/index.php?Content__state=is_that_simple
Maybe a better IE = 6 fix for the background flickering can be found
at:
http://www.hedgerwow.com/360/bugs/dom-fix-ie6-background-image-flicker.html
110758 - 2/2 - fix 'IE bug: line 161 "Object doesn't support this
property or method"'
128055 - unvote/allow_clear wrong at rev 1.2.2.5
127535 - Without javascript radio 0 is always checked (when
unvoting/clear vote allowed)

The cvs version has a few really nice options, but also the voting does not show up as stars, only a radio button and submit button. The previous votes info DOES show up as stars in my theme.

If I change to another theme, I can see the stars correctly in the voting entry (no radio buttons, no submit button). (However I have paid for the theme I am using, and other than fivestar not displaying correctly it seems fine for all other reasons.)

I have contacted the author of the theme but the author does not have any idea why fivestar would not be working correctly.

Can anyone help with this ? I would really like to see fivestar up and running correctly within my theme (429 blue).

I am enclosing a screenshot of what happens in IE6.029 with fivestar.

eaton’s picture

Thanks. It looks like the CVS changes that were supposed to be innocuous *weren't* -- will have to investigate.

seanm’s picture

well even the official release version of 1.3 did the same thing and did not show up as stars in my theme.

seanm’s picture

THIS ISSUE HAS BEEN CORRECTED.

The issue was my theme itself.

The theme was missing the " print $scripts; " entry in the head of the theme.

Once this was corrected, fivestar began working wonderfully!

All my thanks to user mr700 for his help!

Sean

mr700’s picture

Status: Active » Fixed

Happy to hear that, closing then.

Anonymous’s picture

Status: Fixed » Closed (fixed)