CobbyJ
Retired Forum Member-
Posts
17 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Hotfixes
Everything posted by CobbyJ
-
I sell VPN's through a freeradius module, but it should not really matter what it sells as it should be simple just to link from one whmcs to another using an API and product ID purchasing through that one client account. I cant believe this hasnt been done before.
-
Hello, I have my own WHMCS but i would like to resell some of my products to other people who also has a WHMCS System. is there a module that can do this to give a admin side and a client side module and to use their account credit in my own whmcs? Kind Regargs, Chris
-
Hello, I know i have done this before but i can remember how. I have a module with a few options in it and i want to be able to change one of the options in a drop down menu in a custom field. What would the name convension be in the custom field for it? Module Settings code <td class="fieldlabel" width="20%">Product ID</td> <input type="text" name="packageconfigoption[6]" class="form-control input-inline input-300" value="100"> So what i want is to be able to change the value which is current set to 100 to whatever i want. Would i just do "Product ID|Location" as the Field Name?
-
Hello, In my hooks im trying to add 2 hooks add_hook('ClientAreaPrimaryNavbar', 1, function (MenuItem $primaryNavbar) and if add_hook('ClientAreaSecondarySidebar', 1, function(MenuItem $secondarySidebar) But i keep getting an error. does anyone know the correct to code it. My current file is ------------------------------------------------------------------------------------------------------------------------------------- <?php if ( !defined('WHMCS')) { header("Location: ../../index.php"); } use WHMCS\View\Menu\Item as MenuItem; add_hook('ClientAreaPrimaryNavbar', 1, function (MenuItem $primaryNavbar) { if (!is_null($primaryNavbar->getChild('Network Status'))) { $primaryNavbar->removeChild('Network Status'); } if (!is_null($primaryNavbar->getChild('Announcements'))) { $primaryNavbar->removeChild('Announcements'); } if (!is_null($primaryNavbar->getChild('Knowledgebase'))) { $primaryNavbar->removeChild('Knowledgebase'); } if (!is_null($primaryNavbar->getChild('Contact Us'))) { $primaryNavbar->removeChild('Contact Us'); } if (!is_null($primaryNavbar->getChild('Store'))) { $primaryNavbar->removeChild('Store'); } if (!is_null($primaryNavbar->getChild('Home'))) { $primaryNavbar->removeChild('Home'); } }); ------------------------------------------------------------------------------------------------------------------------------------- I want to add this ------------------------------------------------------------------------------------------------------------------------------------- use WHMCS\View\Menu\Item as MenuItem; if add_hook('ClientAreaSecondarySidebar', 1, function(MenuItem $secondarySidebar) { $client = Menu::context('client'); if (!is_null($client)) { if (!is_null($secondarySidebar->getChild('Support'))) { $secondarySidebar->getChild('Support') ->removeChild('Announcements') ->removeChild('Knowledgebase') ->removeChild('Downloads') ->removeChild('Network Status') ->removeChild('Open Ticket'); } } }); ------------------------------------------------------------------------------------------------------------------------------------- Any help would be greatful.
-
i have contacted WHMCS and Stardevelop still waiting for a reply over 24hours and still nothing, anyone else have any ideas or had the same issue?
-
i have the same issue, did you manage to fix it?
-
Hello, iv been trying to add descriptions in the configuration option like the Additional Required Information. just through mysql. iv edited the following iv called it configinfo iv added the structure in the mysql as well in the tblproductconfigoptions table. then im just adding in manualy the descrptions in to the the table. here is the productconfig.tpl file https://secure.immortal-servers.com/order/templates/productconfig.tpl everything should be fine. https://secure.immortal-servers.com/order/?pid=1&skip=1 productconfig.tpl ------------------------- {if $configoption.optiontype eq 1} <select name="configoption[{$configoption.id}]" onchange="recalctotals()"> {foreach key=num2 item=options from=$configoption.options} <option value="{$options.id}"{if $configoption.selectedvalue eq $options.id} selected="selected"{/if}>{$options.nameonly}</option> {/foreach} </select> {$configoption.configinfo}{elseif $configoption.optiontype eq 2} {foreach key=num2 item=options from=$configoption.options} <input type="radio" name="configoption[{$configoption.id}]" value="{$options.id}"{if $configoption.selectedvalue eq $options.id} checked="checked"{/if} onclick="recalctotals()"> {$options.name} <br /> {/foreach} {elseif $configoption.optiontype eq 3} <input type="checkbox" name="configoption[{$configoption.id}]" value="1"{if $configoption.selectedqty} checked{/if} onclick="recalctotals()"> {$configoption.options.0.name} {elseif $configoption.optiontype eq 4} <input type="text" name="configoption[{$configoption.id}]" value="{$configoption.selectedqty}" size="5" onchange="recalctotals()"> x {$configoption.options.0.name} {/if} ---------------- i have also edited the index.php in the order folder --------------------------------------- # Validate config option quantity restrictions if (is_array($configoption)) { foreach ($configoption AS $opid=>$opid2) { $result = select_query("tblproductconfigoptions","",array("id"=>$opid)); $data = mysql_fetch_array($result); $optionname = $data["optionname"]; $configinfo = $data["configinfo"]; $optiontype = $data["optiontype"]; $qtyminimum = $data["qtyminimum"]; $qtymaximum = $data["qtymaximum"]; ----------------------------------------------------------------------------------------- still cant see where im going wong, any idea is there any other files i have missed? the descptions arnt showing up at all any help would be great. Regards Chris Murrell
-
paymate doesnt do UK
-
anyone have any ideas which are the best?
-
Hello, im currently using PayPal which is great, im looking for somthing else which will take credit cards. im looking for a free payment gateway with no setup fee and no limit on transfer to my bank, i dont mind percentage fees and so on like paypal aslong as its not way too high. can anyone suggest one? Chris
-
im getting the same problem any one help i have the copyright icon on my footer works fine on normal pages but when i go to any whmcs page it shows up as � instead of © can anyone help? i have set the charset as UTF-8 manualy but doesnt seem to make a differnce. any one help?
-
anyone, sorry for spam guys, but someone must, know
-
anyone have any idea about this?
-
im using TC Admin and i want to give my customers the choice between say teamspeak , Ventrilo and Mumble, how do i add them im the Voice ID? with a gameservers any idea Thanks Cobby
-
where ever i put the php code the html stops, theres no more code, whats going on, this {php} doesnt work at all for me
-
when i add the code in just goes white. maybe its the mysql or part to the other files, im using webspell as my main cms for my site. nimonogi, you say your using the same?
-
hey guys, im trying to import some php into my header.tpl this is the normal php im trying to put in so i tried this from what i read on anouther part of the forum but no luck, im trying to intergrate parts of the cms webspell into it so i can add my login to it can any one help me out? Thanks
