Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: 1.00, by Logician Logician is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 02-08-2002 Last Update: Never Installs: 34
 
No support by the author.

Hiyas,

I dont like static email notifications and fancy coloring them up a bit. So this hack is one way to do it. (If I can spare time, more is likely to follow)

This hack simply sends a small portion of user's reply to thread subscribers in their notification mail. It's also possible to send the whole reply, but I dont suggest this, because if they read it all, they wont visit the original thread. But just giving a hint and sending a few lines can be provoking to get them to your board ASAP.

It's an easy to install hack and you can easily customize it by choosing how many characters of the reply will be sent to the members.

I use this hack in V.2.2.2 and havent noticed any problems. Please report bugs in this thread..

Enjoy! \\=^))

Regards,
Logician

Show Your Support

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

Comments
  #12  
Old 10-16-2002, 07:32 AM
Talisman's Avatar
Talisman Talisman is offline
 
Join Date: Aug 2002
Location: USA/West Coast
Posts: 371
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack, Logician. Thanks!

Our new group comes from another that's been around for years where some of us read online, but many subscribe to what's posted by way of a mailing list.

This will make a lot of people very happy.

Cheers!
Reply With Quote
  #13  
Old 11-21-2002, 10:46 AM
leon2u leon2u is offline
 
Join Date: Mar 2002
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hai there,

I want to use your hack but I need it for this:
My sub-forum is called UPDATES so whenever I make a new thread (and a new posting is made automatically of course) I want to have the message contents in my e-mailmoderator template. Your hack does not work all the way because in creating the thread it does not see the message contents. It works but only when you add a second posting in that thread.

Can you help me?
Reply With Quote
  #14  
Old 03-17-2003, 06:30 PM
Doubledoom Doubledoom is offline
 
Join Date: Dec 2002
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed it on 2.3.0 - waiting for first email reply to check its working.

However, install instructions were straightforward enough and there were no code differences to be concerned with.
Reply With Quote
  #15  
Old 03-19-2003, 07:28 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sinan, did you ever find the time to come up with the code to strip out vbcode in the message? vb 3.0 has that feature and it would be good to have it for those of us who aren't going to upgrade right away.
Reply With Quote
  #16  
Old 04-14-2003, 12:05 AM
ryancooper ryancooper is offline
 
Join Date: Jul 2002
Posts: 433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack . . .The only problem I have is now there is no subject in the emails. . .
Reply With Quote
  #17  
Old 04-14-2003, 05:58 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 03:59 AM ryancooper said this in Post #15
Great hack . . .The only problem I have is now there is no subject in the emails. . .
The hack does not touch anything related to the subject of the mail, so this can't be. Besides the emails (and its subject) sent are default vb notification mails, the hack does not change this behaviour either. It just adds some text inside mail, that's it.

I'd say uninstall it, make sure your default vb notifications has subjects, then reapply (carefully!)

Ps. You look "unlicensed" here, please check your email address you use here in vbulletin.com and make sure it is authorized in members section of vbulletin.com. Thanks..
Reply With Quote
  #18  
Old 04-14-2003, 10:16 AM
ryancooper ryancooper is offline
 
Join Date: Jul 2002
Posts: 433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will do and I added my email to VB.com

THanks. . . :bunny:
Reply With Quote
  #19  
Old 04-14-2003, 01:19 PM
ryancooper ryancooper is offline
 
Join Date: Jul 2002
Posts: 433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Found it it wasn;t anything you did I was a error in VB

http://www.vbulletin.com/forum/showt...threadid=68750

Thanks!
Reply With Quote
  #20  
Old 04-14-2003, 02:24 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok glad you find the culprit and thx for sharing here too..
Reply With Quote
  #21  
Old 04-14-2003, 03:03 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
02-13-02 at 11:45 AM Logician said this in Post #4
Striping the VB code feature is not very easy to add...
Logician, you could try something like this:
Code:
$string = preg_replace( '~<[^\]]*>~' , '' , $string );
$string = str_replace( '"' , '' , $string );
That should take care of all your BB Code...
Let me know what you think.
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:39 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04643 seconds
  • Memory Usage 2,309KB
  • Queries Executed 27 (?)
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
  • (1)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_onlinestatus
  • (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_postinfo_query
  • fetch_postinfo
  • 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
  • postbit_imicons
  • 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