![]() |
In the Insert query find:
.time(). and change it to .(time()+60). Should do it as it will make the message newer than their last activity. Have not tested this. As far as supporting the hacks.. Yes I am a selfish hacker. I hack for myself and my site. No bones about it.. I release some code here if i I think it will help people but I do not have time to make modifications that people request. Since I never use email activation, my hacks won't take this into account. Sorry! |
I respect you opinon and agree with you about email activation ... gives you a little more time to review the person's form request before letting them in....
|
Quote:
|
Although, now the 'New' flag doesn't seem to want to turn off. :(
I tried changing it to .(time()+1), but same issue. Oh well. |
OK gang, here is what you need to do to a) send the PM after the member activates their account and b) make sure the message is new.
In actuality, doing a seems to ensure b. So this is easy. INSTEAD OF doing this step in Overgrow's hack: find Code:
Code:
Find: Code:
} else { Code:
// send default PM to new user If you have done it correctly, the next line you see in the code is: Code:
eval("standarderror(\"".gettemplate("error_activatedthanks")."\");"); |
Note, you don't need to tinker with time or anything else. This PM will be new and it does popup the first time the member logs in after activation.
|
works great amykhar..thanks to you and Overgrow for this hack...a small change to your code however amy..
instead of Code:
$originating_user = 22; Also, if using amy's hack to the hack, you can ignore this in the original instructions: Code:
OPTIONAL: If you want the PM alert box to pop up, add this part as well: |
Thanks Overgrow, Amy, and Gruntie. Good teamwork!
|
I just installed this one instead on vB 2.3.0 with amykhar's awesome modification and it's so much better!
Thanks you guys! -Jason |
works great on my vB 2.3.0
[high]* cYbercOsmOnauT clicked on install :) [/high] Thanks mate! |
All times are GMT. The time now is 07:44 AM. |
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:
|