The Arcive of vBulletin Modifications Site. |
|
Details »»
|
|||||||||||||||||||||||||
This hack will add a link to the notification emails that are sent out to your users. Clicking on this link will disable email notification for the thread that generated the notification for that user. The hack also shows a small snippet of the new post.
You need to edit your notifyemail template and place something like this in it. Format as you see fit. $snippet is the text from the message. Code:
Text Snippet: ~~~ $snippet ~~~ If you no longer want to receive notification of replies to this thread then please click here: $bburl/notifyoff.php?threadid=$threadid Code:
$toemail=$useremail[email]; Code:
// Email Notification v0.1 Begin
if (strlen($message) > 160)
{ $snippet = substr($message,0,160) . "(...)"; }
else { $snippet = $message; }
// Email Notification v0.1 End
Download the hack at http://www.hedgehogwheels.com/forums/notifyoff.php.txt and name it notifyoff.php I think I am going to turn this into a full fledged email notification hack that has a centralized area to add and remove your subscribed threads and adds an icon to all threads that allows you to quickly subscribe to a thread without posting to it. Don't hold your breath on it though ![]() [Edited by rangersfan on 08-31-2000 at 02:17 AM] Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
okay going to add it in a sec... and let you know
|
|
#3
|
|||
|
|||
|
Also if you don't want to edit any of your files, then just remove the "snippet" part from your notifyemail template and you can still use the disable enmail notification part of the hack.
Eva I made a post on your forum at http://animeboards.net/forums/showth...?threadid=2058 reply to it when you get the hack up. [Edited by rangersfan on 08-31-2000 at 02:26 AM] |
|
#4
|
|||
|
|||
|
just added the hack and replied to that thread you did... reply again and see if i get the message
|
|
#5
|
|||
|
|||
|
You can verify it works by editing your messages and seeing that the "email notification" box is now unchecked. Remember if you make a new post and have that box checked then notifies will resume.
|
|
#6
|
|||
|
|||
|
yep checked the original post and my notify is off
... another great hack rangersfan |
|
#7
|
|||
|
|||
|
It sets it off for every post in the thread as any of them being checked will trigger an email notify.
|
|
#8
|
|||
|
|||
|
i see... now all we need is Ed and vb hackers site to open it's doors and you can get your hacks up on the site
|
|
#9
|
|||
|
|||
|
hm... would that qualify as a silent hint?
|
|
#10
|
|||
|
|||
|
rangersfan:
Don't you have to have the emailnotification enabled for the user too? I have the emailnotification set to 0 for all of my members instead of being set at a default of 1. So if the emailnotification is set to zero for the user does it still allow tracking of the the thread? Thanks, Parker |
![]() |
|
|