PDA

View Full Version : Moderators Functions - FractalizeR: Show items, awaiting moderation in notifications area


FractalizeR
04-25-2010, 10:00 PM
What does it do?
This hack shows all items, that require moderation in a notifications area. Items are grouped by type:

Threads
Posts
Group messages
Visitor messages
Picture comments
Album pictures
Users
Calendar events


Clicking on a group redirects you to a moderation panel for that type of items.

You can also restrict, what usergroups can see notifications and what items you want to appear in notifications

Russian localization included.

How to install?

1. Install *.xml file via Admin Control Panel (Product management)

Files description:


product-fr_notifymoditems.xml - main product XML. English localization included.
vbulletin-language-ru.xml - russian localization. Import as a language overwritting russian.


Version history:

06-11-2014)

Attached a version by AUGI Web Team (https://vborg.vbsupport.ru/member.php?u=426684) that fixes notification count for moderators with limited permissions.


11-05-2011)

Attached a version by A825F933D42B (https://vborg.vbsupport.ru/member.php?u=232617) with attachments moderation support.


4.02 (28-04-2010)

Non-working option to show zero values removed due to 4.x incompatibility
Russian translation fixed


4.01 (28-04-2010)

Critical bug fixed that prevented notifications from being displayed
Forums with custom admincp and modcp paths are now supported.


4.0 (26-04-2010)

VBulletin 4.x release


1.1.3 (07-08-2008)

VBDynamics (and several other addons) compatibility ensured (aproape)
Non-standard admincp and modcp directories are now respected (aproape)


1.1.2 (07-08-2008)

Links bug fixed in new features


1.1.1 (07-08-2008)

Path bug fixed.


1.1 (06-08-2008)

Added moderation items for calendar events, users and album pictures. Each item requires one (but very quick) additional query
Added an option to show/hide empty notifications (with 0 items).
Added an option to show only selected notifications

ZexTasy
04-26-2010, 01:54 PM
This is very interesting, thanks! Tagged for later!

ProFifaLeagues
04-26-2010, 01:57 PM
Tagged looks handy for my forum will install tonight!!

Adem GEN?
04-26-2010, 02:19 PM
No menu
116339

synseal
04-26-2010, 04:39 PM
No menu
116339

Same for me, just shows the number 8 and when you click on it theres nothing to do.

FractalizeR
04-27-2010, 12:24 PM
Can you post screenshots of the problem please?

grc
04-27-2010, 03:21 PM
We use moderator approved registrations and I basically am only interested having administrators see users awaiting registration approval in the notifications area. I installed the mod, but I can't tell that it's doing anything. As I understand it, I should be seeing the checked items listed, with or without pending action.

Any ideas?

SuperGLS
04-27-2010, 03:56 PM
Any screenshots of the vB4.X version?

Fungsten
04-27-2010, 06:11 PM
We use moderator approved registrations and I basically am only interested having administrators see users awaiting registration approval in the notifications area. I installed the mod, but I can't tell that it's doing anything. As I understand it, I should be seeing the checked items listed, with or without pending action.

Any ideas?

Same here.

Sador
04-27-2010, 10:13 PM
Tagged, seems very useful.

grc
04-28-2010, 12:31 AM
I see last update: today and then "Not Supported." I take it that the coder released this version and saw some of the problems and decided not to put any more time into it.

Is that correct?

FractalizeR
04-28-2010, 06:23 AM
No, that is not. On my forum mod works ok. Now I am looking into problem with user moderation not being displayed.

As I understand it, I should be seeing the checked items listed, with or without pending action.
No. If there is nothing in your moderation queue, empty item is not displayed in menu. Do you have unmoderated users right now?

FractalizeR
04-28-2010, 07:01 AM
All bugs fixed. Please update to latest version. Screenshot update is on the way

FractalizeR
04-28-2010, 07:03 AM
Screenshots updated. Modification settings fixed. Now it is showing as Supported.

Adem GEN?
04-28-2010, 09:51 AM
No menu
116339
Now no problem
Thank you, very nice mod

Turkish language files here (http://www.vb-ipuclari.com/vbulletin-turkce-dil-dosyalari/vbulletin-forum-pluginlerin-turkce-dil-dosyasi.html)

grc
04-28-2010, 11:52 AM
No. If there is nothing in your moderation queue, empty item is not displayed in menu. Do you have unmoderated users right now?

Thanks for the response. I've updated to the current release and reactived the mod. I'm only going to use it for notifications of new registrations, so I'll have to wait for someone new to come along (we get a few a day).

The reason I was under the impression that, if activated, I'd see information listed under "Notifications" with our without items to moderate is because of the wording in the options:
Show notification even if count is zero
Text will be shown in notifications area even if there is nothing to notificate about (0)

I see that as saying that there will be information under notifications even if there is nothing pending. Please understand, I'm okay with it either way, just that I had that impression based on that option.

Also, I'll mention that I'm rather sensitive to "supported" or "not supported" right now because of the way the coder of the "Thanks" mod has just discontinued support leaving many users with a mod missing several features that weren't upgraded for vB4.

Thanks for your support of your nice mod!

FractalizeR
04-28-2010, 12:02 PM
Yea, Abe1 disappointed me as well. I am slowly switching to Helpful answers mod (https://vborg.vbsupport.ru/showthread.php?t=233296) instead because of that.

I will check how options affect mod behaviour, thanks for bug report. Stay tuned.

FractalizeR
04-28-2010, 12:08 PM
I see that as saying that there will be information under notifications even if there is nothing pending. Please understand, I'm okay with it either way, just that I had that impression based on that option.

I've searched VBulletin code and it seems, VBulletin now hides notifications with 0 items count itself:

if ($vbulletin->userinfo["$userfield"] > 0)
{
$show['notifications'] = true;
$notifications_total += $vbulletin->userinfo["$userfield"];
$notification['total'] = vb_number_format($vbulletin->userinfo["$userfield"]);
$templater = vB_Template::create('navbar_notifications_menubit' );
$templater->register('notification', $notification);
$notifications_menubits .= $templater->render();
}


It seems, that I should remove that option from plugin.

FractalizeR
04-28-2010, 12:16 PM
Ok, non-working option removed. Russian translation fixed.

Please don't forget to click Installed if you installed my mod.

grc
04-28-2010, 01:38 PM
Yea, Abe1 disappointed me as well. I am slowly switching to Helpful answers mod (https://vborg.vbsupport.ru/showthread.php?t=233296) instead because of that.

I will check how options affect mod behaviour, thanks for bug report. Stay tuned.

Let me report back that your mod is working fine for me. The only thing moderated on our forum is registration so I had to wait till a couple of new ones came in to know for sure, but the notification worked just fine. Thanks!

An aside, how hard do you think it would be to get search capability going on the Thanks mod? Since it was working before the upgrade to vB4, I'd think (easy for me, a non coder to say) it wouldn't be that hard to get to working.

chriske
04-28-2010, 03:00 PM
Thanks for this mod, thats excatly what i need!

installed & rated

wampforum
04-28-2010, 05:36 PM
installed thanks. any way this can notify of articles awaiting moderation?

FractalizeR
04-29-2010, 08:08 AM
installed thanks. any way this can notify of articles awaiting moderation?
I didn't use CMS yet. I will have a look, but a little later.

An aside, how hard do you think it would be to get search capability going on the Thanks mod? Since it was working before the upgrade to vB4, I'd think (easy for me, a non coder to say) it wouldn't be that hard to get to working.
I am not sure, I will try to have a look. It looks a bit complex for me. But it seems, that forum rules prohibit to rerelease modifications... :( May be I can try to release a patch.

RedDevil
05-01-2010, 08:03 AM
I installed this now its putting posts in moderation from my rss feeds which it wasnt happening before so ive temp disabled it now posts normal, any idea what this is?

FractalizeR
05-02-2010, 12:14 PM
This mod doesn't change database structure at all. It just reads it to determine the items, waiting for moderation. So, it can't put anything to moderation queue itself.

Skyrider
05-03-2010, 08:00 AM
That's weird. It says in my notifications that 3 threads are awaiting moderation. But when I click it, no threads are showing up. And when I check the AdminCP it says:

Threads to Moderate - 0

Julie
05-03-2010, 10:48 AM
Mine says I have two threads waiting, but there are no threads awaiting moderation...

FractalizeR
05-03-2010, 04:03 PM
Thanks for reporting, I will check.

Brandon Sheley
05-03-2010, 04:05 PM
nice mod, very helpful
will bookmark this for my 4.0 installs :)

FractalizeR
05-03-2010, 04:10 PM
Can these posts be deleted before you had a chance to look into them?

Skyrider
05-04-2010, 05:40 PM
Can these posts be deleted before you had a chance to look into them?
Come again? I have no idea what posts needs to be accepted. I have no idea why it even says I need to accept 3 of them.

FractalizeR
05-05-2010, 06:30 AM
I mean, when you move from main forum page (where you see 3 threads to moderate) to admincp (where this number shown is zero) and then back, do you see again 3 posts in moderation queue?

Skyrider
05-05-2010, 07:55 AM
I mean, when you move from main forum page (where you see 3 threads to moderate) to admincp (where this number shown is zero) and then back, do you see again 3 posts in moderation queue?

Here you go:

At the Forums:
https://vborg.vbsupport.ru/attachment.php?attachmentid=116708&stc=1&d=1273049715

When I click on it:
https://vborg.vbsupport.ru/attachment.php?attachmentid=116710&stc=1&d=1273049807

In the AdminCP:
https://vborg.vbsupport.ru/attachment.php?attachmentid=116709&stc=1&d=1273049715

https://vborg.vbsupport.ru/attachment.php?attachmentid=116711&stc=1&d=1273049884

And yes, I still see it even I go to the moderation view of all threads in the AdminCP back to the refreshment on the forum homepage.

FractalizeR
05-06-2010, 02:01 PM
Thanks, I will look. I noticed that admincp queries are almost like mine....

Skyrider
05-10-2010, 09:27 PM
Any updates regarding this? :)

grc
05-11-2010, 03:13 PM
FractalizeR, I just wanted to tell you how much I'm enjoying having your mod on my forum. I only activated the "new registration" part of the mod, as we manually approve all registrations, but don't do any moderation of posts.

I used to get emails on new registrations, but would be busy and forget about them. Now, everything I go to the forum, it's there in Notifications.

I have another member of the team who has helped with registrations and I see that he's handling more of them than before. I think it's because of the Notifications of new registrations.

Thanks again for the good work.

Reeve of shinra
07-21-2010, 06:54 PM
I am actually having the same issues as FF|Skyrider, has there been any determinations for what causes this?

RobDog888
07-22-2010, 08:15 AM
Great mod, just what I was looking for but... Installed on 4.0.5 and I dont have the zero option in the admincp and seems I get a duplicate notification during my testing.

I unapproved one of my existing profile visitor messages and it added "Visitor messages awaiting moderation" as well as "Unapproved Visitor Messages". The second one is the vB system one as you can tell by the phrase text is all proper case vs yours with all lowercase except the very first letter in the message.

Edit: when I approve the visitor message, both notifications go away.

Edit2: Can you add Attachment moderation also? I added it myself but others may like it too :)

MonsterDK
09-16-2010, 04:52 PM
Be great if this was updated as I take it, it will not work on 4.0.6

FractalizeR
09-17-2010, 07:41 AM
I will try to discover and fix recovered issues soon, but I am pretty much disappointed with VB 4.x and I am going to stop developing for it. Waiting for XenForo to switch my forums to it. I am tired of struggling with VB.

mohammad6006
09-27-2010, 10:05 PM
tank for usefull mod

but i have a problem:

i say this problem in example

we have 3 forums section and 3 seprate moderator for each section

now the moderator of number 1 section can see notificate for section 2 awaiting moderate and number 3 section

and also other moderators can see awaiting notificate for all forums

___________
i want each moderator can see just himself awaiting notificate number

excuse for bad english

FractalizeR
09-28-2010, 06:35 AM
I'm afraid that your suggestion will add too much queries to display notifications.

mohammad6006
09-28-2010, 06:57 AM
I'm afraid that your suggestion will add too much queries to display notifications.

but this is big problem for us
what can i do?

FractalizeR
09-29-2010, 06:55 AM
You can hire someone to change my modification for you. I'm done with VB. Waiting for XenForo. Sorry.

A825F933D42B
10-02-2010, 12:53 PM
Attached a version with Attachment support. With this you also see attachments which need moderation.

@FractalizeR: Feel free to add my lines of code to your script ;-)

atcspaul
10-20-2010, 07:21 PM
great mod thank you

Bluemax712
02-03-2011, 07:22 PM
Upgraded vB Forum from 4.07 to 4.1.1 (no problems)
Then installed this mod - works perfect so far - just what I was looking for

Thank you FractalizeR :)

