Restore the ability to change skin via URL

14 posts in this topic

Posted

I'd like to request to have this functionality added back to IPB.

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.

Haku2, Stars25, AndyF and 4 others like this

Share this post


Link to post
Share on other sites

Posted

+ 1 on this.

Haku2 likes this

Share this post


Link to post
Share on other sites

Posted

Yes, it would also be good for those who don't have JavaScript enabled.

Share this post


Link to post
Share on other sites

Posted

I agree simply because its annoying clicking on skin demos and having to then go and change the skin. Why was this ever removed anyway?

Con, Haku2 and Tom Christian like this

Share this post


Link to post
Share on other sites

Posted

+1 on this. Makes the demo field in the Skins category of the Marketplace totally useless. Not only that, but it's now the customers of all us designers have to change the skin when they visit our demo board rather than being taken directly to it.

Tom Christian likes this

Share this post


Link to post
Share on other sites

Posted

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.

Share this post


Link to post
Share on other sites

Posted

[quote name='ΑndyF' timestamp='1334405951' post='2254378']
There's a skinchange.php in the tools folder. That would be my initial suggestion for the moment. :smile:

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 >_<

AndyF likes this

Share this post


Link to post
Share on other sites

Posted (edited)

[quote name='Tom Christian' timestamp='1334406267' post='2254383']
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. :smile: Then again, we have this feedback topic...

Edited by ΑndyF
Tom Christian likes this

Share this post


Link to post
Share on other sites

Posted

[quote name='ΑndyF' timestamp='1334406445' post='2254384']
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. :smile: Then again, we have this feedback topic...


I'll add this to the tracker then :)

AndyF likes this

Share this post


Link to post
Share on other sites

Posted

+1000.

Share this post


Link to post
Share on other sites

Posted

[quote name='ΑndyF' timestamp='1334406445' post='2254384']
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. smile.png 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

AndyF likes this

Share this post


Link to post
Share on other sites

Posted

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.

Share this post


Link to post
Share on other sites

Posted

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&section=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.

Share this post


Link to post
Share on other sites

Posted

This is the new URL.

ipsRegistry::$settings['base_url'] . 'app=core&module=ajax&section=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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Who's Browsing   0 members

    No registered users viewing this page.