Jump to content


- - - - -

IP.Board 2.3: Group according to a field in user's registration form


  • Please log in to reply
4 replies to this topic

#1 Adriano Faria

Adriano Faria

    ...a curious guy...

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 3,268 posts
  • Location:Brazil
  • Real Name:Adriano
  • IPB Version:v3.3.x
Contributor

Posted 06 January 2008 - 09:38 PM

This is the support topic for the tutorial Group according to a field in user's registration form.  Please post here if you have any questions or feedback.

#2 Martin

Martin

    But but, it's not only only!

  • Management
  • PipPipPipPipPipPipPipPipPipPip
  • 7,081 posts
  • Location:Hammerfest, Norway
  • Real Name:Martin Aronsen
  • IPB Version:v3.2.x
Contributor

Posted 07 January 2008 - 09:31 AM

Adding the gender and group things would fit better if you replaced it with this:
		//-----------------------------------------
		// Build up the hashes
		//-----------------------------------------
		
		$mem_group = $this->ipsclass->vars['member_group'];
By doing that you'll still have the possibility of buying a subscriptions pack, and be promoted to the group assigned to the pack ;)

Edited by m4rtin, 07 January 2008 - 01:57 PM.


#3 Depot

Depot

    Invision Modding.com Helper - Type - Person

  • IM Supporters
  • PipPipPipPipPipPipPipPipPipPip
  • 5,573 posts
  • Location:NE Florida
  • Real Name:Larry C
  • IPB Version:v2.3.x
Contributor

Posted 07 January 2008 - 12:28 PM

Great tutorial Rush, thanks for the contrib! ;)

- - - - nsMod Community Forums - - - -

Posted Image Services System Modification Installation FAQ Invision Modding Store Posted Image

I DO: IPB UPGRADES, MOD INSTALLS, DATABASE BACKUPS & RESTORATION, CUSTOM SKINS, SITE TRANSFERS

IMPORTANT - READ THIS BEFORE YOU PM ME!!!

Do not ask me for assistance / provide me with your url if you own a nullified board - IM Staff will be notified.


#4 Adriano Faria

Adriano Faria

    ...a curious guy...

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 3,268 posts
  • Location:Brazil
  • Real Name:Adriano
  • IPB Version:v3.3.x
Contributor

Posted 07 January 2008 - 12:38 PM

View Postm4rtin, on Jan 7 2008, 07:31 AM, said:

By doing that you'll still have the possibility of buying a subscriptions pack, and be promoted to the assigned to the pack :)
You're right... tks! :)

View PostDepot, on Jan 7 2008, 10:28 AM, said:

Great tutorial Rush, thanks for the contrib! :)
Tks! ;)

#5 andysweeney

andysweeney

    n00b

  • Members
  • Pip
  • 4 posts
  • Real Name:Andy
  • IPB Version:v2.3.x

Posted 28 November 2008 - 12:13 AM

Great tip! I am a bit new to this (ie. I know nothing about coding but am learning fast!), but I am setting up a new site.

In it, there is an option for people to select where they are from. ie. Now if someone registers as being from "England" then I can force them into a little group called "England"... which is very helpful. I don't want you to go out of your way and do it, but is it theoretically possible to set the user's default calendar to an England calendar based upon their group?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users