Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[Chris] Rate My Site & Testimonials in Forum Sidebar Details »»
[Chris] Rate My Site & Testimonials in Forum Sidebar
Version: 1.1.0, by Christos Teriakis Christos Teriakis is offline
Developer Last Online: Sep 2013 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 4.2.1 Rating:
Released: 06-12-2013 Last Update: 06-13-2013 Installs: 18
DB Changes Uses Plugins Template Edits Auto-Templates
Additional Files Is in Beta Stage  
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
4 благодарности(ей) от:
CAG CheechDogg, Code Geass, iiioroh, Scandal

Comments
  #2  
Old 06-14-2013, 07:27 AM
Christos Teriakis Christos Teriakis is offline
 
Join Date: Jul 2011
Location: Thessaloniki, Greece
Posts: 1,228
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #3  
Old 06-14-2013, 08:02 AM
goxy63 goxy63 is offline
 
Join Date: Oct 2008
Location: its like another planet:D
Posts: 657
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks nice

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

Thank you
Reply With Quote
Благодарность от:
Christos Teriakis
  #4  
Old 06-14-2013, 08:17 AM
daveaite's Avatar
daveaite daveaite is offline
 
Join Date: Jul 2009
Location: Florida
Posts: 1,890
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool mod
Reply With Quote
Благодарность от:
Christos Teriakis
  #5  
Old 06-14-2013, 10:06 AM
mitch84 mitch84 is offline
 
Join Date: Mar 2008
Location: france
Posts: 516
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #6  
Old 06-14-2013, 10:18 AM
Christos Teriakis Christos Teriakis is offline
 
Join Date: Jul 2011
Location: Thessaloniki, Greece
Posts: 1,228
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mitch84 View Post
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).
Reply With Quote
  #7  
Old 06-14-2013, 11:11 AM
mitch84 mitch84 is offline
 
Join Date: Mar 2008
Location: france
Posts: 516
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #8  
Old 06-14-2013, 01:08 PM
migratoria migratoria is offline
 
Join Date: Oct 2011
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Chris

But... For remove comments?
Reply With Quote
  #9  
Old 06-14-2013, 01:25 PM
ahobilam's Avatar
ahobilam ahobilam is offline
 
Join Date: Aug 2011
Location: Chennai, India
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dear Chris,
I found always you are very generous, genuine and moderate.
Expecting and love to install more from you!
Best Wishes
NVS
Reply With Quote
Благодарность от:
Christos Teriakis
  #10  
Old 06-14-2013, 02:18 PM
Christos Teriakis Christos Teriakis is offline
 
Join Date: Jul 2011
Location: Thessaloniki, Greece
Posts: 1,228
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mitch84 View Post
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 View Post
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 View Post
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.
Reply With Quote
Благодарность от:
mitch84
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:49 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04488 seconds
  • Memory Usage 2,323KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (8)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete