vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Moderators Functions - Moderation Auto-PM v2.0.1 (https://vborg.vbsupport.ru/showthread.php?t=115677)

bc3tech 05-31-2007 02:53 PM

would like to see this implemented in a future release as well :)

Niels84 05-31-2007 03:53 PM

Quote:

Originally Posted by Makc666 (Post 1258360)
Those PMs are sent as a system one. In other words they have system flag. That is why they didn't not count.

Actually, after diving in to the code again, I'm unsure about the flag-thing. Code (in class_dm_pm.php gets executed until the counters need to be updated [which is the latest command when saving a PM]). The query is correct (I've been scanning all SQL queries), the code runs through that query, but the user record is not updated...
And that's really weird...

Makc666 05-31-2007 04:00 PM

Quote:

Originally Posted by Niels84 (Post 1258365)
Hi Maxim,

is there any way (in code) to alter the flag?

I will answer you tomorrow.
I made some test today, but I need more time and want home now :D

Makc666 06-01-2007 12:58 PM

Quote:

Originally Posted by Niels84 (Post 1258431)
Actually, after diving in to the code again, I'm unsure about the flag-thing. Code (in class_dm_pm.php gets executed until the counters need to be updated [which is the latest command when saving a PM]). The query is correct (I've been scanning all SQL queries), the code runs through that query, but the user record is not updated...
And that's really weird...

Yes. What I wrote is nonsense :(
There is no any flag.
I fully agree with you words.

There real thing is here:

When some one uses 'Advance Edit' to change my post a get a PM about that and "Private Messages: Unread 1, Total 1." are updated.

When some one uses 'Quick Edit' to change my post a get a PM about that but "Private Messages: Unread 0, Total 0." are not updated! :(
But! When I check ANY PM in my Inbox folder and for example use 'Mark as read', then "Private Messages: Unread 0, Total 1." get updated.

I am trying to look throw it.

Makc666 06-04-2007 06:47 AM

I get a good answer from vBulletin's support team.
Here it is:

When you make a "Quick Edit" only the changes of the post are updated at the server. Nothing changes with the user session because the page is not reloaded in the browser.

With the "Advanced Edit" there are several page loads. Each page load will update the user's session record.


That it.

Niels84 06-04-2007 10:04 AM

Hi Maxim,
thanks for looking into it. So I guess there's no way to update the counters when a moderator edits a post via the quick edit?

stinger2 07-13-2007 08:46 AM

can future versions have an option to exclude certain members from it...like exclude admin based on members ID?


All times are GMT. The time now is 06:01 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.01311 seconds
  • Memory Usage 1,728KB
  • 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
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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