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

Reply
 
Thread Tools
[OzzModz] Reviews Details »»
[OzzModz] Reviews
Version: 1.4.3, by ozzy47 ozzy47 is offline
Developer Last Online: Dec 2021 Show Printable Version Email this Page

Category: Major Additions - Version: 4.2.x Rating:
Released: 11-08-2013 Last Update: 09-22-2014 Installs: 51
DB Changes Uses Plugins Template Edits Auto-Templates
Additional Files Translations  
No support by the author.

Another mod brought to you by,



First off this mod, [Chris] Reviews, has been taken over by me. It did belong to Christos Teriakis. He has since given me full rights to the mod, so I am releasing it here. Only thing I have changed as of yet is the title, so it is basically the same mod.To upgrade from that mod is the same as any other time, unzip the files, load them to your server, overwriting the old files, then import the new xml. Please remember, this mod is as new to me as anyone installing it, so we are both on a learning curve.


1.- What's this mod?


It's better to say what it is NOT . It is a Reviews system for those admins who want to review one type of items (eg Games, Books, Autos etc) and only one group of rating questions is acceptable for them. With the help of extra fields and a bit works from your side to configure it, you can have a very good reviews section in your site.
  • Supports unlimited categories.
  • You can set the word that will be use in the pages to identify the type of your reviews (eg Game - Games, Book - Books etc).
  • Supports Extra fields (but not searchable).
  • Supports one group of rating questions (but unlimited questions).
  • Supports users' reviews and overall rating.
  • Supports Headline, review text, positive points, negative points.
  • Supports Product photos or YouTube video if exists.
  • Has PM templates for:
    • PM user when admin approves his Review.
    • PM user when admin rejects Review.
  • Reviewer can temporary hide the review and a later time he can activate it again.
  • There are listings for:
    • Category Reviews.
    • Time-frame (What's New) Reviews.
    • User Reviews.
    • Search Results.
  • In view Review page the visitor can also see:
    • Editor Rating.
    • Community Rating.
    • Lowest Rating.
    • Highest Rating.
    • Editor other reviews on sidebar.
  • In all pages there are available the follow blocks having the appearance of widgets:
    • Category Menu.
    • Search Form.
    • Statistics.
    • Top Editor Products (Games, Books, etc).
    • Top Community Products.
    • New Reviews.
    • New Community Ratings.
  • RSS Feeds for latest 10 reviews.
  • Facebook Like Advanced (Shows users who liked a review).
  • ver.1.1.0 Added a setting to allow or not Audio files (in case that you want to review music). Default is OFF. If you turn on then the users can hear the audio file with the included (simple) audio player.
2.- Installation
  1. Download and unzip the files.
  2. Upload the content of upload folder to the directory where your vB installation is. To be sure: reviews.php must be on the same directory as global.php, forum.php etc.
  3. CMOD 777 the directories:
    1. christeris/reviews/photos
    2. christeris/reviews/photos/thumbs
    3. christeris/reviews/photos/tmp
  4. Go to ACP --> Plugins & Products --> Manage Products, and import product-reviews.xml.
  5. Set the various settings in Reviews --> General Options.
  6. Set usergroup permissions.
  7. Check and modify Pm templates, Reviews --> PM Templates.
  8. Set Categories, Reviews --> Reviews Categories.
  9. Set Extra Fields, Reviews --> Review Extra Fields (in case that you want them).
  10. Set Rating Questions, Reviews --> Rating Questions.
  11. *** ATTENTION *** Double check that rating questins are ok before starting adding reviews. After the first review you CAN'T Add/Edit/Delete questions.

3.- SEO URLs
  • If you're using vbSeo open the file Reviews_vBSEO_Custom_Rewrite_Rules.txt and add them to your vbSeo installation.
  • If you're using .htaccasse file copy the contents of htaccess.txt and add it to your current .htaccess files. If you don't have such file and your server is compatible with such files, upload htaccess.txt to your vB directory and rename it to: .htaccess.
4.- CMS Widget / Forum Sidebar block for Latest Reviews
  1. Pre-Installation:
    1. Shows latest 5 Reviews. If you want to change the number to another value change at 1st line: $maxreviews = 5;
  2. Installation as CMS Widget
    1. Goto Admincp-> vBulletin CMS-> Widgets.
    2. Click "Create New Widget" at the list bottom.
    3. Set Widget Type: PHP Direct Execution.
    4. Give a Title which appears at the widget. eg Last Reviews, or.. Last 5 Reviews etc.
    5. Click SAVE.
    6. Find in the list the new widget and click configure at the right side.
    7. Replace the example code, with the code from Widget_Block_Latest_Reviews.txt.
    8. Click Save.
    9. Goto Layout and add it in any section you want.
    10. Click Save (Layout).
  3. Installation as Forum sidebar Block
    1. Goto Admincp-> Forums & Moderators -> Forum Block Manager.
    2. Click Add Block.
    3. In the next screen "Select block type: Custom HTML/PHP.
    4. Click Continue.
    5. Title: Latest Reviews.
    6. Content Type: PHP.
    7. Content: Copy & Paste the code from Widget_Block_Latest_Reviews.txt.
    8. Click Save. The block will be now visible to your forum sidebar.
-------------------------------------------------------------------------------------------

If you like this mod please hit the button to the right ---->

Please remember to click the, button to the right if you installed the mod ---->

What does 'Marking As Installed' do ?

* It helps you to stay on top of updates - members who have installed modifications will be notified whenever new updates are available.

* For security issues - vbulletin.org will contact all members who have installed a modification whenever a security issue is brought to their attention.

* Marking a modification as installed also helps me know how many people are using my work, giving me extra incentive to provide more features and new modifications.

I appreciate the support!
-------------------------------------------------------------------------------------------

v1.4.0 Initial release.

v1.4.1 Fixed the following errors, Warning: Invalid argument supplied for foreach() in ..../reviews_usercp.php on line 695 AND Warning: Division by zero in ..../reviews_usercp.php on line 706

v1.4.2
Patched some vulnerability's that was found in the mod. No sites were affected by this, it was just found by a user and now is patched.

v1.4.3
Patched some more vulnerability's that were found in the mod, during the security check. No sites were affected by these, they were just found and patched.

-------------------------------------------------------------------------------------------

Contributions Received (members who clicked on, and followed through with the Support Developer button)

jjohns12


-------------------------------------------------------------------------------------------

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
5 благодарности(ей) от:
bosanci28, Chickenpotpie, goxy63, majjed2008, RichieBoy67

Comments
  #252  
Old 12-11-2014, 03:40 PM
robbyg robbyg is offline
 
Join Date: Aug 2014
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any updates Ozzy?
I have been waiting patiently as I don't want to bother you too much.
Reply With Quote
  #253  
Old 01-11-2015, 03:45 PM
MIWASA MIWASA is offline
 
Join Date: Apr 2014
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Ozzy, compliments of the season. Wondering if you can take a look at the error that was raised from support ticket at VB.
Reply With Quote
  #254  
Old 02-08-2015, 10:57 AM
Toorak Times's Avatar
Toorak Times Toorak Times is offline
 
Join Date: Jan 2011
Posts: 436
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Ozzy,

I have been told that have an issue with my version of php 5.4.32

[root@tooraktimes ~]# php -v
PHP 5.4.32 (cli) (built: Sep 9 2014 21:49:19)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
with the ionCube PHP Loader v4.6.1, Copyright (c) 2002-2014, by ionCube
Ltd., and
with Zend Guard Loader v3.3, Copyright (c) 1998-2013, by Zend Technologies

When I go to add a review I get broken pages.

Is there any way of fixing this?
Reply With Quote
  #255  
Old 02-08-2015, 11:01 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First off, I can't see the errors in that screenshot, it's to small.

Open your includes/config.php file and below <?php add the following.

PHP Code:
define('SKIP_DS_ERRORS'true); 
So it looks like this:
PHP Code:
<?php
define
('SKIP_DS_ERRORS'true);  
/*=================================================  =====================*\
|| ##################################################  ################## ||
|| # vBulletin 4.2.2
Use a editor like notepad++ to edit any files, don't use Notepad or Wordpad.

Does that fix it?
Reply With Quote
  #256  
Old 02-08-2015, 11:15 AM
Toorak Times's Avatar
Toorak Times Toorak Times is offline
 
Join Date: Jan 2011
Posts: 436
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Ozzy,

I put that in the file as suggested and no, it didn't work. I am using 4.2.3 beta 3

My developer says it is an incompatibility issue with php

PHP Code:
PHP WarningIllegal string offset 'privacy' in ..../includes/class_core.php(4715) : eval()'d code on line 204

PHP Warning: Illegal string offset '
password' in ..../includes/class_core.php(4715) : eval()'d code on line 216

PHP Warning
Illegal string offset 'options' in ..../includes/class_core.php(4715) : eval()'d code on line 217

PHP Warning: Illegal string offset '
connections' in ..../includes/class_core.php(4715) : eval()'d code on line 220

PHP Warning
Illegal string offset 'usergroups' in ..../includes/class_core.php(4715) : eval()'d code on line 227

PHP Warning: Illegal string offset '
ignorelist' in ..../includes/class_core.php(4715) : eval()'d code on line 232

PHP Warning
Illegal string offset 'paid_subscriptions' in ..../includes/class_core.php(4715) : eval()'d code on line 235

PHP Warning: Illegal string offset '
buddylist' in ..../includes/class_core.php(4715) : eval()'d code on line 247

PHP Warning
Illegal string offset 'event_reminders' in ..../includes/class_core.php(4715) : eval()'d code on line 252

PHP Warning: Illegal string offset '
attachments' in ..../includes/class_core.php(4715) : eval()'d code on line 262

PHP Warning
Illegal string offset 'deleteditems' in ..../includes/class_core.php(4715) : eval()'d code on line 276

PHP Warning: Illegal string offset '
moderateditems' in ..../includes/class_core.php(4715) : eval()'d code on line 314

PHP Warning
Illegal string offset 'newitems' in ..../includes/class_core.php(4715) : eval()'d code on line 367 
Reply With Quote
  #257  
Old 02-08-2015, 01:07 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try disabling other mods, I don't think that is from this mod, but I could be wrong.
Reply With Quote
  #258  
Old 02-08-2015, 09:56 PM
Toorak Times's Avatar
Toorak Times Toorak Times is offline
 
Join Date: Jan 2011
Posts: 436
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ozzy47 View Post
Try disabling other mods, I don't think that is from this mod, but I could be wrong.

ok Ozzy
Reply With Quote
  #259  
Old 02-08-2015, 10:36 PM
Toorak Times's Avatar
Toorak Times Toorak Times is offline
 
Join Date: Jan 2011
Posts: 436
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybe I should try re installing it, what is the best way to do this without losing my content mate?
Reply With Quote
  #260  
Old 02-08-2015, 10:43 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would not try and reinstall. Disable any plugins that run on the hook, template_render_output and see if the issue goes away.
Reply With Quote
  #261  
Old 02-08-2015, 11:25 PM
Toorak Times's Avatar
Toorak Times Toorak Times is offline
 
Join Date: Jan 2011
Posts: 436
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ozzy47 View Post
I would not try and reinstall. Disable any plugins that run on the hook, template_render_output and see if the issue goes away.

Aaah, that stretches my knowledge too far...no idea
Reply With Quote
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:33 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.04966 seconds
  • Memory Usage 2,344KB
  • 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
  • (3)bbcode_php
  • (2)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
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (5)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_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