solved Pending user count

White Agency
White Agency
@white-agency
9 years ago
204 posts
Need to display the pending user account to the admin users.

Had a look through the code but can't spot where the call is made.

Anybody point me in the right direction ?
updated by @white-agency: 08/03/15 07:01:55PM
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
In the Dashboard, in the Pending users TAB, see if they can click on the "Modify" button to the right of the user in question- this will take you to their profile page (still inactive) and you can click on their settings gear and Account TAB to see their sign up information.
I wasn't sure about your question exactly, but is that what you are looking for? In their "Account" TAB, you can change their password too if you need to in the future. I've needed to do that quite a few times for ning members having trouble logging in for any reason. Be sure to 'save'.


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
White Agency
White Agency
@white-agency
9 years ago
204 posts
Typed this last thing before I left work ! Should have checked the wording doh!

I need to display the pending user count to the admin users when they log in rather than having to go to the dashboard to view it.

We have a handful of admins who are in and out during the day so it's useful if they can see the pending user count when they log in.
paul
@paul
9 years ago
4,326 posts
You need to search for "user_active = 0" -

{capture name="user_template" assign="user_tpl"}
	{literal}
		{if isset($_items)}
			{foreach from=$_items item="item"}
				{$item.user_name}<br>
			{/foreach}
		{/if}
	{/literal}
{/capture}
{jrCore_list module="jrUser" search="user_active = 0" limit=100 template=$user_tpl}

You also need the template as there isn't a default item_list.tpl template in the User module.
hth


--
Paul Asher - JR Developer and System Import Specialist
White Agency
White Agency
@white-agency
9 years ago
204 posts
Thanks Paul.

Added return_count=true to the jrCore_list call and got the count :)

Tags