vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Pending members in social groups (3.8) (https://vborg.vbsupport.ru/showthread.php?t=201610)

flOid 01-13-2009 09:01 AM

Pending members in social groups (3.8)
 
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

HTML 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
HTML Code:

<if condition="$show['pending_link']">
Exchange it for one that still works
HTML Code:

<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.


All times are GMT. The time now is 09:25 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01062 seconds
  • Memory Usage 1,717KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete