Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 10 Feb 2013, 19:44
PirateTinman PirateTinman is offline
 
Join Date: May 2009
Question Link to move user to usergroup?

HI!

I am wanting to know how I would go about creating a link that when clicked would move the thread starter to a specific usergroup.
Reply With Quote
  #2  
Old 11 Feb 2013, 20:54
PirateTinman PirateTinman is offline
 
Join Date: May 2009
Would have thought someone on here would have any sort of clue on how to do this, its a pretty straight forward thing, I just can't figure it out since I have not found any resources for anything like this.
Reply With Quote
  #3  
Old 12 Feb 2013, 01:01
LifesGreatestGift's Avatar
LifesGreatestGift LifesGreatestGift is offline
 
Join Date: Jul 2009
well... here we go, another post without detailed info.

you want a link that will allow a user to be moved to a usergroup when clicked.

1) who should be able to click this link?
2) will it be a specific usergroup the user is moved to or dynamically determined based on conditionals?
3) will it be available to affect all users or specific users?
4) will it change users primary group, or just add them to an 'additional' group?
5) why?

__________________
If I have helped you, the least you could do is click the button to show your appreciation.
TheSecond.org - Because it is our right!
Reply With Quote
  #4  
Old 12 Feb 2013, 13:34
PirateTinman PirateTinman is offline
 
Join Date: May 2009
Well all of those things I know how to do

But I will play along :P

1) Administrators and Moderators will be the only one to see the button/link.
2) The usergroup is set, no dynamic fancy things needed!
3) It will effect only the thread starter, possibly only if they are in the "registered users" usergroup.
4) It should only have to change the primary usergroup.
5) Its for an approval/denial setup when it comes to applications to a clan/guild/outfit, people post an application, at the top there will be a button for us to approve the application without having to go in and edit the users settings the button would do it for us

Other things that it will do is sending an e-mail to the user, a PM and also post in the thread that it has been approved, though that was a hurdle I would face when I slammed into it >_>

Thanks for replying!
Reply With Quote
  #5  
Old 16 Feb 2013, 16:51
PirateTinman PirateTinman is offline
 
Join Date: May 2009
Hi!
Still need some help with this project

Thanks!
Reply With Quote
  #6  
Old 16 Feb 2013, 16:58
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
It's not going to be some little link you can click. You will need to actually create a form that will change the users usergroup. And, if you want emails sent and such... well, it isn't some simple little 5 line form we can type out for you. You may want to post in the Requests for Paid Services forum if you are unable to do the coding yourself.
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #7  
Old 16 Feb 2013, 19:08
LifesGreatestGift's Avatar
LifesGreatestGift LifesGreatestGift is offline
 
Join Date: Jul 2009
im not sure what is involved with the regular vbulletin code to change a users group, but it shouldnt be too hard to do it with a button, and ajax.post call and then do all security permissions in a plugin to change the user.usergroup id value. could even have dropdown next to it with multiple groups to be able to move user to. jQuery/ajax and posting to misc.php and getting the POST variables there.
__________________
If I have helped you, the least you could do is click the button to show your appreciation.
TheSecond.org - Because it is our right!
Reply With Quote
  #8  
Old 16 Feb 2013, 22:46
PirateTinman PirateTinman is offline
 
Join Date: May 2009
Originally Posted by Lynne View Post
You may want to post in the Requests for Paid Services forum if you are unable to do the coding yourself.
Yeah might want to do that, I don't really know what the market price for things are though.
Reply With Quote
Reply



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 02:39.

Layout Options | Width: Wide Color: