MyBB Community Forums

Full Version: PM Notice?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Where do I edit what this

{$pm_notice}

points to?

I have my portal.php renamed to index.php and it's pointing to my forum directory. I just received a PM notice at the top of the page and when I clicked on the link, it said that the page that it wanted wasn't there. What the link didn't do was put the /forums/ in front of the PM link. I need to edit this so that it points to the correct directory. I just can't find it. Thanks!
There's a few places it could be. First, you'll need to alter the global_pm_alert template (under Global Templates) for the theme you're using. You'll need to add the path to links in this template.

You'll also need to alter a language file - edit global.lang.php and find newpm_notice_one and newpm_notice_multiple language strings and alter the path in these too.
That worked. Thanks! Now I have an additional question. Any time I log in from the portal.php (renamed to index.php) I receive an error. It won't let me login from the top at all. When I login from the side it returns me to portal.php. Which it says is missing. Any help on what and where I can fix those two areas would be much appreciated.

[attachment=19973]
URL?
You'll need to edit where you're redirected to in portal.php (or index.php since you renamed it) on line 96.
Alright. That fixed the login problem I had with the right login box. When I want to login at the top, however, it wants to go to member.php. That resides in the /forums subdirectory. I guess I need to edit the guest panel? I'm not sure where to do that though? Got it working. NM. Thanks for all the help!
Errg... I just updated my forum and for whatever reason, it broke the login at the top. It again wants to go to member.php that resides in the /forums subdirectory. For the life of me, I can't remember what I did to fix that issue. (DURRR) Can anyone lend me some assistance?
Bump... I'm still trying to fix the login problem I'm having with the top login button STILL wanting to go to member.php.
I just looked at your forum and I can not understand your problem, please explain a little more. The path to your board is http://www.thezombiegame.com/forums right? And the login link points to http://www.thezombiegame.com/forums/member.php which is correct in my opinion so what exactly do you want to change?

The links in the top are all built upon the board url which you define in the general board settings. So in your board settings you defined http://www.thezombiegame.com/forums as your board url and that is what is inserted in the header, followed by member.php...
If you manually want to edit the links you go to templates->your theme name->header templates->header_welcomeblock_guest and change the links there.

Greetings
atnun