Sorry if I put this in the wrong place. I wanted to know if it is possible to have a default skin for phpvms to load and then in each users profile section of the site under the profile options heading have a drop down box so they can select a skin and save it so that it becomes their fav skin and loads when ever they log in without affecting the skin other users see.
An example of what I am trying to say is they user theme selection many forums use.
Haha, I am most willing to share, The system I used doesn’t work 100% because any core redirects reset the template, but I’ll go ahead and share anyways;
My Way:
In /core/codon.config.php
I added to the top (before anything, but within the PHP tags):
The Ideal way to do this for pilots would be to tweak that code to read a cookie that would have to be set elsewhere, but if you set it (Excellent Tutorial: http://www.w3schools.com/php/func_http_setcookie.asp) you could then call it with:
$_COOKIE['template']
instead of
$_GET['template']
If you guys want, I can try and play around with this and see if I can get an easy way to get this to work.. problem is when you update it’ll get overwritten.
Thanks for sharing it with us Lorenzo, I will try to integrate it to our site. Maybe we could develop it and get a fully working solution and then present it on here so that it might be adde into future releases of phpvms.
I would love you to have a go at trying to create something Lorenzo if you are happy to do so.
Thanks again Lorenzo and thanks Tom for your post.
Thanks Lorenzo for working that out. I am really pleased that it has been worke out after being told at the beginning of this thread that it was not possible. Hopefully this idea could be integrate into future releases of phpvms