The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Be notified when user posts?
Is there a way to be notified when certin users start a thread or post?
Our forum is dedicated to community first and foremost, but also dealers. When I've signed a dealer up I also get them to let me know their forum user name. Right now I just add them to my buddy list, but I have no way of knowing when they have posted. These users will most likely be posting questions and I'd like to be sure and be there to provide support and let them know that I'm there to help them, not just get money from them. Would this require setting up a group and putting those members in that group then somehow set it to notify someone when someone in that group posts? Thanks in advance! |
#2
|
|||
|
|||
These two plugins should do the trick. Just edit line 4 with the members id's that you wish to be notified on.
|
#3
|
|||
|
|||
Thanks!
I'll be giving them a go today...hopefully! ------------------------------------------------------------------------------------------------------------- ok - so since i'm not a whiz when it comes to php...I'm trying to figure out what this code does exactly...in other words, I'm trying to edit the code to fit my needs... So I need to change 1 = Andy and 267 = Nan too.... The first one will be my user number, then I just list off the other users and their user numbers that I want to watch? Then in the array(1,267) I just add in the numbers I want to follow? Code:
// 1 = Andy // 267 = Nan if (in_array($vbulletin->userinfo['userid'], array(1, 267))){ // Construct the message text $subject = "New post needing followup"; $postdate = 'Post Date: '. date('m-d-Y'); $posttime = 'Post Time: '. date('h:i A'); $message = 'Please review the following new post in this thread: ' . ' ' . '[thread]' . $threadinfo['threadid'] . '[/thread]' . ' ' . $postdate . ' ' . $posttime; // Init the PM datamanager $pm =& datamanager_init('PM', $vbulletin, ERRTYPE_ARRAY); $pmperms['adminpermissions'] = 2; // Fill in the blanks $pm->set('fromuserid', '1'); // admin id number $pm->set('fromusername', 'Andy'); // admin name $pm->set('title', $subject); $pm->set('message', $message); $pm->set_recipients('Andy', $pmperms); // admin name $pm->set('dateline', time()); // Send the PM if (empty($pm->errors)) { // There are no errors, so send the PM $pm->save(); } } |
#4
|
|||
|
|||
Quote:
Also there are a couple places further down in the code that need to be changed once, look for the //. |
#5
|
|||
|
|||
thanks so much. Just one more question....how do I determine the user numbers? I've tried searching the forum and the manual but I can't seem to find any info on it. Does it require going into the DB and seeing what number correlates to each user I'm looking for?
----------------------------------------------------------------------------------------------------------- got it! now I must wait....no way to test this mod is there? ------------------------------------------------------------------------------------------------------------ welp, after a night, one of the users on my list made a post! Unfortunately, the link wasn't directly to the post, but it sent me a link to the thread, which is deffinately a good thing! Thanks so much for the mod, this should help me keep track of dealers and make sure that I'm responding to their questions. |
#6
|
|||
|
|||
Quote:
Glad to be able to help. |
#7
|
|||
|
|||
Just subscribe to all the forums. Easy, done.
|
#8
|
|||
|
|||
right...on a forum with 50k members and 800,000+ hits a day just on the home page?
that wouldn't work. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|