Jump to content

wp4all

Members
  • Content count

    174
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by wp4all

  1. Hi @Remitur, No one will give you an answer and if, the Community Manager of the Board would delete it immediately. It should and will not be shown here, if and how to decrypt encrypted files. There is actually also no reason to ask for it, otherwise there would not be this post at all or ? Greetings Christian
  2. Hi String, You should read your article carefully, it doesn't say anything. This is only a plan that 3 parties have taken, except the Telemedien law Β§10 there is not really, a hardly legal handle outside the jurisdiction and exactly this is also at the top of my post. If you want to enforce the exposition of an online content in Germany, this is usually only possible by a court order. We receive almost daily mails from angry and offended people that we should close customers content without valid evidence. Should we comply with any of these requests, we would be sued by the affected customers for loss of service, financial damages and the like. So if you wanna force a Page take down take money in your hand and go to an lawer. Greetings Christian
  3. Good morning, regarding : Unfortunately, Germany is not perfect here, we are well known for our regulations but especially concerning the Internet we are lagging far behind. Without a court order, Contabo will not block any paying customer, everyone could come and say they have stolen my intellectual property block him now! You can try it over the https://www.dmca.com ( Digital Millennium Copyright Act) we did it in the past and it works fine even in Germany. WHMCS used it also in the past. The take-down list can be found here --> https://github.com/github/dmca we use the data for our Blacklist. Greetings Christian
  4. Hi @sitesme, Maybe in the next release who knows . But you can solve it on the same way as described here : Change Google Just use instead of i.fab.fa-google --> i.fab.fa-facebook-f and replace the Google image with that from Facebook. i.fab.fa-googleο»Ώ { color: rgba(0, 0, 0, 0); } i.fab.fa-google { background: url(../img/25px-Google__G__Logo.png) no-repeat; background-size: 14px 14px; margin-bottom: -3px; margin-right: -3px; margin-left: -20px; } If you have any problems or need help just contact me . Greetings Christian
  5. wp4all

    Nginx friendly urls

    Good morning @dolios, do you have an Screenshot which button you mean ? There are a lot in WHMCS. Greetings Christian
  6. wp4all

    Template = Language

    Yea didn't check the price was just c&p πŸ˜‰
  7. wp4all

    Nginx friendly urls

    Hi @dolios, nice how to for NGINX rewrites: https://www.codesmite.com/article/clean-url-rewrites-using-nginx Have fun Christian
  8. wp4all

    Custom Page Issue

    Hi @Tom Wilson, try : <?php define("CLIENTAREA",true); //define("FORCESSL",true); // Uncomment to force the page to use https:// require("init.php"); $ca = new WHMCS_ClientArea(); $ca->setPageTitle("Legal"); $ca->addToBreadCrumb('index.php','Home'); $ca->addToBreadCrumb('legal.php','Legal'); $ca->initPage(); //$ca->requireLogin(); // Uncomment this line to require a login to access this page # To assign variables to the template system use the following syntax. # These can then be referenced using {$variablename} in the template. $ca->assign('pagetype', custom); $ca->assign('category', legal); # Check login status if ($ca->isLoggedIn()) { # User is logged in - put any code you like here # Here's an example to get the currently logged in clients first name $result = mysql_query("SELECT firstname FROM tblclients WHERE id=".$ca->getUserID()); $data = mysql_fetch_array($result); $clientname = $data[0]; $ca->assign('clientname', $clientname); } else { # User is not logged in } # Define the template filename to be used without the .tpl extension $ca->setTemplate('legal'); $ca->output(); ?> Greetings Christian
  9. wp4all

    Template = Language

    Hi @BunnyBloYT_Hosting Here is a commercial product that probably helps you : https://www.blog.modulesgarden.com/automatic-currency-language-template-setup-whmcs /** * Configure additional settings: * Firstly assign a WHMCS template to each country used. * Use the below pattern (template name for country code) edit it and/or add new entries below: */ $countryToTemplate = array( 'US' => 'six', 'DE' => 'german_six', 'default' => 'six', // NOTE: You can add more below ); Here is another one: Or you find someone who will code you an Hook that change the template corresponding to the {$language} variable. Greetings Christian
  10. Hi @Mahammad, First it would be great to change your language in the template from Turkey to English much easier for us πŸ™‚ Is it possible to send us the link to the Template? It look's like an custom template most of the programmers have an Live Demo so we could get deeper in the code, otherwise it is hard at least for me to understand your problem and to support you here. The standard_cart hast 22 x *.tpl files and most of them can be identified by their names alone. As Brian! said earlier the most orderforms starts on products.tpl . You can post your question also in the Turkey -sektion of this community . Thanks and best regards Christian
  11. wp4all

    Color Changes

    Hi @OMbhh, Is six the template that you use ? Of curse it will only work if you use the right css for the right template πŸ™‚ Have you checked the linked Video --> Inspector Video there you will see which css is to use for your changes. If you hover over the part you wanna change you will get the full path to the css and the Line number. Here it is style.min.css and the Line 91 in the document where you will find the css code. Greetings Christian
  12. Hi Mahammad, welcome here in the community some more information would be needed if you hope for help πŸ˜‰. WHMCS Version PHP Version Template WHMCS own or custom ? Description of your problem or Screenshot would be great. Greetings Christian
  13. Hi @ all, is it possible to change / translate or replace the result of an Data Feed ? Why I'm asking is I would like to use the data feed to show the price on an external Page but I won't show the Prefix. <script language="javascript" src="feeds/productsinfo.php?pid=1&get=price&billingcycle=monthly"></script> In my little stupid world I would use : document.body.innerHTML = document.body.innerHTML.replace(/€/g, ' '); which works already but this affects the entire page. Thanks and best regards Christian
  14. wp4all

    Data Feed & replacement possible ?

    Hi @brian!, I like to descend into your world again and again Sometimes i just think too complicated I have the feeling πŸ™„ Thanks Brian
  15. wp4all

    Color Changes

    Hi, sorry have just seen that the compression was to high here is the video in 1080p Inspector video Greetings Christian
  16. wp4all

    Color Changes

    Hi @vitadome, Àhh no 😏. You need to know how to find it . You can use the inspector of your Browser to identify your section. Here is a short video how to do that : How to use inspector So identify your section make your changes and copy & paste the new CSS in to your custom.css. Greetings Christian
  17. Hi, it is more than one πŸ˜‰ Easy would be just to open the drop-down in the Products tab and just take one and search via google. One which is free and not in the List would be http://centos-webpanel.com so far you using CentOs as OS. Link is here with install Video --> http://wiki.centos-webpanel.com/whmcs-module-for-cwp-api Greetings Christian
  18. wp4all

    Color Changes

    Hi @vitadome, go to whmcs/templates/six/css/custom.css add : section#home-banner { margin: 0; padding: 50px 0 60px; background-color: #8BC34A; color: #fff; } and you will get : the Background in green. Please remember to flush the Browser cache or any other cache to see the result. Greetings Christian
  19. Hi Steven, yes, the alt="" name is not very original, eventually it should be completed with a logo text but at least there is already one πŸ˜‰. $gateways[$key]['name'] = '<img src="'.$logo.'" alt="'.$gateway['sysname'].'Logo">'; But thx Greetings Christian
  20. Hi Brian, you are right 😩 to many hooks on the Testsystem didn't read the error properly. Thanks Christian
  21. Hi, is this Hook still working ? WHMCS Version --> Version: 7.7.1 | php 7.3 Hook: <?php # Cart Gateway Logos Hook # Written by brian! function hook_cart_gateway_logos($vars) { if ($vars['templatefile'] == 'viewcart') { $gateways = $vars['gateways']; foreach($gateways as $key => $gateway) { $logo = "assets/img/logos/".$key.".png"; if(file_exists($logo)) { $gateways[$key]['name'] = '<img src="'.$logo.'" alt="'.$gateway['sysname'].'">'; } } return array("gateways" => $gateways); } } add_hook('ClientAreaPageCart', 1, 'hook_cart_gateway_logos'); ?> Error: Whoops\Exception\ErrorException: Cannot redeclare hook_cart_gateway_logos() (previously declared in /includes/hooks/gateway_logo.php:6) in /httpdocs/includes/hooks/test.php:6 Stack trace: #0 /httpdocs/vendor/whmcs/whmcs-foundation/lib/Utility/Error/Run.php(0): WHMCS\Utility\Error\Run->handleError(1, 'Cannot redeclar...', '/var/www/vhosts...', 6) #1 [internal function]: WHMCS\Utility\Error\Run->handleShutdown() #2 {main} Greetings Christian
  22. Hi, I have seen that under the Six template is now an SSL Check : But we sell all Services with a free SSL Let's Encrypt Cert so all Domains are SSL encrypted If the symbol only indicates to the customer that he has not ordered a certificate for his product, this is quite confusing. It should therefore be possible to hide this symbol. Greetings Christian
  23. Hi, also under curl 7.29 a proper query is possible: [root@vps02 ~]# cat /etc/centos-release CentOS Linux release 7.6.1810 (Core) [root@vps02 ~]# curl --version curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.36 zlib/1.2.7 libidn/1.28 libssh2/1.4.3 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [root@vps02 ~]# curl --insecure -v https://whmcs.com 2>&1 | awk 'BEGIN { cert=0 } /^\* SSL connection/ { cert=1 } /^\*/ { if (cert) print }' * SSL connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 * Server certificate: * subject: CN=*.whmcs.com * start date: Jun 25 00:00:00 2018 GMT * expire date: Jun 25 12:00:00 2019 GMT * common name: *.whmcs.com * issuer: CN=RapidSSL RSA CA 2018,OU=www.digicert.com,O=DigiCert Inc,C=US * Connection #0 to host whmcs.com left intact [root@vps02 ~]# Curl is not mandatory use openssl php comands to pars the URL: openssl-x509 <?php $url = "https://whmcs.com"; $orignal_parse = parse_url($url, PHP_URL_HOST); $get = stream_context_create(array("ssl" => array("capture_peer_cert" => TRUE))); $read = stream_socket_client("ssl://".$orignal_parse.":443", $errno, $errstr, 30, STREAM_CLIENT_CONNECT, $get); $cert = stream_context_get_params($read); $certinfo = openssl_x509_parse($cert['options']['ssl']['peer_certificate']); echo print_r($certinfo); and you get : [root@vps02 ~]# php ssl Array ( [name] => /CN=*.whmcs.com [subject] => Array ( [CN] => *.whmcs.com ) [hash] => 87529681 [issuer] => Array ( [C] => US [O] => DigiCert Inc [OU] => www.digicert.com [CN] => RapidSSL RSA CA 2018 ) [version] => 2 [serialNumber] => 4341417971671710519045517846942791534 [validFrom] => 180625000000Z [validTo] => 190625120000Z [validFrom_time_t] => 1529884800 [validTo_time_t] => 1561464000 [signatureTypeSN] => RSA-SHA256 [signatureTypeLN] => sha256WithRSAEncryption [signatureTypeNID] => 668 [purposes] => Array ( [1] => Array ( [0] => 1 [1] => [2] => sslclient ) [2] => Array ( [0] => 1 [1] => [2] => sslserver ) [3] => Array ( [0] => 1 [1] => [2] => nssslserver ) [4] => Array ( [0] => [1] => [2] => smimesign ) [5] => Array ( [0] => [1] => [2] => smimeencrypt ) [6] => Array ( [0] => [1] => [2] => crlsign ) [7] => Array ( [0] => 1 [1] => 1 [2] => any ) [8] => Array ( [0] => 1 [1] => [2] => ocsphelper ) [9] => Array ( [0] => [1] => [2] => timestampsign ) ) [extensions] => Array ( [authorityKeyIdentifier] => keyid:53:CA:17:59:FC:6B:C0:03:21:2F:1A:AE:E4:AA:A8:1C:82:56:DA:75 [subjectKeyIdentifier] => 69:F7:99:E1:73:D7:23:5B:33:7F:13:EC:38:89:6E:6E:08:A9:FA:58 [subjectAltName] => DNS:*.whmcs.com, DNS:whmcs.com [keyUsage] => Digital Signature, Key Encipherment [extendedKeyUsage] => TLS Web Server Authentication, TLS Web Client Authentication [crlDistributionPoints] => Full Name: URI:http://cdp.rapidssl.com/RapidSSLRSACA2018.crl [certificatePolicies] => Policy: 2.16.840.1.114412.1.2 CPS: https://www.digicert.com/CPS Policy: 2.23.140.1.2.1 [authorityInfoAccess] => OCSP - URI:http://status.rapidssl.com CA Issuers - URI:http://cacerts.rapidssl.com/RapidSSLRSACA2018.crt [basicConstraints] => CA:FALSE [ct_precert_scts] => Signed Certificate Timestamp: Version : v1(0) Log ID : A4:B9:09:90:B4:18:58:14:87:BB:13:A2:CC:67:70:0A: 3C:35:98:04:F9:1B:DF:B8:E3:77:CD:0E:C8:0D:DC:10 Timestamp : Jun 25 14:17:07.633 2018 GMT Extensions: none Signature : ecdsa-with-SHA256 30:45:02:21:00:D7:A8:52:B2:E4:45:A4:97:E0:A2:10: BF:54:AF:42:D5:67:23:B8:52:A0:AC:C6:05:E5:F0:BA: 2A:F4:02:75:F8:02:20:56:F3:B2:D4:DB:39:FF:C1:F8: 33:CC:94:E6:8A:77:F5:5A:CF:44:75:4B:55:AD:E7:5F: FA:CB:37:5E:D5:70:AC Signed Certificate Timestamp: Version : v1(0) Log ID : 87:75:BF:E7:59:7C:F8:8C:43:99:5F:BD:F3:6E:FF:56: 8D:47:56:36:FF:4A:B5:60:C1:B4:EA:FF:5E:A0:83:0F Timestamp : Jun 25 14:17:07.823 2018 GMT Extensions: none Signature : ecdsa-with-SHA256 30:45:02:21:00:C4:B5:D7:D3:10:2D:3E:D6:56:0B:96: 0B:EF:66:A2:45:24:3D:02:00:D5:EB:EB:70:77:68:3C: 4C:E4:4E:8E:B8:02:20:1F:5B:0B:60:DC:48:B2:BD:E0: 59:ED:D1:1C:A9:35:1D:29:91:2C:B5:05:67:BC:49:B9: B2:9C:F6:1E:D6:BC:D1 ) ) 1[root@vps02 ~]# Many roads lead to Rome But this doesn't change the fact that hundreds to thousands of queries may be made in the background for a query that make it superfluous with services like Let's encrypt. Fact is we have this feature only to push the whmcs market . But I guess your main product is WHMCS as Software and not this 10ct profit from selling an ssl certificate. Greetings Christian
  24. Hi @xyzulu, here is an improved version, the problem is that IE & IE Edge have some problems with css pseudo element like content / :: before / :: after . Under IE you should have this picture: You can see that the Google G is behind the font-awesome icon "G " so we change it from content to background image and hide the font-awesome icon with transparent color. i.fab.fa-google { color: rgba(0, 0, 0, 0); } i.fab.fa-google { background: url(../img/25px-Google__G__Logo.png) no-repeat; background-size: 14px 14px; margin-bottom: -3px; margin-right: -3px; margin-left: -20px; } Now it works as well under the IE / Edge Browser: Possible that you need to adapt the margin settings I do not use 100% Six conform Template. Greetings Christian
×

Important Information

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