The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Prune users - More options wanted
vBulletin 4.2.1
I'm looking for a MOD that provides for more search options in Prune / Move Users in the Admin CP. The default options don't allow enough finesse. |
#2
|
|||
|
|||
I second this request.
I would like to see searches by: -email or part email -ip address or part ip I have to say, I find it very odd that these are missing from the prune area |
#3
|
|||
|
|||
in admincp/user.php make the following changes for searching on (partial)email
Code:
if ($_REQUEST['do'] == 'pruneusers') { $vbulletin->input->clean_array_gpc('r', array( 'usergroupid' => TYPE_INT, 'daysprune' => TYPE_INT, 'minposts' => TYPE_INT, 'joindate' => TYPE_ARRAY_UINT, 'email' => TYPE_STR, // << ADD THIS LINE 'order' => TYPE_STR )); Code:
if ($vbulletin->GPC['minposts']) { $sqlconds .= iif(empty($sqlconds), 'WHERE', 'AND') . " posts < " . $vbulletin->GPC['minposts'] . ' '; } Code:
if ($vbulletin->GPC['email']) { $sqlconds .= iif(empty($sqlconds), 'WHERE', 'AND') . " email LIKE '%" . $vbulletin->GPC['email'] . "%' "; } Code:
print_input_row($vbphrase['posts_is_less_than'], 'minposts', iif($vbulletin->GPC['minposts'], $vbulletin->GPC['minposts'], '0')); Code:
print_input_row($vbphrase['email'], 'email', ''); |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|