PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Classifieds Support > Classifieds Bug Reports

Classifieds Bug Reports Post any problems you may be having with Classifieds here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old April 10th, 2005, 03:15 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Apr 2004
Location: Finland
Posts: 94
v2.2 -> Categories.. no thumbnails?

Classifieds v2.2

Any ideas why there are no thumbnails in categories - just an empty cell.
Mikan is offline   Reply With Quote
Old April 11th, 2005, 01:24 PM   #2 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2004
Posts: 10
the same here:

http://www.makemusic.gr/classifieds/index.php
DertyLee is offline   Reply With Quote
Old April 11th, 2005, 01:35 PM   #3 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
In feature.tmpl find this

$prodimgtag[$x]

change to

$pimgtag[$x]
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 11th, 2005, 04:27 PM   #4 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2004
Posts: 10
Quote:
Originally Posted by omegatron
In feature.tmpl find this

$prodimgtag[$x]

change to

$pthumb[$x]
It is still not working on Recent ads, Most Popular ads, Random ads and Random ads on the sidebar. It works only in recent comments (With double slash after the data folder /classifieds/data//2/116674-thumb.gif).

Last edited by Chuck S; April 11th, 2005 at 05:37 PM.
DertyLee is offline   Reply With Quote
Old April 11th, 2005, 05:04 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Apr 2004
Location: Finland
Posts: 94
We both are using VB3 enhanced so there are no $pimgtag[$x] or $prodimgtag[$x] in feature.tmpl

Umm.. a novice question... why the problem would be in feature.tmpl? I've a feeling that the problem would be in showcat.tmpl and probably here:
line 40 ->

echo<<<PPPRINT
<tr>
<td class="{$gallery['rowcolor'][$x]}" width="15" align="center">
PPPRINT;

$mthumb = $gallery['hasimage'][$x];
include( "{$Globals['PP_PATH']}/templates/thumbnail.tmpl" );

echo<<<PPPRINT

or then in showcat.php

Because for example if you go here (I'm borrowing this from your site DertyLee )

http://www.makemusic.gr/classifieds/showcat.php?cat=2

you'll see no thumbnails there in front of product line (just an empty cell) even though that test2 product has one

http://www.makemusic.gr/classifieds/...1&cat=2&page=1

Last edited by Mikan; April 11th, 2005 at 05:07 PM.
Mikan is offline   Reply With Quote
Old April 11th, 2005, 05:38 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
showcat does not show thumbs

As stated you need to edit your feature.tmpl as I descibed above $pthumb would be correct from what I am seeing

If your using the vb3enhanced template you should not have an issue

<td class="{$Style['tddetails']}" width="$twidth%" align="center" valign="middle">
{$pthumb[$x]}
<span class="{$Style['small']}">{$ptitle[$x]}<br />{$puser[$x]}</span>
</td>


Its only the normal feature.tmpl that has an issue that I see. In the example I see even though he is using vb3 integration he has not copied over the vb3enhanced templates
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 11th, 2005, 05:56 PM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2004
Posts: 10
Quote:
Originally Posted by omegatron
In the example I see even though he is using vb3 integration he has not copied over the vb3enhanced templates
I don't understand what you mean by that.

I have a folder under templates called "vb3enhanced" and it still not working.

I am using reviewpost "vb3enhanced" with no problems here:

http://www.makemusic.gr/review/
DertyLee is offline   Reply With Quote
Old April 11th, 2005, 05:58 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
You would need to copy the vbenhanced templates to the main templates folder to use those templates
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 11th, 2005, 06:12 PM   #9 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2004
Posts: 10
That did the trick!

Thanks
DertyLee is offline   Reply With Quote
Old April 11th, 2005, 07:59 PM   #10 (permalink)
Registered User
 
Join Date: Apr 2005
Posts: 3
same issue

I'm having the same problem as wel. I tried renamed as suggested and it still doesn't work for me.

The url is http://www.surfpulse.com/ppclass/

Before I upgraded to 2.2 I had thumbnails with no problems at all. Previous version was 2.1

Thanks

Kevin
mark1285 is offline   Reply With Quote
Old April 11th, 2005, 10:48 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
The correct variable is indeed $pthumb[$x]
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 12th, 2005, 03:04 AM   #12 (permalink)
Member
Verified Customer
 
Join Date: Apr 2004
Location: Finland
Posts: 94
Quote:
Originally Posted by omegatron
showcat does not show thumbs
Eh?
http://www.photopost.com/classifieds/showcat.php?cat=5
What are those small pictures there

And then check this:
http://www.surfpulse.com/ppclass/showcat.php?cat=3
See.. just an empty cell and no pictures.
Mikan is offline   Reply With Quote
Old April 12th, 2005, 09:17 AM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
thumbnail template

<td>{mthumb}</td>

would be

<td>{$mthumb}</td>
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 12th, 2005, 11:43 AM   #14 (permalink)
Member
Verified Customer
 
Join Date: Apr 2004
Location: Finland
Posts: 94
Thanks but that didn't help - actually it made things worse because if I used $mthumb I lost all thumbnails from featured items(!).

So the problem is that I still don't have thumbnails in categories like you have on your example site.
Mikan is offline   Reply With Quote
Old April 13th, 2005, 03:33 PM   #15 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
There's actually a few problems here and no one simple fix appears to resolve it.

I've uploaded a new build to the download area with an updated set of files to try:

pp-inc.php
showcat.php
templates/feature.tmpl
templates/featurepal.tmpl

(If you use the vb3enhaced files, you'll need the feature.tmpl and featurepal.tmpl files uploaded as well from the vb3enhanced directory).

This was an attempt to bring over some thumbnail caching and it doesn't appear that I thought it out as well as I should have. I've put it back the way it was for now and I have it working on http://www.photopostdev.com/classifieds/index.php

Download the latest build and update your files and let me know if that fixes it for you.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old April 13th, 2005, 04:23 PM   #16 (permalink)
Member
Verified Customer
 
Join Date: Apr 2004
Location: Finland
Posts: 94
Thanks Michael, but unfortunately that didn't help. Basically same thing happened as earlier - still no thumbnails in categories and then I lost all thumbnails from featured items.

So I went back to "originals" and now I have thumbnails again working just fine in featured items but not in categories.

ps. Yes, I'm using VB3 enhanced.
Mikan is offline   Reply With Quote
Old April 13th, 2005, 04:35 PM   #17 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
Are you sure you uploaded those files from the new build? As I said, I've got them running on http://www.photopostdev.com/classifieds/index.php with the vB3 Enhanced and I have thumbnails in both sections.

If you want to PM me your ftp info, I can check it myself.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old April 13th, 2005, 05:01 PM   #18 (permalink)
Member
Verified Customer
 
Join Date: Apr 2004
Location: Finland
Posts: 94
Yes, I'm sure.

I tried this:

1) Unpacked this new build.
2) created a new directory under web root
3) copied that new build into that new directory
4) copied config-inc.php and config-int.php from old to this new directory
5) copied data directory from old to this new
6) copied * from vb3enhanced to templates directory
7) switched those two directories

So after that I had 100% unmodified v2.2 vb3 enhanced + data from old directory.

And the result is that I don't have thumbnails in featured items or in categories.

So this is a really mysterious thing - what could be wrong and where.. I guess we need really creative ideas here
Mikan is offline   Reply With Quote
Old April 13th, 2005, 05:17 PM   #19 (permalink)
Member
Verified Customer
 
Join Date: Apr 2004
Location: Finland
Posts: 94
Just a thought and a really long shot... do you have php's register globals "on" or "off" on your website?
Mikan is offline   Reply With Quote
Old April 13th, 2005, 07:02 PM   #20 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
I have them on; if you want to PM me ftp and/or ssh info; I can see what's going on your system if you'd like.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Members categories and current member categories... Sanjiyan Installs and Upgrade - vBulletin 3.0.X 2 February 8th, 2005 08:48 AM
Categories set with Thumbnails = No ConqSoft Photopost Pro Installation & Upgrades 2 December 18th, 2004 08:36 PM
thumbnails xenz Photopost Pro Installation & Upgrades 1 December 6th, 2004 08:36 AM
Thumbnails Crow ReviewPost Suggestions 1 September 9th, 2004 08:24 AM


All times are GMT -5. The time now is 12:14 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0