Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Link To PHPBB Profile Page?  (Read 3646 times)

0 Members and 1 Guest are viewing this topic.

Jimbo_Test

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Link To PHPBB Profile Page?
« on: January 08, 2006, 02:21:06 pm »

I'm trying to add a link to peoples profiles on PHPBB, but I can't find any info on how to do this. The format is as follows:

http://www.modelsanctum.com/board/profile.php?mode=viewprofile&u=xxx

where xxx is the profile number

How do I add this to the coppermine template?
« Last Edit: January 27, 2006, 01:57:17 pm by Nibbler »
Logged

Jimbo_Test

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: Link To PHPBB Profile Page?
« Reply #1 on: January 27, 2006, 01:59:46 am »

*BUMP*

Please can someone help me on this - surely it can't be that difficult, but I've searched the forums thoroughly.
Logged

Nibbler

  • Guest
Re: Link To PHPBB Profile Page?
« Reply #2 on: January 27, 2006, 01:28:11 pm »

Where do you want this link to be ?
Logged

Jimbo_Test

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: Link To PHPBB Profile Page?
« Reply #3 on: January 27, 2006, 01:53:35 pm »

Hi Nibbler, I actually managed to figuer this out myself. For anybody who wishes to know, here's how I did it...

In theme.php find
Code: [Select]
$param = array('{MY_GAL_TGT}' => "index.php?cat=$my_gallery_id",
and directly afterwards add the following line
Code: [Select]
'{PROFILE_TGT}' => "/board/profile.php?mode=viewprofile&u=$my_user_id",
Then you need to create your link by using the following code
Code: [Select]
<a href="{PROFILE_TGT}">View My Profile</a>
Works a treat!
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 16 queries.