PDA

View Full Version : Forum Home Enhancements - [Chris] Rate My Site & Testimonials in Forum Sidebar


Christos Teriakis
06-12-2013, 10:00 PM
Rate My Site & Testimonials in Forum Sidebar
by Christos Teriakis

Demo: http://www.christeris.net/dev42/forum.php


Please note that from
11 Aug 2013
you can get support only in my site
http://www.teriakis.com (http://www.teriakis.com)



1.- What's this

It's a multi functional Rate My Site, User Feedback which works totally just as Forum Sidebar block.

2.- Features
The block has 3 tabs: Overview, Rate Us, Comments
You are allowed to assign many fields for rating and not just a simple "Rate Us". eg you can set fields for rating like: Content, Design, Hand etc etc. The overall rating is auto calculating.
Users can post ratings and leave a simple feedback
The comments tab shows the latests 3 comments but there is a link "All comments" which opens a normal vB page3.- Things ToDo
Allow admins to post replies to comments or delete comments
Add Like/Dislike to all comments so others users will be able to post their opinion about a comment.4.- Installation

I'm sorry but you need to do some manual work. I was unable to find a way to make these changes automatic. So the steps that you need to follow to install this addon, are:
Upload all files and folders from the upload folder to your vB installation directory.
Goto you admincp
Copy the content of additional.css and paste it to your additional.css template. You can find it at Styles & Templates-> Style Manager-> Edit Templates-> CSS Templates
Copy the content of headinclude.php and on the same way add it to the end of your headinclude template.
Copy the content of footer.php and on the same way add it to the end of your footer template.
Create a Forum Sidebar at Forums & Moderators-> Forum Blocks Manager
Add Block
Select Block Type: Custom HTML/PHP
Click Continue
Title: Anything you like to appear. eg Rate our site
Cache time (in minutes): Set it to a low value. Don't know if setting 0 deactivates cache (should be perfect). Cache causes a problem. Keeps the rate form visible for the cache time period. This actually is not a problem as, in case that the user will tries to rate again, he will gets a permission error. But is not nice to be visible after user rating.
Content type: PHP
Content: Copy and paste the code from: Widget_Block_PHP_Code.txt
Goto Plugins & Products and import product-ratemysite.xml
Set (if needing) the 3 settings at RateMySite Settings
Add Rating questions. I believe that you must have at least 2 questions.
Content
Design
It's up to you to set a starting votes/ratings even if I don't suggest it. Just be careful. Each vote has maximum 10 as rating. So avoid mistakes (I did it) like 5 votes, 70 points which gives 14 as rating:rolleyes:
In case that you want to use BirdOPrey's Sidebar Anywhere (https://vborg.vbsupport.ru/showthread.php?t=283307) in the testimonials page the data that you need are:
THIS_SCRIPT : ratemysite
Template: ratemysite_comments 5.- Copyright

Since the time that DBTech released their Copyright Manager, I've removed my own copyrights. I found their action insulting me to maximum. Their wording "Site is powered by vBulletin AddOns and Modules by Dragonbyte Tech" (and not "Some parts of this site"), means that everything there is their own work, ignoring on the worst way the fact that there are 100's of other coders and designers who are supporting this community for years. So, I'm letting the glory to them. No copyrights from my side.

Enjoy it
Christos Teriakis
aka ChrisTERiS

Christos Teriakis
06-14-2013, 07:27 AM
A new version (1.1.0) has released. This update is mostly for admins operating non English sites. I've forgot to replace the hand writter words with vb phrases. But is good to update.

If you want to change the rating levels (Outstanding .... Terrible) you need to edit the phrases:
ratemysite_rating_1 ....to... ratemysite_rating_10

To upgrade import product-ratemysite.xml and the replace the block code with the new one from the file: Widget_Block_PHP_Code.txt

goxy63
06-14-2013, 08:02 AM
Looks nice

Will install today and try it out, rated, nominated, "installed"

Thank you

daveaite
06-14-2013, 08:17 AM
Cool mod :)

