MOD Description: A welcome panel similar to vB's Welcome Panel mod.
MOD Version: 0.1.1
MOD Download: HERE
Last Stable version: None
Demo Board: None yet
Demo Username: None yet
Demo Password: None yet
Current Features:
- Displays user's name (clickable)
- Displays user's avatar (clickable)
- Displays number of posts since last visit (clickable)
- Displays number of unread private messages (clickable)
- - Displays number of posts created by user (clickable)
- Displays user's average number of posts per day
- - Displays number of forum members (clickable)
- Displays number of threads on forums
- Displays number of posts on forums
- Add user's percent of total forum posts
- Add forum most active in
- Add last visit time
- - Possibly more
Known Bugs:
- Avatar only shows if uploaded to the forum's server, and will not show up if linked elsewhere
Note to translators!
If you would like your language to be included, translate this code (from language/en/common.php) and I will add it to the \contrib directory (crediting you, of course):
Code: Select all
//[BEGIN MOD]--{Welcome panel}--[BEGIN MOD]\\
'GWP_PANEL_TITLE' => 'Welcome Back',
'GWP_WELCOME_BACK' => 'Welcome back',
'GWP_NEW_POSTS_LEFT' => 'There have been',
'GWP_NEW_POSTS_RIGHT' => 'new posts since your last visit.',
'GWP_YOUR_STATS' => 'Your personalised statistics',
'GWP_PM_COUNT_LEFT' => 'You have',
'GWP_PM_COUNT_RIGHT' => 'unread private messages',
'GWP_POST_COUNT_TEXT' => 'Your total forum posts',
'GWP_POSTS_PD_TEXT' => 'Average posts per day',
'GWP_MEMBERS' => 'Members',
'GWP_THREADS' => 'Threads',
'GWP_POSTS' => 'Posts',
'GWP_EDIT_PROFILE' => 'Edit Your Profile',
//[END MOD]--{Welcome panel}--[END MOD]\\
- Dutch thanks to saaiberke
in your web broswer, and you will see the additional file edits you can do.
Updating from 0.1.0 to 0.1.1:
Open: index.php
Find:Before Add:Code: Select all
'TOPIC_COUNT' => $total_topics, 'POST_COUNT' => $total_posts, 'USER_COUNT' => $total_users,
Open: styles/your_style/template/welcome_panel.htmlCode: Select all
'PHPBB_ROOT_PATH' => $phpbb_root_path,
Find:Replace with:Code: Select all
download.php?avatar={AVATAR_FILE}
Save and close all files, purge your cache.Code: Select all
{PHPBB_ROOT_PATH}download/file.php?avatar={AVATAR_FILE}