Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: CPMFetch to Pull Non-Image Profile Data  (Read 2378 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: 15764
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.017 seconds with 20 queries.