Jump to content

cdeese8

Members
  • Content count

    75
  • Joined

  • Last visited

Community Reputation

2 Neutral

About cdeese8

  • Rank
    Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. How do I display client tickets tablelist (like in clientarea home panel) on knowledgebase.tpl or static page? When i explored the /feed/ folder, it doesn't look like anything relevant is there - perhaps data feeds are not available option (https://docs.whmcs.com/Data_Feeds). So would I make a hook? That makese sense. I tried to make an includes/hook/display-tickets-help.php file and copy / pasted things I gathered on forums but that's not good. I get oops error and break site. Stock theme on WHMCS 7.4.* - this is the hook that is giving me trouble: https://pastebin.com/r1wYxYE7 https://developers.whmcs.com/hooks/hook-index/ https://whmcs.community/topic/284977-hook-to-display-todo-list-to-public-or-logged-in-clients/ tried changing 1 to 0 at the very bottom "add_hook("ClientAreaPage", 0, "display_help_tickets");" (don't think it matters though) Thanks for looking this over if you are thinking about helping out. :)
  2. Friggin brilliant. I remember reading about the pattern just before I went to bed. Thanks for giving that extra oomph of effort and providing a rich response. VERY HELPFUL!! TYSIR.
  3. Times like this, I wish I had a nipple to feed me results. lol. But yea, thanks for providing keywords to assist with R&D. I'll go ahead and search the forums using search query site:whmcs.community hook "breadcrumb" OR "ClientAreaPageKnowledgebase" and see what I can come up with. Thanks steven99 and brian!
  4. You will get results on the first couple of links. Goto DDG and search for: site:whmcs.community sidebar hook or click here: https://duckduckgo.com/?q=site%3Awhmcs.community+sidebar+hook Basically, you want to create a file named w/e you want in the root/includes/hooks folder (at root directory of whmcs install) and pop into that .php file... something from one of the search engine results. Did you visit or read this doc yet? https://docs.whmcs.com/Client_Area_Navigation_Menus_Cheatsheet That cheatsheet is kinda helpful, but the hooks on the forums are way more nice. here is a hook, for example that will remove sidebar on knowledgebase page <?php use WHMCS\View\Menu\Item as MenuItem; add_hook('ClientAreaPrimarySidebar', 1, function(MenuItem $primarySidebar) { if (!is_null($primarySidebar->getChild('Support Knowledgebase Categories'))) { $primarySidebar->removeChild('Support Knowledgebase Categories'); } }); add_hook('ClientAreaSecondarySidebar', 1, function(MenuItem $secondarySidebar) { if (!is_null($secondarySidebar->getChild('Support Knowledgebase Tag Cloud'))) { $secondarySidebar->removeChild('Support Knowledgebase Tag Cloud'); } if (!is_null($secondarySidebar->getChild('Support'))) { $secondarySidebar->removeChild('Support'); } });
  5. You know, someone like you should be hired at $50 an hour to re-write some of the help / doc articles. I suspect, WHMCS could set-aside a $4,000 budget to invest into your organization and it would pay mega dividends. The spell check thing? jeeze. I mean, mistakes happen but 9 months? Dang... 6 years is no joke. You are a great customer and community role-model. How do you think sentq compares to you? If you guys duked it out on WHCMS wisdom test, you think he would wreck you? If you had access to the actual code, you think you could learn twice as much? Would you even want to learn more? Like that stuff is fun for you? Cheers p.s. - tell your friggin' lawyers to back off!
  6. Anything else come to mind? How do you block non-English letters from the pre-sales contact form that is shown to logged out users? Yea I agree, CAPTCHA isn't very good and often worthless. The CloudFlare protected websites that display captcha for example are a pain in the butt and i almost always just close the website. Also, I've noticed if you are not using a Chrome browser, you will get SOOOO many more "captcha requests" just b/c you are not using the actual google browser. A joke ehh?
  7. Good idea buddy, that's what I ended up doing. I created a custom static page and just linked to specific articles after I created 301 redirects in .htaccess. Thanks again for good suggestion brian!
  8. Your welcome. Hmm, this might tricky. I do not believe you can "product link" specifically for DNS Management and ID Protection. What you could do, is check and dig into some files. Using Sublime Text or even Notepad++ you can "search in files" for specific keywords and start reverse engineering. If you don't want to hire someone to build something this is the best way to learn and get results... you could even open up a lang file... like \lang\english.php one and find the exact phrase you want to tweak, and find out, where it's being used your template. $_ADMINLANG['domains']['idprotection'] = "ID Protection"; $_ADMINLANG['domains']['idprotectioncontrolna'] $_ADMINLANG['domains']['idprotectionadded'] $domain.idprotection $domain.dnsmanagement It looks like the files you wanna get snippets of code from, might be: confdomains orderform template file which is the configuredomains.tpl file Honestly, I try my best to help but your topics are not helpful enough and it's almost like you are wasting my time by playing guessing games. Take 20 minutes out of your day, write-up a detailed topic and post it with as much rich information as possible. Take a moment and post pictures, make a bullet list of things you want and write a proper "help request". Was the Linking to WHMCS docs page helpful? You could also try using search query / operator like: site:whmcs.community sell dns addon "whmcs" sell dns management After you search results, click the first 25 pages and see if any of them are helpful.
  9. Might you know of any sneaky ways, or creative things I can do to stop this? Can you please tell me how to prevent, block and disable any non-English letters? Specifically, I think it would be great to prevent letters from the Cyrillic script (Russian Alphabet). Literally, every spam ticket I get is from Mother Russia. I know there is form captcha, but I don't want to use any services related to google or even the baked in WHMCS. The less steps a visitor has to do to get support the better. Thanks for your time, https://en.wikipedia.org/wiki/Russian_alphabet https://docs.whmcs.com/Spam_Control don't see anything here don't see anything for search query: site:whmcs.community block russian letters still doing R&D for search operator: bootstrap 3 input field validation block russian letters
  10. How do I control the routePath output? I'm trying to customize the permalink so it spits out {$kbarticle.categoryname} instead of {$kbarticle.categoryid} domain.com/knowledgebase/{$kbarticle.categoryid}/{$kbarticle.title} (currently) domain.com/knowledgebase/{$kbarticle.categoryname }/{$kbarticle.title} (what would be nice) Using WHMCS 7.4.1 with default template, I notice on the knowledgebasecat.tpl page <a href="{routePath('knowledgebase-category-view',{$kbcat.id},{$kbcat.urlfriendlyname})}"> but when I use "find in file" search in Sublime nothing is found. Might you have any wisdom to share, perhaps a hook replacement or even smarty replace? https://www.smarty.net/docsv2/en/language.modifier.replace.tpl https://whmcs.community/topic/259281-htaccess-rewrite-knowledgebase-to-xyz-and-trim-redirect-extension-php-or-html-w-trailing-slash/
  11. Just making a note (was gonna edit but it's locked) that I found a reply from 2010 - and will never link article to multiple cats, instead I'd just create / duplicate a new article. https://whmcs.community/topic/105901-resolved-breadcrumb-knowledgebase-categories/?do=findComment&comment=554073
  12. Please tell the forums what template, WHMCS version and specifically, what page(s) you want to cross-sell your "other products". You could try launching up the template file(s) in Sublime and manually adding blocks of code that add to cart specific products. There are a couple of domain configuration pages, so either check orderforms template or your main site template. public_html/templates/standard_cart/configuredomains.tpl public_html/templates/orderforms/cartdomainchecker.tpl https://docs.whmcs.com/Linking_to_WHMCS There is a cleaner way, using hooks but you might be able to get results faster with what I'm talking about.
  13. Thanks for the one of most detailed replies one could ask for. All sorts of valuable info in here that adds more questions and answers a bunch. I feel like the only reason you must know what you know.. all the hidden stuff, is because you either helped write WHMCS or just have been using WHMCS for that many years. I mean, sometimes, I'm blown away by how much invisible * you know.. it's just insane. For example, How do you know what's been saved to the DB is {debug} doesn't display it? Is it just a matter of looking at the DB tables and search & find? Thanks for your wisdom.
  14. Howdy WHMCS Community, using WHMCS 7.4.1 I was wondering how I could tweak / adjust the breadcrump for knowledgebase. It looks like when I use {debug} the top level or parent category isn't loaded on the article page. kb home > cat 1 > subcat 2 > kb article OR kb home > cat 1 > subcat 2 > subcat 3 > kb article (what i desire) kb home > cat 2 > kb article (what it currently is) The breadcrumbs just remove and wipe out the parent cat. Might you know of a hook to possible to display full breadcrumb?
  15. Might you know if this is still the best way to do it @brian!? Just manually add date to the actual KB Article in WHMCS admin? I logged into Adminer and checked the DB and didn't any relevant tables for "last updated" in the knowledgebase tables. I would have replied to community thread but I think it's locked / archived. https://whmcs.community/topic/252161-knowledgebase-date-article/ https://whmcs.community/topic/236225-no-knowledgebase-action-hook-available/ I was hoping to be able to automate things a bit more and make it so, when a person clicks Yes or No for the {$kbarticle.useful} {$LANG.knowledgebaseratingtext} strings in knowledgebasearticle.tpl file the site would display an updated "Last Updated" date string. Even a static last updated string would be cool if it was being tracked each time the actual article was being updated by an admin in the WHMCS side of things. But yea, was just wondering if the date can be extracted? Does the the {debug} display all available things able to used from the WHMCS database? It's usually my goto thing and if something isn't in that popup window, it has to be done with an addon / module. I'm gonna browse over the docs right now and see what I can dig up. https://developers.whmcs.com/hooks-reference/client-area-interface/#clientareapageknowledgebase https://help.whmcs.com/searches?utf8=✓&amp;text=Knowledgebase&amp;commit=Search i dont see anything on the https://docs.whmcs.com/Knowledgebase (or entire docs.whmcs.com domain)
×

Important Information

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