Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 17 Aug 2012, 04:23
xrvel xrvel is offline
 
Join Date: Jul 2011
Question Closed

closed
__________________
Hi there !

Last edited by xrvel; 08 Mar 2020 at 12:12. Reason: closed
Reply With Quote
  #2  
Old 17 Aug 2012, 16:57
Badshah93's Avatar
Badshah93 Badshah93 is offline
 
Join Date: Jun 2010
Real name: Aayush Agrawal
For other input type, use admin_usergroup_edit hook.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

"demotext" is a field in usergroup table.
Reply With Quote
  #3  
Old 17 Aug 2012, 17:04
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
You should look in admincp/usergroup.php, and look for

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


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.
Reply With Quote
  #4  
Old 18 Aug 2012, 07:42
xrvel xrvel is offline
 
Join Date: Jul 2011
Smile

closed
__________________
Hi there !

Last edited by xrvel; 08 Mar 2020 at 12:12.
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Selected Users Only Can Edit Admin Options TECK vBulletin 2.x Full Releases 30 21 Nov 2002 22:05



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 21:34.

Layout Options | Width: Wide Color: