forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: Brooklyn on August 05, 2012, 03:02:40 am

Title: CPMFetch to Pull Non-Image Profile Data
Post by: Brooklyn on August 05, 2012, 03:02:40 am
Can anyone assist on how to use cpmfetch to pull all user info from the profile page to use in anycontent.php when a given member is logged in? Then default to guest mode within the same block when a user is not logged in?

Title: Re: CPMFetch to Pull Non-Image Profile Data
Post by: Αndré on August 06, 2012, 10:47:40 am
I don't know why you want/need to use CPMFetch for that task. Just grab the data from the database with a simple SQL query.

Then default to guest mode within the same block when a user is not logged in?
What information do you want to display for guests?