Jump to content


Photo
* * * * * 3 votes

Restore the ability to change skin via URL


  • Please log in to reply
13 replies to this topic

#1 Tom Christian

Tom Christian

    Needs Serious Help

  • +Clients
  • 2,631 posts

Posted 13 April 2012 - 02:07 PM

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, AndyF, Stars25 and 4 others like this
IPS Themes | Premium Themes & Addons for IPB
 
I'm not available for any custom work. Please do not contact me about this. Thanks!

#2 Grant B

Grant B

    Needs Serious Help

  • +Clients
  • 1,612 posts

Posted 13 April 2012 - 02:11 PM

+ 1 on this.
  • Haku2 likes this



ipcslider.pngtopicSlider.png
 

grantbartlett_twitter.pnggrantbartlett_googleplus.pnggrantbartlett_linkedin.pnggrantbartlett_github.pnggrantbartlett_website.png


#3 Haku2

Haku2

    Advanced Member

  • +Clients
  • 461 posts

Posted 13 April 2012 - 02:40 PM

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

#4 PSNation

PSNation

    The Boss

  • +Clients
  • 668 posts

Posted 13 April 2012 - 02:46 PM

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?
  • Haku2, Tom Christian and Con like this

Posted Image


#5 Stars25

Stars25

    Needs Serious Help

  • Members
  • PipPipPipPipPipPip
  • 1,205 posts

Posted 14 April 2012 - 07:16 AM

+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

#6 AndyF

AndyF

    iQA4u

  • +Clients
  • 26,408 posts

Posted 14 April 2012 - 07:19 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.

Andy Ford

 

Invision Power Services, Inc.

 

Community Articles - Marketplace Guidelines - Marketplace Blog

A Look Back! - 1.0.1 - 1.3.1 - 2.0.0 - 2.1.7 - 2.2.0 - 2.3.6 - 3.0.5 - 3.1.4 - 3.2.3


#7 Tom Christian

Tom Christian

    Needs Serious Help

  • +Clients
  • 2,631 posts

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. :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
IPS Themes | Premium Themes & Addons for IPB
 
I'm not available for any custom work. Please do not contact me about this. Thanks!

#8 AndyF

AndyF

    iQA4u

  • +Clients
  • 26,408 posts

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. :smile: Then again, we have this feedback topic...

Edited by ΑndyF, 14 April 2012 - 07:28 AM.

  • Tom Christian likes this

Andy Ford

 

Invision Power Services, Inc.

 

Community Articles - Marketplace Guidelines - Marketplace Blog

A Look Back! - 1.0.1 - 1.3.1 - 2.0.0 - 2.1.7 - 2.2.0 - 2.3.6 - 3.0.5 - 3.1.4 - 3.2.3


#9 Tom Christian

Tom Christian

    Needs Serious Help

  • +Clients
  • 2,631 posts

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. :smile: Then again, we have this feedback topic...


I'll add this to the tracker then :)
  • AndyF likes this
IPS Themes | Premium Themes & Addons for IPB
 
I'm not available for any custom work. Please do not contact me about this. Thanks!

#10 Con

Con

    XR3X

  • Members
  • PipPipPipPipPipPip
  • 1,590 posts

Posted 14 April 2012 - 07:40 AM

+1000.
sig.png

#11 The Major

The Major

    IPB Full Member

  • +Clients
  • 111 posts

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. Posted Image 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

#12 Con

Con

    XR3X

  • Members
  • PipPipPipPipPipPip
  • 1,590 posts

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.


sig.png

#13 Wolfie

Wolfie

    Don't get mad, get N*Raged!

  • +Clients
  • 12,500 posts

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


٩(͡๏̯͡๏)۶ 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 ♪

Spoiler

CLICK HERE AND VOTE IP.BOARD AS BEST FORUM SOFTWARE FOR 2013!!!


#14 Con

Con

    XR3X

  • Members
  • PipPipPipPipPipPip
  • 1,590 posts

Posted 22 February 2013 - 01:13 PM

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
sig.png




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users