Jump to content

Client Reviews Addon


Recommended Posts

Hi Guys,

 

I have taken the original one and recoded it to translate to english, including the database tables.

 

I have also added some additional entries such as name, website, email so that anyone can submit a testimonial about you rather than only your clients, as in logged in clients, since we do alot of development work in php programming not all are registered on our site. The user details are still auto completed on the submit page though.

 

I have added some new styling too in order to clean it up.

 

I have also added pagination and are currently working on adding more functionality into the admin side since that's very limited in functionality. Additional admin functionality will include submissions, edit, comment and of course pagination too.

 

I'll let you know once this is ready to rock, but it should be soon!

 

Thanks

 

Derek

 

I am interested in your version. You got it out there to share yet? Also, I mostly want to display website instead of email address, want to reduce those spammer possibilities.

 

Thanks

Link to comment
Share on other sites

  • Replies 105
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

I am interested in your version. You got it out there to share yet? Also, I mostly want to display website instead of email address, want to reduce those spammer possibilities.

 

Thanks

 

The addon isn't encoded of course so you can do all that yourself.

 

I also posted the pagination code that you can add.

Link to comment
Share on other sites

I am testing this out now. I also picked up the pagination code as well. I will have to look and see what the codes are for whmcs to show the domain name on file for the client submitting the review, when I get time.

 

So far, this is a better version of a testimonials script that I have tried out this week. Thanks to all that have contributed!

Link to comment
Share on other sites

  • 3 months later...
  • 2 months later...
  • 8 months later...
Here is a modified version of the module.

I have translated the variables and db table to English as best I can.

The code includes the pagination mod and the line break to <br> tag mod.

 

Oh yeah, and it also includes a show website option.

Link to comment
Share on other sites

Here is a modified version of the module.

I have translated the variables and db table to English as best I can.

The code included the pagination mod and the line break to <br> tag mod.

 

Enjoy!

 

Thanks for the credits :D Yes I did go look at the readme file and I really appreciate it.

Link to comment
Share on other sites

Here is a modified version of the module.

I have translated the variables and db table to English as best I can.

The code included the pagination mod and the line break to <br> tag mod.

 

Enjoy!

 

that's brilliant, thanks mate 8) I did start to do this but hit a few hurdles and then became extremely busy to finish it :(

Link to comment
Share on other sites

anyone else have an issue with the submit review not actually sending data to the DB

 

The database create code was not inserting the field I added for the show website option.

 

To fix, drop the table "mod_comments" from your whmcs database.

 

Open the file client_reviews.php file in modules/admin/client_reviews.

 

search for:

`emailvisible` tinyint(1) NOT NULL default '0',

add after that line of code the following line:

`websitevisible` tinyint(1) NOT NULL DEFAULT '0',

 

So that section of code should look like this:

if(isset($_GET['createdb'])) {
mysql_query("CREATE TABLE IF NOT EXISTS `mod_comments` (
 `id` int(10) NOT NULL auto_increment,
 `userid` int(10) NOT NULL,
 `comment` longtext NOT NULL,
 `approved` tinyint(1) NOT NULL default '0',
 `surnamevisible` tinyint(1) NOT NULL default '0',
 `emailvisible` tinyint(1) NOT NULL default '0',
 `websitevisible` tinyint(1) NOT NULL DEFAULT '0',
 `date` longtext NOT NULL,
 PRIMARY KEY  (`id`)
) ENGINE=MyISAM;");
header("Location: addonmodules.php?module=client_reviews");
exit();
}

 

Go to your WHMCS Admin>Addons>Client Reviews and click the create database link.

 

This should fix it.

 

I will post an updated zip file with the fix.

Link to comment
Share on other sites

Here is the latest version with the fix for the database problem.

If your now supporting this, I tell you what might be nice, is rather than the setting to display the email, but to change this to the clients website instead. I don't know if that would be even possible or not, as my knowledge is limited :(

Link to comment
Share on other sites

If your now supporting this, I tell you what might be nice, is rather than the setting to display the email, but to change this to the clients website instead. I don't know if that would be even possible or not, as my knowledge is limited :(

 

The option to display the clients website is there in this version (as well as email address).

Link to comment
Share on other sites

  • 1 month later...
  • 1 year later...
Can anyone help us to get this to work on our site http://www.uk-hostingsolutions.co.uk it's showing within the admin side of WHMCS but can't see any where within the clients area where customers can submit reviews and can't see where on the site it will show?

 

Thanks,

Adam.

 

Did you follow the instructions ??

 

2. Place the two files reviews.php and submitreview.php in the root of your WHMCS directory.

 

Your clients click on submitreview.php to create a review and reviews.php is to read them. That means you have to manually create 2 new menu items.

Link to comment
Share on other sites

Did you follow the instructions ??

 

 

 

Your clients click on submitreview.php to create a review and reviews.php is to read them. That means you have to manually create 2 new menu items.

 

I believe there all ready in there? where on the clients side should they show?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated