PDA

View Full Version : Moderators Functions - View Usernotes Given


Reven
05-02-2007, 10:00 PM
View Usernotes Given

This product will allow all current staff on your forum view usernotes they have given to members of your community. All moderators, super moderators and administrators are able to view a list of usernotes, the users they were given to, and links to either view or edit each.

The usernotes are divided into pages, each with ten. Staff can browse through each page of usernotes using the navigation menu at the bottom right of the table.

Your staff can view their posted usernotes by going to:

http://www.example.com/forums/misc.php?do=viewusernotesgiven
(vBulletin.org truncates this link. Please copy this link to your clipboard and paste it into a text editing program for the full link, or hover over the link in your browser.)

Where http://www.example.com/forums/ is the path to your forum root. You can decide whether or not you want to edit a template somewhere on your site in order to show a permanant link to this page, but I found the feature worked best as a link in a sticky within my staff forum. Adding functionality in order to show a link to the page somewhere on the forum only visible to staff would create an extra query for everyone, not just staff, which is a bad overhead for such a small forum feature.

Non-staff are shown the normal contents of misc.php (Smilies) if they access the page.

Features

Lets moderators, super moderators and administrators view all usernotes they have posted through one page.
Divides usernotes into groups of ten per page, in order to prevent large loading times.
Images are not shown, so as not to stretch the page dimensions. Smilies, BB code and HTML/PHP/Code tags are all shown as normal.


Details

1 Product
1 Plugin
2 Templates
Update Tracker
1 Query
No database edits.


Installation

Enter your Admin Control Panel and go to the Manage Products page under the Plugins & Products tab, then click Add/Import Product. Download the XML file attached to this post and then locate it on your computer on this page, then click Import. The product will now be installed automatically.

If your board is primarily non-English speaking, you can edit the two phrases the product uses. These are named 'no_usernotes_posted' and 'viewing_usernotes_given'.

rjmjr69
05-03-2007, 08:00 PM
Nice work. Makes it a bit easier than setting every user groups permissions to view and brings it all into one spot. Great idea. Reserved

bashy
05-03-2007, 08:02 PM
Thanks a lote, installed and working!

FleaBag
05-03-2007, 08:44 PM
Outstanding. I love it! Thanks. :)

Reven
05-03-2007, 09:01 PM
The idea came to me because my staff were keeping their own notes of who they had recently talked to about signature violations and other minor offences, so that they could follow up on the users to make sure they had seen the error of their ways (in the signature situation, the staff made sure the user had changed their signature to something within the rules). Surprisingly, there isn't anything in the Mod or User CP to view usernotes given, so I made this system in order to allow that.

Muellmann
05-03-2007, 10:54 PM
Very handy because i saw many usernotes on my forum, but with your cool product I have an excellent overview, thanks! ;)

RMS-Chef
05-03-2007, 11:18 PM
Well done.

Hornstar
05-04-2007, 03:46 AM
Maybe you could in your next update, include a link to the page in the modcp? thanks.

dope15gd
05-04-2007, 07:09 AM
good stuff, thanks

Reven
05-04-2007, 09:28 AM
Hmm, in order to integrate this system into vBulletin's regular moderator information pages, I may move the page into the User CP under the moderation section. This means it is available alongside lists of deleted/moderated threads and posts.

I am not so sure about including a link in the Mod CP, since rumour has it that Jelsoft are going to phase out the Mod CP. It will also interfere with the Mod CP's frames, meaning the ugly sidebar will be present when viewing the View Usernotes Given page.

You can add one yourself, though, by doing the following:

OPEN: /modcp/index.php

FIND (LINE 335):
construct_nav_group($vbphrase['users']);

ADD ABOVE:
construct_nav_option('View Usernotes Given', '../misc.php?do=viewusernotesgiven');

SAVE

StEaLtH666
09-16-2007, 01:10 PM
Installed and working - and thanks.

I'm probably being daft but I don't see how to get 'an overview' of all usernotes... mods/admin are only able to see the usernotes they made themselves.

Is it possible for admin to see all usernotes issued by all staff and would that include usernotes that are automatically added such as following an email change (where that modification is installed)?

aquariumpros
09-16-2007, 01:50 PM
Installed and working - and thanks.

I'm probably being daft but I don't see how to get 'an overview' of all usernotes... mods/admin are only able to see the usernotes they made themselves.

Is it possible for admin to see all usernotes issued by all staff and would that include usernotes that are automatically added such as following an email change (where that modification is installed)?

Just remove this;

WHERE posterid=" . $vbulletin->userinfo['userid'] . "

This calls only the usernotes that a userID has posted. By removing it you will have everyones usernotes displayed.

Also don't forget to tweak the number of usernotes displayed from the default 10.

$numberofrecords = 10;

HTH.

StEaLtH666
09-17-2007, 11:46 AM
Thanks aquariumpros... much appreciated :):up:

Elixar
02-27-2016, 02:29 PM
Any way to port this to vB 4.2?

MarkFL
02-27-2016, 02:38 PM
Any way to port this to vB 4.2?

A much more likely scenario, given that the developer of this mod hasn't been online here for years and the code is not marked as reusable, is that someone builds something similar for vB 4.2.x from scratch. :)

Elixar
02-27-2016, 02:40 PM
A much more likely scenario, given that the developer of this mod hasn't been online here for years and the code is not marked as reusable, is that someone builds something similar for vB 4.2.x from scratch. :)

Ah right, any takers? Mark didn't you have something like this in the works?

MarkFL
02-27-2016, 02:43 PM
Ah right, any takers? Mark didn't you have something like this in the works?

Yes, but I abandoned it because I had too many other things going. If I recall correctly, you wanted to view the usernotes from within the AdminCP. It appears this mod does what I would do, and that is to display them on a custom page. :)

Elixar
02-27-2016, 03:11 PM
Yes, but I abandoned it because I had too many other things going. If I recall correctly, you wanted to view the usernotes from within the AdminCP. It appears this mod does what I would do, and that is to display them on a custom page. :)

Yes, this is what I'm looking for. :)

Elixar
03-10-2016, 02:21 PM
Bump.

MarkFL
03-10-2016, 02:46 PM
Bump.

If I do decide to write such a mod, I will publish it...but it won't be anytime soon simply because I have too many other things going on. :)