Jump to content

All Activity

This stream auto-updates     

  1. Yesterday
  2. Edited the table and all works well. This should really work in the editor. I feel another feature request coming on ūüôā Here is the link for the other request to add the port variable https://requests.whmcs.com/topic/add-server-port-variable-to-email-template
  3. Great news! After final touches, our brand new Lagom theme for WHMCS is now available to the public! Choose your favorite style, adjust the layout to your liking, and... grant your clients the unforgettable user experience! Let them see in an instant that navigation through your WHMCS has never felt this smooth and intuitive! varr (1).mp4 Choose from 4 different layouts Select one of the styles: Custom Order Form: Packages - more types coming soon Product configuration Checkout Custom designed illustrations for the WHMCS MarketConnect products: Custom designed icons: Check our Live Demos: Left Layout - click to open whmcs demo Default Layout - click to open whmcs demo Banner Layout - click to open whmcs demo Condensed Navigation - click to open whmcs demo Minimal Style - click to open whmcs demo Futuristic Style - coming soon
  4. simx

    Localhost Setup

    Hi all, Just a quick question... When I code and debug my normal .php scripts I do so in Visual Studio with the PHP TOOLS extension and all work great. My question is... is their anything like this to enable the debug of an addon module for WHCMS? How is everyone doing it currently? Thanks in advance
  5. ūüĎć good tip, thanks
  6. if i'm doing any serious Smarty work in the email templates, it's often easier to edit the appropriate record in tblemailtemplates directly as that avoids WHMCS doing anything strange to the output - e.g converting < to &lt;
  7. brian!

    Info from feeds being shown beneath all HTML

    as the OP reported in the thread, I think it can use feeds without issue - you just need to tweak the carousel settings. you could use an action hook to get the current details from the database - it's not a million miles away from the one in the above thread, except it's finding products and not domains... <?php use Illuminate\Database\Capsule\Manager as Capsule; function homepage_products_hook($vars) { $products = Capsule::table('tblproducts') ->join('tblpricing', 'tblproducts.id', '=', 'tblpricing.relid') ->where('tblpricing.type', 'product') ->where('tblproducts.hidden','0') ->where('tblproducts.gid','1') ->select('tblproducts.id','tblproducts.name','tblproducts.description','tblpricing.monthly') ->orderBy('tblproducts.order') ->groupBy('tblproducts.id') ->get(); $results = json_decode(json_encode($products), true); return array("myproducts" => $results); } add_hook("ClientAreaPageHome", 1, "homepage_products_hook"); ?> that will give you an array of products ($myproducts) on the homepage that are: in Product Group 1 and not hidden and the array will contain 4 fields - Product ID, Product Name, Product Description, Monthly Price... as per the domain hook, instead of just taking all products from a certain product group, you could give it a list of Product IDs and use that instead. with that array, you could then generate your carousel output in a foreach loop, or access each field individually... e.g the first result elements could be directly accessed using the following for name, desc and price... {$myproducts[0].name} {$myproducts[0].description} {$myproducts[0].monthly} .. and for the second result, you would change the 0 to 1 and so on. also, the monthly price won't be currency formatted - you could do that in the hook if you wanted to, but as I assume you're only using one currency, you might as well just add a pound sign before the price. Just £{$myproducts[0].monthly} per month
  8. Welcome to WHMCS.Community Jafar Muhammed! We're glad you're here please take some time to familiarise yourself with the Community Rules & Guidelines and take a moment to introduce yourself to other WHMCS.Community members in the Introduce Yourself Board.

  9. Hi: We just released a new addon to manage Oneprovider(https://oneprovider.com/) dedicated servers. Order link available at https://whmcsmod.com/product/oneprovider . Why oneprovider?: https://oneprovider.com/hosting-provider/why-one-provider If you have any question regarding the addon, feel free to contact us at https://cp.whmcsmod.com/contact.php Screenshots: Best regards
  10. Thanks Brian! sometimes to easy oO Greetings Christian
  11. {if $loggedin && !$inShoppingCart} <button type="buttonÔĽŅ" class="line-default" data-dismiss="modal">{$LANG.secure_pin}</button> {/if}
  12. Welcome to WHMCS.Community coachingacademy! We're glad you're here please take some time to familiarise yourself with the Community Rules & Guidelines and take a moment to introduce yourself to other WHMCS.Community members in the Introduce Yourself Board.

  13. Alistar Smith

    How to download AOL Gold?

    I also have contacted to AOL customer care to download AOL Gold and they have suggested me the best ways to download this. Now I am feeling great to contact them.
  14. Hi , I have a Link in the header.tpl : {if $loggedin} <button type="button" class="line-default" data-dismiss="modal">{$LANG.secure_pin}</button> {/if} which I would have shown only under the Main-Template but not in the Orderform. Is there any possibility to hide the Link under the order process ? Thanks and best regards Christian
  15. Welcome to WHMCS.Community Alistar Smith! We're glad you're here please take some time to familiarise yourself with the Community Rules & Guidelines and take a moment to introduce yourself to other WHMCS.Community members in the Introduce Yourself Board.

  16. brian!

    preventing new accounts?

    i'm going to assume that you don't want potential new customers to make any orders at all - not just for domains.. first step, disable register.php from the admin settings -> setup > general settings -> other -> allow client registration second step, perhaps use the hook below to redirect visitors from the cart and/or register, who are not logged in, to clientarea.php (or any other page)... <?php # Redirect Cart/Register Visitors Hook # Written by brian! function redirect_cart_vistors($vars) { $client = Menu::context("client"); if (!$client){ header("Location: clientarea.php"); exit; } } add_hook("ClientAreaPageCart", 1, "redirect_cart_vistors"); add_hook("ClientAreaPageRegister", 1, "redirect_cart_vistors"); ?> possible third step, modify the navbar links to the store depending on if the client is logged in or not... optional fourth step, modify using Language Overrides, the string shown on register.tpl when registration is disabled. but if you're using the above hook, they should never see this page anyway. and then test your site thoroughly to see if there is any obvious way to get to the cart/registration pages.
  17. you didn't give it an alternative color to use - so it left things as they are... if you were to assign individual colors to elements of the sidebar, that would work... .panel-sidebar > .panel-heading {background-color:#FF69B4;} .panel-sidebar .list-group-item {background-color:#FFB6C1;} you'd also have to take care of active/focus etc if you want the colors to remain the same when the cursor interacts with the sidebar.
  18. a better example hook might be the hhread below - i'm going to assume that this is for a client area page and that the client is already logged in. <?php # Product/Service List Hook # Written by brian! use Illuminate\Database\Capsule\Manager as Capsule; function products_list_hook($vars) { $client = Menu::context('client'); $services = Capsule::table('tblhosting') ->join('tblproducts','tblhosting.packageid','=','tblproducts.id') ->where('userid',$client->id) ->select('tblhosting.*','tblproducts.name as product') ->orderby('nextduedate','desc') ->get(); $results = json_decode(json_encode($services), true); return array("myservices" => $results); } add_hook("ClientAreaPage", 1, "products_list_hook"); ?> a clients product/services are stored in the tblhosting table - that will give you the majority of the information you want... however, it wouldn't give you the Product Name of the service, and so for that we need to check the tblproducts table - that is basically all the above hook is doing... it's creating that list and then passing it back to the template as an array. and then in the template, you would output that array - that could be using a foreach loop, using DataTables (as I did in the example above), in a HomePagePanel etc.
  19. brian!

    Customize Markdown Editor (not using CSS)

    have you tried opening a ticket with Support about this? this may be another situation, like TinyMCE, where something fundamental is in an encoded file somewhere. I can see in the js code in scripts.min.js (both admin and client) that the markdown header is set to add a toolbar - but even if you a) remove it from there, and b) add it to the markdown footer - nothing happens. that immediately implies to me (unless i'm missing something obvious), that the markdown settings could be being initially set in an encoded file. if so, I would do one of two things (or both!)... i'd open a ticket with Support (unless one of the devs see this thread and reply to it) and see whether what you want to do is possible... or i'd go direct to the developer of the Markdown editor used in WHMCS (Michel Fortin) and see if it can be done.. but as I said, if a setting is in an encoded file, to do what you want might not be possible.
  20. isdoo

    preventing new accounts?

    How can I prevent new accounts, yet allow existing accounts to register domains? I don't really want any new customers. Yet, I need existing customers the ability to register domains etc.
  21. vittyc

    Show just price and nothing else

    I just went into the admin area and found "Currencies" section where I removed 'GBP' from the Suffix section which removed it. Will that have any bad effect, anywhere else?
  22. vittyc

    Show just price and nothing else

    Thanks for the continued help Brian, definately getting there! I used; {$currency.prefix}{$product.pricing.rawpricing.annually}{$currency.suffix} and it came back with £50 GBP which is the right price but don't want GBP there....
  23. Welcome to WHMCS.Community vectorpond! We're glad you're here please take some time to familiarise yourself with the Community Rules & Guidelines and take a moment to introduce yourself to other WHMCS.Community members in the Introduce Yourself Board.

  24. Remitur

    WHMCS v7 OVH Domain Module

    I wonder who is using this partner program from OVH... It seems I'm required to pay £510 yearly just to get access to their domain managemt APi ?!?!?!?!?!?!?!
  25. It worked perfectly, thanks again!
  26. Welcome to WHMCS.Community tinei! We're glad you're here please take some time to familiarise yourself with the Community Rules & Guidelines and take a moment to introduce yourself to other WHMCS.Community members in the Introduce Yourself Board.

  1. Load more activity
×

Important Information

By using this site, you agree to our Terms of Use & Guidelines