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: Displaying user galleries from Coppermine on Vbulletin's member profile page  (Read 2648 times)

0 Members and 1 Guest are viewing this topic.

mahiraminc

  • Coppermine newbie
  • Offline Offline
  • Posts: 9

Hi, I'd like to accomplish the following but here are few facts about my setup:

I run VB3.07 integerated with CPG... that works flawlessly :) Now, I have users creating galleries in CPG and I'd like to display the list of their albums on their VB Profile Page. I'd like to know...

What query/code can I insert into my Vb MEMBERINFO template to pull a list of the user albums.

Any help will be outmost appreciated!

I also apologize for posting this question if it was already answered. I search the forum and didn't find anything. This forum has really been slow today so that could be a reason if anything.

Thanks again!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de

you better post this question on the vb support boards then, as it would take knowledge of the vb code to accomplish what you're requesting. We (the coppermine dev team) have no idea how vb works.
Logged

Nibbler

  • Guest

Code: [Select]
SELECT * FROM cpg_albums WHERE category = 10000 + userid
That will retrieve all the user's 'user gallery' albums, replace cpg_ with the coppermine tablename prefix you chose during installation, and userid with the userid token of vb.
Logged
Pages: [1]   Go Up
 

Page created in 0.013 seconds with 15 queries.