Right before Mys v1.3.2's release: The new custom pages system

Forum
Last Post
Threads / Messages
Well I plan to release Mys v1.3.2 by this weekend. There is one feature that I promised Iris to add in this new version, which involves advanced options for custom pages created in ACP.

Although the custom pages system is not even close to something like a CMS, with the new additions you can do a lot more than just displaying articles. If you are interested in creating an exploration/quest system, this may help you a lot.

To begin with, you will need to set page accessibility options through ACP. Go to ACP/Content/Add, and you will see these tiny little new things coming up: (note if you leave all four blank, then the custom page is just a normal page and nothing below will apply)

[image unavailable]

So yes, in Mys v1.3.2 you can lock your page and impose some restrictions on which users can access it. You can specify a promocode to protect the page, or you can force users to use a special item to pass through. You can also specify the date when the page will be accessible onwards, and even make it authorized usergroup only. Its all up to you.

Another great thing about this system is, well, these four options aint mutually exclusive. You can easily create a page that requires both promocode and item. If you have a strong desire to protect your page, you are more than welcome to specify all four restrictions. Its flexible this way I believe.

Now let's see how it works in action! If you access a page and it is protected by promocode, you will be presented a view that requires you to enter the promocode. Once you enter the correct promocode, the promocode's availability will drop by 1. A good example is shown below:
[image unavailable]

Now if your page also requires an item, the item selection screen will pop up after you enter the promocode successfully. If your page does not require promocode, you will only get the item selection screen but not the one above. Here's what I have received after entering my promocode correctly:

[image unavailable]

Now everything is complete, the page finally pops up. How exhausting, but as an admin you may actually be enjoying this:

[image unavailable]

Nonetheless, if you enter promocode incorrectly or pick the wrong item, you will get error messages like this:
[image unavailable]

One thing to keep in mind is that the promocode's availability drops by 1 whenever a user enters it correctly. If you want a page to be accessed infinite number of times so long as the password is there, you'd probably want to set up its availability value to be 999 or 9999. If the required item is consumable, its quantity will also decrease by 1 everytime your user access the page by using this item.


So its time to conclude, I am a bit tired so its bedtime. Hope you enjoy this new feature I am implementing for Mys v1.3.2. I have a class at 8am and then its all thanksgiving. With a 4 and a half days long break, you can expect much more from me. Like I mentioned in the beginning of this blog, the release date of Mys v1.3.2 is set to be this weekend. Can be anywhere between Friday night to Sunday morning. At last, but not least, do not use your promocode for custom pages in promo.php! This is not how it works.

Enjoy turkeys day everyone.

Comments

*Dances in joy* Looks really awesome, HoF! I'm so excited :D (I actually came up with an idea...)!

Hope you have a good T-Bird day!
 
  • Forum Contains New Posts
  • Forum Contains No New Posts

Blog entry information

Author
Hall of Famer
Views
251
Comments
1
Last update

More entries in Mysidia

More entries from Hall of Famer

Forum statistics

Threads
4,277
Messages
33,118
Members
1,602
Latest member
BerrieMilk
BETA

Latest Threads

Top