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
  #22  
Old 10-29-2000, 04:53 PM
Guest
 
Posts: n/a
Default

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!
Reply With Quote
  #23  
Old 10-29-2000, 05:54 PM
Guest
 
Posts: n/a
Default

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.
Reply With Quote
  #24  
Old 10-29-2000, 07:03 PM
Guest
 
Posts: n/a
Default

it skips quoted replies ?
Reply With Quote
  #25  
Old 10-30-2000, 01:53 AM
Guest
 
Posts: n/a
Default

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..
Reply With Quote
  #26  
Old 10-30-2000, 02:27 AM
Guest
 
Posts: n/a
Default

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:
Originally posted by: Membername
this is a quoted replay and it displays up to 160 characters because I left the default.
Now Rangersfan:

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.
Reply With Quote
  #27  
Old 10-30-2000, 02:28 AM
Guest
 
Posts: n/a
Default

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!
Reply With Quote
  #28  
Old 10-30-2000, 04:54 PM
Guest
 
Posts: n/a
Default

Quote:
Originally posted by rangersfan
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!
Like I said, no hurry. If I get the time to look into it, I will.

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:
Hello,

mkaufman has just replied to the thread entitled - SitePointForums.com Suggestions - Please Read - in the SitePoint Feedback forum of SitePoint Community Forums.

This thread is located at:
http://www.sitepointforums.com/showt...5&goto=newpost

Text Snippet:
~~~
Also, it says:

Welcome TO our newest member, [membername]

That doesn't make much sense..it's like that on all vBulletin boards.
~~~

If you no longer want to receive notification of replies to this thread then please click here:
http://www.sitepointforums.com/notif...threadid=10935

There may be other replies also, but you will not receive any more notifications until you visit the community.
Which is exactly how it should be. The user having the problems gets the same email as:
Quote:
Hello,mkaufman has just replied to the thread entitled - SitePointForums.com Suggestions - Please Read - in the SitePoint Feedback forum of SitePoint Community Forums.This thread is located at:http://www.sitepointforums.com/showthread.php?threadid=10935&goto=newpostText Snippet:~~~Also, it says:Welcome TO our newest member, [membername]
That doesn't make much sense..it's like that on all vBulletin boards.~~~If you no longer want to receive notification of replies to this thread then please click here:http://www.sitepointforums.com/notifyoff.php?threadid=10935There may be other replies also, but you will not receive any more notifications until you visit the community.
Now I understand this is a very weird problem and I am just looking for a little input from others and would like to know if anyone else had this problem.
Reply With Quote
  #29  
Old 11-30-2000, 01:48 PM
Guest
 
Posts: n/a
Default

it's simple......but it works great
actually probaly one of the easiest hacks to install
practically no problems
Reply With Quote
  #30  
Old 12-01-2000, 11:40 AM
Guest
 
Posts: n/a
Default

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
Reply With Quote
  #31  
Old 12-01-2000, 12:28 PM
Guest
 
Posts: n/a
Default

"/forums/notifyoff.php3?threadid?8"

-- Change the second ? to an = .
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 03:37 AM.


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.05143 seconds
  • Memory Usage 2,280KB
  • 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
  • (3)bbcode_code
  • (4)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