Variables in URL
Status: Alpha
Brought to you by:
eveoneway
Hi I was wondering if it would be at all possible to adjust the skillsheet in such a way that I could feed it the variables needed to obtain a character through the browser URL. I ask this because I want to "embed" the skillsheet into a website and I want to use the API information from the profiles to create a URL and open the skillsheet for the character.
Instead of modifying the config file each time a profile is added having the option to use the API and other information as variables and further change nothing in the functionality then only each time the sheet is opened it will refresh.
I read the statement about Q&A and the tool, but I really like the application and thats why I ask.
Logged In: YES
user_id=2195648
Originator: NO
I thought i'd check of logged in (see now that I created this anonymous) and hop-ed you might have already seen this ?
Logged In: YES
user_id=1790165
Originator: NO
Hey mate, sorry I didn't see that FR sooner. Seems I forgot to set a warning when that happens.
Anyway, what you are asking for wouldn't be a big change in the file to make.
Check the attachement and see if it works for you. Seems to be working ok for me.
The url will be yoursite.xxx/skillsheet.php?cid=YOURCHARID&userid&YOURUSERID&userkey=YOURAPIKEY
Note that the skillsheet all three values as there is no character selection in it.
Cheers ;)
File Added: skillsheet.php
Modified skillsheet.php to get the values from the url.