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
  #152  
Old 12-31-2013, 09:29 PM
dizzynation's Avatar
dizzynation dizzynation is offline
 
Join Date: Jun 2011
Posts: 279
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks!

I have been working on the re-write rules, I have the first one done, and half way on the second.

'^reviews\.php$' => 'reviews.html'
'^reviews\.php\?do=main&catid=(.*)$' => 'reviews/category/[NF]$1'

Just need to get the title of the category in the url - Once I figure out the second, the rest will come easy
Reply With Quote
  #153  
Old 12-31-2013, 09:31 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great, hopefully you can get it to work properly. I sent you a PM on my site, if you would not mind checking it out.
Reply With Quote
  #154  
Old 12-31-2013, 09:39 PM
RPSmedia RPSmedia is offline
 
Join Date: Feb 2010
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ozzy47 View Post
Hmmm, I'll look into that as well, and see if I can reproduce it.
this is happening for both the reviews and classifieds and I'm starting to get lots of complaints. Hopefully it can be an easy fix.
Reply With Quote
  #155  
Old 12-31-2013, 09:42 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Crud, I guess I got to look into it and see why it is like that.
Reply With Quote
  #156  
Old 12-31-2013, 10:10 PM
RPSmedia RPSmedia is offline
 
Join Date: Feb 2010
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks Ozzy, I really appreciate it. Let me know how I can help
Reply With Quote
Благодарность от:
dizzynation
  #157  
Old 12-31-2013, 10:31 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok I think I got it, open the file, reviews.php found in your forum root, and look for the following code:

Code:
				$templater->register('comment_reviewtext', htmlspecialchars_uni($comment[reviewtext]));
And replace it with this code:

Code:
				//$templater->register('comment_reviewtext', htmlspecialchars_uni($comment[reviewtext]));
                                $templater->register('comment_reviewtext', '<pre>'.$comment[reviewtext].'</pre>');
That should get it to work for the time being.
Reply With Quote
  #158  
Old 01-01-2014, 12:39 AM
dizzynation's Avatar
dizzynation dizzynation is offline
 
Join Date: Jun 2011
Posts: 279
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ozzy47 View Post
That is the how the original developer designed it. But what you can do is download the following PHP file, and uploaded it to your admincp directory overwriting the one that is there. That should allow you to do what you need.

Let me know it that works.
Thats a fix that will make alot of people happy! Well done! It worked!!!!!
Reply With Quote
Благодарность от:
ozzy47
  #159  
Old 01-01-2014, 12:45 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool, glad it worked as intended, and did not add the new questions to the old stuff you had already set up.
Reply With Quote
  #160  
Old 01-01-2014, 01:43 AM
dizzynation's Avatar
dizzynation dizzynation is offline
 
Join Date: Jun 2011
Posts: 279
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Ozzy,

I am having a hard time finding out how to change the Game phrase. I have searched all templates, and also when viewing the source code it is very difficult to find out which templates are using what.

Anyway, phrases - Any help?



Also, adding links to the "game" does not seem to link out correctly, this is the link it produced.

Code:
http://www.filmmakerforum.org/www.therecordingmovie.com
Reply With Quote
  #161  
Old 01-01-2014, 01:58 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok lets go one by one.

1) About this Game, the About this part is the phrase, reviews_about_this and Game is the setting, Review item (Singular)

2) Publisher should be the phrase, reviews_publisher

3) Game Link, the Game part is the setting, Review item (Singular) and the link is the phrase, reviews_link
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 12:08 AM.


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.14980 seconds
  • Memory Usage 2,331KB
  • 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_code
  • (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
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (7)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)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