Meestor_X
03-24-2011, 07:24 PM
Does this MOD also show items to moderate for Blogs and Articles?

BadgerDog
03-24-2011, 09:05 PM
Installed with thanks for testing on 4.04 .... :up:

Unfortunately, shows 8 threads and 1 post needing moderation, yet when clicked on, none show up. Something's not adding up .. :D Nice idea though ....

Un-installed ....

Regards,
Doug

beatyourtruck
03-26-2011, 12:45 AM
4.1.2 installed fine. Shows items to be moderated but when clicked, there are none.

uninstalling.......doesn't work.

sergioloporto
04-12-2011, 06:55 AM
Hello, does it work on VB 4.1.3?

Thanks

Xerosis
04-15-2011, 01:30 AM
thanks

SimpleFTA
05-10-2011, 07:07 PM
Attached a version with Attachment support. With this you also see attachments which need moderation.

@FractalizeR: Feel free to add my lines of code to your script ;-)


@A825F933D42B THANK YOU for this! Exactly what I was looking for. Kind of surprised it wasn't included in the original mod.

@FractalizeR thanks for the mod!

Meestor_X
05-11-2011, 12:06 AM
Any chance of adding all the rest of the "mod"-able items? (Blogs, Blog Comments, Articles, Article Comments, etc.)

