Link To PHPBB Profile Page? Link To PHPBB Profile Page?
 

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

Link To PHPBB Profile Page?

Started by Jimbo_Test, January 08, 2006, 02:21:06 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Jimbo_Test

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?

Jimbo_Test

*BUMP*

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

Nibbler

Where do you want this link to be ?

Jimbo_Test

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
$param = array('{MY_GAL_TGT}' => "index.php?cat=$my_gallery_id",

and directly afterwards add the following line
'{PROFILE_TGT}' => "/board/profile.php?mode=viewprofile&u=$my_user_id",

Then you need to create your link by using the following code
<a href="{PROFILE_TGT}">View My Profile</a>

Works a treat!