The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Send PM On Promotion Details »» | |||||||||||||||||||||||||
Due To Popular Demand........
Send PM On Promotion (LITE VER) Description: - This LITE version of Send PM On Promotion will send a private message to a member when he/she is promoted to another usergroup via the Usergroup --> Promotions setup Inspiration: - Actually I was inspired from my previous hack related to this one here. Others thought it would be cool if this worked with promotions. Features: (Lite Version)
1.) Read Install.txt Apply File Edits 2.) Upload Product 3.) Enjoy Release Possible Future Plans: - ?? Important Notes: - Please be aware that this hack does involve file edits. More specifically the cron that handles promotions. It is the only way to do it, so please don't ask why I did it this way I have tested it pretty thoroughly, and it should work, but use at your own risk. Always backup your files! Find Premium Hacks Here Show Your Support
|
Благодарность от: | ||
lange |
Comments |
#12
|
||||
|
||||
did u apply Install.txt edits ?
|
#13
|
|||
|
|||
This hack doesn't allow you to select usergroups that receive this PM. Instead, it has a global message for all promotions. It's a good idea, but doesn't have the features it needs to be great.
|
#14
|
|||
|
|||
This hack failed to work for me.
After much messing around with vBulletin errors, I gave up and uninstalled. It seemed to think that the code to put in the cron file was very wrong, despite me copying it exactly from the install file. |
#15
|
|||
|
|||
Quote:
Same problem here. I give.. |
#16
|
|||
|
|||
doesnt work
and this guy expect ppl to pay for his premium hacks ? not very good marketing tbh |
#17
|
|||
|
|||
Is there a way to replace PM by email sending on promotion?
|
#18
|
|||
|
|||
Does such a thing exist for 3.7.2?
|
#19
|
|||
|
|||
FYI this doesn't work for 3.7
Wish OP's website would work, because I'd be willing to pay for this if I could get a version that had separated PMs for separate promotions and worked with 3.7... |
#20
|
|||
|
|||
This works on 3.8.2 with the following modifications:
Install calls for changing this is promotion.php: Code:
else { break; } } } } Code:
else { break; } } } if ($vbulletin->options['sendpm_on_promotion_pm_on_off']) { $pmbody = construct_phrase($vbphrase['sendpm_on_paid_promotion_alertpm'], $promotion['username'], $promotion['title']); $pmdm =& datamanager_init('PM', $vbulletin, ERRTYPE_ARRAY); $pmdm->set('fromuserid', $vbulletin->options['sendpm_on_promotion_fromuserid']); $pmdm->set('fromusername', $vbulletin->options['sendpm_on_promotion_fromusername']); $pmdm->set('title', $vbulletin->options['sendpm_on_promotion_pm_subject']); $pmdm->set('message', $pmbody); $pmdm->set_recipients($promotion[username], $botpermissions); $pmdm->set('dateline', TIMENOW); $pmdm->save(); } } Code:
else { break; } } } } Code:
else { break; } } } if ($vbulletin->options['sendpm_on_promotion_pm_on_off']) { $pmbody = construct_phrase($vbphrase['sendpm_on_paid_promotion_primary_alertpm'], $promotion['username'], $promotion['title']); $pmdm =& datamanager_init('PM', $vbulletin, ERRTYPE_ARRAY); $pmdm->set('fromuserid', $vbulletin->options['sendpm_on_promotion_fromuserid']); $pmdm->set('fromusername', $vbulletin->options['sendpm_on_promotion_fromusername']); $pmdm->set('title', $vbulletin->options['sendpm_on_promotion_pm_subject']); $pmdm->set('message', $pmbody); $pmdm->set_recipients($promotion[username], $botpermissions); $pmdm->set('dateline', TIMENOW); $pmdm->save(); } } |
#21
|
|||
|
|||
The code chsmith700 posted above does seem to work but the promotions cron job won't run any more after it's inserted!
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|