Taurus1
05-13-2011, 09:52 AM
Works perfect on 4.1.3 for me. Thank you very much. I used the version with the A825F933D42B in it.

Meestor_X
05-25-2011, 10:24 PM
Still hoping that this can get updated with all the rest of the possible items that can be moderated...

CK
06-18-2011, 12:04 AM
This really should be included in the core product. Tagged for now.

Bluemax712
07-12-2011, 05:46 PM
FractalizeR,

This mod has been working perfect with 4.1.1 to display awaiting moderation notifications
Thanks Again

Is there a way to also be notified by email
when there awaiting moderation notifications?

CK
07-12-2011, 06:54 PM
Installed, thank you!

derrene
07-13-2011, 10:31 AM
hi

i think the mod works fine,(vb4.1.4)

but one problem..
when i activate this mod
then i should to moderate all usergroups on my forum.
how i can disable thos
or how to get notification for an individual usergroup als example new users

AURFSCAN
09-11-2011, 06:15 AM
thanks .. work well

B@legar
09-28-2011, 09:03 AM
Its possible to add same functions for Vba Links Directory?

MrD
10-03-2011, 08:38 PM
Hi,
is it possible to show articles from the CMS that are unpublished?

MalluParadise
10-23-2011, 03:44 PM
work with 4.1.7?

FractalizeR
10-24-2011, 11:11 AM
It should.

deverill2010
10-26-2011, 11:18 AM
Hi does this work for say example.

I allow guests to post on my site but it must be approved before becoming visible on our site.i hardly ever check the admin panel so seem to keep missing these guest posts as they just get lost.

Will this mod give me a notification of when a guest has posted and it needs approving?

Ramsesx
11-01-2011, 09:31 AM
Thanks for this great add-on FractalizeR.

Rik Brown
12-13-2011, 01:08 AM
Like I did recently, I've noted several other users run into a problem where the mod shows Notifications of threads to moderate but when you click on the Notifications dropdown menu, there are no threads to moderate, etc.

