Jump to content

brian!

Level 2 Member
  • Content count

    10,750
  • Joined

  • Last visited

  • Days Won

    306

brian! last won the day on June 7

brian! had the most liked content!

Community Reputation

1,978 Excellent

About brian!

  • Rank
    GearHead (Emeritus)

Recent Profile Visitors

24,496 profile views
  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! 😛
×

Important Information

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