Interchange still showing in CPanel (Xskin) after disabled

rich2

Well-Known Member
Apr 9, 2002
64
0
306
Basically I want to disable Interchange, and also dont want the the option to show in the cpanel either, so customers arent confused. I've only checked the Xskin cpanel skin, as it still shows the link for interchange after I have disabled it.


Anyone else know if this is fixable or if just Xskin isnt detecting I disabled it.

Thanks in advance
 

mrprez

Well-Known Member
Jun 14, 2002
93
0
166
XSkins or any other skin for that matter doesn't &detect& anything. It is simply an html page. You will need to edit that page to remove the links to interchange.
 

DianaL

Active Member
Sep 9, 2002
30
0
156
When I pressed on &Interchange Click here to access and install Interchange&

it has installed it, but how do I delete it?
 

rich2

Well-Known Member
Apr 9, 2002
64
0
306
as far as i know mrprez, cpanel skins can be dynamic, and not simply html, and detect if a feature is available or not before displaying... im PRETTY sure about this.

so i was wondering if the guys @ pronic are going to look into this.

Thanks!
 

bert

Well-Known Member
Aug 21, 2001
602
0
316
Xskin is not configured to do this yet.

You have two options:

1. Simply remove the link to Interchange from the carts.html file.

2. Enter the following code before the Interchange link in carts.html:
&cpanelif !$CONF{'interchangever'}&

Then enter the following code after the Interchange link in carts.html:
&/cpanelif&
 

mrprez

Well-Known Member
Jun 14, 2002
93
0
166
rich2, I was only referring to the way it works as downloaded. Seems like there is a way around that as Bert mentioned.

You have to go into WHM and &Reset a Shopping Cart& and that will delete the interchange cart.

John
 

bert

Well-Known Member
Aug 21, 2001
602
0
316
If you guys give me a list of the things that should be enabled/disabled per skin via WHM, I will start adding them and they will more than likely be there on the next version. :)
 

moronhead

Well-Known Member
Aug 12, 2001
706
0
316
[quote:3a14172097][i:3a14172097]Originally posted by bert[/i:3a14172097]

Xskin is not configured to do this yet.

You have two options:

1. Simply remove the link to Interchange from the carts.html file.

2. Enter the following code before the Interchange link in carts.html:
&cpanelif !$CONF{'interchangever'}&

Then enter the following code after the Interchange link in carts.html:
&/cpanelif&[/quote:3a14172097]
Bert,

Here's a tough question:

How would you use cpanelif if you wanted to remove the link to MySql IF the user had zero MySql databases (-& MAXSQL=0)?

Norman
 

bert

Well-Known Member
Aug 21, 2001
602
0
316
Norman,

I don't think it can be done, perhaps Nick could shed some light on this issue, but it doesn't look like this is something that cPanel could handle.

Why would you want to do that though, if you don't mind me asking? If you remove the MySQL link then what do you plan to do with users who have MySQL database allowed into their hosting packages? They all will start at 0 databases and won't be able to add any.