Coppermine profile to phpbbs 2.0.21 Coppermine profile to phpbbs 2.0.21
 

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

Coppermine profile to phpbbs 2.0.21

Started by madd74, September 21, 2006, 02:08:09 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

madd74

First off, I wanted to state, after starting using the Coppermine service, the customer support in the forums has been WONDERFUL.  Every question thus far has been answered (including the one that told me could not be done), and I appriciate that VERY much.  Thank you all who have helped with replies and the like!!

Right now when you click on "My Profile" it goes to the actual profile for the user, as opposed to the profile that allows you to edit the profile.  IE, the following happens:

"http://madd74.com/photo/profile.php?op=edit_profile" is what I see when I hover over the link in the status bar;
"http://madd74.com/forum/profile.php?mode=viewprofile&u=2" is what I get directed to;
"http://madd74.com/forum/profile.php?mode=editprofile" would be where I actually want it to go to.

My only concern, is that in doing this, when someone clicks on a user that it would attempt the same thing.  IE:

"http://madd74.com/photo/profile.php?uid=2" is what shows in the status bar when I go to the name after "Album Name" of a picture, and that I would want to go to "http://madd74.com/forum/profile.php?mode=viewprofile&u=2".  Any information I am thankful for!

Nibbler

Add this into your bridge file


        function edit_profile($uid)
        {
                $this->redirect('/profile.php?mode=editprofile');
        }

madd74

my word now I have that song stuck in my head :D  (points to your signature)

um, when you say add to my brige file, do you mean /bridge/phpbb2018.inc.php  ?  if so, is there anywhere specific in the file I should add it?  thanks!

Nibbler

Yes, you can put it in any valid location inside the class, probably under here would be sensible


function view_users() {}
function view_profile() {}