Jump to content

brian!

Level 2 Member
  • Content count

    10,750
  • Joined

  • Last visited

  • Days Won

    306

Everything posted by brian!

  1. Hi @Rhysweb by using Language Overrides, you can create new, or edit existing, language strings - in this case, the language string below contains the current link to the cart... $_LANG['clientHomePanels']['activeProductsServicesNone'] = "It appears you do not have any products/services with us yet. <a href=\"cart.php\">Place an order to get started</a>."; the docs page above will walk you through it, but basically you create an "overrides" folder within the /lang folder, and then create a new language .php file (if it doesn't already exist) for each language that your site uses, e.g English, French etc - do not edit the existing original language files as any changes you make will get overwritten during a WHMCS update.
  2. brian!

    Invoice Unpaid Reminder

    it will be both - they're independent of each other. though assuming invoice due date is the same as the domain renewal date, going by your above settings, only 7 days before will they receive two separate emails at the same time.
  3. so far, so good. πŸ™‚ that could mean that your site isn't using that standard_cart orderform ? it's using the Smarty template engine. looking at your site, I see that you managed to do it. πŸ™‚ it's a pity your domain fails the WHMCS license verification page though - whilst that remains the case, I won't be replying to any of your future questions... if others want to reply, then that's up to them.
  4. you can't modify the core files, but you wouldn't really need to for this. two basic options... you could edit the template used for this page - which would be (unless you've renamed the orderform theme).. /templates/orderforms/standard_cart/configureproduct.tpl - additionally, you can use Language Overrides when editing the template if you want to output your descriptive text in the client's own language. you could expand the customfield description string - the "(Panel Username) - (Leave..." and add your additional text there. just for your own peace of mind, you might want to type your domain into the WHMCS License Verification page to ensure you have a valid WHMCS license. two sites to bookmark will be... https://docs.whmcs.com/ https://help.whmcs.com/ .. they should tell you the basics to get you started. πŸ™‚
  5. have you worked your way through the docs on this ? https://www.whmcs.com/members/index.php/knowledgebase/194/Payments-are-not-being-recorded-in-my-WHMCS-installation-invoices-stay-in-Unpaid-status.html https://docs.whmcs.com/PayPal that should at least help you to work out whether it's a PayPal IPN issue, or something else going on within WHMCS.
  6. brian!

    Change H1 Color WHMCS?

    have you tried adding !important to give it a little more persuasion ? h1 {color: #FF3B3F !important;}
  7. brian!

    Multiple Ip Access ban account

    I think you mean, "can you please provide me an addon buy link"... it doesn't cost anything to be polite! πŸ™‚ have you looked in Marketplace ? one option might be Security Plus+... though from your question, i'm not sure if you're trying to block the same client using multiple different IPs at the same time, or multiple clients using the same IP at the same time - they're slightly different. i'd suggest checking with the developers that it's compatible with your WHMCS version before purchasing - listing states it's only compatible upto v7.5, but it may well still be compatible with later WHMCS versions, and they just haven't bothered to update the listing... there have been other solutions to this in the past, but I don't think they've been updated in many years.
  8. in what way? how would you handle a client having multiple products ?? using code from another template wouldn't work if the required array used by that code is missing. ultimately, you're going to have to query the database for details of your product's clients.
  9. back in 2013, it took me three goes at installing before I got it right when I first installed WHMCS.... back then, the installation instructions were contradictory (maybe they still are, I haven't looked at them in ages) - but it gets easier with time. by definition, when you create the invoice, you'll already be creating an account for the client yourself - so they won't have to do it... whether they can pay without logging in may depend upon your payment gateway. the burden will be on you to create the account - as Chris says, invoices need to be attached to a client - you can't invoice someone who isn't a client.
  10. brian!

    WHMCs layout box

    it's difficult to say without seeing the page - first port of call might be contacting your theme's developers as they may well have been asked this before... https://themeforest.net/item/bredh-multipurpose-web-hosting-with-whmcs-template/23474111 it might be doable using CSS or editing the template, but I would need to know the filename to see the underlying code (I already have your domain bookmarked).
  11. brian!

    Changing where a product in the cart links to

    Hi Dennis, the golden rule when modifying a sidebar/navbar child is to first check that it exists, and only if it does should you attempt to modify it... so most of the cart pages, that hook will work because what you're trying to modify exists... go to a page outside the cart, and you're then trying to modify something that doesn't exist and WHMCS will throw an error. it's closer and should work - unless you were to do something daft to break it like renaming that product group, or running another hook that ran before this which removed that child you're modifying... the cleanest way might be a variation of the hook I posted in the thread below... <?php # Cart Redirect Category URLs Hook # Written by brian! use WHMCS\View\Menu\Item as MenuItem; add_hook('ClientAreaSecondarySidebar', 1, function(MenuItem $secondarySidebar) { $CategoriesSidebar = $secondarySidebar->getChild("Categories"); if (empty($CategoriesSidebar)) { return; } $CategoriesSidebarChildren = $CategoriesSidebar->getChildren(); $ChildrenToRemove = array('Webhosting'=>'webhosting.php'); foreach($CategoriesSidebarChildren as $CategoryKey => $CategoryChild) { foreach($ChildrenToRemove as $label => $child) { if ($CategoryKey == $label) { $CategoriesSidebar->getChild($CategoryKey) ->setUri($child); } } } }); it's a little long-winded for just redirecting one group, but it was originally written to assign icons to multiple product groups, and so can be expanded to redirect multiple groups, just by expanding the $ChildrenToRemove array. the trick with this hook is that you're looping through the array of children in that sidebar, so that immediately removes the need to check whether they exist - we already know that they do... renaming product groups in WHMCS settings shouldn't break this hook, it would simply cause the group to be linked as normal in the cart and not redirected.
  12. is it a one-time product ? if the products are setup in the clients account correctly, and the cron is running, then the invoices should be sent automatically.. with regards to entering cc details... https://docs.whmcs.com/Clients:Summary_Tab is the product setup to be monthly recurring, or just one-time ?
  13. brian!

    2 whmcs in same domain

    that sounds more like a task for htaccess redirection rather than a hook - not least because if you've deleted the WHMCS install @ domain.com, then there wouldn't be a hook triggered. RewriteEngine On RewriteCond %{REQUEST_URI} ^/viewinvoice\.php$ RewriteCond %{QUERY_STRING} ^id=([0-9]*)$ RewriteRule ^(.*)$ http://mydomain.com/billing/viewinvoice.php?id=%1 [R=301,L] also, don't forget to change your WHMCS System URL in General Settings to reflect that you've moved the install - as this will be used by the email templates.
  14. WHMCS having an issue with transparency? who would have thought! πŸ˜›
  15. brian!

    How to hide the fact that my client area runs on whmcs

    sadly, you're slightly more exposed than most because you previously bought a WGS product (ClientX), and when their site was hacked last year, and their WHMCS database was leaked on the internet, the hackers posted a sample list of domains using ClientX and publicly invited other hackers to have a go at hacking those sites - third from last on that list was your hoskia domain. 😲 I won't publish that hacker announcement link here (and I won't even publish the intro text as it contains a naughty word!), but I can PM you the link if you're interested to see it. not really - besides, your domain is out there now and no doubt being distributed to other hackers...
  16. rather than thinking of it as an order form, perhaps take a look for custom Pricing Tables addons... Zomex CSS Pricing Tables * many of Zomex's templates include pricing tables by default too. WHMCS Pricing Sliders and Comparison Tables - WHMpress Addon (for WordPress) you can find other template and orderform solutions in Marketplace.
  17. brian!

    EPP acces

    if you mean that you want your clients to be able to access this information for each of their domains, then as long as the registrar assigned to your clients domain(s) supports EPP, when the client clicks on "Manage Domain" from their Domains page... they should see a "Get EPP Code" link in their sidebar.... if they don't see it, then either the registrar assigned to that domain doesn't support EPP (some don't), or perhaps you're using a custom or outdated template... if you mean that you want to enable EPP for particular TLDs, then you can do that on the Domain Pricing page - but be aware that not all TLDs support using EPP codes.
  18. brian!

    free domain only 1 year ?

    on the domain's next due date.
  19. brian!

    Profit and Loss Report

    probably a PHP error as I state above... I originally tested on PHP 5.6 as that's what the dev was last using... the PHP7 deprecations never occurred to me until Chance mentioned it.
  20. brian!

    Profit and Loss Report

    only for you.... everyone else would have got an error message following your original link... edited my post to remove the link you posted originally. πŸ™‚
  21. brian!

    Profit and Loss Report

    Hi @Chance i'd forgotten about that deprecation when testing... originally tested in v7.7.1 using PHP 5.6 and works fine; switched to php v7.1 and it fails - "mysql_free_result is not supported"... with some tweaking, it could be fixed to work with Capsule. no offence meant ☺️
  22. brian!

    free domain only 1 year ?

    yes. https://docs.whmcs.com/Common_Promotions
  23. brian!

    Profit and Loss Report

    install it & see! πŸ™‚ it loads in v7.7.1 without issue (once you remember to put reportfunctions_2.php in the correct folder!) - so assume it would work in any version from the last 8 years... though I personally wouldn't class it as a P&L report, more of an expanded income report.
  24. brian!

    Show expiredate in clientareacancelrequest.tpl

    Hi @Hostingwalk in WHMCS, products don't have expiry dates as such... well one-time products probably do, but they can't be automatically cancelled... if the product to be cancelled has a domain, then you can access the domain's next due date using {$domainnextduedate} - though of course, that may not necessarily be the same as the next due date of the product itself. if you want to use the product's next due date, and it isn't currently available to the template (which I don't believe it is), then you would need to pull that information from the database... specifically by using a ClientAreaPageCancellation action hook.
×

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated