Request: How phpBB?

cluepoe

New Member
Messages
12
Reaction score
0
Points
0
How can I insert:
- Registered User
- Login Status
- Latest Post Forums.
- Welcome Status e.g.: "Welcome, Guest/Registered User Name."

to my Main website. In short "What are the phpBB modules?"
Please help me!
 
Last edited:

Penguin129

New Member
Messages
68
Reaction score
0
Points
0
This should get you started. $user->data will contain an array of the user's data. Uncomment the print_r() command to list all the data it has in the array. Ex: $user->data["username"] will contain the user's username. You can check if the person is logged in by checking if the username is "Anonymous"; a guest's $user->data["username"] will contain "Anonymous".
PHP:
<?php
define('IN_PHPBB', true);
$phpbb_root_path = 'forums/'; // Directory of the forums
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path."common.".$phpEx);
$user->session_begin();
$auth->acl($user->data);
$user->setup();
// print_r($user->data);
?>
 
Last edited:

cluepoe

New Member
Messages
12
Reaction score
0
Points
0
Uhh... I'm hoping for an html? Is there anything that would be in html?:happysad:
 
Last edited:
Top