vBulletin + Coppermine Favorite Pics in Profile vBulletin + Coppermine Favorite Pics in Profile
 

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]

Main Menu

vBulletin + Coppermine Favorite Pics in Profile

Started by Bernd1975, February 04, 2008, 07:04:39 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Bernd1975

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?!

Bernd1975


Nibbler

Modify addfav.php and change the redirect code.

Bernd1975

thnx, but can you give me a short hint which art of the code this is?!

Nibbler


$ref = $CONFIG['site_url'] . (isset($_GET['ref']) ? $_GET['ref'] : "displayimage.php?pos=-$pic");

Bernd1975