Create accounting by website form

Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.

Moderator: POL Developer

Post Reply
Sad
New User
Posts: 11
Joined: Tue Jan 05, 2016 4:55 am

Create accounting by website form

Post by Sad »

hello everyone,
I want to create a new shard and I want to creare account from classic website form.
If possibile to do it?
In my new shard, I stay create website by wordpress for easly to manage.
Another question: for website stats? How I setting up?

Thanks to all! :)
boberski
Grandmaster Poster
Posts: 275
Joined: Tue Oct 15, 2013 12:00 pm

Re: Create accounting by website form

Post by boberski »

Yes it is possible:

https://github.com/polserver/poldistro/ ... nts/auxsvc

Heve you have script for doin that, also you will need php script to connect to POL aux but I can not write it now. I try to do it later today or tommorow.
Sad wrote:Another question: for website stats? How I setting up?
What do you mean by that? Uptime? Number of players?
Sad
New User
Posts: 11
Joined: Tue Jan 05, 2016 4:55 am

Re: Create accounting by website form

Post by Sad »

thank you Aderal for you reply!


Yes I would mean uptime, players etc, all informations of the server.
Sad
New User
Posts: 11
Joined: Tue Jan 05, 2016 4:55 am

Re: Create accounting by website form

Post by Sad »

Thanks for you reply Aderal!
A question , come intact file newaccount.src with wordpress?


For stats on the website mean the number of player, accounts and uptime!
boberski
Grandmaster Poster
Posts: 275
Joined: Tue Oct 15, 2013 12:00 pm

Re: Create accounting by website form

Post by boberski »

For both, stats and account form you must prite wordpress plugin :)
Sad
New User
Posts: 11
Joined: Tue Jan 05, 2016 4:55 am

Re: Create accounting by website form

Post by Sad »

hello aderal,
now I understand how it integrates the script. But I've seen that does not control whether a username already exists on the pol.
You might like to add this control?
Thank you!!
Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm

Re: Create accounting by website form

Post by Yukiko »

The UO module function CreateAccount does a check for existing accounts. That function is used in the CreateNewAccount function called by the auxsvc newAccount.src program.
Post Reply