![]() |
I have been really swamped in work lately, so I haven't even gotten around to upgrading my own boards to 2.2.2 yet.
At the moment, I am not sure when I will get around to look at it. Sorry. Will do it as soon as I find the time, tho. |
That's cool, I can wait (for a little ;))
|
Awesome!
|
Very nice Hack, I would love to use it, but I also have the Email verification turned off and don't know where to put the code in register.php :(
Please help |
Quote:
I'd like to know aswell |
same here. anyone?
|
I hope Sparkz doesn't mind, but I updated this hack since I wanted to use it.
-works with 2.2.1 and 2.2.2 no problem -works whether or not you have email activation turned on -uses templates instead of text files https://vborg.vbsupport.ru/showthrea...threadid=35647 |
There is a slight issue with this hack;
if a user who registers chooses not to receive stuff from admins, it still sends a PM to them upon activiation. I received a rather rude message from a user about this; is there any fix? |
If a user is going to write rude messages to you about a welcome PM, then they are not worth having around any way. How lame.
Anyway, I don't think the option you are referring to will limit Private Messages in any way. *****2.2.3 Issue***** Anyone get this to work in 2.2.3 yet? It's giving me errors on line 593 in register.php. Here is the line that's giving it fits. There could be more but I have to fix this one first (Line is IN BOLD): // send default PM to new user $originating_user = 1; $PM_file = "admin/default_pm.txt"; $fp = fopen <http://www.php.net/fopen>($PM_file, 'r'); $PM_title = str_replace <http://www.php.net/str_replace> ('$username', $username, fgets <http://www.php.net/fgets>($fp, 4096)); $PM_content = str_replace <http://www.php.net/str_replace> ('$username',$username,fread <http://www.php.net/fread>($fp, filesize <http://www.php.net/filesize> ($PM_file))); $DB_site->query("INSERT INTO privatemessage (privatemessageid,userid,touserid,fromuserid,title ,message,dateline,messageread,folderid) VALUES (NULL,$u,$u,$originating_user,'".addslashes <http://www.php.net/addslashes>(htmlspecialchars <http://www.php.net/htmlspecialchars>($PM_title))."','".addslashes <http://www.php.net/addslashes>($PM_content)."',".time <http://www.php.net/time>().",0,0)"); // send default PM to new user |
can it modified to send the PM to the normal user depend on his post NO.?
ex. if the user get 50 post >> he will get defult PM " thank you for your posts after another 20 post more your titel will be chang to Tyro Hacker and you will get star " thank you |
All times are GMT. The time now is 06:47 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|