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

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

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