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-17-2003 05:12 AM

With the changes as above, if the message is made read, the PM popup will not popup anyway, as there will be no new mesages. So there's no need to turn off pm popup. See?

Smoothie 05-17-2003 05:31 AM

ya, I see, but I am still getting the pm pop-up after I get the email.

Smoothie 05-17-2003 08:14 AM

hmmm, still not working right. I am still getting the messages as not being "read".

Erwin 05-17-2003 08:58 AM

It works here. Try PMing yourself.

Boofo 05-17-2003 02:37 PM

All of the pms now have [deny receipt] after them. Like this:

From the desk of Boofo [deny receipt]

even after logging onto the site and reading them.

This is happening on here, too. ;)

Smoothie 05-17-2003 03:45 PM

right, thats what I'm saying, plus, if i go to message tracking, it says the messages are still unread by receipient, and still getting the stupid pop-up.

Boofo 05-17-2003 04:10 PM

My message tracking (on vb.org here) shows only 3 messages as not read yet but in the private message listing I have about 10 messages with the [deny receipt] still after them (all made after this hack was installed here this morning).

Erwin 05-18-2003 01:04 AM

To fix the deny receipt problem, we have to actually specify the receipt SQL part, so do this:

Find:

PHP Code:

        $DB_site->query("UPDATE privatemessage SET messageread=1, readtime='".time()."' $receiptSQL WHERE privatemessageid=$the_pm_id"); 

Change to:

PHP Code:

        $DB_site->query("UPDATE privatemessage SET messageread=1, readtime='".time()."', receipt=2 WHERE privatemessageid=$the_pm_id"); 

That should fix it. :)

Erwin 05-18-2003 01:04 AM

I will fix my previous post to reflect this.

Smoothie 05-18-2003 01:46 AM

hmm, ok, but i am still getting the pop-ups for new PM's...


All times are GMT. The time now is 12:24 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.01591 seconds
  • Memory Usage 1,729KB
  • 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
  • (2)bbcode_php_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