vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Forum Home Enhancements - [Chris] Rate My Site & Testimonials in Forum Sidebar (https://vborg.vbsupport.ru/showthread.php?t=299076)

Christos Teriakis 06-12-2013 10:00 PM

[Chris] Rate My Site & Testimonials in Forum Sidebar
 
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


1.- What's this


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

2.- Features
  1. The block has 3 tabs: Overview, Rate Us, Comments
  2. 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.
  3. Users can post ratings and leave a simple feedback
  4. The comments tab shows the latests 3 comments but there is a link "All comments" which opens a normal vB page
3.- Things ToDo
  1. Allow admins to post replies to comments or delete comments
  2. 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:
  1. Upload all files and folders from the upload folder to your vB installation directory.
  2. Goto you admincp
  3. 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
  4. Copy the content of headinclude.php and on the same way add it to the end of your headinclude template.
  5. Copy the content of footer.php and on the same way add it to the end of your footer template.
  6. Create a Forum Sidebar at Forums & Moderators-> Forum Blocks Manager
    1. Add Block
    2. Select Block Type: Custom HTML/PHP
    3. Click Continue
    4. Title: Anything you like to appear. eg Rate our site
    5. 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.
    6. Content type: PHP
    7. Content: Copy and paste the code from: Widget_Block_PHP_Code.txt
  7. Goto Plugins & Products and import product-ratemysite.xml
  8. Set (if needing) the 3 settings at RateMySite Settings
  9. Add Rating questions. I believe that you must have at least 2 questions.
    1. Content
    2. Design
  10. 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:
  11. In case that you want to use BirdOPrey's Sidebar Anywhere in the testimonials page the data that you need are:
    1. THIS_SCRIPT : ratemysite
    2. 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

Quote:

Originally Posted by mitch84 (Post 2428061)
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
Quote:

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:
Quote:

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

Quote:

Originally Posted by mitch84 (Post 2428073)
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.

Quote:

Originally Posted by mitch84 (Post 2428073)
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?

Quote:

Originally Posted by mitch84 (Post 2428073)
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

Quote:

Originally Posted by migratoria (Post 2428084)
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

Quote:

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

Quote:

Originally Posted by ahobilam (Post 2428104)
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

Quote:

Originally Posted by Christos Teriakis (Post 2428101)
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

Quote:

Originally Posted by Christos Teriakis (Post 2428106)
:) 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

TheAdminMarket 08-31-2013 08:58 AM

My congratulations Christos !!!


All times are GMT. The time now is 05:51 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01200 seconds
  • Memory Usage 1,789KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (18)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete