How do I get the ’Members awaiting activation’ link to show up on CP Home/Site Statistics?
Posted: 16 May 2008 04:30 AM   [ Ignore ]  
Lab Assistant
RankRank
Total Posts:  167
Joined  12-12-2002

I have set up a custom member groups based on the superadmin group. This group has access to the CP and all but the templates sections of the CP, and can administer members, but the link does not show up on the CP home page. I can navigate to it in the admin section.

I have not yet upgraded from 1.6.1 if that will help.

Thanks,
mgk

Profile
 
 
Posted: 11 June 2008 11:53 AM   [ Ignore ]   [ # 1 ]  
Summer Student
Total Posts:  3
Joined  02-19-2008

I’m sorry to see a month later that there’s no response to your question… I have it too: I created a group based on SuperAdmin for folks who I don’t want messing with templates… but who otherwise will be administering the site.  It’s a blog that’s going to be restricted to members approved by these Admins, but I can’t figure out how to show them “Members Awaiting Activation”.  I’d have thought it would be a straightforward setting.

And I’m running the latest & greatest right now: 1.6.3

Profile
 
 
Posted: 11 June 2008 01:04 PM   [ Ignore ]   [ # 2 ]  
Lab Assistant
RankRank
Total Posts:  167
Joined  12-12-2002

I have also upgraded to 1.6.3.

mgk

Profile
 
 
Posted: 11 June 2008 01:08 PM   [ Ignore ]   [ # 3 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32773
Joined  05-14-2004

Does the user have the Site Statistics box showing on the CP Home Page?

I’ve also moved this down to the Technical Support forum.

 Signature 
Profile
MSG
 
 
Posted: 11 June 2008 01:27 PM   [ Ignore ]   [ # 4 ]  
Summer Student
Total Posts:  3
Joined  02-19-2008

Yes: there’s a Site Statistics box.  It contains: Total Weblog Entries, Total Comments, Total Trackbacks, Total Combined Page Hits, and Comments Awaiting Validation…

... but when I log in as SuperAdmin, I have additional rows in the Site Statistics box: “System Status, Version… and Total Members, Members Awaiting Activation”.

Profile
 
 
Posted: 13 June 2008 10:03 AM   [ Ignore ]   [ # 5 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  12273
Joined  04-29-2002

malacandra, this functionality is restricted to true SuperAdmins.

if ($SESS->userdata['group_id'] == 1)
        
{        
            $r
.= $this->total_members();
    
            
$r .= $this->total_validating_members();            
        
}

You can find this code in cp.home.php.

You could make a modification to this file to include your new user group, or you just remove the if statement part of this.

In either case, this would be considered a hack, one you’d have to maintain between versions.

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
Posted: 13 June 2008 10:31 AM   [ Ignore ]   [ # 6 ]  
Summer Student
Total Posts:  3
Joined  02-19-2008

Sue,

Thanks for responding to this. 

That’s too bad.  It’s a useful bit of information for anyone who has the capability to administrate members accounts to be able to see, and that ability isn’t just restricted to ‘true’ SuperAdmins. 

I’m currently building a number of sites for clients who really ought not to have the means to break the site design by messing with templates, or break EE by messing with other Admin functions… but who require user admin capability.  I dare not give these folks SuperAdmin privileges.

Profile
 
 
Posted: 13 June 2008 11:29 AM   [ Ignore ]   [ # 7 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  12273
Joined  04-29-2002

You could create a stand alone page with that information in it, with a link back to activate the person. NOTE: I don’t have an example to show you right this minute, this is more of a howto at this point.

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
Posted: 13 June 2008 12:19 PM   [ Ignore ]   [ # 8 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15161
Joined  05-15-2004

malacandra, you might also make the appropriate FR to have this behavior change, but as Sue pointed out, it’s only “real” Superadmins so far. Does that solve your technical issue for the time being?

 Signature 

Everything will be good in the end. If it’s not good, it’s not the end.

Profile
MSG
 
 
Posted: 23 July 2008 12:47 PM   [ Ignore ]   [ # 9 ]  
Grad Student
Avatar
Rank
Total Posts:  41
Joined  10-16-2005

Sue,

Can we simply add a new user group id while keeping the super admin group id in tact using the following?

The original:

if ($SESS->userdata['group_id'] == 1)

Updated:

if ($SESS->userdata['group_id'] == 1,7)

Or:

if ($SESS->userdata['group_id'] == '1','7')

 Signature 

Lunchbox Collective, LLC
http://www.lunchboxcollective.com


“We produce websites worth talking about.”

Profile
 
 
Posted: 23 July 2008 01:05 PM   [ Ignore ]   [ # 10 ]  
Grad Student
Avatar
Rank
Total Posts:  41
Joined  10-16-2005

lol, that definitely doesn’t work.

 Signature 

Lunchbox Collective, LLC
http://www.lunchboxcollective.com


“We produce websites worth talking about.”

Profile
 
 
Posted: 23 July 2008 01:07 PM   [ Ignore ]   [ # 11 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15161
Joined  05-15-2004

You could probably hack EE, more specifically cp.home.php to achieve that, but we don’t recommend it. You would use standard PHP syntax, which is somewhat different from your example.

Since this would be necessarily unsupported and go beyond regular tech support: do you want me to move this thread to Howto, or are we good to close it out?

 Signature 

Everything will be good in the end. If it’s not good, it’s not the end.

Profile
MSG
 
 
Posted: 26 July 2008 05:22 AM   [ Ignore ]   [ # 12 ]  
Lab Assistant
RankRank
Total Posts:  167
Joined  12-12-2002

I no longer have a need for it, since I opted to take the registration link off and add members in the control panel instead—it is a relatively small group.

Thanks,
mgk

Profile
 
 
Posted: 26 July 2008 07:47 AM   [ Ignore ]   [ # 13 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15161
Joined  05-15-2004

Glad to hear you found a solution.

 Signature 

Everything will be good in the end. If it’s not good, it’s not the end.

Profile
MSG
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64515 Total Logged-in Users: 20
Total Topics: 81075 Total Anonymous Users: 12
Total Replies: 436313 Total Guests: 137
Total Posts: 517388    
Members ( View Memberlist )