vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Administrative and Maintenance Tools - Quick User Management 1.2.2 (https://vborg.vbsupport.ru/showthread.php?t=175797)

Koroku 04-13-2008 01:39 AM

Quote:

Originally Posted by Skavenger (Post 1488405)
1. Works fine on 3.6.9

Thanks :)
Quote:

Originally Posted by Skavenger (Post 1488405)
2. If you have renamed admincp directory, this will not work unless you change the path in the product

Hehe >_> Totally didn't think about that. Sorry.
Quote:

Originally Posted by Skavenger (Post 1488405)
3. Something like this would be nice to separate from other options:

Code:

<tr><td class="thead">Manage $post[username]</td></tr>

Sure, that sounds fine.

Edit: Hmm, the problem arrises that it would be silly to show that to everyone... *thinks~*
Quote:

Originally Posted by Skavenger (Post 1488405)
4. You could add a "View Infractions" link too

Code:

<a href='$vboptions[bburl]/admincp/admininfraction.php?$session[sessionurl]do=dolist&amp;startstamp=1&amp;endstamp= 1171601735&amp;infractionlevelid=-1&amp=$post[userid]' target='_blank'>View User Infractions</a>

I guess that would be fine. Didn't think of it as we don't use infractions at my forum for the most part...
Quote:

Originally Posted by princeedward (Post 1488552)
Thanks Bro...Work fine to vB 3.6.8 PL2

Okay, thanks!
Quote:

Originally Posted by princeedward (Post 1488552)
it would be nice if we have enable/disable options to acp control...

I'm not sure what you mean here?
Quote:

Originally Posted by Zaiaku (Post 1488826)
I think I was needing this a few some time ago, forgot what I needed it for but will go ahead and keep an eye on this one. thx

It's useful when you have a problem with spammers - we did for awhile and were constantly putting "suspicious" usernames into a moderated usergroup - it was a pain in the ass to have to go to the profile each time...
Quote:

Originally Posted by Boofo (Post 1488829)
OK, I got these two things added and a setting made for the view infractions, if anyone is interested. I'm now working on a way to get the admincp and modcp directory names from the config file.

:)


---

Okay, I've got everything basically now except for the modcp/admincp variables... will release after I figure that out...

Skavenger 04-13-2008 03:27 AM

Quote:

Originally Posted by Koroku (Post 1489453)
Edit: Hmm, the problem arrises that it would be silly to show that to everyone... *thinks~*

maybe with a conditional
Code:

<if condition="can_moderate()">
Quote:

Originally Posted by Koroku (Post 1489453)
Okay, I've got everything basically now except for the modcp/admincp variables... will release after I figure that out...

try with
Code:

$admincpdir
$modcpdir


Koroku 04-13-2008 04:15 AM

Quote:

Originally Posted by Skavenger (Post 1489492)
maybe with a conditional
Code:

<if condition="can_moderate()">

Then it would appear in forums that moderators... well, mod in. And they likely wouldn't be seeing any of these options.
Quote:

Originally Posted by Skavenger (Post 1489492)
try with
Code:

$admincpdir
$modcpdir


Yeah, got that - had to globalize them.

Koroku 04-13-2008 04:26 AM

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. :^)

Boofo 04-13-2008 04:40 AM

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. ;)

Koroku 04-13-2008 04:57 AM

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 :)

Boofo 04-13-2008 05:01 AM

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.

Black Tiger 05-03-2008 11:49 AM

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?

Skavenger 05-03-2008 06:06 PM

in this one you don't need to edit any template, just import the product

Koroku 05-04-2008 10:10 PM

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
  • Page Generation 0.01125 seconds
  • Memory Usage 1,754KB
  • 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
  • (6)bbcode_code_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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