I am running dolphin 6.1.6 by boonex. I am integrating PHPBB2 with this forum, since the forum software included in dolphin is not very good. I won't be using many of the features of PHPBB2 such as profiles, pms, etc, as these will run via the dolphin software.
I think I would have the same problem in PHPBB3, hence would be the same, or very similar solution.
This is part of the code I want/need to modify in viewtopic.php:
Code: Select all
$temp_url = append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$poster_id");
$profile_img = '<a href="' . $temp_url . '"><img src="' . $images['icon_profile'] . '" alt="' . $lang['Read_profile'] . '" title="' . $lang['Read_profile'] . '" border="0" /></a>';
$profile = '<a href="' . $temp_url . '">' . $lang['Read_profile'] . '</a>';
$temp_url = 'CancunWithMe.com';
$pm_img = '<a href="' . $temp_url . '"><img src="' . $images['icon_pm'] . '" alt="' . $lang['Send_private_message'] . '" title="' . $lang['Send_private_message'] . '" border="0" /></a>';
$pm = '<a href=$temp_url></a>';
The profile part of the code is untouched. As you can see on the PM part of the code I tried to "highjack" the $temp_url variable, and put CancunWithMe.com just as an example. I looked up the append_sid function, and not 100% sure what it is doing (I am a novice programmer), but figured that by reassigning the value of the variable it doesn't matter what append_sid does.
The result I was hopping to get was for the PM link to point to CancunWithMe.com, however the link I get is the following: cancunwithme.com/forum/CancunWithMe.com
Seems phpbb is adding the root path to any link I want to use. Can anyone guide me on how to take full control of the href info, so that I can link outside the root? In fact, if someone wants to be kind enough and help me out ALL THE WAY, this is the actual final link I a looking for
Code: Select all
The user id would be the user ID of the poster. The user IDs are the same on dolphin and phpbb database.
Thanks for any and all help you all can provide to me.