coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: sinaluna on November 28, 2005, 04:02:56 AM

Title: Profile Fields not displaying
Post by: sinaluna on November 28, 2005, 04:02:56 AM
I have designated custom fields for user profiles on the config page.  They appear to the user when they edit thier profile.  Yet they do not display when other users view that profile.

Can anyone help with this?  Why is the information not showing up?  Thank you.
Title: Re: Profile Fields not displaying
Post by: sinaluna on November 29, 2005, 06:47:23 AM
Maybe this will help:

Debug Info:

USER:
------------------
Array
(
    [ID] => 1f7b5baf5638d2fb2fe533bd0fa890e5
    [am] => 1
    [lang] => english
    [liv] => Array
        (
           
Title: Re: Profile Fields not displaying
Post by: artistsinhawaii on November 29, 2005, 08:08:31 AM
It's the same on mine, sinaluna.

It may be a bug.  Just got to be a little more patient until someone a little more familiar with this end of the script can get around to it.

Dennis
Title: Re: Profile Fields not displaying
Post by: Joachim Müller on November 29, 2005, 09:31:33 AM
post a link to your site for a start please.
Title: Re: Profile Fields not displaying
Post by: Nibbler on November 29, 2005, 10:57:10 AM
I noticed why this happens earlier. I'll go fix it.
Title: Re: Profile Fields not displaying
Post by: Nibbler on November 29, 2005, 11:09:30 AM
bridge/udb_base.inc.php

find

$sql = "SELECT {$this->field['username']} AS user_name,

change to

$sql = "SELECT *, {$this->field['username']} AS user_name,
Title: Re: Profile Fields not displaying
Post by: artistsinhawaii on November 29, 2005, 11:18:06 AM
I would have never thought of looking in there, thanks Nibbler.

Works perfectly, now.

Dennis
Title: Re: Profile Fields not displaying
Post by: sinaluna on November 30, 2005, 03:12:50 AM
Thank you very much!   :)