The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Forum subscription - content Email
Hello! I am kind of new to all of this VBulletin modding scheme. I am not new to programming, though. Anyway, quick question:
I want to be able to send the content of each of the posts when a user subscribes to a forum and allows instant notifications by mail. For instance, right now I get this: Hello <name>, You are currently subscribed to the forum <Forum Name>, and a new thread has just been posted. Thread Title: <thread title> View Thread: <thread link> View Forum: <forum link> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Unsubscription information: To unsubscribe from this forum visit the following link: <unsubscribe link> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ I want it to look something like this: Hello <name>, You are currently subscribed to the forum <Forum Name>, and a new thread has just been posted. Thread Title: <thread title> <Thread Content> View Thread: <thread link> View Forum: <forum link> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Unsubscription information: To unsubscribe from this forum visit the following link: <unsubscribe link> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ I have tried modifying the language templates, and using the $newpost['message'] variable, right under the $newpost[title] variable. I have used every permutation of "$newpost['message']" that I can think of, but whenever it is in the language template for forum subscription, no emails get sent. This tells me there is probably an internal error somewhere, because perhaps this variable is not defined at the time the mail is composed. Long question short (synopsis): How would I go about sending the post content with the instant forum notification? Note : this is not to be confused with the thread instant notification. Thanks in advance for any help! Zed |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|