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 |
#142
|
|||
|
|||
quick question,
1. lets say after I open admin cp and run each query individually, how can I test to see if it worked? I mean will I see side effects if it doesn't? 2. I forget should I run it manually or automatic in the admin cp 3. I created the board, but it says I don't have permissions to exicute an SQL query. I know when I transfered my PHP board, it transfered my admin account, then created another admin account. I deleted that without thinking. So how do I make myself a super admin again??? Thanks for all of your help |
#143
|
||||
|
||||
Quote:
Quote:
And there should be three new options: Registration PM From, Text, and Title. Quote:
Quote:
|
#144
|
||||
|
||||
i would like to install this hack. however, i know absolutely NOTHING about mysql.
i would be able to run the queries just fine, but i need to know now to uninstall the hack for future upgrades and whatnot. if anyone could provide an exact undo of every change to the database (putting it back just like it was before the hack was installed), that would be fantabulous. i could then install the hack without worrying about foreign things in my vbulletin database that i have no idea how to get rid of. if this is alot of work, then nevermind. |
#145
|
||||
|
||||
The following two queries will undo any database changes:
Code:
DELETE FROM `setting` WHERE `varname` IN ('regpmfrom', 'regpmtext', 'regpmtitle'); DELETE FROM `phrase` WHERE `varname` IN ('setting_regpmfrom_title', 'setting_regpmfrom_desc', 'setting_regpmtext_title', 'setting_regpmtext_desc', 'setting_regpmtitle_title', 'setting_regpmtitle_desc'); |
#146
|
||||
|
||||
thanks
|
#147
|
|||
|
|||
Thanks a lot for this hack!
|
#148
|
||||
|
||||
Thanks for this hack !
click install |
#149
|
|||
|
|||
Ran all queries, clicked "save" in ACP User registration options and did the file edit. When I registered a test user I got an error message that there was a problem with the database. This is the error msg that was emailed to me.
Quote:
|
#150
|
||||
|
||||
Looks like exactly what I was after. Just so I'm clear on this... do PM's need to be enabled for users awaiting email confirmation or will the welcome PM just wait until the account is activated?
|
#151
|
||||
|
||||
Quote:
Quote:
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|