Advanced search  

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

Pages: [1]   Go Down

Author Topic: Coppermine profile to phpbbs 2.0.21  (Read 3729 times)

0 Members and 1 Guest are viewing this topic.

madd74

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Coppermine profile to phpbbs 2.0.21
« on: September 21, 2006, 02:08:09 am »

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

Nibbler

  • Guest
Re: Coppermine profile to phpbbs 2.0.21
« Reply #1 on: September 21, 2006, 12:08:32 pm »

Add this into your bridge file

Code: [Select]
        function edit_profile($uid)
        {
                $this->redirect('/profile.php?mode=editprofile');
        }
Logged

madd74

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Coppermine profile to phpbbs 2.0.21
« Reply #2 on: September 28, 2006, 03:04:42 am »

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

Nibbler

  • Guest
Re: Coppermine profile to phpbbs 2.0.21
« Reply #3 on: September 28, 2006, 03:49:08 am »

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

Code: [Select]
function view_users() {}
function view_profile() {}
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.