Simulation Hockey League
New Create A Player Form - Printable Version

+- Simulation Hockey League (https://simulationhockey.com)
+-- Forum: Community (https://simulationhockey.com/forumdisplay.php?fid=17)
+--- Forum: SHL Discussion (https://simulationhockey.com/forumdisplay.php?fid=49)
+--- Thread: New Create A Player Form (/showthread.php?tid=86829)

Pages: 1 2 3 4


- DrunkenTeddy - 06-19-2018

As many of you are aware, we are working towards making a move to a new forum this coming off-season. We have been working hard on getting the new forum ready, and today I wanted to share a feature I've been working on for a while.

I have created a form for player creation. The form automatically populates a player page and posts it in the appropriate forum. While using the form selections such as Position, Player Type, and Weakness affect other portions of the form. For example, if you select Defense as a position, you will be given the defense player types as options. When you then select one of those player types, the strength and weakness options are limited to what is available for those types. Whatever weakness you select will then use the weakness update scale when adding your TPE in the Player Attributes section.

This link goes to our test site, nothing there will carry over to the new site, so if you feel like making a player using the form, go ahead:
http://65.110.25.74:8080/mybb/createaplayer.php

I am open to feedback on the form, feel free to let me know here if you see any issues.

If you want to test you can make a new account or perform a password reset (assuming your SHL account is from January or before), just note that emails from this forum will probably go to your spam folder.


- Ace - 06-19-2018

Teddy - this is fantastic. Well done.


- Blastmeaway - 06-19-2018

Looks good, It wants me to create an account, but it won't let me for whatever reason. I love this concept because I think this is something that will help new users create legit profile pages


- JR95 - 06-19-2018

We don't deserve you teddy <3


- .bojo - 06-19-2018

I want to congratulate teddy for surviving my javashit enough to make this.


- Nobody - 06-19-2018

Ilike


- .bojo - 06-19-2018

Quote:Originally posted by Nobody@Jun 19 2018, 11:24 AM
Ilike

Great, nobody likes this.


- DeletedAtUserRequest - 06-19-2018

What a great addition for the site. <a href='index.php?showuser=2572' rel='nofollow' alt='profile link' class='user-tagged mgroup-56'>DrunkenTeddy</a> thanks so much for putting the time and effort into doing this.

Cheers Cheers


- ml002 - 06-19-2018

Wow works like a dream Teddy! Awesome work!


- DrunkenTeddy - 06-19-2018

Quote:Originally posted by .bojo@Jun 19 2018, 08:24 AM
I want to congratulate teddy for surviving my javashit enough to make this.
Pretty sure I made it worse... I feel sorry for the next guy who tries to use it.


- Gooney - 06-19-2018

hot


- caltroit_red_flames - 06-19-2018

Quote:Originally posted by DrunkenTeddy@Jun 19 2018, 11:17 AM


I am open to feedback on the form, feel free to let me know here if you see any issues.

<s>I'm really excited by the forum move and the possibilities it opens up! I just wanted to point out that strengths/weakness are broken for goalies, and I haven't checked to see if they change based on player type.</s>

Turns out it works, you just have to pick an archetype before it updates the strengths/weaknesses. Not sure if you care about that, but I don't think it's an issue worth fixing.

[Image: unknown.png]

If HO is willing to create a system where they identify what pages need to worked on/created and people get paid based on developing the site I'd be happy to do that. If not then I'm still happy to offer help, but I don't want to sink too much time into a project that I won't be getting paid for.


- Nobody - 06-19-2018

My only complaint is everything shifts to the left when you select goalie.
But when that is my only complaint you've done a great job.


- .bojo - 06-19-2018

Quote:Originally posted by DrunkenTeddy@Jun 19 2018, 11:28 AM

Pretty sure I made it worse... I feel sorry for the next guy who tries to use it.

Shh... Nobody has to know. Kinda like attorney-client privilege, programming has server-client privilege


- Nobody - 06-19-2018

Quote:Originally posted by .bojo@Jun 19 2018, 04:32 PM


Shh... Nobody has to know. Kinda like attorney-client privilege, programming has server-client privilege

I do now? Okay. Show me where you touched it