What I've done to clear those messages is to totally clear out the moderation table with a simple mysql query:
delete from moderation

This will nuke all moderation messages in that table so don't use it unless that is your intention.

Hope that helps. -- Rik

Alfa1
12-13-2011, 01:27 AM
Thanks a lot. That annoyed me and my staff for many years now. If I only knew before that this was so simple.

Fractalizer, please consider to include blogs, blog comments and articles. (mind that there is an addon that adds a blog search controller)

FractalizeR
12-14-2011, 05:30 AM
Fractalizer, please consider to include blogs, blog comments and articles. (mind that there is an addon that adds a blog search controller)

I doubt I will have time to do that. But I will think, thanks.

m!dn!ght
12-14-2011, 08:29 AM
hello
first thanks for this useful mod
i have a problem
notification shows up 11 Threads awaiting moderation but when i do click on link i see just 5 Threads awaiting moderation
vbulletin 4.1.8 + vBSEO

james shadle
12-15-2011, 12:11 AM
Very cool, thanks.

Bluemax712
12-26-2011, 10:44 PM
Hello,
This Mod has worked perfect - been running on 4.0.7 - 4.1.5 currently
I've asked this before but didn't receive a response

Is there a way to also get notified by email when a new notification shows up?
Any help appreciated

Thanks again for a Mod

Luca_ITA
01-04-2012, 01:33 PM
Thanks for this great add-on FractalizeR.
v4.1.9

metalguy639
02-01-2012, 10:00 PM
Does not seem to work at all. Am I missing something? I installed it and it did not alert me on a new thread in a forum that I had moderation set up for threads.

deverill2010
02-04-2012, 09:13 PM
Hi does this work for say example.

I allow guests to post on my site but it must be approved before becoming visible on our site.i hardly ever check the admin panel so seem to keep missing these guest posts as they just get lost.

Will this mod give me a notification of when a guest has posted and it needs approving?

Again does this do the above? And does this work on 4.1.10?

Dwarden
02-21-2012, 10:25 AM
I really like this mod, got it installed and using it with 4.1.10 version

yet there is some problem with visitor messages
it reports 34 visitor messages for moderation yet there is none in admin CP

(if there is any visible in admin CP it always add these 34 to the value)

Superorb
03-08-2012, 06:38 PM
Is there any way to get this mod to look like this mod (https://vborg.vbsupport.ru/showthread.php?t=92809)? I like having Moderation separate from PM's.

chimpmaster
05-21-2012, 02:35 AM
Great mod and one I have been looking for. Working fine in 4.1.12

cowudders14
06-05-2012, 09:41 PM
I've got it installed and it report 2 threads needing moderation, yet no threads, posts or anything are in my mod queue when I get there. If I could get round this error, this is exactly what I've been after. Great mod.

I'm using 4.0.4 PL1 but I'm going to upgrade to the latest next week if I have time so I'll let you know again.

cowudders14
06-06-2012, 09:27 PM
Random thought: Could these odd messages be ones that have been deleted without ever having been approved? If you delete from the admin or mod control panel, it hard deletes - they are gone, but if you do a soft delete from the thread itself, the posts are still there, and presumably still carry their 'moderated post' status, but they are also deleted, so would not show up in lists of posts. I do occasionally delete posts from the thread as I read them in context before deleting them.

I wouldn't have a clue how to check SQL tags or whatever it is to find out but it's a theory. Can anyone who does know how to play with SQL see if this is the case please?

cstreater
06-12-2012, 10:49 PM
Works fine 4.2.

ShadeDL
06-15-2012, 12:18 PM
Yea, i've been looking for something similar to the moderation module in vba, so I installed this on my vb4.2. Anyways, nothing shows up. Settings are in the admincp and everything.. but nothing shows up on the notifications menu besides pm's.

Anyone have any ideas?

Bluemax712
06-15-2012, 02:40 PM
This still working for me with 4.1.12 PL2 but...

still looking for a way to also send an email - when a notification pops up
so don't have to keep checking in to see if there are any new notifications.

Someone mentioned a mod that will send a PM - when there is a new notification
but haven't found it yet. :(
(this would work since I get sent an email whenever a new PM arrives)


Any ideas?

Disco_Stu
06-17-2012, 04:36 AM
Seems to be working ok in 4.2.PL1

HondaATC
10-19-2012, 10:46 AM
This coupled with Spam-O-Matic are a wonderful pair :)

datoneer
02-01-2013, 06:54 PM
Thanks great mod!

MrD
02-11-2013, 02:02 PM
Hi,
is there any option to Display new Articels wich are in moderation?

Bluemax712
02-12-2013, 10:47 PM
Just installed Lee Robert's vBMQN - Moderation Queue Notifications Mod
works perfect alongside FractilizeR to also email the notifications

https://vborg.vbsupport.ru/showthread.php?t=294999

EliasAlucard
03-05-2013, 07:25 PM
Installed, checked, nominated and voted 5 stars. Great plugin. You should update it more often though.

fxdigi-cash
07-29-2013, 01:37 AM
Thanks for the mod!

However, this is an issue when it comes to ie browser. The menu is messed up !!!

any idea how to get around that?

Barbara1
10-11-2013, 08:13 PM
works fine with 4.2.0 pl3

thunderclap82
10-24-2013, 04:04 PM
I have this installed on two systems running 4.2.2. On one it works fine, the other it shows a 1 thread needs to be moderated yet no threads need moderating. Any thoughts?

