Version: 1.0.0, by Shishir
Developer Last Online: Jan 2015
Category: Profile Enhancements -
Version: 3.7.2
Rating:
Released: 08-20-2008
Last Update: Never
Installs: 52
Uses Plugins
Translations
No support by the author.
Information:
This modification is actually based on several requests I saw here and especially after this one. I mean, how can I neglect a request with "If someone makes one, I'd be willing to contribute."
What it does is simple. When someone makes a visitor message in Profile it will notify the user via email that a new message has been posted. If the message is a new message then the email will contain the message as well. If it is an ajax message then only a simple email with notification will be made.
Feature:
> Sends an Email Notification to the user when a visitor message is posted.
Install instruction:
==> Import XML file (as product): AdminCP > Plugins & Products > Manage Products > [Add/Import Product]
==> Go to: AdminCP > vBulletin Options > vBulletin Options > User Profile: Visitor Messaging Options and Select to your preference.
Current Version:
1.0.0
If you like this hack please click INSTALL. Support will only be provided to those who click Install.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
I wish there were some offer for me when I made this one. That would have encouraged me to make a more comprehensive one . Anyway, good luck with the paid One. That would be much better for sure.
Thanks for your mod Shishir. However, apart from lack of those features, I did notice another problem with this mod. I noticed that when a person edits a visitor message, the member with the profile recieves another Email notification telling them that there is a new visitor message on their profile. This happens even if an admin edits the visitor message, so the member with the profile may get Email notifications not knowing why they're recieving them.
I'm hoping that a rebuild of this mod would eradicate this problem as well as add on the other required features.
Sorry for my busy schedules, I could not provide support quickly. Hmm, thats a little bit of problem. Hence a rebuild is needed. So a few new features as well. Ok, you got it. But I'll have to make it in between my current tasks. So not promising any quick fire solution. But will do my best. Although I see you do not need this as you have your own. So for others, plz perdon me for sometime as I make my way into it.
to those who want the user could choose to receive or not emails, I did this:
I created a profile field called: "Receive Email Notifications on Visitor Messages"
The identification of the field was 'field5' (you can see this after you create the profile field, I created a radio button with two options: 'Yes' and 'No')
then, edit the two plugins of this product:
find (the first line of the plugin):
Code:
if($vbulletin->options['VMEN_active'] == 1)
and replace for:
Code:
if($vbulletin->options['VMEN_active'] == 1 AND $userinfo['field5'] == 'Yes')
pay attention to use the proper field identification (in my case was field5)
now, only those who have choosen 'Yes' will receive the email
another simple addition to have the link to the profile in the email is:
change this:
Code:
. 'Thanks.';
to this:
Code:
. "You can see your profile <a href=\"http://YOURDOMAIN/forum/member.php?u=" . $userinfo['userid'] . "\">here</a>" . "\n\r" . 'Thanks.';
make sure to use your own domain instead of "YOURDOMAIN"
ps: the only problem is that the email isnt at html form... so it will need to add some parameters to the vbmail function which is called at the end (I will try to investigate to understand how to do this)