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 Pro Support Forums > Photopost Pro Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old April 8th, 2006, 11:39 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2006
Posts: 4
I installed everything and it works BUT comments don't show vb user

its giving me an error saying
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /gallery/forums/vb3.php on line 143

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /gallery/forums/vb3.php on line 143

but its able to grab the users names and gallerys fine its only on the comments section. All that hsows up is their ip address for me but not the user info that is usually in the postbit like if you would post in a regular forum.

Last edited by thomor25; April 8th, 2006 at 11:59 PM.
thomor25 is offline   Reply With Quote
Old April 9th, 2006, 11:21 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
Hello

Your VB location profile field has been deleted from your vb mysql tables and we code our program to a default vb install and thus your issue

You can do a couple things here. You can add field2 back to the vbulletin mysql userfield table or you can change our field2 call in the get_profiledata function in our vb3.php file to the name of the new field you made to house the user location.
__________________
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 9th, 2006, 03:12 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2006
Posts: 4
this section of teh code does not deal with field 2 it desls with the user info nothing about fields

if( $vboptions['avatarenabled'] ) {
list( $cuser, $chomepage, $ctitle, $cposts, $regdate, $clocation, $conline, $csig, $avpath, $hasav, $avrev ) = mysql_fetch_row($results);
}
else {
list( $cuser, $chomepage, $ctitle, $cposts, $regdate, $clocation, $conline, $csig ) = mysql_fetch_row($results);
}
ppmysql_free_result( $results );

if ( $chomepage != "" ) {
$hpage = "<a href=\"$chomepage\" target=\"_blank\"><img src=\"{$Globals['idir']}/home.gif\" alt=\"Visit ".$cuser."'s homepage!\" border=\"0\" /></a>";
}

if ($conline == "") {
$isonline = "<img src=\"{$Globals['idir']}/vb2off.gif\" border=\"0\" alt=\"{$Globals['pp_lang']['offline']}\" align=\"absmiddle\" /> ";
}
else {
$isonline = "<img src=\"{$Globals['idir']}/vb2on.gif\" border=\"0\" alt=\"{$Globals['pp_lang']['online']}\" align=\"absmiddle\" /> ";
}

$userprofile[0] = $cuser; // Username
$userprofile[1] = $chomepage; // Homepage
$userprofile[2] = $cposts; // Total Posts
$userprofile[3] = $ctitle; // Title
$userprofile[4] = $regdate; // Registered Date
$userprofile[5] = $clocation; // Location
$userprofile[6] = ""; // Avatar
thomor25 is offline   Reply With Quote
Old April 9th, 2006, 03:19 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
Of course it does. Look at the query not the defination of variables part. There is definately a field2 parameter and in a normal vb3 install that is the user location field.
__________________
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 9th, 2006, 03:24 PM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2006
Posts: 4
cool saw it on line 123 I added teh myspace had and I had to change all teh field numbers. it works now thanks.
thomor25 is offline   Reply With Quote
Old November 7th, 2006, 09:03 PM   #6 (permalink)
Member
 
Join Date: Feb 2006
Posts: 139
can u tell me how to add field2?

Last edited by sinjix; November 7th, 2006 at 10:00 PM.
sinjix 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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
show comments on idex FROGGYJ Photopost Pro How Do I...? 2 December 28th, 2005 06:35 PM
Images w/o comments don't show in category imported_kilcher Installs and Upgrade - vBulletin 3.5.X 3 August 12th, 2005 03:38 PM
PP5.11 - Show Last Comments column on Index? clubplanet Photopost Pro Bug Reports 5 June 7th, 2005 06:10 PM


All times are GMT -5. The time now is 03:53 PM.

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