vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Major Additions - Product Review Forums ? Research, Review & Compare Items (https://vborg.vbsupport.ru/showthread.php?t=269808)

Ted S 07-21-2012 07:03 AM

1 Attachment(s)
Quote:

Originally Posted by Kirk Fitzgerald (Post 2350040)
In Product Listing page I see this in page source:
Code:

<img src="\productphotos\50014e732fa54_full.jpg">

You'll need to add a new product or edit the photo on an existing one.

This version of admincp/productforums.php will let you edit images even if there was already an upload.

Kirk Fitzgerald 07-21-2012 08:38 AM

Quote:

Originally Posted by Ted S (Post 2350042)
You'll need to add a new product or edit the photo on an existing one.

This version of admincp/productforums.php will let you edit images even if there was already an upload.

Adding a new product works perfectly, editing an existing product image is also working. :)

So I will need to edit the images of all existing products to make the images work properly, bit of a pain but I can live with that, thank you for some seriously excellent and first rate support Ted, you're a heck of a fine chap. :up:

Ted S 07-21-2012 06:46 PM

Quote:

Originally Posted by Kirk Fitzgerald (Post 2350059)
Adding a new product works perfectly, editing an existing product image is also working. :)

So I will need to edit the images of all existing products to make the images work properly, bit of a pain but I can live with that, thank you for some seriously excellent and first rate support Ted, you're a heck of a fine chap. :up:

We can fix this with a simple query...

Code:

update pf_product set mainphoto = replace(mainphoto, '\\productphotos\\', 'productphotos/');
update pf_product set mainphoto_thumb = replace(mainphoto_thumb, '\\productphotos\\', 'productphotos/');
update pf_product set mainphoto_small = replace(mainphoto_small, '\\productphotos\\', 'productphotos/');

Or something along those lines depending on your current image paths.

[Note: to replace \ you must escape it with another \ thus \\]

Kirk Fitzgerald 07-21-2012 08:32 PM

Quote:

Originally Posted by Ted S (Post 2350229)
We can fix this with a simple query...

Code:

update pf_product set mainphoto = replace(mainphoto, '\\productphotos\\', 'productphotos/');
update pf_product set mainphoto_thumb = replace(mainphoto_thumb, '\\productphotos\\', 'productphotos/');
update pf_product set mainphoto_small = replace(mainphoto_small, '\\productphotos\\', 'productphotos/');

Or something along those lines depending on your current image paths.

[Note: to replace \ you must escape it with another \ thus \\]

What a star, I used this:

Code:

update pf_product set mainphoto = replace(mainphoto, '\\productphotos\\', 'productphotos/');
update pf_product set mainphoto_thumb = replace(mainphoto_thumb, '\\productphotos\\', 'productphotos/');
update pf_product set mainphoto_small = replace(mainphoto_small, '\\productphotos\\', 'productphotos/');

and everything is fine, just had to re-upload an image for the one I changed earlier and it's working properly now. :)

Thank you Ted. :)

Ted S 07-21-2012 09:05 PM

Quote:

Originally Posted by Kirk Fitzgerald (Post 2350250)
What a star, I used this:

Code:

update pf_product set mainphoto = replace(mainphoto, '\\productphotos\\', 'productphotos/');
update pf_product set mainphoto_thumb = replace(mainphoto_thumb, '\\productphotos\\', 'productphotos/');
update pf_product set mainphoto_small = replace(mainphoto_small, '\\productphotos\\', 'productphotos/');

and everything is fine, just had to re-upload an image for the one I changed earlier and it's working properly now. :)

Thank you Ted. :)

Images aside, how's the rest of the addon working for you?

Kirk Fitzgerald 07-21-2012 09:29 PM

Quote:

Originally Posted by Ted S (Post 2350255)
Images aside, how's the rest of the addon working for you?

Images aside, the addon works without flaw or error, the improvements in 1.3 are absolutely breath-taking, very very excited about the coming stable release. :)

Ted S 07-21-2012 09:49 PM

With the release of 1.3.1 stable we wanted to provide a quick recap on how to upgrade. While the process is straight forward and quick, the new image uploading and other features do make it important to go through a few extra steps so please read on and ask if you have any questions:

1. Start with a backup of your forum for this or any other mod you install.

2. Download the latest version of PRF and upload the contents of the upload folder to your forum directory

3. From your AdminCP update the Product Forums plugin package to the included file

4. Review the main addon settings paying special attention to the new upload and image paths if you wish to use the image uploading features

5. Run the image sync script to convert existing images from external links to local images [requires cURL and GD]

6. Post your comments / suggestions whether they're good, bad or indifferent back here for us, and everyone else in the community

This is a major update and as such you'll see changes throughout the templates and phrases. As always we encourage you to make the mod your starting place and customize beyond it with the options and your own adjustments.

For those who wish to use the image uploader & sync script
you will need to have cURL and GD installed on your server and be able to create a writeable folder for images to be saved in. Images can be processed either one at a time by editing an existing product or in bulk by using the sync images link which will fetch all external images and resize, localize and update them [credit too Simon Jarvis].


The complete install & customization guide can be found @ http://www.giftery.me/productforums/howto/

Ted S 07-21-2012 10:31 PM

Wondering what's new? Here's the main changes [yes, there's a lot of them]
  • Customizable rating options... yes/no, 5-star and text freeform
  • Product images. You upload, we resize [gd required]
  • Bulk image importing from external links [curl & gd required]
  • Thumbnails all over... the product index, even forum display
  • Activity Stream updates when a review is posted
  • Support for user-selected thread prefixes
  • Automatic add product links for the user
  • Improvements to product management for speedier changes
  • Cleaned up product adding interfaces for admin use
  • Lots of small tweaks, bug fixes and other changes
See the full change log @ http://www.giftery.me/productforums/changelog

RPSmedia 07-21-2012 10:45 PM

Hi Ted, great product and you saved me lots of money with this. I've got the beta working good but the only thing is I can't find where users can upload the pictures.

Thanks.

Ted S 07-22-2012 05:16 AM

Quote:

Originally Posted by RPSmedia (Post 2350269)
Hi Ted, great product and you saved me lots of money with this. I've got the beta working good but the only thing is I can't find where users can upload the pictures.

Thanks.

They don't. For a variety of reasons we opted not to build this into 1.3, or at least not uploads. Of course end users can specify a link for an image which, if you run the sync script, will get converted in.


All times are GMT. The time now is 06:03 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
  • Page Generation 0.02527 seconds
  • Memory Usage 1,757KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete