Restore the ability to change skin via URL
#1
Posted 13 April 2012 - 02:07 PM
I used this (and many other skin authors) for the "Demo" option in the IPS Marketplace in order to link potential customers to specific skins on a demo forum. Now, they're simply presented with the incorrect skin when following the demo link.
Thanks,
Tom.
#2
Posted 13 April 2012 - 02:11 PM
- Haku2 likes this
Available for hire, IPC Custom!
Hooks: IP.Content Slider | IP.Content Layouts | Social Links | My Content Link
Skins: Current
#4
Posted 13 April 2012 - 02:46 PM
- Haku2, Tom Christian and Con like this
#5
Posted 14 April 2012 - 07:16 AM
- Tom Christian likes this
#6
Posted 14 April 2012 - 07:19 AM
I'll admit when I tried it a while back I could not get it to work exactly as I expected but put that down to other factors rather than the tool itself.
Downloads - Documentation - Community Articles - Marketplace Blog
A Look Back - 1.0.1 - 1.3.1 - 2.0.0 - 2.1.7 - 2.2.0 - 2.3.6
#7
Posted 14 April 2012 - 07:24 AM
There's a skinchange.php in the tools folder. That would be my initial suggestion for the moment.
I'll admit when I tried it a while back I could not get it to work exactly as I expected but put that down to other factors rather than the tool itself.
I've tried it already and couldn't get it to work.
Michael also told me that this tool probably won't work anymore due to the change in the way the skin chooser works in 3.3. If that's the case, I don't know why it's still there
- ΑndyF likes this
#8
Posted 14 April 2012 - 07:27 AM
Michael told me that this tool doesn't work anymore due to how the skin changing works in 3.3. If that's the case, I don't know why it's still there
That might explain the problems I had then, as its not something I'd use usually. I'd have to suggest a bug report as either it should be removed from the .zip or ideally updated so it works.
Edited by ΑndyF, 14 April 2012 - 07:28 AM.
- Tom Christian likes this
Downloads - Documentation - Community Articles - Marketplace Blog
A Look Back - 1.0.1 - 1.3.1 - 2.0.0 - 2.1.7 - 2.2.0 - 2.3.6
#9
Posted 14 April 2012 - 07:30 AM
That might explain the problems I had then, as its not something I'd use usually. I'd have to suggest a bug report as either it should be removed from the .zip or ideally updated so it works.
Then again, we have this feedback topic...
I'll add this to the tracker then
- ΑndyF likes this
#11
Posted 12 July 2012 - 06:59 PM
That might explain the problems I had then, as its not something I'd use usually. I'd have to suggest a bug report as either it should be removed from the .zip or ideally updated so it works.
Then again, we have this feedback topic...
make sure you put skinchange.php?id=[insert skin id here]
I just figured this out thanks to Ehren
- ΑndyF likes this
#12
Posted 20 February 2013 - 06:59 PM
make sure you put skinchange.php?id=[insert skin id here]
I just figured this out thanks to Ehren
I uploaded skinchange.php to the site root and tried that but it didn't work. Got this error:
Parse error: syntax error, unexpected T_VARIABLE in /home/(path)/public_html/cache/skin_cache/cacheid_(id)/skin_downloads.php on line 262
which is this line:
<span class='file_count right'>" . $this->registry->getClass('class_localization')->formatNumber( $_cat['cfileinfo']['total_files'] ) . "</span>
I tried disabling all third party hooks but that didn't help. I have the latest versions of all IPS software.
Thanks for any assistance.
#13
Posted 20 February 2013 - 07:49 PM
I uploaded skinchange.php to the site root and tried that but it didn't work.
This is the new URL.
ipsRegistry::$settings['base_url'] . 'app=core&module=ajax§ion=skin&do=change&skinId=' . intval( $_GET['id'] ) . '&secure_key=' . $reg->member()->form_hash
However, that returns something, so the trick is to run it as ajax and then redirect to the default landing page.
٩(͡๏̯͡๏)۶ Click here to browse or purchase IPS software. ٩(͡๏̯͡๏)۶
n-raged.com - Dacity.Com
♪ Me and you ♪
♪ a two-man crew ♪
♪ side by side we're unified ♪
♪ and we will never be divided ♪
CLICK HERE AND VOTE IP.BOARD AS BEST FORUM SOFTWARE FOR 2013!!!
#14
Posted 22 February 2013 - 01:13 PM
This is the new URL.
ipsRegistry::$settings['base_url'] . 'app=core&module=ajax§ion=skin&do=change&skinId=' . intval( $_GET['id'] ) . '&secure_key=' . $reg->member()->form_hash
However, that returns something, so the trick is to run it as ajax and then redirect to the default landing page.
I appreciate the advice for an alternate skin change URL. But suddenly the skinchange.php variation is working.
default IPS skin:
http://xr3x.com/skinchange.php?id=26
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users
















