Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
add posts no. to Users Awaiting Moderation List Details »
add posts no. to Users Awaiting Moderation List
Mod Version: 1.00, by josef1 (Member) josef1 is offline
Developer Last Online: Oct 2015 I like it Show Printable Version Email this Page

vB Version: 3.8.1 Rating: (0 vote - 0 average) Installs: 3
Released: 21 Feb 2009 Last Update: Never Downloads: 0
Not Supported Code Changes  

This mod to add number of post in Users Awaiting Moderation List in admin cp

this is useful only for forums request new registered to validate emails and wait till final approval from admin

this done in CP by clicking on
List Users Awaiting Moderation

so what then

the list shows User Name, Email, IP Address, options to accept or delete
but not number of posts >>>> is it important ?? yes

as if any old member change his email, that will lead him to validate his email and he will be waiting admin to moderate his membership

so he will be in the list like new registers

and if admin delete him without knowing he is already old member, that's bad , no return, he is out of forum

so it will look better for admin to see number of posts in the list to distinguish between members, who is new and who is old member

it is easy way to add this option but i suggest first you take copy of the file before making any changes

you have to open user.php file

go to moderate section

find
SELECT userid, username, email, ipaddress
replace with
SELECT userid, username, email, ipaddress, posts

find
print_table_header($vbphrase['users_awaiting_moderation'], 4);
replace with
print_table_header($vbphrase['users_awaiting_moderation'], 5);
find
$vbphrase['ip_address'],
add after
$vbphrase['posts'],
find
$cell[] = "<a href=\"usertools.php?" . $vbulletin->session->vars['sessionurl'] . "do=doips&amp;depth=2&amp;ipaddress=$user[ipaddress]&amp;hash=" . CP_SESSIONHASH . "\" target=\"_user\">$user[ipaddress]</a>";
add after
$cell[] = "<a >$user[posts]</a>";

that's all

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 03 Mar 2009, 17:24
Welshy2008's Avatar
Welshy2008 Welshy2008 is offline
 
Join Date: Jul 2008
Watching with interest.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 09:47.

Layout Options | Width: Wide Color: