vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   vBulletin 4 Request - Notify staff on new moderated threads/posts (https://vborg.vbsupport.ru/showthread.php?t=327458)

final kaoss 08-14-2019 05:07 PM

vBulletin 4 Request - Notify staff on new moderated threads/posts
 
Right so I've been thinking about having a kind of notification system that will alert staff when there are moderated threads/posts waiting to be checked on.

My wanted features would include:

*Notify staff of moderated content (staff with the following usergroups will be notified), (input the usergroup numbers here separated by comma's). This will allow them to receive a private message or email when there has been at least X unmoderated items for X hours. The admin can choose whether to PM or email or both via the admin cp.
*(optional) Second option would be to simply put a number in the footer next to the mod cp link to display how much unmoderated content is waiting. For example

Code:

Mod (3)

z3r0 08-14-2019 05:47 PM

The second optional bit could be done with just a few tweaks to this - https://vborg.vbsupport.ru/showthread.php?t=241301

final kaoss 08-14-2019 06:25 PM

Nice product, that's exactly what I'm looking for, however it looks like it needs some edits to get up & running that and idk if it can run without error on php 7.0.

iA1 08-14-2019 07:09 PM

Quote:

Originally Posted by final kaoss (Post 2600220)
Nice product, that's exactly what I'm looking for, however it looks like it needs some edits to get up & running that and idk if it can run without error on php 7.0.

I am using that product on php 7.1 and it works without any issues.

I also send push notifications to all moderators whenever there is a moderated post. It is just an extra plugin for my push notifications product.

z3r0 08-14-2019 07:14 PM

Quote:

Originally Posted by final kaoss (Post 2600220)
Nice product, that's exactly what I'm looking for, however it looks like it needs some edits to get up & running that and idk if it can run without error on php 7.0.

I'm running it on PHP7, it works even nicer if you show the notifications live in you browser tabs with this - https://vborg.vbsupport.ru/showthread.php?t=295879

final kaoss 09-04-2019 11:34 PM

Having FractalizeR: Show items, awaiting moderation in notifications area caused an error with logging in... just confirmed it by disabling it.

Code:

Database error in vBulletin 4.2.5:

Invalid SQL:
SELECT COUNT(*) AS num
                                  FROM moderation AS moderation
                                  INNER JOIN post AS post ON (moderation.primaryid = post.postid)
                                  INNER JOIN thread AS thread ON (post.threadid = thread.threadid)
                                  WHERE type = 'reply' AND forumid IN (  );

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 5
Error Number  : 1064
Request Date  : Wednesday, September 4th 2019 @ 09:21:18 PM
Error Date    : Wednesday, September 4th 2019 @ 09:21:18 PM
Script        : http://www.vgcheat.com/forum/login.php?do=login
Referrer      : https://www.vgcheat.com/forum/members/film-theorist/
IP Address    : ----------------
Username      : Film-Theorist
Classname    : vB_Database_MySQLi
MySQL Version :
Server        : ---.--.---.--.---
User Agent    :

=====================================================



All times are GMT. The time now is 08:50 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.01938 seconds
  • Memory Usage 1,725KB
  • 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_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete