New module: Reviews for WebsiteBaker

Ruud

Just including a checkbox is not that hard..

Just edit the modules form_default.htt template (or any other template you might use as a form) and add a html5-required checkbox. You could also add some javascript logic to prevent (very) old browsers to respect the required tick.

If the given consent must be stored in some way I am afraid it is just not possible in the current version.
[url=https://dev4me.com/modules-snippets/]Dev4me - WebsiteBaker modules[/url] - [url=https://wbhelp.org/]WBhelp.org[/url]

astricia

I am using "Reviews" for a website, which also has a blog function - reviews is for the comments to the blog. With the new dataprotection law (DSGVO) coming up in Germany (May 25), comment functions in blogs MUST include a checkbox, where the commenting person actively accepts the privacy policy. How do I set this up with reviews??? Please adivse.

Thanks,
Astricia

Ruud

Released v1.4.0

- added email notification to reviewer on administrator comments
- bugfix - Adding a profile failed in Mysql strict mode (thnx jacobi22)
- bugfix - set charset to utf-8 for email with non-latin characters (thnx jacobi22 / dbs)

Download: https://dev4me.com/modules-snippets/opensource/reviews/
[url=https://dev4me.com/modules-snippets/]Dev4me - WebsiteBaker modules[/url] - [url=https://wbhelp.org/]WBhelp.org[/url]

Gast

Charset... there is no Charset in the Mail-Source Text

for the page  "add profile"
i get a mysql-error for every empty field (if i dont use every field), specially in the 5 Question's

tip: if a field has no content, set it in your INSERT as empty content

dbs

Works, thanks  (Y)

The reviewers email shows some entities in subject and content (but not in blue title).
http://prntscr.com/icbude
[url="https://onkel-franky.de"]https://onkel-franky.de[/url]

Ruud

@genmb
You are totally right, fixed (also some strict-mode errors in save.php).

@jacobi22
both issues fixed

Thanks both for testing and reporting.

released v1.3.2
https://dev4me.com/modules-snippets/opensource/reviews/
[url=https://dev4me.com/modules-snippets/]Dev4me - WebsiteBaker modules[/url] - [url=https://wbhelp.org/]WBhelp.org[/url]

Gast

and maybe, it's possible to replace the old deprecated double language index like
save.php Ln 34
$MESSAGE['PAGES']['SAVED']

with

$MESSAGE['PAGES_SAVED']

if i click on the button  "Profil verwalten"
Quote2018-02-08T12:02:44+00:00 [E_WARNING] \framework\class.database.php:[108] from \modules\reviews\reviews.class.php:[105] database->get_one "mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given"

P.S.: i use PHP 7.2.x

gemnb

I found some bugs in the install.php script - mod_review_types (regarding STRICT mode):

TEXT NOT NULL DEFAULT '',

must be

TEXT NOT NULL,

dbs

[url="https://onkel-franky.de"]https://onkel-franky.de[/url]

Ruud

Released v1.3.1 (bugfix)
Download: https://dev4me.com/modules-snippets/opensource/reviews/

Bug (fixed): The administrator comments were automatically deleted after 48 hours because they are never "confirmed" by email.
[url=https://dev4me.com/modules-snippets/]Dev4me - WebsiteBaker modules[/url] - [url=https://wbhelp.org/]WBhelp.org[/url]

Ruud

Released v.13
Download: https://dev4me.com/modules-snippets/opensource/reviews/

Added the option to allow administrators to reply on comments.
(The user must be logged-in, and be a member of the administrators group.)



Warning: if you modified templates and/or frontend files, make backups first so you can restore/merge them after upgrading.
[url=https://dev4me.com/modules-snippets/]Dev4me - WebsiteBaker modules[/url] - [url=https://wbhelp.org/]WBhelp.org[/url]

dbs

[url="https://onkel-franky.de"]https://onkel-franky.de[/url]

Ruud

The template uses two parts.

reviews_*.htt must also have the same container_*.htt
So copy a container_small.htt and it should be in the dropdown.

(I know, I need to work on the help pages :roll:)
[url=https://dev4me.com/modules-snippets/]Dev4me - WebsiteBaker modules[/url] - [url=https://wbhelp.org/]WBhelp.org[/url]

dbs

Hi, i copied the template reviews_default_fontawsome.htt and renamed it to reviews_small.htt, cleared the cache.
But i can't find it in the dropdown.
No comments on the page.

What is the secret?  :-)
[url="https://onkel-franky.de"]https://onkel-franky.de[/url]

crnogorac081

Web developer

zirzy

Gr8 work Ruud, again!

If someone needs a Finnish translation in this module, I can do it for them  :wink:

Ruud

Released v1.2 with German and Dutch translations (and some other minor fixes)

Info & download: https://dev4me.com/modules-snippets/opensource/reviews/
[url=https://dev4me.com/modules-snippets/]Dev4me - WebsiteBaker modules[/url] - [url=https://wbhelp.org/]WBhelp.org[/url]

dbs

[url="https://onkel-franky.de"]https://onkel-franky.de[/url]

Hans

Hans - Nijmegen - The Netherlands

dbs

Nice idea. Thanks Ruud.  (Y)

In my first test the stars breaks (last star in the next line), because the label ist longer as in your tests.
The span for stars could be have a fixed width.
[url="https://onkel-franky.de"]https://onkel-franky.de[/url]

johnbroeckaert

You are very productive at the moment and.... All these modules are very useful

THANKS AGAIN!!

Ruud

Just added the new module "Reviews" to my website.
https://dev4me.com/modules-snippets/opensource/reviews/

This WebsiteBaker module allows you to add reviews to any page (Standard pages, News articles, Bakery or OneForAll items).
Also a 5star rating system is available, including automatic "Rich snippet" generation to show the rating in Google.
Visitors can also vote for previous reviews..





Have fun with it.
[url=https://dev4me.com/modules-snippets/]Dev4me - WebsiteBaker modules[/url] - [url=https://wbhelp.org/]WBhelp.org[/url]