Page Index Toggle Pages: [1] 2  Send TopicPrint
Hot Topic (More than 10 Replies) Choose Position on Registration (CPR) v1.1a YaBB2 (Read 8475 times)
astropilot
God Member
*****
Offline



Posts: 828
Location: Louisville
Joined: Jun 18th, 2003
Gender: Male
Choose Position on Registration (CPR) v1.1a YaBB2
Jun 18th, 2005 at 4:41pm
Print Post  
Choose Position on Registration 1.1a YaBB2 only

--------------------------------------------------------

New Beta Verision Here
- Includes all known bug fixes.


Allows registrants to choose their post independent position from the list of member groups.  Admins can also select a registrant's position if they register them in the admin center.

Just in case you don't want to wait for advance registration.

Compatability
--------------
YaBB 2 only


Installation
--------------------
1.  Mod the files (Registry.pl. ModList.pl, and Admin.pl) and upload in ASCII
2.  Upload cpr.lng to the languages directory.


History
---------------
1.0 Original release
1.1 Fixed major problem in two files that would not allow the post independent membergroups to be shown if they didn't have the word "Class" in their name (something particular to my class board)
1.1a - Updated for Y2 Final Release


Upgrade Instructions
------------------------
- Just unistall and install the new version

Hope this is useful.

astro-pilot
« Last Edit: Oct 19th, 2005 at 6:47pm by astropilot »  

CPR_beta_1.1a_Mod.zip ( 1 KB | Downloads )

"For I am not ashamed of the gospel of Christ..."
Romans 1:16
---
http://www.ssflynn.com
www.flynnfarmsofkentucky.com
Back to top
 
IP Logged
 
Curtiss Grymala
God Member
*****
Offline


YaBB?... Y Not?

Posts: 1314
Joined: Apr 12th, 2004
Gender: Male
Re: Choose Position on Registration (CPR)  Ya
Reply #1 - Jun 18th, 2005 at 4:56pm
Print Post  
Theoretically, isn't this kind of dangerous?  Wouldn't someone be able to register and assign themselves as a global mod, or possibly an admin?

I'm guessing you've included some sort of check to keep those positions out of the choices?
  

Currently using Y2.3 With no mods (though that will hopefully change, soon).

Click Here To See A List Of All The Mods I've Written
Back to top
WWW  
IP Logged
 
astropilot
God Member
*****
Offline



Posts: 828
Location: Louisville
Joined: Jun 18th, 2003
Gender: Male
Re: Choose Position on Registration (CPR)  Ya
Reply #2 - Jun 18th, 2005 at 4:58pm
Print Post  
Quote:
Theoretically, isn't this kind of dangerous?  Wouldn't someone be able to register and assign themselves as a global mod, or possibly an admin?

I'm guessing you've included some sort of check to keep those positions out of the choices?

Actually, no.  This only allows them to choose one of the Post-Independent Member groups which the admin sets.  The other dangerous options are not included in that.
  

"For I am not ashamed of the gospel of Christ..."
Romans 1:16
---
http://www.ssflynn.com
www.flynnfarmsofkentucky.com
Back to top
 
IP Logged
 
astropilot
God Member
*****
Offline



Posts: 828
Location: Louisville
Joined: Jun 18th, 2003
Gender: Male
Re: Choose Position on Registration (CPR)  Ya
Reply #3 - Jun 18th, 2005 at 5:00pm
Print Post  
On the med school board I allow people to choose what class they are apart of (Class of 2006, etc.).  But I can see this used in allowing people to pick a clan in a roll playing game.
  

"For I am not ashamed of the gospel of Christ..."
Romans 1:16
---
http://www.ssflynn.com
www.flynnfarmsofkentucky.com
Back to top
 
IP Logged
 
astropilot
God Member
*****
Offline



Posts: 828
Location: Louisville
Joined: Jun 18th, 2003
Gender: Male
Re: Choose Position on Registration (CPR)  Ya
Reply #4 - Jun 18th, 2005 at 5:03pm
Print Post  
  

"For I am not ashamed of the gospel of Christ..."
Romans 1:16
---
http://www.ssflynn.com
www.flynnfarmsofkentucky.com
Back to top
 
IP Logged
 
Curtiss Grymala
God Member
*****
Offline


YaBB?... Y Not?

Posts: 1314
Joined: Apr 12th, 2004
Gender: Male
Re: Choose Position on Registration (CPR)  Ya
Reply #5 - Jun 18th, 2005 at 5:03pm
Print Post  
Cool.  Nice work then AP.
  

