phpBB Part: ACP / Other
MOD Name: Welcome PM on First Login
MOD Version: 2.2.5
Author: ..::Frans::..(was abandoned by DualFusion)
MOD Description: Allows the admin to configure a welcome private message that will be sent out to newly registered users on their first login.
Works with:
- phpBB 3.0.0
- phpBB 3.0.1
- phpBB 3.0.2
- phpBB 3.0.3
- phpBB 3.0.4
- phpBB 3.0.5
Features:
- 100% PHPBB3 compatible!
- ALL BBCodes installed can be used in the PM Welcome Message
- ALL Smilies installed can be used
- Text size/color can be normally used
- BBCodes can be used by pressing the installed BBCode buttons
- Sender name can be changed
- Shows up in INBOX receiver
- Shows up in sent messages BOX sender
- Will be sent AFTER first login of the new user (so no unnessecary PM's get stored until needed)
- LARGE PM's are possible (currently text can be 65535 characters) and this can even be expanded
Language: English (Dutch also included). Other languages/translations available in viewtopic.php?f=101&t=4699 with many thanks to the translators.
Licence: GNU General Public License v2
Screenshots: See below
Installation Level: Medium
Installation Time: ~ 7 Minutes
Format: MOD / MODX
Download File:
Previous versions of WPM downloaded 3742 times
Update/Uninstall instructions from any version PRE 2.2.4 are inside the package inside the contrib directory.
Users who had earlier versions (before 2.1.2A) installed MUST uninstall the old version before using the latest version.
I encourage ALL users to upgrade to this latest version 2.2.4!
Changes since 2.1.1 ALPHA
- Few minor bugfixes
- Fixed bug with languages that use non-standard characters (greek/french etc.)
- Cleaned up code
- Few minor bugfixes
- Made some changes to coding so objects are used correct way
- Forgot to give Dualfusion proper credit in the ModX file (shame on me!)
- Added PM Notification support so the new user WILL get a popup message when logging on the first time
- There were 2 spots in the code that didn't have spaces around the dots. Added spaces.
- Changed all apostrofs in the install text to backticks.
- Changed version number to 2.2.0 to reflect the correct version number.
- Cleaned up code
- Fixed all coding according to the coding guidelines
- Fixed the nasty bug that was getting back to me when users with multibyte characters got ??? instead of the normal text
- Cleaned up code
- Few minor bugfixes
- Some minor changes to repair compatibilty with version 3.0.1
- Fixed more coding according to the coding guidelines
- Fixed modx/mod files to reflect some minor errors (tabs and spaces)
- Fixed a small but rather nasty bug where in rare cases banned people could log on.(Thnx go to WhiteWolfSix!)
- Changed package to be compatible with the new ModX 1.2.0 Format.
- Made mod completely phpbb 3.0.2 compatible
- changed package to be compatible with the new ModX 1.2.0 Format.
- Made mod completely phpbb 3.0.2 compatible
- Changed package to be compatible with the new ModX 1.2.2 Format.
- Made mod completely phpbb 3.0.5 compatible
- Repack for phpbb.com validation
- Installs correctly with automod RC1
If you have any comments, please let me know!
1. Preview of some of the BBCodes that can be used inside a PM
2. Easy use of fields in ACP WITH preview mode
3. Easy use of smilies
4. Overview of usable Variables on ACP Page
5. Correctly displays number of new messages
6. Integrates correctly into PM Inbox receiver
7. Nicely formatted PM
8. Shows correctly in Sent Messages Sender
9. Same nicely formatted PM insent messages sender...
Thanks go to LadySaraJane for testing the mod (more than once!!!) and DualFusion for letting me use part of his old code...

26-11-2008: On a rare occasion people are having trouble with the SQL inside the mod text. Jaymie1989 found that entering the next query will sometimes do the trick (still have to find out what the difference is though)
- Code: Select all
INSERT INTO phpbb_wpm (wpm_config_id, wpm_enable, wpm_send_id, wpm_preview, wpm_variables, wpm_subject, wpm_message, wpm_version) VALUES(1, 1, 2, 0, '', 'Welcome to {SITE_NAME}!', 'Hello, [b]{USERNAME}[/b]!\n\nWelcome to {SITE_NAME} ({SITE_DESC})\n\nYou registered on [b]{USER_REGDATE}[/b]. According to your input, your email is [b]{USER_EMAIL}[/b] and you live in timezone [b]{USER_TZ}[/b]. It is nice to know that you speak {USER_LANG_LOCAL}.\n\nYou can contact us here: {BOARD_CONTACT} or here: {BOARD_EMAIL}, whichever you prefer, at anytime. Thank you for choosing us.\n\n-Thank you for registering at {SITE_NAME}!\n\nThanks, {SENDER}', '2.2.5');







Don't worry if I don't approve
I am actually OK with it, as long as I am credited. According to the license, you can take my original mod and do anything you want with it as long as its not commercial. So it's ok, ofcourse
Hmm, even though I don't use bulletin boards (I used to mod because I was bored, not because I used it
) I don't think that if there is a board that receives many registrations on a daily basis that the sender should receive all of those PM's, since it does waste a lot of space. So, you can probably make that an option. Can I suggest one more variable? {SENDER} for the person who sent it. It can be used like this:










or should I say easiest way) to install it on a board that has version 1 installed. 
