I am currently building a new page for my forum and i am trying to use the user variables that i have been reading on.
1. So my new page, currently displays a form. I am not using a language file yet for my new custom page as i am still seeking information on how this works?
2. I am still adapting on how phpBB3's file work (template file, PHP file and language file) and i have a couple of questions:
- Lets say i create a form on my HTML file and include it in the php file, how can i create an if statement in the php file and have the result displayed in my HTML file?
- How does the language file fit in all this? We just end up "echoing" everything from that file in the HTML or PHP file?
- How can i i create variables that can do the same as this:
- Code: Select all
'USER_AVATAR' => get_user_avatar($user->data['user_avatar'], $user->data['user_avatar_type'], $user->data['user_avatar_width'], $user->data['user_avatar_height']),
and now i am able to use:
{USER_AVATAR} in my HTML file?
Thanks for the help!






