Link phpbb usernames to drupal profiles
Posted
by Toxid
on Stack Overflow
See other posts from Stack Overflow
or by Toxid
Published on 2010-05-05T22:25:21Z
Indexed on
2010/05/06
1:28 UTC
Read the original article
Hit count: 344
I'm using drupal and phpbb with a bridge called phpbbforum. It works quite well, the user information is synched between the drupal and phpbb databases. The forum is embeded in a drupal page, so all variables that come with page.tpl.php should be avaliable.
I want drupal to be the only profile handler, so when someone clicks on a phpbb username, that person get's linked to the drupal profile. In phpbbs template files, the link to the profile is called by function get_username_string
. I think the right place to edit it is in the /includes/functions_content.php
file on line 1178. Right above that line it says "* Get username details for placing into templates." and there's a section about profile links.
I just can't figure out how to edit it so that the profile links lead to drupal profiles. Can anyone figure this one out?
© Stack Overflow or respective owner