Meestor_X
12-29-2013, 03:54 PM
Does anyone know how to add these notifications to vBNotifications (https://vborg.vbsupport.ru/showthread.php?t=266914)?

Skyrider
05-01-2014, 02:34 PM
How does this 'exactly' work permission wise? I've created a new usergroup of which a) is a super mod group and b), i've given myself moderation access to the specific section where posts are being moderated. (yes, given it "can moderate" access as well).

But when I set the usergroup permissions to a group that I want it to view notifications, it refuses to work. When I set it to admins ,it works as a charm.. why admins only?

Skyrider
05-07-2014, 07:01 AM
Update regarding my post would be nice.

megabink
05-07-2014, 07:20 AM
Yeah it would be great if someone could take over this mod and give it a good update so that it works again...i have used this mod for years and it is really a time saver!

gundamz
05-20-2014, 01:01 AM
I have this installed on two systems running 4.2.2. On one it works fine, the other it shows a 1 thread needs to be moderated yet no threads need moderating. Any thoughts?

had this issue too.

Terrablade
07-04-2014, 10:43 PM
im getting this error https://imgur.com/bwr4jQY
moderate.php is inside modcp folder. What could be triggering this?

Skyrider
07-05-2014, 04:01 PM
im getting this error https://imgur.com/bwr4jQY
moderate.php is inside modcp folder. What could be triggering this?

The problem is the / moderate.php/?do=messages. It should be moderate.php?do=messages without the slash.

Terrablade
07-10-2014, 07:49 AM
its adding the / automatically. even if i take it out. What is causing it?

BasicGreatGuy
07-13-2014, 03:53 AM
Anyone figure out why it shows threads that need moderation when there aren't any? It works fine for new threads. It would be nice to be able to get rid of the nonexistent 4 threads notification.

Bluemax712
07-13-2014, 06:35 PM
Anyone figure out why it shows threads that need moderation when there aren't any? It works fine for new threads. It would be nice to be able to get rid of the nonexistent 4 threads notification.


This occasional happens to me too where it incorrectly shows threads/post need moderation

Usually loading the mod control panel panel directly
and then reloading the forum page corrects the notification error

BasicGreatGuy
07-13-2014, 07:35 PM
This occasional happens to me too where it incorrectly shows threads/post need moderation

Usually loading the mod control panel panel directly
and then reloading the forum page corrects the notification error

Not sure what you are saying. I imported it via the admin panel under products and programs.

Bluemax712
07-13-2014, 08:26 PM
Not sure what you are saying. I imported it via the admin panel under products and programs.

Instead of clicking on the notification area in upper right which this mod provides
where it says 4 threads awaiting approval

Load your forum's 'moderate threads' page directly:
http://yourforumname/modcp/moderate.php?do=posts
it should show no threads/posts awaiting approval

Then reload your forum homepage and the 4 threads notification in the upper right should be set back to 0

BasicGreatGuy
07-13-2014, 08:32 PM
Instead of clicking on the notification area in upper right which this mod provides
where it says 4 threads awaiting approval

Load your forum's 'moderate threads' page directly:
http://yourforumname/modcp/moderate.php?do=posts
it should show no threads/posts awaiting approval

Then reload your forum homepage and the 4 threads notification in the upper right should be set back to 0

I just tried that, and it is still showing the phantom 4 thread notification.

Bluemax712
07-14-2014, 06:22 PM
Do you have an alternate Admin/Mod account you can login with
to see if it also shows the same phantom threads
or try making a new account to test with

BasicGreatGuy
07-14-2014, 07:54 PM
Do you have an alternate Admin/Mod account you can login with
to see if it also shows the same phantom threads
or try making a new account to test with

I upgraded my user test account to admin and logged in, and it still shows the 4 phantom threads.

Bluemax712
07-14-2014, 09:34 PM
I upgraded my user test account to admin and logged in, and it still shows the 4 phantom threads.


Well can always try this using this mod instead
(haven't tried it myself)

SCANU's Quick Moderation: Moderation queue info on Forum home
https://vborg.vbsupport.ru/showthread.php?t=285008&highlight=awaiting+moderation

BasicGreatGuy
07-14-2014, 09:50 PM
Well can always try this using this mod instead
(haven't tried it myself)

SCANU's Quick Moderation: Moderation queue info on Forum home
https://vborg.vbsupport.ru/showthread.php?t=285008&highlight=awaiting+moderation

Thanks for the reply. I just tried it, and it shows the same thing, unfortunately. I see in the comments for it, that some others have the same issue. Maybe it is a vbulletin bug. It is really irritating to see the phantom display. lol

Bluemax712
07-14-2014, 11:17 PM
Thanks for the reply. I just tried it, and it shows the same thing, unfortunately. I see in the comments for it, that some others have the same issue. Maybe it is a vbulletin bug. It is really irritating to see the phantom display. lol


You'll probably have better luck getting help from Scanu - than Fractilizer
- mark it as installed - vote it up and post the question in his thread
- and I'm sure a donation never hurts :)

Terrablade
08-09-2014, 07:59 AM
im getting this error https://imgur.com/bwr4jQY
moderate.php is inside modcp folder. What could be triggering this?


Anyone with a solution?

Bluemax712
08-09-2014, 03:37 PM
Well there is a difference between the vB4 and vB3 versions which involves the slash
Could you be using the wrong version for your forum?

============================
vB4 version:

'visitormessage' => array(
'link' => $vbulletin->options['bburl'] . '/' . trim($vbulletin->config['Misc']['modcpdir'], '/') . '/moderate.php?do=messages',
'total' => 0

==============================
vB3 version:
'visitormessage' => array(
'link' => $vbulletin->options['bburl'] . '/' . $config['Misc']['modcpdir'] . '/moderate.php?do=messages',
'count' => 0
==================================

Terrablade
08-09-2014, 09:25 PM
Well there is a difference between the vB4 and vB3 versions which involves the slash
Could you be using the wrong version for your forum?

============================
vB4 version:

'visitormessage' => array(
'link' => $vbulletin->options['bburl'] . '/' . trim($vbulletin->config['Misc']['modcpdir'], '/') . '/moderate.php?do=messages',
'total' => 0

==============================
vB3 version:
'visitormessage' => array(
'link' => $vbulletin->options['bburl'] . '/' . $config['Misc']['modcpdir'] . '/moderate.php?do=messages',
'count' => 0
==================================


I have vb 3.8.7 and I use the version for vb3 :/

Bluemax712
08-10-2014, 04:56 AM
Does the built-in one in the ACP for checking awaiting messages work right?

Terrablade
08-10-2014, 05:49 AM
Built in in ACP works fine..
The other options in fractalizer works fine. Just that one gives problems

Bluemax712
08-10-2014, 06:00 AM
ok - just checking - that is weird :)

I see from the vB3 thread others had this same problem - have you tried manually editing that line in the xml file and reimporting
https://vborg.vbsupport.ru/showthread.php?t=186326

posts 106 or 107

AUGI Web Team
11-04-2014, 01:38 AM
I believe the original version of this mod, depending on the options to show, showed a notification for all items listed in the moderation queue. This is regardless if the user can handle the items in the queue.

This attachment limits this view to threads / replies in which a moderator can handle it. The other options were not adjusted as it is not a focus for us. If the user is considered as a super moderator or above, then all threads / replies in the queue are included in the notifications count.

Thanks for this mod.

BasicGreatGuy
11-05-2014, 11:30 PM
I believe the original version of this mod, depending on the options to show, showed a notification for all items listed in the moderation queue. This is regardless if the user can handle the items in the queue.

This attachment limits this view to threads / replies in which a moderator can handle it. The other options were not adjusted as it is not a focus for us. If the user is considered as a super moderator or above, then all threads / replies in the queue are included in the notifications count.

Thanks for this mod.

Thank you for this post. It fixed the ghost threads waiting moderation problem.

FractalizeR
11-06-2014, 06:43 AM
Attached AUGI's version to the post.

RNArmstrong
01-17-2015, 11:14 PM
Uploading product-fr_notifymoditems.xml (11.0 KB, 744 downloads) does not work for me to remove the 3 extra Threads, awaiting moderation in the Notifications. Any other suggestions?

kapii
01-25-2015, 09:35 PM
Why does this mod show a notification for threads or posts if the moderator can not see a particular forum?

Wedframe
01-30-2015, 12:37 AM
Thanks! Great mod! Mark as installed! vB v4.2.2 PL3

@kapii , I think its your case:
https://vborg.vbsupport.ru/showpost.php?p=2521205&postcount=118

Wedframe
02-03-2015, 04:01 PM
Hello! I found some errore in this mod.
In my case, i was have one moderator which was not moderate at least one forume. This generate a database errore 1064 with your mod enabled.

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 MySQL server version for the right syntax to use near ')' at line 5

I dont know, this errore of mod, or guilty of admin))) but this point exist.....

Delfi_r
02-13-2015, 09:29 PM
I've installed on two 4.2.2pl4 forums. One is loaded of plugins, the other is lightweight. On both the installation of the last revision of this useful mod makes the login process impossible with fatal database error.

There are other requirements or known incompatible plugins?

Delfi_r
02-14-2015, 01:49 PM
The problem it's not there on the A825F933D42B version

My Hattiesburg
04-25-2015, 03:50 PM
For a long time now the notification has shown 1 visitor message and 15 posts need moderation but those items are nowhere to be found. Is there any way to reset those to 0?

MarkFL
04-25-2015, 04:09 PM
For a long time now the notification has shown 1 visitor message and 15 posts need moderation but those items are nowhere to be found. Is there any way to reset those to 0?

In the AdminCP, go to Maintenance -> Execute SQL Query

and run the manual query:

truncate moderation;

This will clear that table and remove the errant entries. :D

My Hattiesburg
04-25-2015, 06:57 PM
In the AdminCP, go to Maintenance -> Execute SQL Query

and run the manual query:

truncate moderation;

This will clear that table and remove the errant entries. :D

I've never executed an SQL query before so I was a little hesitant, but that fixed it. Thanks!

My Hattiesburg
04-26-2015, 05:33 PM
Hello! I found some errore in this mod.
In my case, i was have one moderator which was not moderate at least one forume. This generate a database errore 1064 with your mod enabled.

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 MySQL server version for the right syntax to use near ')' at line 5

I dont know, this errore of mod, or guilty of admin))) but this point exist.....

