Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 07 Nov 2010, 18:40
wtrk wtrk is offline
 
Join Date: Jun 2005
moving people to usergroups automatically

im using vb 3.-latest and i have a question about moving users to a usergroup based on profile filed answers. in previous version of vbulletin i swear this worked as a plugin with a hook of register_activate_process:


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

can somebody help me get this to work?
Reply With Quote
  #2  
Old 07 Nov 2010, 18:49
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Are you moderating users? If so, that isn't going to work.
__________________
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
  #3  
Old 07 Nov 2010, 19:31
wtrk wtrk is offline
 
Join Date: Jun 2005
no not moderating users.
Reply With Quote
  #4  
Old 07 Nov 2010, 21:13
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
I don't understand all the details of the registration process, but looking at register.php where that hook is called it looks like there's code above that that uses the group id, so I think your code might need to repeat some of that.
Reply With Quote
  #5  
Old 07 Nov 2010, 21:14
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
So they sign up and immediately become a registered user (except you want them to go to another usergroup)? (Isn't there a mod that does this?)
__________________
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
  #6  
Old 07 Nov 2010, 21:20
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
I haven't tried this at all, but if I had to guess I'd say your code should be something like:


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

ETA: (oops - posted this before I read Lynne's. Maybe there is an existing mod).

Last edited by kh99; 08 Nov 2010 at 18:22.
Reply With Quote
  #7  
Old 09 Nov 2010, 16:37
FreshFroot's Avatar
FreshFroot FreshFroot is offline
 
Join Date: Aug 2005
wait..? can't you use the promotion method. Where you can set X posts, date...etc..etc.. to push a user into a certain usergroup?
Reply With Quote
  #8  
Old 09 Nov 2010, 17:51
wtrk wtrk is offline
 
Join Date: Jun 2005
Originally Posted by FreshFroot View Post
wait..? can't you use the promotion method. Where you can set X posts, date...etc..etc.. to push a user into a certain usergroup?
Originally Posted by Lynne View Post
So they sign up and immediately become a registered user (except you want them to go to another usergroup)? (Isn't there a mod that does this?)
I looked high and low for a mod that does this. I originally think I got that code or the idea for that from a post somewhere here on vborg (but I cant find it, the search sucks here).

I dont want to promote the user based on post, date, etc. but by profile field.
Reply With Quote
  #9  
Old 09 Nov 2010, 22:21
FreshFroot's Avatar
FreshFroot FreshFroot is offline
 
Join Date: Aug 2005
Originally Posted by wtrk View Post
I looked high and low for a mod that does this. I originally think I got that code or the idea for that from a post somewhere here on vborg (but I cant find it, the search sucks here).

I dont want to promote the user based on post, date, etc. but by profile field.
hmm the easy way would be to use the promotion system, but modify it to work for profile fields. The problem would be if the fields are editable or not? If they are say a selection of options, then it's easy to do.

If they can type anything in then it's going to be a tough one.
Reply With Quote
  #10  
Old 10 Nov 2010, 16:03
wtrk wtrk is offline
 
Join Date: Jun 2005
Im trying to make it as simple as possible by just using single-selection radio buttons and only giving a 'yes' or 'no' option. im not a programmer, ive got pretty basic php/mysql skills.

update: there is a plugin to move users on registration, but none to move users on profile update.

Last edited by wtrk; 10 Nov 2010 at 16:58.
Reply With Quote
  #11  
Old 08 Apr 2013, 20:24
makaiguy's Avatar
makaiguy makaiguy is offline
 
Join Date: May 2004
Originally Posted by wtrk View Post
update: there is a plugin to move users on registration, but none to move users on profile update.
Interestingly, that's exactly what I'm looking for at the moment. Can somebody point me to it? vB 3.8.7 PL3
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 03:31.

Layout Options | Width: Wide Color: