-
Henry Wright replied to the topic Insert private message details into another table in the forum How-to & Troubleshooting 9 years, 10 months ago
The
bp_after_message_thread_list
hook will execute each time the page is loaded. What you need is themessages_message_sent
hook. -
Henry Wright replied to the topic Create BP_Messages_Message object in the forum How-to & Troubleshooting 9 years, 10 months ago
You’re getting blank values because your code
$message = new BP_Messages_Message;
will create a brand new object. Hence, sender ID, date sent etc haven’t been populated with any data yet -
Henry Wright replied to the topic Create BP_Messages_Message object in the forum How-to & Troubleshooting 9 years, 10 months ago
You’re getting blank values because your code
$message = new BP_Messages_Message;
will create a brand new object. Hence, sender ID, date sent etc haven’t been populated yet
@abhimanyubind
Active 9 years, 10 months ago