![]() |
How to move thread and send PM simultaneously via Cron
Good day
How to move thread and send PM simultaneously via Cron? Move thread made with datamanager_init the same as send PM. The Problem is PM doesn't send, only if run this Cron Task manually (press button in AdminCP). The code like is something like this: Code:
$check=$vbulletin->db->query_read("........................."); |
Maybe try this: add a call to $pm->pre_save() before the call to save, then echo $pm->errors if it's not empty. And also echo something if the "if ($recipients)" fails"
Code:
if ($recipients) |
I'll try it, thanks
--------------- Added [DATE]1319126544[/DATE] at [TIME]1319126544[/TIME] --------------- No, I tried that code, but doesn't help. Still can send PM only if press button near Cron task in Admincp --------------- Added [DATE]1319130532[/DATE] at [TIME]1319130532[/TIME] --------------- finally, i found that problem occured when use "construct_phrase" --------------- Added [DATE]1319130729[/DATE] at [TIME]1319130729[/TIME] --------------- btw, thanks kh99 |
All times are GMT. The time now is 04:08 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:
|