Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 07 Jul 2004, 18:12
isla142 isla142 is offline
 
Join Date: Jul 2004
Unhappy Randomly sort users on signup

I am searching for a hack to randomly sort users into one of four usergroups upon signup to my website. This needs to be able to be over-ridden, and once sorted, the user cannot change group. I know this is possible, since I have seen it done on another forum. However, when I asked the admin of that forum, she had forgotten the code.

Please help.

Isla
Reply With Quote
  #2  
Old 07 Jul 2004, 19:08
Berethorn Berethorn is offline
 
Join Date: Jun 2004
That's a great idea for a Harry Potter forum! I can see how without this hack, 98.5% of the members would choose Gryffendor or Slytherin.

It looks like no one has done this hack yet, but maybe someone could.
Reply With Quote
  #3  
Old 07 Jul 2004, 20:10
isla142 isla142 is offline
 
Join Date: Jul 2004
How did you know it was for a Harry Potter forum? I've seen it on one already, so it must work. I really need more Hufflepuffs, because none on the old forum were active. I'd like the code before I activate the forum if possible. That may not be for a couple of days yet.
Reply With Quote
  #4  
Old 07 Jul 2004, 20:34
Berethorn Berethorn is offline
 
Join Date: Jun 2004
First of all, I guessed, since it was the first thing I could think of that would "sorting". Then I went to your homepage, and it was obvious.
Reply With Quote
  #5  
Old 09 Jul 2004, 07:13
isla142 isla142 is offline
 
Join Date: Jul 2004
Well... I know this thread has gone down to the second page... PLEASE help! I really really need to get this hack. I don't want people just to be sorted by a quiz, that's old. Please help (still).

Isla
Reply With Quote
  #6  
Old 09 Jul 2004, 07:21
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Originally Posted by isla142
Well... I know this thread has gone down to the second page... PLEASE help! I really really need to get this hack. I don't want people just to be sorted by a quiz, that's old. Please help (still).

Isla
Someone has just done that code on my site. I will ask them if it is allright to release it or have them do it. Will that work?
Reply With Quote
  #7  
Old 09 Jul 2004, 15:15
Modin Modin is offline
 
Join Date: Jun 2004
Boofo pointed me to this thread

I haven't tested this but it "should" work...

open up register.php and find

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

and replace it with (filling in the array with the groups you want to randomize)


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

This assumes your users have to activate their accounts before they can use them, if that's not the case I can modify it.

Hope it works for ya
__________________
return "PHP Coder";
Reply With Quote
  #8  
Old 15 Jul 2004, 07:46
isla142 isla142 is offline
 
Join Date: Jul 2004
Oh. No. They don't have to activate their accounts before signup. Can you modify it for me? All my users are in Gryffindor at the moment, except the manually changed ones.
Reply With Quote
  #9  
Old 20 Aug 2004, 18:21
isla142 isla142 is offline
 
Join Date: Jul 2004
Sorry for double posting, but I really need help with this! It's been well over a month, and I need this hack! Can someone help me with a hack to randomly sort users on signup with no need to have activation of account?

Love the help!

Isla
Reply With Quote
  #10  
Old 20 Aug 2004, 18:53
dstruct2k's Avatar
dstruct2k dstruct2k is offline
 
Join Date: Dec 2002
Real name: Bill
Yeah, I'll take a look at the code... Give me a couple minutes.
Reply With Quote
  #11  
Old 20 Aug 2004, 19:15
dstruct2k's Avatar
dstruct2k dstruct2k is offline
 
Join Date: Dec 2002
Real name: Bill
http://www.vbulletin.org/forum/showthread.php?t=68566
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
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 12:35.

Layout Options | Width: Wide Color: