Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

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
  #2  
Old 08-31-2000, 05:21 AM
Guest
 
Posts: n/a
Default

okay going to add it in a sec... and let you know
Reply With Quote
  #3  
Old 08-31-2000, 05:24 AM
Guest
 
Posts: n/a
Default

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]
Reply With Quote
  #4  
Old 08-31-2000, 05:31 AM
Guest
 
Posts: n/a
Default

just added the hack and replied to that thread you did... reply again and see if i get the message
Reply With Quote
  #5  
Old 08-31-2000, 05:34 AM
Guest
 
Posts: n/a
Default

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.
Reply With Quote
  #6  
Old 08-31-2000, 05:37 AM
Guest
 
Posts: n/a
Default

yep checked the original post and my notify is off ... another great hack rangersfan
Reply With Quote
  #7  
Old 08-31-2000, 05:39 AM
Guest
 
Posts: n/a
Default

It sets it off for every post in the thread as any of them being checked will trigger an email notify.
Reply With Quote
  #8  
Old 08-31-2000, 05:42 AM
Guest
 
Posts: n/a
Default

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
Reply With Quote
  #9  
Old 08-31-2000, 08:07 AM
Guest
 
Posts: n/a
Default

hm... would that qualify as a silent hint?
Reply With Quote
  #10  
Old 09-02-2000, 02:37 AM
Guest
 
Posts: n/a
Default

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
Reply With Quote
Reply


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 10:12 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.04090 seconds
  • Memory Usage 2,262KB
  • Queries Executed 23 (?)
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
  • (3)bbcode_code
  • (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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)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