coppermine-gallery.com/forum

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.

Quote from: Brooklyn on August 05, 2012, 03:02:40 AM
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?