I had been using the 4.02 version for awhile and never had any problems (except for the count being wrong but thanks to MarkFL for his help in fixing that) so I decided to install the 4.03 version and got the exact same problem. One of our owners got this error and couldn't log in until I disabled it. Going to go back to a previous version to see if it still works.

Venlaw
05-24-2015, 11:12 AM
Hello! I found some errore in this mod.
In my case, i was have one moderator which was not moderate at least one forume. This generate a database errore 1064 with your mod enabled.

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 MySQL server version for the right syntax to use near ')' at line 5

I dont know, this errore of mod, or guilty of admin))) but this point exist.....

Same issue here. Finally got around to shutting off my site and finding this plugin was the cause of my login issues.

Wedframe
06-07-2015, 06:28 PM
Venlaw, My Hattiesburg
In my case, i was have one moderator which was not moderate at least one forum.
Exactly this moderator could not login to forum, because of receiving the DB-error.
So,.. for me, the solution of the problem was - to assign him to moderate any forum section. After this problem has been resolved.

Wedframe
06-08-2015, 06:02 AM
I create new version of plugin. This version based on product-fr_notifymoditems-4_0_3_by_AUGI.xml with added blog entries in moderation queue.

Gizmo99
08-29-2015, 07:01 PM
product-fr_notifymoditems (A825F933D42B).xml

