2008-11-04, 10:15 PM
Hello
As part of my forum-site integration I am displaying the Global notices on my main pages in my root directory. My forum is located at url.com/forum, so the code I have inserted is:
This worked fairly well, once I had edited some links in the language packs so they worked from my root directory. However, one link which I can't seem to find & edit is the link to the PM sender's profile in the {$pm_notice} (a picture of which I have attached).
Can anyone advise me on how to either:
- remove the link to the profile, and just display the user's name
or, alternatively
- edit the link so I can insert 'http://url.com/forum', so the link works.
I think it has something to do with editing global.php, but I wouldn't want to edit it without first finding out what I need to do.
Thank you,
Patrick
As part of my forum-site integration I am displaying the Global notices on my main pages in my root directory. My forum is located at url.com/forum, so the code I have inserted is:
<?php
chdir('forum');
define("IN_MYBB", 1);
require './global.php';
echo "{$pm_notice}{$bannedwarning}{$bbclosedwarning}{$pm_unreadreports}";
?>
This worked fairly well, once I had edited some links in the language packs so they worked from my root directory. However, one link which I can't seem to find & edit is the link to the PM sender's profile in the {$pm_notice} (a picture of which I have attached).
Can anyone advise me on how to either:
- remove the link to the profile, and just display the user's name
or, alternatively
- edit the link so I can insert 'http://url.com/forum', so the link works.
I think it has something to do with editing global.php, but I wouldn't want to edit it without first finding out what I need to do.
Thank you,
Patrick