Jump to content

itdungpt

Member
  • Content Count

    22
  • Joined

  • Last visited

Community Reputation

0 Neutral

About itdungpt

  • Rank
    Member
  1. I wat session uid of whmcs display at orther my source My code test.php index.tpl file But session uid whmcs on test.php do not work Please help me fix test.php
  2. I wat session uid of whmcs display at orther my source My code test.php index.tpl file But session uid whmcs on test.php do not work Please help me fix test.php
  3. When do check domain at http://www.domain.com/cart.php?gid=id ---> all domain will log to whoislog table ---> slow check domain How to disable log on WHMCS?
  4. hello everybody, i want rewrite http://demo.whmcs.com/cart.php?a=confproduct&i=0 to http://demo.whmcs.com/cart-confproduct-i-0.html or http://demo.whmcs.com/cart.php?a=confproduct&i=1 to http://demo.whmcs.com/cart-confproduct-i-2.html i want rewrite for cart of whmcs please help me !
  5. hello, how to use date variables for knowledgebase article?
  6. how to have rating votes 5 star via an article knowledgebase
  7. it only fix utf-8 url for Knowledgebase do not fix utf-8 url for: Knowledgebase?tags=keyword Knowledgebase?search= and announcements
  8. how to create rich snipet rating votes star fo knowledgebase article?
  9. because then replace it will fix utf-8 urlseofriendly knowledbase and announcements article can you help me hook this
  10. hello how to includes this functions to /whmcs/includes/functions.php function getModRewriteFriendlyString($str) { $str = preg_replace("/(à|á|ạ|ả|ã|â|ầ|ấ|ậ|ẩ|ẫ|ă|ằ|ắ|ặ|ẳ|ẵ)/", 'a', $str); $str = preg_replace("/(è|é|ẹ|ẻ|ẽ|ê|ề|ế|ệ|ể|ễ)/", 'e', $str); $str = preg_replace("/(ì|í|ị|ỉ|ĩ)/", 'i', $str); $str = preg_replace("/(ò|ó|ọ|ỏ|õ|ô|ồ|ố|ộ|ổ|ỗ|ơ|ờ|ớ|ợ|ở|ỡ)/", 'o', $str); $str = preg_replace("/(ù|ú|ụ|ủ|ũ|ư|ừ|ứ|ự|ử|ữ)/", 'u', $str); $str = preg_replace("/(ỳ|ý|ỵ|ỷ|ỹ)/", 'y', $str); $str = preg_replace("/(đ)/", 'd', $str); $str = preg_replace("/(À|Á|Ạ|Ả|Ã|Â|Ầ|Ấ|Ậ|Ẩ|Ẫ|Ă|Ằ|Ắ|Ặ|Ẳ|Ẵ)/", 'A', $str); $str = preg_replace("/(È|É|Ẹ|Ẻ|Ẽ|Ê|Ề|Ế|Ệ|Ể|Ễ)/", 'E', $str); $str = preg_replace("/(Ì|Í|Ị|Ỉ|Ĩ)/", 'I', $str); $str = preg_replace("/(Ò|Ó|Ọ|Ỏ|Õ|Ô|Ồ|Ố|Ộ|Ổ|Ỗ|Ơ|Ờ|Ớ|Ợ|Ở|Ỡ)/", 'O', $str); $str = preg_replace("/(Ù|Ú|Ụ|Ủ|Ũ|Ư|Ừ|Ứ|Ự|Ử|Ữ)/", 'U', $str); $str = preg_replace("/(Ỳ|Ý|Ỵ|Ỷ|Ỹ)/", 'Y', $str); $str = preg_replace("/(Đ)/", 'D', $str); $str = preg_replace("/( )/", '-', $str); $str = preg_replace("/(')/", '',$str); $str = preg_replace("/(,)/", '',$str); $str = str_replace("?", '',$str); $str = str_replace("®", '',$str); $str = str_replace("%",'',$str); $str = str_replace("/",'-',$str); $str = str_replace(":",'-',$str); $str = str_replace(";",'-',$str); $str = str_replace(" ", "-", str_replace("&*#39;","",$str)); $str = str_replace("+",'',$str); $str = str_replace(".",'-',$str); $str = preg_replace("/(A)/", 'a', $str); $str = preg_replace("/(B)/", 'b', $str); $str = preg_replace("/(C)/", 'c', $str); $str = preg_replace("/(D)/", 'd', $str); $str = preg_replace("/(E)/", 'e', $str); $str = preg_replace("/(F)/", 'f', $str); $str = preg_replace("/(G)/", 'g', $str); $str = preg_replace("/(H)/", 'h', $str); $str = preg_replace("/(I)/", 'i', $str); $str = preg_replace("/(J)/", 'j', $str); $str = preg_replace("/(K)/", 'k', $str); $str = preg_replace("/(L)/", 'l', $str); $str = preg_replace("/(M)/", 'm', $str); $str = preg_replace("/(N)/", 'n', $str); $str = preg_replace("/(O)/", 'o', $str); $str = preg_replace("/(P)/", 'p', $str); $str = preg_replace("/(Q)/", 'q', $str); $str = preg_replace("/(R)/", 'r', $str); $str = preg_replace("/(S)/", 's', $str); $str = preg_replace("/(T)/", 't', $str); $str = preg_replace("/(U)/", 'u', $str); $str = preg_replace("/(V)/", 'v', $str); $str = preg_replace("/(W)/", 'w', $str); $str = preg_replace("/(X)/", 'x', $str); $str = preg_replace("/(Y)/", 'y', $str); $str = preg_replace("/(Z)/", 'z', $str); return $str; }
  11. RewriteRule ^{$variables}\.php$ /cart.php?gid=$1 [L] can make an {$variables} for anything ?
  12. i want rewrite to domain.com/groupname and domain/productname can you tell me rewrite rules for htaccess?
×
×
  • 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