The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to add options on admin usergroup edit page
closed
|
#2
|
|||
|
|||
For other input type, use admin_usergroup_edit hook.
PHP Code:
|
Благодарность от: | ||
xrvel |
#3
|
|||
|
|||
You should look in admincp/usergroup.php, and look for
Code:
($hook = vBulletinHook::fetch_hook('admin_usergroup_edit')) ? eval($hook) : false; around line 201. That's where your hook code is executed. You can see that the admincp code uses a set of functions to print out html for the forms, so you can use one of those functions yourself is you want. I think if you name your input tag "usergroup[something]" and create a db column in the usergroup table named "something", you might not have to do anything other than print out the html for your form field. Otherwise, you would need code (probably in a plugin on hook admin_usergroup_save) to handle your input field when the form is submitted. |
Благодарность от: | ||
xrvel |
#4
|
|||
|
|||
closed
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|