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 January 21st, 2008, 03:23 PM   #1 (permalink)
Junior Member
 
Join Date: Jan 2007
Posts: 11
Arrow BUG: Photopost Pro and Classifieds get_profiledata() Issue (vb3.php)

I've had this issue for a while now and I was hoping upgrading to 6.xx would fix this for me but it has not...

The issue is that the forum/vb3.php integration function get_profiledata() wrongly assumes that the User Profile field vb_userfield.field2 exists, and assumes that the content of this field (if it did exist refers to the user's Location data). This table is easily manipulated using the User Profile Field Manager in vBulletin v3.6.x and the field itself can be removed from the vb_userfield table entirely.

In my case, the field field2 referred to by get_profiledata() was deleted and never re-created, so it goes from field1 to field3... It is also possible that the content of this field is used for some other purpose if the administrator of the forums should decide to do so.

So what has been happening is that the call to get_profiledata() has been returning an empty record set because the query to MySQL has been failing with a bad field reference. I've patched my vb3.php integration by manually pointing to the most appropriate field for "Location" information in the vb_userfield table.

This is a bit of a design issue in the integration between Photopost and vBulletin so I don't see a clean issue short of simply removing any attempts to "integrate" the user location information in Photopost.
xedd is offline   Reply With Quote
Old January 21st, 2008, 03:43 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
This is not a bug in any way sorry. A default vbulletin install does indeed have a field2 which is the location field in the userfield table. yes you can as a vb admin delete any field you wish however our application and its queries are coded to a default vbulletin install. should you wish to remove a field you are free to modify the get_profiledata field in the vb3.php to suit your modified needs.
__________________
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
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
vB3 & photopost php pro integration Step 5 Marco Photopost Pro Installation & Upgrades 1 January 25th, 2007 12:13 PM
Installation problems photopost php pro vb3.6.0 Sky Pilot Photopost Pro Installation & Upgrades 24 September 20th, 2006 03:20 PM
PhotPost Classifieds has Broken PhotoPost PHP Pro Duckfather Classifieds Installation & Upgrades 6 April 25th, 2006 02:08 PM


All times are GMT -5. The time now is 01:16 PM.

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