Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: CPMFetch to Pull Non-Image Profile Data  (Read 2091 times)

0 Members and 1 Guest are viewing this topic.

Brooklyn

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 33
CPMFetch to Pull Non-Image Profile Data
« 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?

Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15765
Re: CPMFetch to Pull Non-Image Profile Data
« Reply #1 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?
Logged
Pages: [1]   Go Up
 

Page created in 0.043 seconds with 19 queries.