![]() |
Alert Moderator Button
This will place a red button in the thread display (SHOWTHREAD) page, or any other forum pages, that will alert moderators when a new user needs approval. When the button is clicked it takes you directly to the list of new users awaiting approval.
First, you will need to use the Add New Plugin feature to insert the following code into SHOWTHREAD: PHP Code:
Location: showthread_start Title: Find number of users to moderate Execution order: 1 Plugin is active: Yes In the SHOWTHREAD template under $navbar add: HTML Code:
<!--##################### User to Moderate Button ####################--> You are done. This can be disabled in Plugin Manager To put this on another page find a hook location for that page and add the plugin there, and paste in the html under $navbar in the appropriate template. If anyone wants to expand on this idea here are some hints: The PHP code for this was taken directly out of forum/admincp/index.php. If you want to alert moderators to other moderated items you can grab the appropriate php from there. |
Well, I didn't know how to get moderate.gif in files so you will have to get it out of screen shots.
|
All times are GMT. The time now is 06:39 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|