coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: Bernd1975 on February 04, 2008, 07:04:39 AM

Title: vBulletin + Coppermine Favorite Pics in Profile
Post by: Bernd1975 on February 04, 2008, 07:04:39 AM
MySite: http://www.fellbach-cheerleadersquads.de
MyProblem: Deleting Favorite Pics in Profile

Hello there,

I altered my vBulltin Profile and each Member now do have the possibility to show there
his/her favorite Pics, selected from the coppermine

Like here: http://www.fellbach-cheerleadersquads.de/home/member.php?u=12
Just click "Bilder" in Fieldset 1 you will see the favorite Pics from this member from coppermine.

Now I wanted to finalize it and give each user the possibility to remove a pic there, without need
to go to the gallery, to his favorites and so on. I do have the right link

http://www.fellbach-cheerleadersquads.de/home/galerie/addfav.php?pid=$FAVPICS[$i]


The link works fine, too. When I click it the pic will be removed from the favorite list, but after clicking it I get redirected to the gallery.
How can I stop this?!
Title: Re: vBulletin + Coppermine Favorite Pics in Profile
Post by: Bernd1975 on February 04, 2008, 04:48:24 PM
No solutions or hints?
Title: Re: vBulletin + Coppermine Favorite Pics in Profile
Post by: Nibbler on February 04, 2008, 05:10:38 PM
Modify addfav.php and change the redirect code.
Title: Re: vBulletin + Coppermine Favorite Pics in Profile
Post by: Bernd1975 on February 04, 2008, 05:12:40 PM
thnx, but can you give me a short hint which art of the code this is?!
Title: Re: vBulletin + Coppermine Favorite Pics in Profile
Post by: Nibbler on February 04, 2008, 05:34:52 PM

$ref = $CONFIG['site_url'] . (isset($_GET['ref']) ? $_GET['ref'] : "displayimage.php?pos=-$pic");
Title: Re: vBulletin + Coppermine Favorite Pics in Profile
Post by: Bernd1975 on February 04, 2008, 05:49:17 PM
thnx a lot  ;D
Do I need to leave this blank?!