NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page phpBB Code Question

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search
5 members in live chat ~  


Closed Thread
 
LinkBack Thread Tools
Old 09-16-2007, 10:02 AM THREAD STARTER               #1 (permalink)
NamePros Regular
 
Ratmaster's Avatar
Join Date: Mar 2007
Location: GMT -5
Posts: 991
Ratmaster is a splendid one to beholdRatmaster is a splendid one to beholdRatmaster is a splendid one to beholdRatmaster is a splendid one to beholdRatmaster is a splendid one to beholdRatmaster is a splendid one to beholdRatmaster is a splendid one to beholdRatmaster is a splendid one to behold
 



Animal Rescue

phpBB Code Question


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 Code:
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/
????: NamePros.com http://www.namepros.com/programming/374704-phpbb-code-question.html
Forums: http://forums.codelyoko.us/

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

Thanks.
Ratmaster is offline  
Old 09-20-2007, 02:12 PM THREAD STARTER               #2 (permalink)
NamePros Regular
 
Ratmaster's Avatar
Join Date: Mar 2007
Location: GMT -5
Posts: 991
Ratmaster is a splendid one to beholdRatmaster is a splendid one to beholdRatmaster is a splendid one to beholdRatmaster is a splendid one to beholdRatmaster is a splendid one to beholdRatmaster is a splendid one to beholdRatmaster is a splendid one to beholdRatmaster is a splendid one to behold
 



Animal Rescue
Bump
Ratmaster is offline  
Old 09-20-2007, 11:31 PM   #3 (permalink)
I'll do it
 
-Nick-'s Avatar
Join Date: Dec 2005
Location: India
Posts: 6,939
-Nick- Has achieved greatness-Nick- Has achieved greatness-Nick- Has achieved greatness-Nick- Has achieved greatness-Nick- Has achieved greatness-Nick- Has achieved greatness-Nick- Has achieved greatness-Nick- Has achieved greatness-Nick- Has achieved greatness-Nick- Has achieved greatness-Nick- Has achieved greatness
 


Member of the Month
September 2007
Adoption
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.
-Nick- is offline  
Old 09-21-2007, 08:10 AM   #4 (permalink)
Ray
CEO
 
Ray's Avatar
Join Date: Jun 2005
Location: Tennessee
Posts: 1,894
Ray has much to be proud ofRay has much to be proud ofRay has much to be proud ofRay has much to be proud ofRay has much to be proud ofRay has much to be proud ofRay has much to be proud ofRay has much to be proud ofRay has much to be proud of
 



The answer to ur question is the phpbb mods section. I once accomplished the very same task.
Ray is online now  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


 
All times are GMT -7. The time now is 02:25 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger