Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives

Reply
 
Thread Tools
Details »»

Version: , by (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 08-31-2000 Last Update: Never Installs: 0
 
No support by the author.

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
edit newreply.php and find:
Code:
$toemail=$useremail[email];
Directly after that place:
Code:
// Email Notification v0.1 Begin
if (strlen($message) > 160)
{ $snippet = substr($message,0,160) . "(...)";  }
else { $snippet = $message; }
// Email Notification v0.1 End
Change the two instances of 160 in the above code to the number of characters you want your text snippet to be.

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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 09-02-2000, 03:56 AM
Guest
 
Posts: n/a
Default

Set to 0 just means that the email notification box for each message is unchecked by default.
Reply With Quote
  #13  
Old 09-02-2000, 05:18 AM
Guest
 
Posts: n/a
Default

rangersfan:

Quote:
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
I LOVE this idea. I would would much prefer having a central area to go to when you want to track a thread. For example if you were to want to track a thread you would just click a tracking button in the reply area and it would take you to a page that would allow you to enable or disable the tracking of this thread. If you didn't want to track it any more you would click on the same tracking button and you could now disable it.

Parker
Reply With Quote
  #14  
Old 09-05-2000, 10:39 PM
Guest
 
Posts: n/a
Default

Quote:
Originally posted by rangersfan
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]
That's great, we really need this hack.

Thank you.
Reply With Quote
  #15  
Old 09-06-2000, 02:09 AM
Guest
 
Posts: n/a
Default

An idea for the new version:
In addition to subscribing to threads, what about enabling people to recieve a notification when specific user post a message?
Reply With Quote
  #16  
Old 10-04-2000, 06:24 AM
Guest
 
Posts: n/a
Default

Rangersfan - first off thanks for the hack. Second I keep getting my notification emails looking like this now that I installed this hack:
Code:
Hello,  Bad ?ss with a Gun! has just replied to your thread entitled - About tired of it..... - in the Flames Forum forum of PaintballCity.com Message Boards.  This thread is located at: http://forums.paintballcity.com/show...threadid=51257  If you no longer want to receive notification of replies to this thread then please click here: http://forums.paintballcity.com/noti...threadid=51257  Post Preview: ~~~~~~~~~~~~~ Originally posted by Bungalow See your opinion doesn't count because you are a moderator, therefor you will take up for Jim because you are s(...) ~~~~~~~~~~~~~  There may be other replies also, but you will not receive any more notifications until you visit the thread.
It does not keep the line breaks that I have in my otifyemail template.

Any ideas?
Reply With Quote
  #17  
Old 10-04-2000, 01:41 PM
Guest
 
Posts: n/a
Default

You have to put newlines into your template so that they will appear as you want. newline character is:

\n
Reply With Quote
  #18  
Old 10-12-2000, 09:43 AM
Guest
 
Posts: n/a
Default

That doesn't work
Reply With Quote
  #19  
Old 10-15-2000, 11:17 AM
Guest
 
Posts: n/a
Default

The download dosen't work! Can anyone send me or post a new link to the file?

cd@kowtun.de
Reply With Quote
  #20  
Old 10-15-2000, 02:04 PM
Guest
 
Posts: n/a
Default

link doesnt work! can anyone give us an original copy??
Reply With Quote
  #21  
Old 10-15-2000, 09:24 PM
Guest
 
Posts: n/a
Default

The link works now.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:57 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06358 seconds
  • Memory Usage 2,272KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete