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 How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old December 11th, 2006, 08:46 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Dec 2006
Posts: 15
username and avatar not show in comments

as you can see here

http://under-linux.org/gallery/showp...3/limit/recent

i dont know why but my user avatar and my username is not showing in comments.
magmf is offline   Reply With Quote
Old December 12th, 2006, 11:30 AM   #2 (permalink)
Junior Member
Verified Customer
 
Join Date: Dec 2006
Posts: 15
hello ???

Can anyone help me please
magmf is offline   Reply With Quote
Old December 12th, 2006, 11:37 AM   #3 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,802
Are you showing any errors on your server logs? I would think there is an issue trying to run the query to get the user profile information.

Try also making sure you reupload all files and templates except the config files to ensure you are running all the proper files.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old December 12th, 2006, 11:42 AM   #4 (permalink)
Junior Member
Verified Customer
 
Join Date: Dec 2006
Posts: 15
chuck i have no errors at log
and already reuploaded all files
magmf is offline   Reply With Quote
Old December 12th, 2006, 11:45 AM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,802
What version of the software is this and you have a test user login to post here? NON ADMIN OF COURSE
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old December 12th, 2006, 11:50 AM   #6 (permalink)
Junior Member
Verified Customer
 
Join Date: Dec 2006
Posts: 15
user: teste
pass: teste
magmf is offline   Reply With Quote
Old December 12th, 2006, 11:52 AM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: Dec 2006
Posts: 15
vBulletin® Version 3.6.4
and Photopost 562
magmf is offline   Reply With Quote
Old December 12th, 2006, 12:25 PM   #8 (permalink)
Junior Member
Verified Customer
 
Join Date: Dec 2006
Posts: 15
Query: SELECT u.username,u.homepage,u.usertitle,u.posts,u.joindate,uf.field2,s.host,t.signature,avatar.avatarpath, NOT ISNULL(customavatar.filedata) AS hascustomavatar,u.avatarrevision FROM vbuser u LEFT JOIN vbuserfield uf ON uf.userid=u.userid LEFT JOIN vbsession s ON s.userid=u.userid LEFT JOIN vbusertextfield t ON t.userid=u.userid LEFT JOIN vbavatar AS avatar ON (avatar.avatarid = u.avatarid) LEFT JOIN vbcustomavatar AS customavatar ON (customavatar.userid = u.userid) WHERE u.userid=36026 LIMIT 1

Result: Unknown column 'uf.field2' in 'field list'

Database handle: Resource id #21


i Found this error in debug mode
magmf is offline   Reply With Quote
Old December 12th, 2006, 12:32 PM   #9 (permalink)
Junior Member
Verified Customer
 
Join Date: Dec 2006
Posts: 15
Well i chage this code in vb3.php

i remove uf.field2

Code:
Content visible to verified customers only.
And now username works but i cant see avatar is there something to do to show avatars ?
magmf is offline   Reply With Quote
Old December 12th, 2006, 12:51 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,802
You can add field2 back to the userfield table in vb database as far as avatars try this in vb3.php

http://www.photopost.com/forum/showp...4&postcount=85
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old December 12th, 2006, 12:56 PM   #11 (permalink)
Junior Member
Verified Customer
 
Join Date: Dec 2006
Posts: 15
Chuck i dont have field2 in my userfield table.


i solved the problem with avatars but i want understand.


Code:
Content visible to verified customers only.

as you can see he enter in if ( isset($avpath) )
but i think is wrong and they need to enter in elseif ( $vboptions['usefileavatar'] && $hasav == 1 )

and i dont know why but {$avrev} is comming with no value so i need to force 1 to make it work.

Is this make any sense to you ?
magmf is offline   Reply With Quote
Old December 12th, 2006, 01:12 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,802
You must use the code exactly as I posted why are you commenting out something? I can show many sites where this works fine. avref has nothing to do with anything that I see as that value comes right out of the database. If avpath is not null your using an external avatar and must use as posted without commenting anything out. I think we have any variables on avatars covered with the code above and have supported vb3 for many years and made changes as they have evolved to support various avatars.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old December 12th, 2006, 01:16 PM   #13 (permalink)
Junior Member
Verified Customer
 
Join Date: Dec 2006
Posts: 15
Chuck

Code:
Content visible to verified customers only.

This code does not work for me (


but this code

Code:
Content visible to verified customers only.
is working fine ....
magmf is offline   Reply With Quote
Old December 12th, 2006, 01:18 PM   #14 (permalink)
Junior Member
Verified Customer
 
Join Date: Dec 2006
Posts: 15
But i have a big problem...
if avatar is _2 or _3 or _4 ....
this code will not work.. i dont know why but i cant get avrev value...
magmf is offline   Reply With Quote
Old December 12th, 2006, 01:26 PM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,802
There must be something your not understanding what I am saying. $avrev is simply a value we pull from your vbulletin avatar table so if it is 1 2 3 or 4 does not matter we pull what it is. $avrev has nothing to do with anything concerning $avpath

If your having issues first use the default code and show us a link to your site with the default code so we can see what is there.

$avpath is something else to my recollection and has to do with using the stored avatars you pick from vbulletin. I can do some testing though
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old December 12th, 2006, 01:33 PM   #16 (permalink)
Junior Member
Verified Customer
 
Join Date: Dec 2006
Posts: 15
SOLVED!!!

CHUCK SORRY FOR THE INCOVENIENCE ...


THE PROBLEM WAS SOOOOOOOOO SIMPLE TO SOLVE AUHuhAUHAuh

I BACK WITH .ZIP CODE and only change field2 to field5 in vb3.php and now everything is working fine.

But i really dont know why i have field5 instead of field2

i think you need to make some check if field2 exists because if i have this problem problably other people has.
magmf is offline   Reply With Quote
Old December 12th, 2006, 01:44 PM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,802
This is why I noted two posts ago you had to add that field back in cause the user profile data is an array and if you change the query you change the array which is going to change what stuff is assigned where.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old December 12th, 2006, 01:48 PM   #18 (permalink)
Junior Member
Verified Customer
 
Join Date: Dec 2006
Posts: 15
sorry for this (

I really like photopost and i will buy next month review and classified for my website thanks for your help.
magmf 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



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

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