Works on 4.2.3 :)

GIz

Stratis
09-16-2015, 03:12 PM
Avatar is ok in thread moderate, but not shown up in post moderate.
Is this issue only to me? if its not, did any one fixed this issue?

Thanks

djbaxter
12-22-2015, 08:59 PM
Hello! I found some errore in this mod.
In my case, i was have one moderator which was not moderate at least one forume. This generate a database errore 1064 with your mod enabled.

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 MySQL server version for the right syntax to use near ')' at line 5

I dont know, this errore of mod, or guilty of admin))) but this point exist.....

I had been using the 4.02 version for awhile and never had any problems (except for the count being wrong but thanks to MarkFL for his help in fixing that) so I decided to install the 4.03 version and got the exact same problem. One of our owners got this error and couldn't log in until I disabled it. Going to go back to a previous version to see if it still works.

Same issue here. Finally got around to shutting off my site and finding this plugin was the cause of my login issues.

Had the same problem on one vBulletin 4.2.3 forum and none of the available versions worked. Uninstalled the product and the login issue disappeared.

Then discovered on another 4.2.3 forum, the product wasn't causing login errors but it simply wasn't working any more.

On a third 4.2.3 forum, the plugin is still working without the login error or any other errors.

The SQL error is because of this part of the query:

WHERE type = 'reply' AND forumid IN ( );

No forum ID is specified, hence the SQL error.

I have no idea why it works on some forums and not others... I don't have the time to try to track down what causes this behavior.

The best solution currently is simply to uninstall the product.

hazem_aliraqi
12-29-2015, 05:14 PM
Had the same problem on one vBulletin 4.2.3 forum and none of the available versions worked. Uninstalled the product and the login issue disappeared.

Then discovered on another 4.2.3 forum, the product wasn't causing login errors but it simply wasn't working any more.

On a third 4.2.3 forum, the plugin is still working without the login error or any other errors.

The SQL error is because of this part of the query:

WHERE type = 'reply' AND forumid IN ( );

No forum ID is specified, hence the SQL error.

I have no idea why it works on some forums and not others... I don't have the time to try to track down what causes this behavior.

The best solution currently is simply to uninstall the product.


i have the same problem with admin login

taravasya
02-15-2016, 10:23 AM
djbaxter, hazem_aliraqi
Hi! Please read previous messages very carefully! This errore appears when try to login moderator what do not assign at least one forum to moderate it.

Venlaw, My Hattiesburg

Exactly this moderator could not login to forum, because of receiving the DB-error.
So,.. for me, the solution of the problem was - to assign him to moderate any forum section. After this problem has been resolved.

taravasya
02-22-2016, 08:30 AM
Well.. I try to fix the root of the problem. As I understand, DB error occurs only with product by_AUGI.
So... if you have installed product by_AUGI, then in module
"Showing notifications"
found string:
$m_forums = "AND forumid IN ( ". implode(',', modForums( $vbulletin)) ." )";
and replace it with:
$m_forums = "AND forumid IN ( '". implode(',', modForums( $vbulletin)) ."' )";


BTW! Idea AUGI was in to regulate notifications to moderators according to theirs permissions. But... this is just dont work. Notification appears no matter whether the right to moderate in this section of the forum or not. As a result, if moderator with limited privileges receives a notification about moderation items in forum the moderator of which he is does not, when viewing the moderation queue it gets an error...

taravasya
07-12-2016, 04:16 AM
UPDATE! !Previous post not enough correct!
for correct processing of rights of moderation with this hack, we need to this piece of code:
//visitormessage, groupmessage, picturecomment
if(count(array_intersect($fr_itemsToTrack, array('visitormessage', 'groupmessage', 'picturecomment')))>0) {
$query = "SELECT COUNT(type) AS total, type
FROM ". TABLE_PREFIX ."moderation
GROUP BY type";
$fr_result = $vbulletin->db->query_read($query);
while($fr_entry = $vbulletin->db->fetch_array($fr_result)) {
$fr_modItems[$fr_entry['type']] ['total'] = $fr_entry['total'];
}
}
rearrange upward, so that it would-be over
//reply - post
if(in_array('reply', $fr_itemsToTrack)) {
$query = "SELECT COUNT(*) AS num
FROM " . TABLE_PREFIX . "moderation AS moderation
INNER JOIN " . TABLE_PREFIX . "post AS post ON (moderation.primaryid = post.postid)
INNER JOIN " . TABLE_PREFIX . "thread AS thread ON (post.threadid = thread.threadid)
WHERE type = 'reply' ". $m_forums;
$fr_result = $vbulletin->db->query_first($query);
$fr_modItems['reply'] ['total'] = $fr_result['num'];
}

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

