XoopsModules25x / publisher

Publishing module for XOOPS for static/HTML content and articles stored and provided in a hierarchical manner
6 stars 25 forks source link

voting #158

Open AxelF1977 opened 3 years ago

AxelF1977 commented 3 years ago

Hi,

all new voting methods beside 5 star and 10 star rating are not working.

No matter what I select in the admin, it´s 5 Star Rating.

I played with the publisher_vote.tpl and got the template working, bute it´s always an error "INVALID VOTE". I had to change this line from default zero to default one, and I have seen the reactions. But the icons also missing in the pakage.

<{if $rating_reaction|default:1}>

AxelF1977 commented 3 years ago

After I tried a bit more, I have seen the database table was not updated. There is the field votetype, but it was still 0, not 5 for the reactions. After I changed it, the reactions poped up.

But, there are errors, and you can´t vote.

Check the errors on my site, maybe it helps

https://kenner-mask.com/modules/publisher/item.php?itemid=78

mambax7 commented 3 years ago

This is Alpha release, so it should NEVER be installed on a production site! It was only for testing on your test site, and it was more as a "proof of concept" to get feedback from developers.

So please remove it from your production site, as it might cause damage to your data.

AxelF1977 commented 3 years ago

It´s the only point witch is not working. I wrote since yesterday with goffy, He asked me to open the issue.

But thanks for the info Mamba.

mambax7 commented 3 years ago

Don't get me wrong - I appreciate you testing it and providing feedback, but I want to make sure that the Alpha version won't damage your "production" site. That's why never install any alpha on your production site!

That's why the update was not done, and that's why I have provided the "test data", so people could install it fresh on a test site, import the test data, play with it, and then provide feedback.

AxelF1977 commented 3 years ago

I didn´t get you wrong. I I appreciate your warning. Thanks Mamba

I always make backups before I upload an unstable version. So I did before.

mambax7 commented 3 years ago

Check out https://github.com/XoopsModules25x/publisher/releases/tag/1.08_Alpha-4 It has now option to select the VoteType in the article form