vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   News and Announcements (https://vborg.vbsupport.ru/forumdisplay.php?f=2)
-   -   New Feature: If you turn PM notification email to ON, you get new PMs emailed to you! (https://vborg.vbsupport.ru/showthread.php?t=51601)

Erwin 04-14-2003 09:31 AM

New Feature: If you turn PM notification email to ON, you get new PMs emailed to you!
 
Try it.

Switch "Send you an email when you receive a Private Message?" to YES.

Each time you get a new PM, you will get the contents of the whole PM emailed to you. Click on the link in the PM to go directly to the PM and make a Quick Reply.

Convenient... :)

Tony G 04-14-2003 10:19 AM

Convienient indeed, nice addition Erwin. :)

filburt1 04-14-2003 11:32 AM

Has anybody released this? If not I'll write it.

amykhar 04-14-2003 12:25 PM

What's to write? You just put $message in the emailsubject_pmreceived template. ;)

Amy

filburt1 04-14-2003 01:16 PM

I thought it wasn't in there already :)

Erwin 04-14-2003 10:25 PM

LOL! Amy is right, it's just a template mod. :)

filburt1 04-14-2003 10:28 PM

Quote:

Today at 08:19 PM Erwin said this in Post #7
LOL! Amy is right, it's just a template mod. :)

Makes me wonder then why vB would go through the trouble of getting the contents of the message when it never is even displayed...

BTW you might want to strip vB code from the messages, it's somewhat awkward to read. :)

Boofo 04-15-2003 10:26 AM

Quote:

Yesterday at 07:22 PM filburt1 said this in Post #7
Makes me wonder then why vB would go through the trouble of getting the contents of the message when it never is even displayed...


Quote:

BTW you might want to strip vB code from the messages, it's somewhat awkward to read. :)
How would you do this?

majin gotenks 04-15-2003 10:31 AM

would be good if you could make it replace it with html instead :)

Xenon 04-15-2003 10:47 AM

hmm, you have to bbcodeparse it then before sending the mail ;)

i don't use e-mail for pm at all *gg*
but nice edit Erwin.

Erwin 04-15-2003 11:18 AM

Quote:

Yesterday at 11:25 PM majin gotenks said this in Post #12
would be good if you could make it replace it with html instead :)
Done - stripped bbcode, and converted to a HTML email.

So you get the whole PM message as it would look like in your PM inbox on vB.org, without the colors and frills.

Tony G 04-15-2003 11:57 AM

Oooh, now I gotta try it. :)

Boofo 04-15-2003 12:31 PM

Will someone be releasing this as a hack, by chance?

filburt1 04-15-2003 12:43 PM

As Amy says it's apparently just a template mod.

Boofo 04-15-2003 12:56 PM

But what about stripping the vbcode?

TECK 04-15-2003 02:15 PM

I posted a fix for this in the hack thread...

Erwin 04-15-2003 08:25 PM

Quote:

Today at 01:56 AM Boofo said this in Post #18
But what about stripping the vbcode?
The vBcode is converted into HTML, and sent to you.

Erwin 04-15-2003 08:26 PM

Quote:

Today at 03:15 AM TECK said this in Post #20
I posted a fix for this in the hack thread...
What fix?

I'm not really stripping vBcode, just converting it into HTML and then sending it.

And this is no longer just a template mod, it's a hack, just 2 extra lines in private.php.

Boofo 04-15-2003 08:36 PM

Do we still have the text option or will it only ne html now? It really doesn't matter to me but there are some who will want text over html.

Erwin 04-15-2003 08:37 PM

I'm not making any changes to the database until vB3 gets here, so there is no option - if the email does not support HTML, the member can still click on the link to go directly to the actual PM.

nuno 04-16-2003 04:12 AM

Nice addition guys, thanks! :bunny:

majin gotenks 04-16-2003 10:04 AM

sounds good. can someone please pm me so i can see how it looks? thanks :)

Gary King 04-16-2003 01:10 PM

Nice addition erwin, good job!

Kars10 04-21-2003 01:17 PM

@ Erwin, can you release this hack please?

Thanks in advance
Kars

bharvey42 04-21-2003 04:36 PM

Cool this is exactly what i am looking for thanks.

Is there going to be a full hack released for this?

Smoothie 05-14-2003 04:06 PM

Any plans on the full hack being released?

Erwin 05-15-2003 12:16 AM

At the moment, it's not a hack. :) It's just a template mod.

Just add $message into your email_pmreceived template.

Linking directly to the PM is a hack that has been released here already.

Smoothie 05-15-2003 01:03 AM

Quote:

04-15-03 at 06:26 PM Erwin said this in Post #18
What fix?

I'm not really stripping vBcode, just converting it into HTML and then sending it.

And this is no longer just a template mod, it's a hack, just 2 extra lines in private.php.

Whats this? Can you release this? Thats what I was referring to...

Erwin 05-15-2003 01:25 AM

The HTML version? If you really want it, I will find time to release it. :)

Boofo 05-15-2003 10:01 AM

Smoothie, if you really want html for pms, Logician made a hack a while back that allows the user to pick whether he wants text of html pms in his modify options.

Smoothie 05-15-2003 04:12 PM

Erwin and Boofo,

thanks, I just used part of this hack, and the one with the links for the pm in the email.

filburt1 05-15-2003 04:15 PM

Might want to add an option in the user CP such that if you receive fulltext PMs via e-mail that they should be marked read by default :)

Smoothie 05-15-2003 04:24 PM

Quote:

Today at 02:15 PM filburt1 said this in Post #32
Might want to add an option in the user CP such that if you receive fulltext PMs via e-mail that they should be marked read by default :)
good iidea.

Boofo 05-15-2003 09:59 PM

How would you do that? Sounds like a good idea.

Erwin 05-16-2003 02:31 AM

Good idea filburt1. When I have time I would do it here.

Boofo 05-16-2003 02:40 AM

Would you post it here when you do it?

Erwin 05-17-2003 12:20 AM

I think I may have done this... can someone PM me so that I can check...

Boofo 05-17-2003 12:27 AM

I'm getting a db error when I try to pm you.

Erwin 05-17-2003 01:04 AM

Mmm... code removed... the dateline is interfering with the PM popup global.php code... need to tweak this...

filburt1 05-17-2003 01:18 AM

PHP Code:

$id $DB_site->insert_id(); // or last_insert_id(), can't remember 

It's a standard PHP function, too (http://www.php.net/mysql_insert_id).


All times are GMT. The time now is 04:08 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.01969 seconds
  • Memory Usage 1,789KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete