Creating Private Registration Links

Modified on Mon, 13 Jul 2020 at 01:46 PM

If you're hosting any sort of a private event that you don't want available to the general public, we've got you covered with private season registrations. Take a look at the directions below on how to set your season as private and then how to generate your registration widget.


Making Your Season Private


1. Log into your MySportSort account and go to your Seasons area, by clicking the "Leagues and Seasons" dropdown and choosing "Seasons and Tournaments."


2. Either create a new season or edit an existing season. For more information on how to create seasons, click here.


3. In the season editor, just click "Online Registration Settings" on the left hand side of the page.


4. You will see a section for "Online Registration Limits." The first option below is for Private Registration. There is a dropdown underneath the question that asks whether you'd like to make online registration available through a private link only. The box is defaulted to no, so if you'd like to make it private, choose "Yes."



5. Click the green "Save," button at the top of the page and your season is now private. Once it has been set to private, it will no longer show up on your general online registration widget for all public registrations.



Generating Your Private Registration Widget


1. You will use an API call no different than you would for your regular online registration widget, however, the script itself will be slightly different.



myssApp.View.OnlineRegistration.Main.ViewPrivate(slid, target);


The following is an explanation of each parameter and their possible values:


1) slid: (integer) - If you want all private seasons to show up here, input 0 for the slid. If you want just one of the private seasons to show up, input the proper season ID. You can view your season ID by opening up the season editor, and your season ID will be written at the top. (Note the photo above has a season ID of 4343)

2) target: (string) this is the ID of the HTML element in which to display the registration list.


EXAMPLE HTML CODE:

<script src="https://app.mysportsort.com/view/js/myss.api.main.js.php?an=ACCOUNT" type="text/javascript"></script>

<div id="myss_onlinereg" style="width: 100%;"></div>
<script type="text/javascript">
myssApp.View.OnlineRegistration.Main.ViewPrivate(SLID, '#myss_onlinereg');
</script>


For more information on how to use your online registration widgets (or any other widgets embedded through our API Calls), please click here.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article