vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Moderators Functions - View Usernotes Given (https://vborg.vbsupport.ru/showthread.php?t=146396)

Reven 05-02-2007 10:00 PM

View Usernotes Given
 
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.p...usernotesgiven
(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):
PHP Code:

    construct_nav_group($vbphrase['users']); 

ADD ABOVE:
PHP Code:

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

SAVE


All times are GMT. The time now is 09:13 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.01002 seconds
  • Memory Usage 1,739KB
  • 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
  • (1)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