Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools
Product Review Forums ? Research, Review & Compare Items Details »»
Product Review Forums ? Research, Review & Compare Items
Version: 1.4.0, by Ted S Ted S is offline
Developer Last Online: Nov 2020 Show Printable Version Email this Page

Category: Major Additions - Version: 4.x.x Rating:
Released: 09-06-2011 Last Update: 04-05-2014 Installs: 214
DB Changes Uses Plugins Auto-Templates
Additional Files  
No support by the author.

Version 1.4.0 has been released to remove the giftery / list it integration of the addon now that service has been discontinued. No upgrade is needed though there have been a few other bug changes since 1.3.5.

Finding Feedback Can be Like a Needle in a Haystack


The more your forum grows, the more of a challenge it becomes to sort through the history and get the full story.


Product Review Forums Brings Structure to the Chaos


As a full-featured product management addon, PRF sits on top of your forum allowing you to create defined products which, unlike individual posts, stay relevant over time. Each comment, review and even product updates filter back into this one spot allowing for a quick and comprehensive overview while the individual discussions rage on as always.


Here's just a few of the many features you'll find in PRF:
  • Bring structure to products with established pages & reviews
  • Reduce the number of repetitive posts from members looking up the same info
  • Increase your traffic with content-rich, seo friendly, product listings
  • Drive revenue by adding your own affiliate links to product listings
  • Increase the activity stream's value with review integration
  • Engage visitors with integrated wishlists from Giftery.me
===========================

Installation is not upload & go... individualized settings are required. Read the install file.


===========================
QUICK TIPS:
===========================

Enabling Product Forums: To show product details and ratings, each product-forum must be enabled in the forum manager.

Adding Products: You may upload products one at a time through the admin [includes an image uploader using GD] or you can bulk import through XML. You can also enable users to add moderated products through a global and usergroup option.

Product Review Index: To access your forum's product overview go to www.yoursite.com/productforums.php - You may want to add a link to this to your navbar or as a tab.

Customization: This addon is made to be customized. To change the color schema see clientscript/vbulletin_css or dive right on in to the templates and phrases.

Powered by Giftery.me: This mod is maintained includes two integrations you should know about. Both can be controlled through the mod options.

Download Now

File Type: zip Product Review Forums v1.4.0.zip (107.4 KB, 227 views)

Screenshots