Currently using Y2.3 With no mods (though that will hopefully change, soon).

Click Here To See A List Of All The Mods I've Written
Back to top
WWW  
IP Logged
 
Gabriel
Junior Member
**
Offline


I love YaBB 1G - SP1.2!

Posts: 72
Joined: Apr 25th, 2005
Gender: Male
Re: Choose Position on Registration (CPR)  Ya
Reply #6 - Jun 18th, 2005 at 6:32pm
Print Post  
If you would like a spanish translation, let me know.
  
Back to top
 
IP Logged
 
Kong
God Member
*****
Offline


Is it just me or is my
back hairy???

Posts: 858
Joined: Aug 2nd, 2002
Gender: Male
Re: Choose Position on Registration (CPR)  YaBB2
Reply #7 - Jun 19th, 2005 at 4:31am
Print Post  
This is nice.  Good Idea. Wink
  


Back to top
 
IP Logged
 
mimit
Full Member
***
Offline


I love YaBB 1G - SP1.2!

Posts: 247
Location: Buenos Aires
Joined: Jun 16th, 2003
Gender: Male
Re: Choose Position on Registration (CPR)  YaBB2
Reply #8 - Jul 2nd, 2005 at 9:23pm
Print Post  
Nice Idea  Cheesy
It could be good if its compatible with thath  mod to let the admin assing a member to more than one group, but this mos its for sp1.3.x  Undecided
  
Back to top
 
IP Logged
 
astropilot
God Member
*****
Offline



Posts: 828
Location: Louisville
Joined: Jun 18th, 2003
Gender: Male
Re: Choose Position on Registration (CPR) v1.1 YaB
Reply #9 - Jul 5th, 2005 at 4:15am
Print Post  
Updated a major error that would not allow the post-independent membergroups to be seen if they didn't have the word "class" in their name -this was something left over from my school board I run.

ap
  

"For I am not ashamed of the gospel of Christ..."
Romans 1:16
---
http://www.ssflynn.com
www.flynnfarmsofkentucky.com
Back to top
 
IP Logged
 
astropilot
God Member
*****
Offline



Posts: 828
Location: Louisville
Joined: Jun 18th, 2003
Gender: Male
Re: Choose Position on Registration (CPR) v1.1a Ya
Reply #10 - Sep 30th, 2005 at 7:15pm
Print Post  
- Updated for Y2 Final Release

ap
  

"For I am not ashamed of the gospel of Christ..."
Romans 1:16
---
http://www.ssflynn.com
www.flynnfarmsofkentucky.com
Back to top
 
IP Logged
 
Rizzo
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 4
Joined: Oct 13th, 2005
Re: Choose Position on Registration (CPR) v1.1a Ya
Reply #11 - Oct 13th, 2005 at 4:14am
Print Post  
What if you've got some post independent membergroups that you want hidden (ie. no one to select it)
  
Back to top
 
IP Logged
 
astropilot
God Member
*****
Offline



Posts: 828
Location: Louisville
Joined: Jun 18th, 2003
Gender: Male
Re: Choose Position on Registration (CPR) v1.1a Ya
Reply #12 - Oct 13th, 2005 at 4:49am
Print Post  
Rizzo,

Very good point.  I will need to update this mod to cover that.  Let the admin choose if a user can pick it at registration or not...something.

Anyway, if you have this in produciton and need a way to get arround it now, do this.

In Register.pl

<Search for>
Code
Select All
($title, $stars, $starpic, $color) = split(/\|/, $NoPost{$z}); 



and add below it
Code
Select All
if ($title =~ /(hidden1|hidden2|hidden3)/){$z++; next;} 



Hidden1, etc.. is the membergroups you do not want to be shown.  If you just have one you do not want to show, put this in the above code instead /hidden1/.

As, I said, I will update this pretty soon just for this.  Maybe this weekend.

ap
  

"For I am not ashamed of the gospel of Christ..."
Romans 1:16
---
http://www.ssflynn.com
www.flynnfarmsofkentucky.com
Back to top
 
IP Logged
 
Rizzo
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 4
Joined: Oct 13th, 2005
Re: Choose Position on Registration (CPR) v1.1a Ya
Reply #13 - Oct 13th, 2005 at 8:46pm
Print Post  
Thanks Smiley Will install it now Smiley
  
Back to top
 
IP Logged
 
spyderslick
Guest


Re: Choose Position on Registration (CPR) v1.1a Ya
Reply #14 - Oct 15th, 2005 at 10:26pm
Print Post  
How do I add the option for each user group? I tried but screwed my forum up...Thanks!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 
Send TopicPrint