![]() |
I may begin tackling adding on a way to calculate and display the top ranked products, unless you already have something like that in the works? I'm not 100% sure how to rank them yet, but I think it will need to be weighted against the total number of reviews and the score rather than just the score (ie. a product reviewed 10 times with a 4.9 rating would rank better than a product reviewed 1 time with a 5.0 rating) and also should take into consideration how recent the reviews are. I guess this would be sort of a "best of the most popular products" hack so to speak.
|
PRF users, there's a release level update out today marked as 1.3.5 [skipping .3 and .4 as those were posted as patches].
This is a bug fix designed to address issues with moderated posts, blank reviews [too short & duplicate content] review links and a few other details that impacted a few, but not all sites. If you do not have any of these issues you do not need to upgrade. To update install the new plugin file and upload/productforums.php into your forum folder. There no other changed files. Thanks to GCC LLC for tracking down the moderation issue too. |
Also if anyone's interested, I added BMP support in the image resync functions. Some of the images at the remote URL from my XML feed were BMP and the image processing script at
includes/prodforums_uploader.php wouldn't process them. Here's the changes I made: In the load() function, added: elseif( $this->image_type == IMAGETYPE_BMP ) { $this->image = imagecreatefromwbmp($filename); return '.bmp'; } In the save() function, added: elseif( $image_type == IMAGETYPE_BMP ) { $white = 0x00FFFFFF; imagewbmp($this->image,$filename,$white); } (Note: I defined the color for white for processing bitmaps because in the imagewbmp() function, it defaults everything to a black alpha channel (background) - so you may want to adjust this to your own preferences) In the output() function, added: elseif( $image_type == IMAGETYPE_BMP ) { imagewbmp($this->image); } |
Also while I will be supporting this update today I am out all of next week [and not just ignoring you]. Please continue to post as other members may help and I will review everything when I return.
|
Quote:
mySQL isn't great for formulas on the fly as they add load time but if it's just rating sum & count it's pretty simple.... I'll play around with some queries when I return after next week. |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
installing and testing latest and greatest!
thnx agian Ted S! |
All times are GMT. The time now is 05:23 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|