File Type: jpg Untitled-1.jpg (45.4 KB, 0 views)
File Type: jpg Untitled-2.jpg (79.4 KB, 0 views)
File Type: jpg Untitled-3.jpg (70.0 KB, 0 views)
File Type: jpg Untitled-4.jpg (76.3 KB, 0 views)
File Type: jpg Untitled-5.jpg (62.0 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #1792  
Old 10-23-2014, 04:56 AM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yuck. I'll dig in shortly... sorry!
Reply With Quote
  #1793  
Old 10-23-2014, 01:44 PM
Haywire0311 Haywire0311 is offline
 
Join Date: May 2010
Location: New Jersey
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ted S View Post
Yuck. I'll dig in shortly... sorry!
I figured out the 'j' after 'd' issue. It's due to the normalize special character function starting on line 1861.

PHP Code:
function normalize_str($str)
{
$invalid = array('?'=>'S''?'=>'s''?'=>'Dj''d'=>'dj''?'=>'Z''?'=>'z',
'C'=>'C''c'=>'c''C'=>'C''c'=>'c''?'=>'A''?'=>'A''?'=>'A''√'=>'A',
'?'=>'A''≈'=>'A''∆'=>'A''?'=>'C''?'=>'E''?'=>'E''+'=>'E''?'=>'E',
'?'=>'I''?'=>'I''?'=>'I''?'=>'I''?'=>'N''?'=>'O''?'=>'O''?'=>'O',
'?'=>'O''?'=>'O''?'=>'O''?'=>'U''⁄'=>'U''?'=>'U''?'=>'U''?'=>'Y',
'fi'=>'B''fl'=>'Ss''?'=>'a''?'=>'a''?'=>'a''?'=>'a''?'=>'a''?'=>'a',
'?'=>'a''?'=>'c''?'=>'e''?'=>'e''?'=>'e',  '?'=>'e''?'=>'i''?'=>'i',
'?'=>'i''?'=>'i'''=>'o''?'=>'n''?'=>'o''?'=>'o''?'=>'o''ı'=>'o',
'?'=>'o''?'=>'o''˘'=>'u''˙'=>'u''˚'=>'u''˝'=>'y',  '˝'=>'y''˛'=>'b',
'ˇ'=>'y''R'=>'R''r'=>'r'"`" => "'""?" => "'""?" => ",""`" => "'",
"?" => "'""?" => """"?" => """"?" => "'""â??" => "'""{" => "",
"~" => """?" => "-""?" => "'");
$str str_replace(array_keys($invalid), array_values($invalid), $str);
return 
$str;

You can see that the first line within the array calls for replacing d with dj. I fixed it by just getting rid of it.

Still doesn't work well with vBActivity but no a big deal. I'll just shut off vBActivity when I do the mass upload.

Thanks for trying to help me through it. Now, only if you could do that hard part for me and build out that Wants/Gots function
Reply With Quote
  #1794  
Old 10-24-2014, 02:12 AM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Haywire0311 View Post
I figured out the 'j' after 'd' issue. It's due to the normalize special character function starting on line 1861.

PHP Code:
function normalize_str($str)
{
$invalid = array('?'=>'S''?'=>'s''–'=>'Dj''d'=>'dj''?'=>'Z''?'=>'z',
'C'=>'C''c'=>'c''C'=>'C''c'=>'c''?'=>'A''?'=>'A''?'=>'A''√'=>'A',
'ƒ'=>'A''≈'=>'A''∆'=>'A''?'=>'C''?'=>'E''…'=>'E''+'=>'E''?'=>'E',
'?'=>'I''?'=>'I''Œ'=>'I''œ'=>'I''—'=>'N''“'=>'O''”'=>'O''‘'=>'O',
'’'=>'O''?'=>'O''?'=>'O''Ÿ'=>'U''⁄'=>'U''€'=>'U''‹'=>'U''›'=>'Y',
'fi'=>'B''fl'=>'Ss''‡'=>'a''?'=>'a''‚'=>'a''„'=>'a''‰'=>'a''?'=>'a',
'?'=>'a''?'=>'c''?'=>'e''?'=>'e''?'=>'e',  '?'=>'e''?'=>'i''?'=>'i',
'?'=>'i''?'=>'i'''=>'o''?'=>'n''?'=>'o''?'=>'o''?'=>'o''ı'=>'o',
'ˆ'=>'o''?'=>'o''˘'=>'u''˙'=>'u''˚'=>'u''˝'=>'y',  '˝'=>'y''˛'=>'b',
'ˇ'=>'y''R'=>'R''r'=>'r'"`" => "'""?" => "'""?" => ",""`" => "'",
"?" => "'""?" => """"?" => """"?" => "'""â??" => "'""{" => "",
"~" => """?" => "-""?" => "'");
$str str_replace(array_keys($invalid), array_values($invalid), $str);
return 
$str;

You can see that the first line within the array calls for replacing d with dj. I fixed it by just getting rid of it.

Still doesn't work well with vBActivity but no a big deal. I'll just shut off vBActivity when I do the mass upload.

Thanks for trying to help me through it. Now, only if you could do that hard part for me and build out that Wants/Gots function
Nice work!! Guess we know how often this gets used... lol.

Looking into vBa (any bug is a bad bug) and that other thing this weekend.
Reply With Quote
  #1795  
Old 10-24-2014, 02:16 AM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you have any mods / addons that impact the activity system?

The line with the error is calling up the hook "threadfpdata_postsave" and I'd like to fix that less is impact the frontend features (which use the same build_post routine).
Reply With Quote
  #1796  
Old 10-24-2014, 11:38 AM
Haywire0311 Haywire0311 is offline
 
Join Date: May 2010
Location: New Jersey
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ted S View Post
Do you have any mods / addons that impact the activity system?

The line with the error is calling up the hook "threadfpdata_postsave" and I'd like to fix that less is impact the frontend features (which use the same build_post routine).
The only one I can think of that has any effect on the activity system is the DragonByte vBActivty mod.

Also, I think I found another small bug that probably needs some kind of SQL script run to fix it. When importing about 1700 products, I realized I imported them all into the wrong category. So, I fixed the issue in the XML and then re-uploaded to overwrite the data with the correct categoryid. It overwrote the data and corrected the categoryid and category name. However, the category count in the style dropdown in both admincp and frontend show the incorrect count number. Not sure the correct SQL syntax to use to fix the category count number.

Edit: If you want access to admin on my site, let me know and I can send you a PM with the details.

Edit #2: Just fixed the incorrect count number. Went into one of the revised items in the category just to ensure everything was correct after re-upload. All data was fine. I re-saved the item record and the count fixed itself. So the XML import overwrite won't actually fix the count until you edit a record and save again.
Reply With Quote
  #1797  
Old 10-27-2014, 02:13 AM
Ted S Ted S is offline
 
Join Date: Dec 2003
Location: SoCal
Posts: 3,954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Suspect that addon is doing it (not a negative to the addon, it's just likely colliding between things). I'll take a look.

As for counts, that's an easy fix I'll add in along with the character mapping. Just has to recalc at the end of the import process.

Anything else strike you as off while I'm working on these tweaks?
Reply With Quote
  #1798  
Old 10-27-2014, 10:37 AM
Haywire0311 Haywire0311 is offline
 
Join Date: May 2010
Location: New Jersey
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ted S View Post
Suspect that addon is doing it (not a negative to the addon, it's just likely colliding between things). I'll take a look.

As for counts, that's an easy fix I'll add in along with the character mapping. Just has to recalc at the end of the import process.

Anything else strike you as off while I'm working on these tweaks?
Just that there is no ability to add products to a wants/gots list Just kidding!

I really haven't found many other issues, just those bugs listed above at this point. The special character bug doesn't speak to the function not being used much. My site focuses around beer and there's tons of beers from all over the world that have funky names and characters. I think that's the only reason why I caught it and no one else did.

Sorry for pestering you with all these small tweaks. I'd do it myself but I'm really only good at reading and small tweaks to code. I'm not capable of building my own yet. Btw, great job on this mod! Love it compared to the other review mods out there. Quite a few functions that others are missing.
Reply With Quote
  #1799  
Old 11-12-2014, 04:47 PM
Morrus Morrus is offline
 
Join Date: Jan 2002
Posts: 494
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So I revisited this to see if I could get it working the way I wanted it to. The post formatting issues I was having above I've decided to accept, and simply tell my users it's for a short unformatted comment rather than a full review.

The last thing I need to do is to add an extra field for external reviews, so users cna use it in a Metacritic kinda way. So here's what I did:

- I changed the "Your location" text to "Original Review Location", and added some verbiage to tell the user to enter the URL of the full review in that box, and a short summary in the main message area.

- All good so far. But I can't figure out which template I change to so that I can turn that into a link rather than plain text when the actual review is displayed. Ideally, what I plan to do is post a little icon, and link that to the entered URL. I figure that's an easy template edit if I can figure out which template I need to edit.
Reply With Quote
  #1800  
Old 11-12-2014, 10:05 PM
Morrus Morrus is offline
 
Join Date: Jan 2002
Posts: 494
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also, any idea why this code isn't working? I thought it was the same code I was using before, but reviews stick at the rating of the first review, and don't alter when new reviews are added.

Quote:
// if we're approved, update the product count & average review, and user's review count
if(!$vbulletin->options['prodforums_appreviews'])
{
$ratings = $db->query_first_slave("SELECT rating FROM "
. TABLE_PREFIX
. "pf_review WHERE productid = "
. $db->escape_string($vbulletin->GPC['productid']) );

$new_rating = (array_sum($ratings)/((count($ratings)*5))*100);

$db->query_write("UPDATE "
. TABLE_PREFIX
. "pf_product SET rating = "
. $new_rating
.", reviews = reviews + 1 WHERE productid = '"
. $db->escape_string($vbulletin->GPC['productid']) ."'");

}
Reply With Quote
  #1801  
Old 11-14-2014, 12:23 PM
Morrus Morrus is offline
 
Join Date: Jan 2002
Posts: 494
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got that code working (redid it - took the original averaging code and just applied a multiplier).

I haven't managed to figure out the location thing, though.

I have added a column to display the added date (which I've renamed release date). Only issue there is you have to use PHPMYADMIN to edit the dates after they are added, but it's doable. The main reason I wanted to do that was so I could add upcoming products, but have them not show a review link until the release date. I can't for the life of me figure out how I compare today's date to that date in a bulletin template conditional, though. I suspect it's not possible.

Here's where I am so far. It looks quite good, I think, though the code and templates are probably now a hideous mess:

http://www.enworld.org/forum/productforums.php
Reply With Quote
 


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 01:26 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.05970 seconds
  • Memory Usage 2,424KB
  • Queries Executed 26 (?)
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
  • (2)bbcode_php
  • (5)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
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (12)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
  • (6)postbit_attachment
  • (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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete