The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
New User Welcome PM [v2] Details »» | |||||||||||||||||||||||||
This hack will send any new users a welcome PM. This will work in vB3 Gold and probably RC versions as well. I will give support for this hack (if it's needed) in this thread.
If you upgraded your vB version and you are using a hack version prior to July 8, 2004: If you have upgraded vB and your hack version is not July 8, 2004 or newer, run this query (there was a problem with the prior instructions): Code:
INSERT INTO `setting` (`varname`, `grouptitle`, `value`, `defaultvalue`, `optioncode`, `displayorder`, `advanced`, `volatile`) VALUES ('regpmtext', 'register', 'Hi $username and welcome to $bbtitle!\r\n\r\nWe appreciate you taking the time to register on our site and we hope you enjoy your stay.\r\n\r\nIf you have any questions, you can ask an administrator for assistance.\r\n\r\nWe hope to see you around.\r\n\r\nSincerely,\r\nThe $bbtitle staff', 'Hi $username and welcome to $bbtitle!\r\n\r\nWe appreciate you taking the time to register on our site and we hope you enjoy your stay.\r\n\r\nIf you have any questions, you can ask an administrator for assistance.\r\n\r\nWe hope to see you around.\r\n\r\nSincerely,\r\nThe $bbtitle staff', 'textarea', 150, 0, 0); This update has a new on/off switch. Update includes: vB 3.0.2/3.0.3 instructions To install follow the instructions in the attached file. Installation Information Files to Edit: 1 Queries to Run: 11 Upgrade Instructions: Open ./register.php and remove the hack (to find the old hack see below). And re-add the updated hack found in the Installation Instructions file. To upgrade to the December 5th release, you'll need to run these three queries: Code:
INSERT INTO `setting` (`varname`, `grouptitle`, `value`, `defaultvalue`, `optioncode`, `displayorder`, `advanced`, `volatile`) VALUES ('regpmon', 'register', '1', '1', 'yesno', 135, 0, 0); INSERT INTO phrase (phraseid, languageid, varname, `text`, phrasetypeid) VALUES (NULL, '0', 'setting_regpmon_title', 'Automatically Send Welcome PM to New Users?', '5000'); INSERT INTO phrase (phraseid, languageid, varname, `text`, phrasetypeid) VALUES (NULL, '0', 'setting_regpmon_desc', 'Do you want to automatically send a welcome PM to new users?', '5000'); Run the queries in this post, and then remove the hack in register.php (see below). Look for: PHP Code:
Attached is a screen grab of the PM by default and text instructions. If the file appears corrupt, please see this post. Show Your Support
|
Comments |
#202
|
|||
|
|||
Quote:
|
#203
|
||||
|
||||
It should work on any version from 3.0.0 to 3.0.3.
|
#204
|
|||
|
|||
Quote:
|
#205
|
|||
|
|||
First:
This is a great Mod. I've installed this with no problems, and clicked install. Thank you. Quote:
PHP Code:
|
#206
|
|||
|
|||
aha!
I just figured out the answer to my question. No further modification of register.php is needed. Simply use the vBcodes to create the link in adminCP -> vb options -> user registration -> welcome pm text . In my case: Please take a moment to introduce yourself on the Greetings and Introductions Forum rob |
#207
|
|||
|
|||
Hi.
This is really a beautiful hack. But I cannot get it to work. I have tried several times. Deleted the mysql queries, re-installed them and this process I have repeated over and over. The thing is that the welcome message appears in my admin cp. But, when I test it and register a test account, I get an error message (after hitting the complete registration button). I get a database error message. Please hit refresh etc. Then it tells me that I am already registered when hitting refresh. There is no automatic welcome message sent either. And there is something very strange happening. When I upload the new register.php file (with your code it is around 45 KB). The original register.php is around 38 KB). However, when I upload and replace the old php file with the new one, I get a 41 KB page on my ftp. So, it seems like for whatever reason, regardless of how many times I try to upload it, the register.php file reduces the 45 KB to 41 automatically. Any help would be greatly appeciated. I really love this hack and would like to use it. Thanks |
#208
|
|||
|
|||
Quote:
Thanks again. "clicks install" |
#209
|
||||
|
||||
Quote:
Quote:
|
#210
|
|||
|
|||
Quote:
I installed this hack thanks to the scubaboard's admin article here. Nice work on this hack, I'm watching to see how it affects threads and posts. Thanks again. rob |
#211
|
||||
|
||||
Rob,
The text file you have is stretches horizontal in a few lines and very hard to follow. Would it be to much to ask to align it left with the proper page breaks so it is easier to folllow? Fiber |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|