PDA

View Full Version : Pending members in social groups (3.8)


flOid
01-13-2009, 09:01 AM
In vB 3.7 there was the number of pending members displayed in the general social group lists for admins and mods. It seems this isn't no longer in vB 3.8 for some reasons. So is there any function which replaces this that I have overlooked? Or do I need to click into every group now individually?

Bellardia
01-13-2009, 09:53 AM
Try the code


<a href="group.php?$session[sessionurl]groupid=$group[groupid]&amp;do=manage" class="shade"><span class="underline">$vbphrase[members_pending_moderation]</span></a>: $group[moderatedmembers]

It's the code from 3.7 that would show the pending users. I'm not sure if it still works in 3.8 and have no board to test it :( If it does still work then it's the conditional that's no longer valid.

The conditional that restricts the above code is

<if condition="$show['pending_link']">


Exchange it for one that still works

<if condition="is_member_of($bbuserinfo, 5,6,7)">


If it doesn't work than the code itself is no longer supported and its time to find another method :down:

flOid
01-13-2009, 12:03 PM
That worked, thank you! :) Any idea though we vB did remove this? makes no sense to me...

Bellardia
01-13-2009, 12:58 PM
Not sure why vbulletin does anything :P

Perhaps they just changed who has access to the variable, I've never investigated.
Can you mention which one of the two methods above worked for personal reference and maybe for others as well?

flOid
01-13-2009, 01:05 PM
I just used both conditions.

Bellardia
01-13-2009, 01:18 PM
Ah, since the ladder was included as well, take into consideration that the owner of that social group won't actually be able to see the pending users, so you'll have to add another condition for that unless of course it appears for them somewhere else.