mitch84
06-14-2013, 10:06 AM
Hi, My English is not very good, but can u say to myself in the line 10 an example of configuration of points? I do not understand. And for bird's mod I do not understand or I have to add this:
THIS_SCRIPT : ratemysite
Template: ratemysite_comments
thank you

Christos Teriakis
06-14-2013, 10:18 AM
Hi, My English is not very good, but can u say to myself in the line 10 an example of configuration of points? I do not understand. And for bird's mod I do not understand or I have to add this:
THIS_SCRIPT : ratemysite
Template: ratemysite_comments
thank you

1.- When you are setting a rating field (eg Design) the normal is to let votes and points to 0. But if you want to tease visitors, you can add some values there. eg if you add 3 as votes, the maximum that you set as points is 30 (3 votes of 10).

2.- Are you using that mod? If yes, then somewhere it has some settings to define custom pages where you want to show the sidebar. This setting needs 2 values (at least this is what I understood reading their file).

mitch84
06-14-2013, 11:11 AM
understood! thx

now two problems:
I'm admin, when i want add a comment in public feedback, this appear when I submit
Mitch84, you do not have permission to access this page. This could be due to one of several reasons:

Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

but after my avatar appear in testimonial but not my comment:

second problem or perhaps it's normal, how delete this:

OVERVIEW
RATE US
COMMENTS
when I click apprently don't work for me

and third, a admin can delete a vote or a comment, if yes, how?
thank you Chris!

migratoria
06-14-2013, 01:08 PM
Hi Chris

But... For remove comments?

ahobilam
06-14-2013, 01:25 PM
Dear Chris,
I found always you are very generous, genuine and moderate.
Expecting and love to install more from you!
Best Wishes
NVS

Christos Teriakis
06-14-2013, 02:18 PM
now two problems:
I'm admin, when i want add a comment in public feedback, this appear when I submit
but after my avatar appear in testimonial but not my comment:
You'll get this error only when you try to post rating/comment for 2nd time. It's a chache problem that why I said before to set 0 or 1 for caching. Try editing the forum block. The default is 60.


second problem or perhaps it's normal, how delete this:
when I click apprently don't work for me

Sorry, these 3 tabs are needing for the script to work. You can't remove them, but your can change it to Francais. Is this what you want?


and third, a admin can delete a vote or a comment, if yes, how?
thank you Chris!
I'm working on it. If not today, tomorrow I'll release an update where the admin can reply to comments or delete comments.

Christos Teriakis
06-14-2013, 02:19 PM
Hi Chris

But... For remove comments?
I'm working on it. If not today, tomorrow I'll release an update where the admin can reply to comments or delete comments.

ahobilam
06-14-2013, 02:40 PM
Set (if needing) the 3 settings at RateMySite Settings
Add Rating questions. I believe that you must have at least 2 questions.
Content
Design

I could not find thes options in the settings?!
How to add questions.
NVS

Christos Teriakis
06-14-2013, 02:54 PM
I could not find thes options in the settings?!
How to add questions.
NVS

:) Bad of my. I had to used another word as setting mostly means the general settings. There is an option in admincp-> Rate My Site-> Rating Fields

migratoria
06-14-2013, 03:18 PM
I'm working on it. If not today, tomorrow I'll release an update where the admin can reply to comments or delete comments.
Perfect!:up:

ahobilam
06-15-2013, 06:05 AM
:) Bad of my. I had to used another word as setting mostly means the general settings. There is an option in admincp-> Rate My Site-> Rating Fields

Thanks Chris,
Now I found it and added the following questions FYI:
1. Look & Feel? 2. Contents? 3. Navigation & Admin Help?

NVS

mitch84
07-03-2013, 12:59 PM
When I'm log on my board, this appear top index page (above banner)
"script type="text/javascript" src="christeris/ratemysite/includes/jquery.js"> "

Christos Teriakis
08-11-2013, 05:10 PM
Please note that from 11 Aug 2013 you can get support only in my site
http://www.teriakis.com (http://www.teriakis.com)

TheAdminMarket
08-31-2013, 08:58 AM
My congratulations Christos !!!