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: Bug with user viewing profile - PhpBB + Copper  (Read 5684 times)

0 Members and 1 Guest are viewing this topic.

altagame

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 37
Bug with user viewing profile - PhpBB + Copper
« on: March 16, 2006, 01:38:12 am »

Hello everyone, just wondering if it is just me having this problem or if others are experiencing the same bug.

When a user is logged in, and clicks the "My Profile" link, it is bringing them directly to my member listing page not their profile. When I mouse over, this is the link it displays; (../gallery/profile.php?op=edit_profile) , however, after clicking, it takes them to this URL; (../boards/memberlist.php?mode=viewprofile)

Any idea on what is causing it to go the member listing on the BBS as opposed to the users profile page?

Thanks in advance.

Chris
Logged

altagame

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 37
Re: Bug with user viewing profile - PhpBB + Copper
« Reply #1 on: March 16, 2006, 01:41:45 am »

I just went back in and the link that gets displayed in phpBB to display the users profile should be; (.../boards/profile.php?mode=viewprofile) however CM is defaulting it to (../boards/memberlist.php?mode=viewprofile).

Any thoughts?

Chris
Logged

Nibbler

  • Guest
Re: Bug with user viewing profile - PhpBB + Copper
« Reply #2 on: March 16, 2006, 02:18:06 am »

You can easily adjust the link, take a look at the bridge file.
Logged

xplicit

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 214
Re: Bug with user viewing profile - PhpBB + Copper
« Reply #3 on: March 16, 2006, 02:35:52 am »

search for :

Code: [Select]
// Pages to redirect to
$this->page = array(
'register' => '/ucp.php?mode=register',
'editusers' => '/memberlist.php',
'edituserprofile' => "/memberlist.php?mode=viewprofile&u=",
);

replace edituserprofile with:

Code: [Select]
'edituserprofile' => "/profile.php?op=edit_profile&u=",
Logged
Don't ask me: Can you do this .... or Give me that...or I need Quick help in PM's. I'm not Santaclaus so post your questions on the board so it will be in the benefit for everyone.

altagame

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 37
Re: Bug with user viewing profile - PhpBB + Copper
« Reply #4 on: March 16, 2006, 05:48:02 pm »

Thanks xplicit,

Any idea on what page that code is on?

Alta.
Logged

Nibbler

  • Guest
Re: Bug with user viewing profile - PhpBB + Copper
« Reply #5 on: March 16, 2006, 05:49:08 pm »

Either bridge/phpbb.inc.php or bridge/php2018.inc.php depending on what version you are running.
Logged

altagame

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 37
Re: Bug with user viewing profile - PhpBB + Copper
« Reply #6 on: March 16, 2006, 05:51:16 pm »

Nevermind, I think I found it, 'coppermine.inc.php'

Alta.
Logged

altagame

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 37
Re: Bug with user viewing profile - PhpBB + Copper
« Reply #7 on: March 16, 2006, 06:12:23 pm »

ok that didn't work, I changed them all one at a time and tested. The one that made any difference was 'bridge/phpbb.inc.php' however, once I update it, all it did was redirect to the main index page of PhpBB not the users page.

Any thoughts?

Chris
Logged

altagame

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 37
Re: Bug with user viewing profile - PhpBB + Copper
« Reply #8 on: March 16, 2006, 06:54:42 pm »

ok guys, played with it for a bit, this is what I came up with;

Supplied code by xplicit;
Code: [Select]
'edituserprofile' => "/profile.php?op=edit_profile&u=",
That one didn't work. It just took me to the main index page of the boards.

Then I changed it to the following;

Code: [Select]
'edituserprofile' => "/profile.php?mode=viewprofile&u=",
Now it brings me to the users profile page on phpBB. However, this doesn't allow users to Edit their profiles. Just view them. Not too sure if this is the right operation or not of the button in coppermine, perhaps one of you can let me know if this is the right operation for the button purpose in a bridged CM gallery?

I am no PHP wiz at all, just trying to take make it work, so if what I have above looks wrong, please do not hesitate to let me know.

Chris
Logged

altagame

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 37
Re: Bug with user viewing profile - PhpBB + Copper
« Reply #9 on: March 16, 2006, 07:42:03 pm »

Hmm. Should it be taking users to their profile page in coppermine or the phpbb profile page? Something is telling me it should be the profile page in coppermine, can anyone confirm this for me?

Thank you.

Chris
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 20 queries.