Tag: phpbb3
Send a Private Message on Group Request in phpBB3
by Mat Collins on Dec.06, 2007, under programming
Check out my phpBB3 development board for directions on private messaging leaders on a group request!
Display a phpBB3 Avatar on a Custom Page
by Mat Collins on Nov.26, 2007, under Onovia, hardware, programming
In your php file, you will need to run a database query, for example:
FROM ' . USERS_TABLE . "
WHERE user_id = " . $user->data['user_id'];
$result = $db->sql_query($sql);
$row = $db->sql_fetchrow($result)
Now that you have the required data, you can use the [url=http://area51.phpbb.com/docs/code/phpBB3/_includes---functions_display.php.html#functionget_user_avatar]get_user_avatar[/url] function that’s in includes/functions_display.php
Assign $avatar to a template variable.
And finally, add {USERS_AVATAR} into the template page, where you want it to show.
{USER_AVATAR}
<!-- ELSE -->
{USER_AVATAR_NONE}
<!-- ENDIF -->
What I’ve been up to…
by Mat Collins on Apr.22, 2007, under Onovia
I’ve been hard at work on getting this Gungame AMXX server online for UFIGaming.net. The forums will display statistics from the game server. Sends and receives data from the game server every 3 hours. The possibilities with this are really open.
- UFI Forums and CS Game Server integrated to sync Steam ID’s
- CS Game Server gives special abilities depending on forum groups
This could become a large project.