The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Send email on user's X post
I think it would be kind to send an email to a user whenever they pass an important post mark (ex 100, 500, 1000, 2000, etc)
I would code this myself but I'm not too familiar with the vbmail system I'm sure it's a quick hack Anyone interested Thanks! Kou |
#2
|
||||
|
||||
yeah, sounds cool... i would like something like this too
|
#3
|
||||
|
||||
Quote:
Just to give you an idea: functions_newpost.php add a conditional to check for number of users post. if post = xx then vbmail($touser['email'], $subject, $message); |
#4
|
||||
|
||||
It's a pretty nice idea, indeed
It would be even nicer if you could administer the milestones these are sent on from the AdminCP, instead of them being hardcoded. Similarly some admins may want to have a PM sent with the congrats, instead of an email. Or if the user chose to not receive email from administrators, in which case it could also revert to a PM. Additionally, the actual text emailed/pm'd and the subject can be set from the AdminCP as well. Username and Post Count could be variables in this text so it can be personalised to a degree. Would any of these extras be considered overkill, because I'm contemplating of writing this hack |
#5
|
||||
|
||||
Quote:
I was thinking about having right after updating the user's post count, it could have like if bbuserinfo[posts] == 100, 200, 500, etc or have an array which users can edit Then it would submit the email, otherwise if the condition is false, it will resume the script without sending the email. The only part I couldn't exactly figure out was the vbmail part. The rest is pretty simple to set up |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|