Anf another suggest is for that would not appear a database error when entering/leaving forum by moderator/super-moderator/administrator without any forum moderated, string:
if(!isSuperMod($vbulletin)){
must be replaced with:
if(!isSuperMod($vbulletin) AND can_moderate()){

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

Both issues from same module:
Showing notifications

gsk8
10-22-2016, 03:41 PM
So when this is "enabled", I'm unable to log in. I get this error:

PHP Warning: implode(): Invalid arguments passed in ..../includes/class_bootstrap.php(1230) : eval()'d code on line 37

Love this mod but what can I do to fix?

taravasya
11-30-2016, 09:28 AM
gsk8 you admin on your forum? You have at least one forum section there you assigned as moderator?

gsk8
12-01-2016, 12:00 PM
Yes, I'm admin.

Paul M
12-01-2016, 01:32 PM
and the second part of his question, which you did not answer ?

.... You have at least one forum section there you assigned as moderator?

gsk8
12-02-2016, 01:32 PM
Hi and thanks for responding/helping Tara and Paul!

I selected admin and moderators as usergroups which can view the notifications. Is there something else I was supposed to do?

MarkFL
12-02-2016, 03:10 PM
Hi and thanks for responding/helping Tara and Paul!

I selected admin and moderators as usergroups which can view the notifications. Is there something else I was supposed to do?

What do you have for "Items to track?"

Stratis
01-03-2018, 04:09 PM
What do you have for "Items to track?"
I have same problem, I changed this line
if(!isSuperMod($vbulletin)){

I have
Items to track: Posts and threads.

I do not understand the code above
//visitormessage, groupmessage, picturecomment
and
//reply - post


Do we must do something with that to?
Thanks

taravasya
02-28-2018, 09:15 PM
Stratis its in module: "Showing notifications" of FractalizeR product.
At this time:
//reply - post
its begin of first if statement after comment:
//#################### Acquiring ####################

and....

//visitormessage, groupmessage, picturecomment
its begin of second if statement after comment:
//#################### Acquiring ####################

And all together looks like this:


//#################### Acquiring ####################
//reply - post
if(in_array('reply', $fr_itemsToTrack)) {
$query = "SELECT COUNT(*) AS num
FROM " . TABLE_PREFIX . "moderation AS moderation
INNER JOIN " . TABLE_PREFIX . "post AS post ON (moderation.primaryid = post.postid)
INNER JOIN " . TABLE_PREFIX . "thread AS thread ON (post.threadid = thread.threadid)
WHERE type = 'reply' ". $m_forums;
$fr_result = $vbulletin->db->query_first($query);
$fr_modItems['reply'] ['total'] = $fr_result['num'];
}

//visitormessage, groupmessage, picturecomment
if(count(array_intersect($fr_itemsToTrack, array('visitormessage', 'groupmessage', 'picturecomment')))>0) {
$query = "SELECT COUNT(type) AS total, type
FROM ". TABLE_PREFIX ."moderation
GROUP BY type";
$fr_result = $vbulletin->db->query_read($query);
while($fr_entry = $vbulletin->db->fetch_array($fr_result)) {
$fr_modItems[$fr_entry['type']] ['total'] = $fr_entry['total'];
}
}



For correct processing of rights of moderation with this product you need to rearrange this two if statement upward. Like this:


//#################### Acquiring ####################
//visitormessage, groupmessage, picturecomment
if(count(array_intersect($fr_itemsToTrack, array('visitormessage', 'groupmessage', 'picturecomment')))>0) {
$query = "SELECT COUNT(type) AS total, type
FROM ". TABLE_PREFIX ."moderation
GROUP BY type";
$fr_result = $vbulletin->db->query_read($query);
while($fr_entry = $vbulletin->db->fetch_array($fr_result)) {
$fr_modItems[$fr_entry['type']] ['total'] = $fr_entry['total'];
}
}

//reply - post
if(in_array('reply', $fr_itemsToTrack)) {
$query = "SELECT COUNT(*) AS num
FROM " . TABLE_PREFIX . "moderation AS moderation
INNER JOIN " . TABLE_PREFIX . "post AS post ON (moderation.primaryid = post.postid)
INNER JOIN " . TABLE_PREFIX . "thread AS thread ON (post.threadid = thread.threadid)
WHERE type = 'reply' ". $m_forums;
$fr_result = $vbulletin->db->query_first($query);
$fr_modItems['reply'] ['total'] = $fr_result['num'];
}


Sorry for my english.... :erm:

final kaoss
08-14-2019, 06:24 PM
Hmm... seems like this one has some edits to be made... does anyone have it working on vb 4.2.5 & php 7.0?

djbaxter
08-14-2019, 07:46 PM
Version 4.0.3 AUGI is working on vB 4.2.5 and PHP 7.1.31 for me:

product-fr_notifymoditems-4_0_3_by_AUGI.xml

final kaoss
09-04-2019, 11:40 PM
Thanks for that dj, I tried the one you mentioned and it turns out it was responsible for causing a error for users logging in.

It seems this version of it resolves that issue.
product-fr_notifymoditems (A825F933D42B).xml

https://vborg.vbsupport.ru/showpost.php?p=2600536&postcount=6

djbaxter
09-05-2019, 12:03 AM
Thanks final kaoss. Good to know.