The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hello,
How to get usergroupid of member by javascript? I use vbulletin 5. Thanks! |
#2
|
||||
|
||||
![]() Code:
<script> $.ajax({ url: vBulletin.getAjaxBaseurl() + '/ajax/api/user/fetchCurrentUserinfo', type: "POST", dataType: 'json', success: function(response) { if (response && !response['errors'] { alert( response['usergroupid'] ); } } }); </script> |
Благодарность от: | ||
MarkFL |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|