The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
|||||||||||||||||||||||||||
Shishir - Visitor Message Email Notification
![]() Developer Last Online: Jan 2015 ![]() ![]()
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
|
Comments |
#52
|
||||
|
||||
![]()
I've read a couple of times within this thread that there would be additional features and a new version of this mod released. I don't see a new version out there. Has anyone made another option out there?
If not, has anyone figured out how to fix the issues (email on edit of comment, no way to display proper link back to profile, etc) and can share with us? CCV_Pinto, thanks for sharing what you have done with the profile field allowing folks to opt out if needed! I want to add a line at the bottom of the email to point to their 'edit your details' page to opt out. How would I do that? |
#53
|
||||
|
||||
![]()
Alright, it worked with plain text for now. I've gotta figure out how to point folks back to their UserCP for convenience. But, at least I have something in the email now. :up:
Code:
$VMEN_message = 'You have a new profile message at http://www.MagicThemeParks.com/mk/forum from ' . $vbulletin->userinfo['username'] . "\n\r" . "\n\r" . 'Thanks!' . "\n\r" . "\n\r" . 'To Opt-Out of these emails, simply edit your details under the UserCP link.'; |
#54
|
||||
|
||||
![]() Quote:
![]() DETAILS PLEASE! |
#55
|
||||
|
||||
![]()
Sorry, figured that folks would see that it was the $VMEN_message line and to edit it
![]() I did the above edit on lines 21 and 30 of the Shishir_VMEN.xml file. I replaced the code that was there with what I have listed. Basically, to add a "line break", you add.... Code:
. "\n\r" . ....and anything in between the single quotes is printed out in text..... Code:
'To Opt-Out of these emails, simply edit your details under the UserCP link.' ....I haven't been able to get the link to display as a link (unless your email client like my Gmail turns it into a clickable link) yet. Does this help you at all Totsume? |
#56
|
||||
|
||||
![]() Quote:
![]() |
#57
|
||||
|
||||
![]() This mod is gorgeous, but i would like to change the message if is possible, because my forum is only in spanish ... How can i do it? Great!
|
#58
|
||||
|
||||
![]()
Javierogo, all you have to do is edit the xml file as you see a few posts before yours.
|
#59
|
||||
|
||||
![]() I see, thanks
![]() |
#60
|
||||
|
||||
![]() Quote:
It does not work for me
![]() |
#61
|
||||
|
||||
![]() Ok, i'm sorry to write several consecutive post on this thread, but i found a simple change in the CCV_Pinto's code: Original CCV_Pinto' Code Code:
if($vbulletin->options['VMEN_active'] == 1 AND $userinfo['field5'] == 'Yes') Just remove Yes Code:
if($vbulletin->options['VMEN_active'] == 1 AND $userinfo['field5'] == '') And create Multiple-Selection Checkbox only with "No" So, by default all the users will recive the messages. And the question on the Control Panel will be something like this: Mark "No", if you don't want to recive more profile notifications by Email.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|