Gallery links

Support for IntegraMOD 141

Moderator: Integra Moderator

Gallery links

PostAuthor: Imajica » Sat Jun 23, 2007 7:33 pm

evening,

I've been asked to try and make a modification to my wifes board that is way above my head so I'm asking for a little help

They use coppermine for their gallery and want to replace the link in profiles and in posts that right now goes to the built in album.
Now what I do know is that the gallery name in coppmine is 10+the user ID
ie: gallery/index.php?cat=10646 would be my coppermine gallery album if it was installed here

now I've look at the defination in PCP for the album, but I can't figure out where it's defined or how to change it

Any ideas?

Imajica
Last edited by Imajica on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Imajica
Integra Member
Integra Member
 
Posts: 143
Likes: 0 post
Liked in: 0 post
Joined: Thu Jul 13, 2006 7:24 pm
Cash on hand: 0.00

PostAuthor: Imajica » Wed Jun 27, 2007 8:59 pm

looks like the field I'm looking for is pcp_output_album

ok I'm guessing this is not easy...

can I add a field to the user table (phpbb_user) maybe called user_cpggallery where the user can input their gallery, like they would their website?

and then add that to the phpbb>>view topic>>buttons and personal information?
Last edited by Imajica on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Imajica
Integra Member
Integra Member
 
Posts: 143
Likes: 0 post
Liked in: 0 post
Joined: Thu Jul 13, 2006 7:24 pm
Cash on hand: 0.00

Re: Gallery links

PostAuthor: Helter » Wed Jun 27, 2007 9:50 pm

im curious about this also as ive never tried it. plz keep us posted...sorry i cant help with this as I no longer have my cpg active
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x

PostAuthor: Imajica » Wed Jun 27, 2007 9:54 pm

I'm trying...
I have the field entered in the DB
I have in in the PCP so the user can enter it into theor profile and it writes to the DB

and I have it so the site displays when you look at a profile... what I can't figure out yet is how to make it so it's clickable
Last edited by Imajica on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Imajica
Integra Member
Integra Member
 
Posts: 143
Likes: 0 post
Liked in: 0 post
Joined: Thu Jul 13, 2006 7:24 pm
Cash on hand: 0.00

Re: Gallery links

PostAuthor: Helter » Wed Jun 27, 2007 10:53 pm

in the title, instead of using Album or CPG, make it <a>Album</a>
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x


Return to IntegraMOD 141

Who is online

Registered users: App360MonitorBot, Google [Bot], Majestic-12 [Bot]