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
  #32  
Old 03-24-2004, 07:15 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Aaron1
Hi,

I moved my forum to a new server but suddenly i have a strange but annoying problem. Whenver someone subscribes to thread, the e-mail he gets sent looks terrible because it lacks linebreaks, i double checked if this hack isn't properly installed, but that's not the case. Anyone have a clue what could be the problem?

Btw all e-mails sent out misses linebreaks (br's) very weird.
Is it all emails that misses line breaks or only email that this hack sends?
Reply With Quote
  #33  
Old 03-24-2004, 07:57 AM
Aaron1's Avatar
Aaron1 Aaron1 is offline
 
Join Date: Oct 2002
Location: Amsterdam
Posts: 200
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's the weird thing, all e-mails that are send out Logician, do you have an idea what could be the cause of that?
Reply With Quote
  #34  
Old 03-24-2004, 01:18 PM
Aaron1's Avatar
Aaron1 Aaron1 is offline
 
Join Date: Oct 2002
Location: Amsterdam
Posts: 200
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Shall I e-mail you the admin/functions.php if you want to take a look at it?



Here's an example how a notify e-mail looks like in my mailbox:


Hello Housequake, sowtob has just replied to a thread you have subscribed to entitled - Cosmic day???? - in the Trading/Discussion forum of Forum Home. Here is a small part of the reply: ---------------------------------------------------- He's back today or tomorrow I think.... ---------------------------------------------------- This thread is located at: http://www.housequake.com/forum/show...3&goto=newpost There may be other replies also, but you will not receive any more notifications until you visit the board again. Yours, Housequake.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Unsubscription information: To unsubscribe from this thread, please visit this page: http://www.housequake.com/forum/memb...threadid=15893 To unsubscribe from ALL threads, please visit this page: http://www.housequake.com/forum/memb...type=allthread
Reply With Quote
  #35  
Old 03-24-2004, 05:52 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If all emails are like this, how can this be related to this hack? ^^ Have you checked email templates and confirmed that they are good in terms of line breaks?
Reply With Quote
  #36  
Old 03-24-2004, 05:59 PM
Aaron1's Avatar
Aaron1 Aaron1 is offline
 
Join Date: Oct 2002
Location: Amsterdam
Posts: 200
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I even triple checked my templates Logician, could it be something server side?
All templates seem to be stored without linebreaks automatically somehow.
Reply With Quote
  #37  
Old 03-24-2004, 06:09 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Aaron1
I even triple checked my templates Logician, could it be something server side?
All templates seem to be stored without linebreaks automatically somehow.
Have you moved to a Window server? It sounds like it. Check here:
http://www.vbulletin.com/forum/showthread.php?t=25810
Reply With Quote
  #38  
Old 03-24-2004, 06:18 PM
Aaron1's Avatar
Aaron1 Aaron1 is offline
 
Join Date: Oct 2002
Location: Amsterdam
Posts: 200
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes! I did Logician, thanks for this link (otherwise i would have never found it) :-)
Reply With Quote
  #39  
Old 06-03-2004, 07:21 PM
subu1 subu1 is offline
 
Join Date: Sep 2002
Location: Germany
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

Great Hack, big thxx, ist works....*click install*
Reply With Quote
  #40  
Old 10-03-2004, 07:12 AM
glo's Avatar
glo glo is offline
 
Join Date: Aug 2002
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Aaron1
Shall I e-mail you the admin/functions.php if you want to take a look at it?



Here's an example how a notify e-mail looks like in my mailbox:


Hello Housequake, sowtob has just replied to a thread you have subscribed to entitled - Cosmic day???? - in the Trading/Discussion forum of Forum Home. Here is a small part of the reply: ---------------------------------------------------- He's back today or tomorrow I think.... ---------------------------------------------------- This thread is located at: http://www.housequake.com/forum/show...3&goto=newpost There may be other replies also, but you will not receive any more notifications until you visit the board again. Yours, Housequake.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Unsubscription information: To unsubscribe from this thread, please visit this page: http://www.housequake.com/forum/memb...threadid=15893 To unsubscribe from ALL threads, please visit this page: http://www.housequake.com/forum/memb...type=allthread
Hi Logician,

I have installed this hack onto my test board which is on my laptop using XP, and have seen that this problem occurs on windows servers, however my live site is on a Linux server, so will everything just translate across without any problems? ie will the line breaks be enforced, unlike when they are on Windows servers?
Reply With Quote
  #41  
Old 10-03-2004, 10:46 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm using the hack both in linux and windows servers just fine.
Reply With Quote
  #42  
Old 10-03-2004, 12:30 PM
glo's Avatar
glo glo is offline
 
Join Date: Aug 2002
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Logician,

I am only looking for clarification my question, on my test board (on my XP laptop) my template preview screen (in forums/admin) displays similar to Aaron1's post. (remember I have not tested it on the live site yet)

A link you gave to Aaron indicated that Windows servers handle it differently, and thus i suspect that as i am running my test board on XP, this is why there are no breaks (in the preview; i havent tried it live yet)

But i guess the real question to this is "even though my template preview (on XP) does not show line breaks, when i upload this to the live site (linux), i presume it will work flawlessly without any issues since the "no line break issue" is Windows related! Yes?

Just trying to get my head around this!
Reply With Quote
  #43  
Old 10-03-2004, 06:44 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your assumption is correct.
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 04:31 AM.


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.04739 seconds
  • Memory Usage 2,331KB
  • 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
  • (3)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
  • (2)pagenav_pagelink
  • (13)post_thanks_box
  • (13)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (13)post_thanks_postbit_info
  • (12)postbit
  • (13)postbit_onlinestatus
  • (13)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
  • 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