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)

Kirk Fitzgerald 07-15-2012 10:57 AM

Quote:

Originally Posted by Ted S (Post 2348237)
I'm so confused here... didn't you process the images through the bulk sync script turning them into local links like /productforums/xxxxxx.img?

The reason external links won't work is the query I had you run which changes / to \ to work specifically for local links. If you want to use remote images instead that's no problem, we can fix the links to point back to those...

Hi Ted,
yes, I did sync the images and I did run the query, the result you are seeing in my last post is the result of adding a product from the front end where members would be submitting Products. I changed nothing after running the query other than submitting a new Product on the front end to see what happened, and the results I posted was what happened.

Perhaps this is a problem specifically with using Xampp on localhost, I don't know, windows is notorious for being riddled with bugs, we may be looking at a conflict that windows is to blame for. I don't know what else to tell you Ted, the process I went through has been laid out as acted upon, I have absolutely no idea why the results are as they are.

I could shut down my real site for an hour or so, back up everything and run the upgrade there for the Beta and see what happens!

qpurser 07-15-2012 11:15 AM

Ted,
I used your "old" mod which worked fine for me and love it.
I just updated to your newest version and a little confused/lost.

Now all the new reviews I post need approval/moderation. I can't figure out anymore how to turn this off as I don't want to approve them.

Also when adding a new review the image uploader doesn't show up on the page.
What could be the issue?

Thanks for any help or suggestions
Michael

Ted S 07-15-2012 06:47 PM

Quote:

Originally Posted by qpurser (Post 2348275)
Now all the new reviews I post need approval/moderation. I can't figure out anymore how to turn this off as I don't want to approve them.

The moderation process didn't change but it is an admin option in the general settings [Screen New Reviews?]. Also be sure that your forum settings don't place posts into moderation either.

Quote:

Also when adding a new review the image uploader doesn't show up on the page. What could be the issue?
Reviews don't get images.... Products do and only as an admin.

Ted S 07-15-2012 06:48 PM

Quote:

Originally Posted by Kirk Fitzgerald (Post 2348270)
Hi Ted,
yes, I did sync the images and I did run the query, the result you are seeing in my last post is the result of adding a product from the front end where members would be submitting Products. I changed nothing after running the query other than submitting a new Product on the front end to see what happened, and the results I posted was what happened.

Perhaps this is a problem specifically with using Xampp on localhost, I don't know, windows is notorious for being riddled with bugs, we may be looking at a conflict that windows is to blame for. I don't know what else to tell you Ted, the process I went through has been laid out as acted upon, I have absolutely no idea why the results are as they are.

I could shut down my real site for an hour or so, back up everything and run the upgrade there for the Beta and see what happens!

Well if you added an external url image and then ran my query which was designed to handle internal urls of course it broke. Like I said when I posted it, it will impact every url.

Can you do the same source comparison on an image that was actually up and moved locally?

Kirk Fitzgerald 07-15-2012 06:55 PM

Quote:

Originally Posted by Ted S (Post 2348407)
Well if you added an external url image and then ran my query which was designed to handle internal urls of course it broke. Like I said when I posted it, it will impact every url.

Can you do the same source comparison on an image that was actually up and moved locally?

Ah, okay, sure, here is one that was already there, the source shows this:
Code:

<img src="\productphotos\5001db3eda3fd_full.jpg" style="max-width:300px;max-height:300px;" />

Ted S 07-15-2012 06:59 PM

Quote:

Originally Posted by Kirk Fitzgerald (Post 2348408)
Ah, okay, sure, here is one that was already there, the source shows this:
Code:

<img src="\productphotos\5001db3eda3fd_full.jpg" style="max-width:300px;max-height:300px;" />

Now we're on the right track...

So \productphotos\5001db3eda3fd_full.jpg

1. If you type this path into windows [C:\server\...\productphotos\] does it work?

2. When you open the file 5001db3eda3fd_full.jpg from that folder in windows, does it show anything?

3. Looking at another image on your pages that does work, what's the path?

Kirk Fitzgerald 07-15-2012 07:24 PM

Quote:

Originally Posted by Ted S (Post 2348411)
Now we're on the right track...

So \productphotos\5001db3eda3fd_full.jpg

1. If you type this path into windows [C:\server\...\productphotos\] does it work?

2. When you open the file 5001db3eda3fd_full.jpg from that folder in windows, does it show anything?

3. Looking at another image on your pages that does work, what's the path?

Code:

C:\xampp\htdocs\vb4dev\productphotos\
This opens the productphotos directory in windows successfully


Code:

C:\xampp\htdocs\vb4dev\productphotos\5001db3eda3fd_full.jpg
This opens the image with windows image viewer successfully

The no image icon shows on the Product listings page, it loks like this:
Code:

<img src="themes/pscubby/rating/pf/noimage-75.png" width="75" height="75" border="0" alt="missing photo" />

nibb 07-15-2012 11:47 PM

Hi Ted S, does the beta fix the issue I commented some replies back?

I still have this plugin installed but nobody can review anything. Should I install the beta or wait for a fix?

Regards

Ted S 07-16-2012 01:00 AM

Quote:

Originally Posted by nibb (Post 2348506)
Hi Ted S, does the beta fix the issue I commented some replies back?

I still have this plugin installed but nobody can review anything. Should I install the beta or wait for a fix?

Regards

What was the issue?

Ted S 07-16-2012 01:01 AM

Quote:

Originally Posted by Kirk Fitzgerald (Post 2348420)
Code:

C:\xampp\htdocs\vb4dev\productphotos\
This opens the productphotos directory in windows successfully


Code:

C:\xampp\htdocs\vb4dev\productphotos\5001db3eda3fd_full.jpg
This opens the image with windows image viewer successfully

The no image icon shows on the Product listings page, it loks like this:
Code:

<img src="themes/pscubby/rating/pf/noimage-75.png" width="75" height="75" border="0" alt="missing photo" />

Ok, well I have no idea why the link didn't work then but it feels like we're close...

Try changing the source in your template from {vb:raw mainphoto} to productphotos/5001db3eda3fd_full.jpg


All times are GMT. The time now is 09:49 PM.

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.02692 seconds
  • Memory Usage 1,758KB
  • 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
  • (8)bbcode_code_printable
  • (9)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