FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


PHPBB Question





roeenoy
hi all,
i build site with php and i made a combintaion with phpbb...

in the header of phpbb near the logo there is a small user-panel:
if you've already logged, it writes your username + link to logout
if you've not already logged, it writes a link to login + link to register

my question is how can i do this thing in my own site?
what's the code which i need to copy?

thanks
LukeakaDanish
inside your template folder, there is a fiel called "overall_header.tpl"...you should be able to find the code for it there...its probably pretty straight forward...
roeenoy
yes but it is just the output and i need to find the source (php code)
LukeakaDanish
nah...that is the source / input...

ok...so the way it calculates switch_user_logged_out isnt clear from this document however all you need to do is use abstraction and the only thing you need to know is how to use it in your own document...which seams pretty clear from the overall_header.tpl
Related topics
PhPBB Question
phpBB question
phpBB Question
phpBB question
phpBB Question
PHPBB question
phpbb question
phpBB question
PHPBB question...
PhpBB Question about Registration
PHPBB Question
PHPBB Forum question
Phpbb Question
PHPBB question/problem about languages
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.