CPMFetch to Pull Non-Image Profile Data CPMFetch to Pull Non-Image Profile Data
 

News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

Main Menu

CPMFetch to Pull Non-Image Profile Data

Started by Brooklyn, August 05, 2012, 03:02:40 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Brooklyn

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?


ΑndrĂ©

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?