Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-29-2009, 04:37 AM
stardotstar stardotstar is offline
 
Join Date: May 2008
Location: SYD, AU
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Tagging "Probationary" users - mechanism to alert mods/admins to a user's probation?

Hi all,

I wonder what people think about the way to handle a pretty common situation.

We get users who have infringed or somehow got themselves into a status where one or another mod or admin wants to "keep an eye on them" or after being banned or other action we need to put them on probation or a good behaviour bond/notice.

Is there some way that a user can be "flagged" for extra attention when the mods are browsing the forums.

Ie perhaps a "P" graphic appears in the Post Bit which only a mod or admin will see if the user is added to a secondary user group that is a sort of "extra watch list".

They do not need to know they are in this group and it shouldn't ever become necessary to follow up but repeat offenders and people who may have been able to change their username or other instances can fly under the radar and something like this could be a useful notice to allow mods to immediately see that this member needs watching.

Perhaps even with a mouse over the "P" user notes could pop up?

Any mods that ring a bell with this kind of functionality or tackle the situation differently?

Love to hear your thoughts.

Might be work hacking something very simple together - hidden user profile field that displays in postbit to mods/admins only?

Will
Reply With Quote
  #2  
Old 10-29-2009, 04:37 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have not seen anything like this. You could add them to a secondary usergroup, then in the postbit do a condition that only shows a "P" to the mods if a user happens to be in that usergroup.
Reply With Quote
  #3  
Old 10-29-2009, 11:51 PM
stardotstar stardotstar is offline
 
Join Date: May 2008
Location: SYD, AU
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK so I have put this in the postbit:

Code:
<!-- Is Probationary? Start -->

<if condition="is_member_of($bbuserinfo, 6, 5) AND is_member_of($post, 136)"> 
<img src="images/P.gif" alt="User is on P-Plates" />
</if>

<!-- Is Probationary? End -->
This displays as a P plate graphic on postbit for members in the secondary "probation group" only to members of the admin or supermod groups.

So far so good.

--------------- Added [DATE]1256865582[/DATE] at [TIME]1256865582[/TIME] ---------------

Trying to work out how I could get the last usernote to display as the popup box alt text:

In searching I have found various references to components that apply to the usernotes.

$usernote[total]

($vbphrase[last_note]: $usernote[lastpostdate] <span class="time">$usernote[lastposttime]</span>)

But I am not sure what they can be used for, if they need more conditionals around them to display since the group test is already done and the groups in questions hould be able to see the notes...

Any ideas?
Reply With Quote
  #4  
Old 10-30-2009, 02:29 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

usernote is a different table. So, if you want anything to do with the usernotes to be available to you in the postbit, you will have to create a plugin to hook into the $post query and JOIN with the usernote table and grab the information you want. Then you will be able to use the information in your postbit template.
Reply With Quote
  #5  
Old 10-30-2009, 02:41 AM
stardotstar stardotstar is offline
 
Join Date: May 2008
Location: SYD, AU
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you that tells me more in one statement about how the template and hook/plugin system works in vB than I have learnt in the rest of my playing with simple customisations!

I will learn to understand the problem a bit better by looking at the templates which are allowed to call on usernotes and the php files that back them.

Perhaps then I can begin to work on designing and coding a mod...

Thanks again Lynne,
Will
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:34 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03877 seconds
  • Memory Usage 2,197KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete