Jump to content

Tamer Fahmy

Member
  • Posts

    5
  • Joined

  • Last visited

About Tamer Fahmy

Tamer Fahmy's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. Hello, When using Custom Field Drop down menu, how to select make one of the selection as default ( Not First Selection ) for example Selection option is ( 2017,2019,2022 ) I need to make 2019 as the default selection Regards
  2. Hello, I'm looking for Regular Expression Validation String for a custom field used as SSH Port for example i need the user to select a number between ( 2000 and 9999 ) or default port 22 How to validate this with the Regular Expression Validation String I tried to use \d*^[2-9]\d{3}|22 but it is not working Any advise Regards
  3. Hello Every one, While we was developing our WHMCS portal, we was need to make it very fast. normally we enable gzip compression for all of our websites, but in WHMCS there is no tools for this. after some search we found that we can do it by adding the following code to the .htaccess after the tag <IFModule mod_rewrite.c> # Compress HTML, CSS, JavaScript, Text, XML and fonts AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE application/rss+xml AddOutputFilterByType DEFLATE application/vnd.ms-fontobject AddOutputFilterByType DEFLATE application/x-font AddOutputFilterByType DEFLATE application/x-font-opentype AddOutputFilterByType DEFLATE application/x-font-otf AddOutputFilterByType DEFLATE application/x-font-truetype AddOutputFilterByType DEFLATE application/x-font-ttf AddOutputFilterByType DEFLATE application/x-javascript AddOutputFilterByType DEFLATE application/xhtml+xml AddOutputFilterByType DEFLATE application/xml AddOutputFilterByType DEFLATE font/opentype AddOutputFilterByType DEFLATE font/otf AddOutputFilterByType DEFLATE font/ttf AddOutputFilterByType DEFLATE image/svg+xml AddOutputFilterByType DEFLATE image/x-icon AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/javascript AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/xml # Remove browser bugs (only needed for really old browsers) BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4\.0[678] no-gzip BrowserMatch \bMSIE !no-gzip !gzip-only-text/html Header append Vary User-Agent This was great for all the portal pages and links .... except the Home page !!!😨 this really very strange case for us can any one give us any suggestion Regards
  4. Hello, We have just upgrade our WHMCS from 6.xx to 7.1 We was using the old whois servers file for adding our domain ltd who is servers, after search in the WHMCS documentation , we found it is totally change the way for Whois servers we used the steps in the link http://docs.whmcs.com/WHOIS_Servers but the problem that it is not working when we add the file ( whois.json ), it is only work when we add the code to the file ( dist.whois.json ) dose any one have any news about this Regards
  5. I have the same problem, It is not working when we use it in a new file ( whois.json ) , it is only work when we put it in ( dist.whois.json ), I know that it is important to use a separate file to avoid lose data with each update , but this is what happen
×
×
  • Create New...

Important Information

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