Jump to content

cdeese8

Members
  • Content count

    55
  • Joined

  • Last visited

Community Reputation

0 Neutral

About cdeese8

  • Rank
    Member

Recent Profile Visitors

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

  1. This addon might be overkill, but perhaps the Geolocation Hook For WHMCS config.php (geolocation_hook_2.0.1_whmcs\includes\Geolocation\config.php) file might be the best starting point. I can add the GeoLite2 City.mmdb and see what kind of damage I can do in a couple of hours. Maybe you know this kind of stuff just because... 😃... if you had to guess, do you think, by adding a 59 meg file to the addon will make website load speed noticeably slower? Of course! I didn't think about doing something for logged in clients but yea, you make good point about VPN. Using WHMCS 7.4.* and stock template, I thought it would be fancy for logged out clients to see something a tad-bit more welcoming. The idea is to make a landing page that converts and having a little bit extra touch of personal might help (or deter because it's creepy). Alright, gonna dig my fingers into the keyboard.. thanks for feedback
  2. May you please point me into the right direction on how I could achieve this? This is what I imagine would just magically work if I typed into a .tpl file... {if statecode = "AK"} hi people from Alaska {elseif statecode = "CO"} hi people from Colorado {else} hi everyone else... {/if} Right now I'm still doing research, here are some notes I have: * https://www.docs.modulesgarden.com/Geolocation_Hook_For_WHMCS * site:whmcs.community conditional logic geo localization * maxmind Geolocation whmcs -fraud * https://dev.maxmind.com/geoip/geoip2/geolite2/ * https://ipinfo.io/ * https://whmcs.community/topic/249129-custom-html-panel-for-specific-country/ * http://www.smarty.net/docs/en/language.function.if.tpl * https://www.smarty.net/docs/en/plugins Any wisdom you may have that can help me achieve what I desire would be awesome. Thanks! :)
  3. welcome back from your holiday vacation - hope you had a great time filled with smiles and pictures.

    :)

    https://media.giphy.com/media/BAJ7JKJKAYzzq/giphy.gif

  4. cdeese8

    How to get my WHMCS site domain? 

    Use the smarty {debug} command and when you refresh page, you'll get a pop-up window that has EVERYTHING you are looking for. Be sure to us the CTRL + F command inside that window.. THERE is alot of data.. 1.) https://www.smarty.net/docs/en/language.function.debug.tpl 2.) https://whmcs.community/topic/190113-introduction-to-whmcs-smarty-debugging-display-if-customer-or-admin-are-logged-in/ Have fun pal
  5. cdeese8

    Importing clients using API

    Try using a search operator on Google or Duckduckgo: site:whmcs.community import export client data Inside WHMCS admin area, you can uncheck / check boxes to make client data required or optional. log into whmcs admin goto general settings click other tab check boxes in Optional Client Profile Fields area
  6. cdeese8

    Get knowledgebase

    Just use what is already available and find a creative way to recycle it. There is a helpful snippet of code that is used in \templates\six\supportticketsubmit-steptwo.tpl file. <div id="autoAnswerSuggestions" class="well hidden"></div> \templates\six\js\whmcs.js and whmcs.js /** * Get automatic knowledgebase suggestions for support ticket message. */ var lastTicketMsg; function getTicketSuggestions() { var userMsg = jQuery("#inputMessage").val(); if (userMsg != lastTicketMsg && userMsg != '') { jQuery.post("submitticket.php", { action: "getkbarticles", text: userMsg }, function (data) { if (data) { jQuery("#autoAnswerSuggestions").html(data); if (!jQuery("#autoAnswerSuggestions").is(":visible")) { jQuery("#autoAnswerSuggestions").hide().removeClass('hidden').slideDown(); } } }); lastTicketMsg = userMsg; } setTimeout('getTicketSuggestions()', 3000); } Happy New year buddy...
  7. UPDATE: Using Ban Control IP Wildcards, I was able to kinda get a solution: https://docs.whmcs.com/Security/Ban_Control
  8. cdeese8

    Terminating inactive accounts from WHMCS

    Perhaps this module can help you get a step closer to automation: https://marketplace.whmcs.com/product/3322
  9. cdeese8

    WHMCS Will Not Create Website

    Maybe you should consider using Softaculous to create your desired results. They have a solid WHMCS Auto Install Module hook.
  10. Are you using the default template? You could just "copy / paste" the HTML codeblock for the tiles (look for <div class="tiles clearfix">). One more thing to consider, is, maybe use the conditional smarty code {if $loggedin} to display the HTML tiles. If I understand you correctly, you just want to display the 4 tiles on all pages for logged in users? These links should help you: 1.) https://docs.whmcs.com/Client_Area_Sidebars_Cheatsheet 2.) https://github.com/WHMCS/templates-six 3.) https://github.com/WHMCS/templates-six/blob/master/clientareahome.tpl 4.) https://whmcs.community/topic/190113-introduction-to-whmcs-smarty-debugging-display-if-customer-or-admin-are-logged-in/ Hope something in my response was helpful
  11. cdeese8

    Stop ticket mail to master account

    You might be able to get results by creating an email rule inside cPanel webmail. So for example, you can just "delete" or "discard" email with specific conditions. This is more of a duck-tape approach but maybe it'll fix your solution? * https://documentation.cpanel.net/display/CKB/How+to+Create+a+Spam+Email+Filter * https://documentation.cpanel.net/display/CKB/How+to+Configure+Mail+Filters What if you just goto the Admin Area page /configadmins.php and just uncheck box in Assigned Departments? Hmm...
  12. questions: 1.) Do you know of a better way to avoid even IP banning? 2.) How do I add an action or input selector to admin page supporttickets.php that'll Ban IP Sender & Delete? 3.) Is this something a hook should be used for or is an addon module better? Here are the current available options: https://i.imgur.com/rl6Me9P.png Here is what I imagine the end-result to look: https://i.imgur.com/kE1dRmh.png The spam subjects are so crafty, these bots use keywords that are "non-targetable" like "Ivan, Grobock, Masil and Ressel Ukraine". That means adding a spam control that target's "Subject" won't work. Thanks for time notes: * hope community has existing solution * avoid enabling google captcha service. * avoid creating Support Ticket Spam Control subjects or phrases on https://whmcs.demo/admin/configticketspamcontrol.php * avoid having to pay for third party to develop addon misc: * WHMCS 7.4 using stock admin template * https://docs.whmcs.com/Security/Ban_Control * https://developers.whmcs.com/api-reference/addbannedip/ * $_ADMINLANG['support']['blockanddelete'] = "Block Sender & Delete"; * https://whmcs.demo/admin/configbannedips.php * <form method="post" action="/whmcs/configbannedips.php"> * supporttickets.php file (place where i want to add ban ip input form option) * configbannedips.php file (place where ban ip option is located)
  13. cdeese8

    Email History Homepage Panel

    tyvm for the detailed, and helpful hooks brian! :)
  14. cdeese8

    Email History Homepage Panel

    Hey @brian! - if it's not too much trouble, could you please share how I would update / tweak your above code to wrap the email history date in an HTML <span class=""XYZ"> tag? Is something like that easily doable without much effort? https://forums.whmcs.com/showthread.php?127034-home-page-panel-add-array-title-and-target-to-href https://developers.whmcs.com/hooks/hook-index/ http://docs.whmcs.com/Working_With_Client_Area_Home_Page_Panels https://developers.whmcs.com/hooks-reference/client-area-interface/#clientareahomepagepanels Could we take some of the code from clientareahome.tpl and recycle it into the "extra" part of the php snippet? {if $item->getChildrenAttribute('class')} {if $childItem->getClass()} {$childItem->getClass()}{/if}
  15. cdeese8

    Email History Homepage Panel

    Well look at what we have here.... another top quality share by none other than the legendary brian! thanks dude! always nice to be able to learn from your code... thank you very much. :)
×

Important Information

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