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 05-18-2003 01:52 AM

Here, or at your own site?

Smoothie 05-18-2003 04:58 AM

at Macfora.com

Smoothie 05-18-2003 05:04 AM

I'm using this hack;
https://vborg.vbsupport.ru/showthrea...threadid=51963

plus this: $message in the emailsubject_pmreceived template

Erwin 05-18-2003 05:14 AM

And you've made the changes in my post here as well?

Mmm... the popup shouldn't happen if the message is read, that's the thing... what about you, Boofo, do you have the same problem?

Smoothie 05-18-2003 05:20 AM

yes, I applied this code change from here;
https://vborg.vbsupport.ru/showthrea...011#post396011

and I am still getting PM pop-ups. For some reason, the PM is not being marked as read when the email is sent.

Erwin 05-18-2003 06:01 AM

This line

$the_pm_id = $DB_site->insert_id();

is added ABOVE this line:

// enhanced
if ($prevmessageid) {

NOT BELOW - if you put it below, the code won't work. Did you do that correctly?

Erwin 05-18-2003 06:02 AM

Like I said, the PMs are marked READ here and at Boofo's site, so the code works.

Boofo 05-18-2003 07:00 AM

Erwin, the code works great at my site (as well as here) now. Thanks for the fix. ;)

Smoothie, did you also add the code from this post?

https://vborg.vbsupport.ru/showthrea...017#post396017

Smoothie 05-18-2003 04:12 PM

Quote:

Today at 05:00 AM Boofo said this in Post #68
Erwin, the code works great at my site (as well as here) now. Thanks for the fix. ;)

Smoothie, did you also add the code from this post?

https://vborg.vbsupport.ru/showthrea...017#post396017

No, because in this post:
https://vborg.vbsupport.ru/showthrea...031#post396031

Erwin says:
Quote:

The global.php is OPTIONAL and only if you get a global.php error - this hack may interfere with the PM popup direct PM link hack (at least here anyway) - if so, put that piece of code in to fix it.
And I was not getting any errors.

Smoothie 05-18-2003 04:13 PM

Quote:

Today at 04:01 AM Erwin said this in Post #66
This line

$the_pm_id = $DB_site->insert_id();

is added ABOVE this line:

// enhanced
if ($prevmessageid) {

NOT BELOW - if you put it below, the code won't work. Did you do that correctly?

Yes, it was correct, but I will re-check.


All times are GMT. The time now is 07:28 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.02041 seconds
  • Memory Usage 1,733KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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