![]() |
Quote:
Quote:
Quote:
Edit: Hmm, the problem arrises that it would be silly to show that to everyone... *thinks~* Quote:
Quote:
Quote:
Quote:
Quote:
--- Okay, I've got everything basically now except for the modcp/admincp variables... will release after I figure that out... |
Quote:
Code:
<if condition="can_moderate()"> Quote:
Code:
$admincpdir |
Quote:
Quote:
|
VERSION 1.2
Lots this time! Or at least "lots" relatively... - AdminCP/ModCP links are now determined by your config.php, you don't have to manually change them. - The Ban/Moderate User pop-up is now optional. You can change it to just have a normal link. - There is now a "View User's Infractions" link, which shows all the infractions between December 31, 1969 and January 18, 2038. End date is, of course, random. ^_^ - You can now set a header for the section if you want one. Determined by usergroups like rest of the options. And finally, I cleaned up the code a bit so it makes a bit more sense. :) Feel free to post responses/whatnot. I tried to make sure everything worked, but I may have missed something - let me know and I can always fix. As before, always welcome to new suggestions. :^) |
2 things on the new version:
onClick need to be onclick to pass XHTML validation. And the globals should look like this: global $vbulletin, $admincpdir, $modcpdir; Other than that, it looks good. ;) |
Oh, I wasn't aware that you could globalize variables more than one at a time... :)
I'll fix those and anything else that pops up in a few days time :) |
Yep, you can. ;)
The onClick is all small letters now, the same as onFocus and onSubmit. They all have to be small letters to pass validation now (onclick, onfocus, onsubmit, etc.). Just a heads up for any future coding you might do. ;) Also, you don't need to add the enddate= in the infractions link. It will default to today's date as the enddate if there is no no enddate in the link. I'll go through the code and if I find anything I will PM you. |
Looks very nice, I tagged it!
But what's the difference between this mod and the User Management in Postbit and Profile v2 mod from Redline? |
in this one you don't need to edit any template, just import the product
|
Yeah, and mine is done entirely through the admincp, while for his you have to manually edit the template mods.
Thanks for installing :) |
All times are GMT. The time now is 01:59 PM. |
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:
|