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

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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 1 Guest 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?