The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
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 |
#22
|
|||
|
|||
came across your hack (good plan putting them in your sig!)
The new features for version 2.0 look brillaint but little emphasis seems so far to have been placed on linking the forum with email (probably because of the perhaps future plan for web based email). Anyway, now that we have a control panel in the works (myVB) i hope you will go back to your original plan and encorporate subscription to threads of this sort and better options (like mass unsubscribe with checkboxes etc) into the next version. Would be very very cool! |
#23
|
|||
|
|||
Just installed this at SitePoint and gotten positive comments from one user so far. It has only been installed for about an hour so far.
Nice simple addition, so simple it should be in 1.1.4. Only enhancement that I would like is that it skips over quoted replies. Going to look into seeing if that can be accomplished. |
#24
|
|||
|
|||
it skips quoted replies ?
|
#25
|
|||
|
|||
I don't understand exactly what you mean by skip over quotes....Do you mean to not have the quoted part sent in the user's notify email, just the new post?
You see I have so many ideas and bounce around to different hacks that I am lucky to actually finish any single hack.. |
#26
|
|||
|
|||
Yes, Rangersfan is correct. I would like it to ignore the quoted part of the message and just pull the snippet from the new message.
Right now if a member hits quote and replies to a message, the email states something like: Quote:
It was a suggestion. I know everyone has a site to run of their own and I know your busy. This is something that is not critical. I just thought I would mention it. |
#27
|
|||
|
|||
I would have to look for the [ quote ] tags and disallow the text in between. I could easily use a stack to do it but it is not something I have time to do right now. Have to work on that calendar hack!
|
#28
|
|||
|
|||
Quote:
I have one other problem which was reported to me last night and I am not sure how to resolve it. I think it might be a setting in the user's email program. I know it isn't a code problem because only one user has reported this problem and I get the same emails fine. On the post reply I get: Quote:
Quote:
|
#29
|
|||
|
|||
it's simple......but it works great
actually probaly one of the easiest hacks to install practically no problems |
#30
|
|||
|
|||
After about a month without problem, today I got this error:
" Database error in vBulletin: Invalid SQL: SELECT title from thread where threadid = mysql error: You have an error in your SQL syntax near '' at line 1 mysql error number: 1064 Date: Wednesday 29th of November 2000 06:35:34 AM Script: /forums/notifyoff.php3?threadid?8 Referer: ". Anyway my forum had no apparently problem and still works. I've Vb 1.1.4 installed. Can anybody explein me why this error and only once? Thanks |
#31
|
|||
|
|||
"/forums/notifyoff.php3?threadid?8"
-- Change the second ? to an = . |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|