gwhosting Posted November 1, 2008 Share Posted November 1, 2008 hi; ok so here's what I'm wanting to do. I have cast-control: http://cast-control.com on my server at shoutcast.gwhosting.net and gw hosting installed at http://gwhosting.net/whmcs in cast control users can order new packages however it's an order link that goes to cast control. I don't want that. Can i get the header files and footer files and all menus from whmcs? So if they wanted to order a new shoutcast package they are pointed to http://gwhosting.net/whmcs/cart.php?a=add&pid=10 and like when they open a support ticket they open one in whmcs and not cast control? I am asking i guess, how can i kinda merge these 2 programs? thanks a lot mike 0 Quote Link to comment Share on other sites More sharing options...
gwhosting Posted November 1, 2008 Author Share Posted November 1, 2008 sorry i ment whmcs is installed on http://gwhosting.net/whmcs thanks 0 Quote Link to comment Share on other sites More sharing options...
Gav Posted November 3, 2008 Share Posted November 3, 2008 You can disable the billing and support pages from cast control and remove/alter any links in the cast control template which is located at: path_to_files/castcontrol/theme/ You just need to set the cast control module up (only works with pro) 0 Quote Link to comment Share on other sites More sharing options...
gwhosting Posted November 4, 2008 Author Share Posted November 4, 2008 ok so we got the pro version, so i just need to edit that theam right? Then how do i disable the support and billing? thanks mike 0 Quote Link to comment Share on other sites More sharing options...
AndrewMKP Posted November 4, 2008 Share Posted November 4, 2008 Probably in the Admin area, I am just making a guess here but by the sounds of it you either remove the visible links in the theme, lock general users out of those areas so they do not have permision to access it or disable the functions in Cast Control panel. Either one of them should give you a resolution. 0 Quote Link to comment Share on other sites More sharing options...
gwhosting Posted November 4, 2008 Author Share Posted November 4, 2008 hi; thanks i'll do some looking around, happy election day for you if your in the us. mike 0 Quote Link to comment Share on other sites More sharing options...
Extreme43 Posted November 5, 2008 Share Posted November 5, 2008 Dear Mike, There are a couple options that you can use, A) having individual links on the plans page link to your whmcs product link or B) changing the plans link within cast-control to point to your WHMCS order page. A) If you wish to use the native Cast-Control Plans page to display your plans this is fine and you can configure your links as follows: 1. Login to Cast-Control and navigate to Administration -> Server Plans 2. Select the plan you wish to edit 3. Paste your link into the field labelled Custom Billing Link This will direct your customers to your custom link rather than the cast-control billing system. B) 1. Login to your FTP site where cast-control is located 2. Navigate to ./castcontrol/theme/CASTcontrol 143/ and edit header.thm 3. Search for the link to the Plans page (around line 73) FIND: <a id="mainMenu" class="menulinks" href="?page=plans">{LANG[MENU143_PLANS]}</a> REPLACE WITH: <a id="mainMenu" class="menulinks" href="http://gwhosting.net/whmcs/cart.php">{LANG[MENU143_PLANS]}</a> 0 Quote Link to comment Share on other sites More sharing options...
AndrewMKP Posted November 5, 2008 Share Posted November 5, 2008 Excellent Mike. Looks good. GWHosting, any luck? 0 Quote Link to comment Share on other sites More sharing options...
gwhosting Posted November 5, 2008 Author Share Posted November 5, 2008 Thanks a lot, i'll end up going with option B just because i find it to be more faster. Again thanks a lot. Michael 0 Quote Link to comment Share on other sites More sharing options...
gwhosting Posted November 5, 2008 Author Share Posted November 5, 2008 hey; thanks a lot i wasn't able to fix what i wanted to (trying the admin way) however i do support a lot of blind users. They complained to me about the username filed labeled with simply "U" and password "p" so i fixed them to "username" and "Password" respectively. will give the other way a try now. thanks mike 0 Quote Link to comment Share on other sites More sharing options...
gwhosting Posted November 5, 2008 Author Share Posted November 5, 2008 hi; So when i go to buy a server (back to the them way, think it might be better) i click the buy server and get this link: http://shoutcast.gwhosting.net/index.php?page=billing&m=buyserver it's not taking me to http://gwhosting.net/whmcs/cart.php?a=add&pid=10 i'm sure it's something stupid, but i've posted my header file below for you to take a look at please. mike <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>{SETTING[PAGE_TITLE]}</title> <link REL="SHORTCUT ICON" HREF="./castcontrol/theme/{SETTING[uSER_THEME]}/images/favicon.ico"> <link href="./castcontrol/theme/{SETTING[uSER_THEME]}/stylesheet.css" rel="stylesheet" type="text/css"> <script language="JavaScript" type="text/javascript" src="./castcontrol/theme/{SETTING[uSER_THEME]}/sprymenu.js"></script> </head> <body> <table id="main" cellspacing="0" cellpadding="0" align="center"> <tr> <td id="logobar"> <table align="right" cellpadding="0" cellspacing="2" id="login"> <---Begin Welcome_loggedin---> <tr><td align="center"> <font class="header">Welcome {USERDATA[uSER_LEVEL]},<br>{USERDATA[uSERNAME]}</font> </td></tr> <---End Welcome_loggedin---> <---Begin Welcome_loggedout---> <form action="?page=login" method="POST"> <tr> <td>username:<input name="username" type="text" /><br> password:<input name="user_password" type="password" /></td> <td rowspan="2"><input type="image" name="login_submit" src="./castcontrol/theme/{SETTING[uSER_THEME]}/images/btn_go.jpg" alt="Login" border="0" /></a></td> </tr> </form> <---End Welcome_loggedout---> </table> </td> </tr> <tr> <td id="navbar"> <table width="404" align="center" cellpadding="0" cellspacing="0" id="navcontent"> <tr> <---Begin Loggedin---> <td><img src="./castcontrol/theme/{SETTING[uSER_THEME]}/images/btn_navleft.jpg" alt="CastControl" /></td> <td><a id="mainMenu" class="menulinks" href="index.php">{LANG[MENU143_HOME]}</a> </td> <---Begin Resell---> <td><img src="./castcontrol/theme/{SETTING[uSER_THEME]}/images/btn_navleft.jpg" alt="CastControl" /></td> <td class="mainmenu_item" onMouseOver="mainMenu_menuItem_over(this,'mainMenu_subMenu_0');" onMouseOut="mainMenu_menuItem_out(this);"> <a id="mainMenu" class="menulinks" href="?page=resell">{LANG[MENU143_RESELL]}</a> <br /> <table id="mainMenu_subMenu_0" class="mainmenu_submenu"> <tr> <td align="center"><a class="menulinks" href="?page=resell&m=users" target="_self">{LANG[MENU143_USER]}</a></td> </tr> <tr> <td><a class="menulinks" href="?page=resell&m=servers" target="_self">{LANG[MENU143_SERVER]}</a></td> </tr> <tr> <td><a class="menulinks" href="?page=billing&m=resell" target="_self">{LANG[MENU143_RESELLPLAN]}</a></td> </tr> </table> </td> <---End Resell---> <td><img src="./castcontrol/theme/{SETTING[uSER_THEME]}/images/btn_navleft.jpg" alt="CastControl" /></td> <td class="mainmenu_item" onMouseOver="mainMenu_menuItem_over(this,'mainMenu_subMenu_1');" onMouseOut="mainMenu_menuItem_out(this);"> <a id="mainMenu" class="menulinks" href="?page=userpanel">{LANG[MENU143_USERPANEL]}</a> <br /> <table id="mainMenu_subMenu_1" class="mainmenu_submenu"> <tr> <td align="center"><a class="menulinks" href="?page=account" target="_self">{LANG[MENU143_MYACCOUNT]}</a></td> </tr> <tr> <td><a class="menulinks" href="?page=servers" target="_self">{LANG[MENU143_MYSERVERS]}</a></td> </tr> </table> </td> <---Begin Billing---> <td><img src="./castcontrol/theme/{SETTING[uSER_THEME]}/images/btn_navleft.jpg" alt="CastControl" /></td> <td><a id="mainMenu" class="menulinks" href="http://gwhosting.net/whmcs/cart.php?a=add&pid=10">{LANG[MENU143_PLANS]}</a> </td> <---End Billing---> <---Begin Administration---> <td><img src="./castcontrol/theme/{SETTING[uSER_THEME]}/images/btn_navleft.jpg" alt="CastControl" /></td> <td class="mainmenu_item" onMouseOver="mainMenu_menuItem_over(this,'mainMenu_subMenu_2');" onMouseOut="mainMenu_menuItem_out(this);"> <a id="mainMenu" class="menulinks" href="?page=admin">{LANG[MENU143_ADMIN]}</a> <br /> <table id="mainMenu_subMenu_2" class="mainmenu_submenu"> <tr> <td align="center"><a class="menulinks" href="?page=admin&m=settings" target="_self">{LANG[MENU143_CONFIGURATION]}</a></td> </tr> <tr> <td><a class="menulinks" href="?page=admin&m=users" target="_self">{LANG[MENU143_USERMANAGE]}</a></td> </tr> <tr> <td><a class="menulinks" href="?page=admin&m=servers" target="_self">{LANG[MENU143_SERVERMANAGE]}</a></td> </tr> <tr> <td><a class="menulinks" href="?page=admin&m=servers&action=create" target="_self">{LANG[MENU143_NEWSERVER]}</a></td> </tr> <tr> <td><a class="menulinks" href="?page=admin&m=version" target="_self">{LANG[MENU143_UPDATECHECK]}</a></td> </tr> </table> </td> <---End Administration---> <td><img src="./castcontrol/theme/{SETTING[uSER_THEME]}/images/btn_navleft.jpg" alt="CastControl" /></td> <td><a id="mainMenu" class="menulinks" href="?page=login&action=logout">{LANG[MENU143_LOGOUT]}</a></td> <---End Loggedin---> <---Begin Loggedout---> <td><img src="./castcontrol/theme/{SETTING[uSER_THEME]}/images/btn_navleft.jpg" alt="CastControl" /></td> <td><a id="mainMenu" class="menulinks" href="index.php">{LANG[MENU143_HOME]}</a> </td> <td><img src="./castcontrol/theme/{SETTING[uSER_THEME]}/images/btn_navleft.jpg" alt="CastControl" /></td> <td><a id="mainMenu" class="menulinks" href="?page=contact">{LANG[MENU143_CONTACT]}</a> </td> <td><img src="./castcontrol/theme/{SETTING[uSER_THEME]}/images/btn_navleft.jpg" alt="CastControl" /></td> <td><a id="mainMenu" class="menulinks" href="?page=pservers">{LANG[MENU143_PSERVERS]}</a> </td> <---Begin Billing---> <td><img src="./castcontrol/theme/{SETTING[uSER_THEME]}/images/btn_navleft.jpg" alt="CastControl" /></td> <td><a id="mainMenu" class="menulinks" href="?page=plans">{LANG[MENU143_PLANS]}</a> </td> <---End Billing---> <---Begin Signup---> <td><img src="./castcontrol/theme/{SETTING[uSER_THEME]}/images/btn_navleft.jpg" alt="CastControl" /></td> <td><a id="mainMenu" class="menulinks" href="?page=signup">{LANG[MENU143_REGISTER]}</a></td> <---End Signup---> <---End Loggedout---> </tr> </table> </td> </tr> <tr> <td id="contentbar" height="300"> 0 Quote Link to comment Share on other sites More sharing options...
Extreme43 Posted November 12, 2008 Share Posted November 12, 2008 Hi, Sorry for such a delayed response - I'm not quite a regular visitor of these boards as i should be. Try disabling the billing system from cast-control, you will still be able to use the whmcs plugin without difficulties but this will remove all references from cast-control to the cast-control billing system. You might also need to remove the <---Begin Billing---> and <---End Billing---> tags from the template or your plans link will not display. Let me know if you still have any difficulties. Regarding the username and password text, i also think it might be more appropriate to use the full wording and will make this change for future versions. 0 Quote Link to comment Share on other sites More sharing options...
muresan_mihai Posted November 23, 2009 Share Posted November 23, 2009 Hi, Does anyone know how to create a product Cast-Control (radio server) in which the customer can choose the location? And if you do not choose the location to create a server and a server random radio? I tried to do, but I can only decum any product with multiple services in Europe or America. I would like an example as to TCAdmin, there can be feild very simple, but the cast-control I managed to do. Thank you. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.