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 January 28th, 2005, 03:27 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Apr 2004
Location: Finland
Posts: 94
Angry VB3 enhanced -> different ad types are all using id 0 templates

When I upgraded from 2.02 to 2.1 all different ad types are using default id 0 templates - like "Wanted By" which should use id 1 templates. This happens only when I have vb3 enhanced enabled - which I must.

Any ideas?

Last edited by Mikan; January 30th, 2005 at 04:06 AM.
Mikan is offline   Reply With Quote
Old January 28th, 2005, 07:23 AM   #2 (permalink)
Member
Verified Customer
 
Join Date: Apr 2004
Location: Finland
Posts: 94
Ok, I'm not sure if this is correct way to fix that problem but I was able to get that fixed by doing the following modifications:

showcat.php / lines 141-144
was:
$query = "SELECT id,catname FROM {$Globals['pp_db_prefix']}categories WHERE id='$cat'";
$ctitleq = ppmysql_query($query, $link);
if ( $ctitleq ) {
list( $catid, $thecatname ) = mysql_fetch_row($ctitleq);

Corrected:
$query = "SELECT template,id,catname FROM {$Globals['pp_db_prefix']}categories WHERE id='$cat'";
$ctitleq = ppmysql_query($query, $link);
if ( $ctitleq ) {
list( $Globals['cattemp'], $catid, $thecatname ) = mysql_fetch_row($ctitleq);

So I added 'template' to mysql query and ' $Globals['cattemp'] ' to list(...

And then showproduct.php / lines 111-113
Fixed:
$query = "SELECT template,catname,extra1,extra2,extra3,extra4,extra5,extra6 FROM {$Globals['pp_db_prefix']}categories where id='$cat'";
$resulta = ppmysql_query($query,$link);
list( $Globals['cattemp'], $thecatname, $Globals['extra1name'], $Globals['extra2name'], $Globals['extra3name'], $Globals['extra4name'], $Globals['extra5name']

Same here... template and then $Globals....
Mikan is offline   Reply With Quote
Old January 29th, 2005, 11:37 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jul 2003
Posts: 93
I have the same problem is their going to be a new version update?
cnczone is offline   Reply With Quote
Old January 30th, 2005, 04:04 AM   #4 (permalink)
Member
Verified Customer
 
Join Date: Apr 2004
Location: Finland
Posts: 94
Well, you could try those modifiications. They are very simple and should not cause any other problems.
Mikan is offline   Reply With Quote
Old January 30th, 2005, 09:28 AM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
That looks fine
__________________
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 January 30th, 2005, 04:16 PM   #6 (permalink)
Member
Verified Customer
 
Join Date: Jul 2003
Posts: 93
I don't really understand you fix.
cnczone 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
I love the PPPro vB3 Enhanced. When can we have the reviewpost vB3 Enhanced?? batmon ReviewPost Installation & Upgrades 8 March 9th, 2005 03:28 PM
vb3 enhanced WYSIWYG kewl1uk Classifieds Installation & Upgrades 0 March 6th, 2005 07:37 AM
(2.1 vb3 enhanced) when deleting a ad... djroketboy Classifieds Bug Reports 2 February 14th, 2005 04:09 PM
vb3 enhanced templates?? jdearing Photopost Pro Installation & Upgrades 4 January 20th, 2005 08:11 PM
4.8.5 vb3 enhanced 7thgencivic.com Photopost Pro Installation & Upgrades 2 November 19th, 2004 02:11 PM


All times are GMT -5. The time now is 12:37 AM.

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