NameSilo

PhpBB Code Question

Spaceship Spaceship
Watch

Ratmaster

VIP Member
Impact
22
I have a forum on a subdomain and a site on the domain. I have managed to successfully connect the header file that I put on all of the domain root pages to the phpBB code using this code:
PHP:
define('IN_PHPBB', true);
$phpbb_root_path = './forums/';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
(the path from the public_html root is /forums)

I have put a login to the index of the domain at the bottom of the page and I can log into the forum from that.

What my question is, what code can I add in the header file (if I have to, I can put stuff in the footer file too) to make a welcome box appear telling the user how many PMs they have, a log out link, a profile link, something that says "Hello {USERNAME}, you have # new message(s)." with the username that leads to the profile in the forum on the subdomain and the "You have # new messages" part to lead to the messages, and another link leading to the area to edit the profile.

Also, I need something added on the index page to make the login box disappear when logged in.

I have no tpl page set up for the index of the domain, and no language file connections for the index of the domain (nor do I want to).

Site: http://www.codelyoko.us/
Forums: http://forums.codelyoko.us/

I can even give the person who helps me get this all done a link on my site.

Thanks.
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
Bump
 
0
•••
Does that login box on the main page shows logged in it I log into the forums and check the box for remember me?

If yes then it is having access to the sessions.

And if it is having access to the sessions data then you can also put the code that is in the index of the forums on the main page.

Don't know exactly which line to which one and from which file so just explained it :)

Thanks.
 
0
•••
The answer to ur question is the phpbb mods section. I once accomplished the very same task.
 
0
•••
Dynadot — .com Registration $8.99Dynadot — .com Registration $8.99

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Zero Commission
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back