PhpBB Code Question

SpaceshipSpaceship
NamecheapNamecheap
SpaceshipSpaceship
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
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Bump
 
0
Close
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
Close
The answer to ur question is the phpbb mods section. I once accomplished the very same task.
 
0
Close
DomainEasy: flexible LTO options. Close more domain deals with financing.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Switch between accounts
You can now stay logged in to more than one NamePros account in the same browser. Click your avatar, then "Accounts in this browser", to...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back