Hi,

Is it possible to have the code upaded to 4.7? I tried uncommenting the two lines in the module which are for 4.7 and removing the other two preceeding lines but there are still errors.

Many thanks
Rachel

Comments

kbahey’s picture

Assigned: Unassigned » kbahey
Priority: Critical » Normal

This is not enough, there are other changes for the new form API.

All my modules need to be updated at some point, and I will wait for a stable 4.7 release candidate before I start.

If you want it sooner for a business site, please contact me for a consultation assignment.

Thanks

cre8d’s picture

Thanks. I have started making some adaptions using the form updater module and have got rid of the errors but it's not listing the node types in the settings menu option. I'll see if I can get that updated :)

Unfortunately it's just a test site for me not a commercial project with a budget.

telex4’s picture

Status: Active » Needs work
StatusFileSize
new4.97 KB

I've been working on this... I've so far got the forms showing up OK, and the settings form works fine. The only problem is that voting doesn't seem to work - I submit the form and just come back to the same page, no vote made, and the score defaulting to what I submitted.

I've probably missed something obvious because I'm tired at the mo, so it shouldn't be too hard to fix this up into a fully working patch.

Bèr Kessels’s picture

StatusFileSize
new6.21 KB

this patch has the voting fixed too

telex4’s picture

StatusFileSize
new5.14 KB

Here's the same patch but without Ber's addition of 'WOOT' to the rating button :-) It all now works fine on http://www.remixcommons.org

naudefj’s picture

Hi Telex4,

Your patch seems to work well with Drupal 4.7, with the following small exception:

After casting a vote, the page is redirected to /node/view/nid instead of just /node/nid. Is this intentional?

If not, we can just change this line:
drupal_goto("node/view/" . $nid);
to
drupal_goto("node/" . $nid);
and set the status to ready to be committed.

Best regards.

Frank

kbahey’s picture

Status: Needs work » Fixed

A new 4.7 version has been committed, and it contains some new features as well.

Anonymous’s picture

Status: Fixed » Closed (fixed)