Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

1 Neutral

About SametALMDR

  • Rank

Recent Profile Visitors

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

  1. Hello guys, I am trying to find the database table or related columns of the spotlight tlds since morning. But ı still can't found. Where is this information stored guys?
  2. Thanks @steven99. Also, there is a problem with that link domain.com/index.php?rp=/login . I want to just connect this link to domain.com/signin. I tried many things and options from the admin panel. RewriteRule ^signin$ ./index.php?rp=/login [NC] Is the above rule is correct? @steven99
  3. Hello everyone, I'm trying to redirect domain.com/cart.php?a=add&domain=register url to domain.com/domainregister using .htaccess in the root folder of whmcs. I tried many things but does not work. Any of you know how to do this operation using .htaccess guys ? Please help mee 😞
  4. Hello everyone, As all we know WHMCS provides us some Friendly URL types. But they are all in english format. From : https://baseuri.com/index.php?rp=/knowledgebase To : https://baseuri.com/somebase Under the "RewriteBase / " I tried those things but did not work. RewriteRule ^somebase$ knowledgebase.php [L,NC] (Redirects to knowledgebase) RewriteRule ^somebase$ index.php?rp=/knowledgebase [L,NC] RewriteRule ^(.*)$ index.php?rp=$1[L,NC] Can anybody help me 🙂 Thanks to whoever will answer
  5. I'm so sorry because ı forgot to initialize the page using $ca->initPage() 😄
  6. Hello everyone , I would like to ask a question about variables that came in and out in new version. In previous versions , I could use $clientAlerts variable in every custom page. In the new version, ı can't do it. I check the variables that exist in the page using {debug} in a custom tpl file. But it seems that some of the variables are gone. How can ı access or define the $clientAlerts variables guys or moderators? Can you explain? Thank you before you answering ...
  7. Hello everyone , I've got a question about a hook.I am trying to access the active currency (selected currency by the user) on the OrderProductPricingOverride hook. But ı could not access that variable in any way. How can access the currency which is selected by the user on the OrderProductPricingOverride hook ? Can anybody help me ? @brian! 🙂
  8. I am so sorry for that because you know everything we want and ı saw you as a staff but ı got it now🙂 There is no hook about that right ? I tried to find it but ı couldnt find .
  9. Hello staffs, As we know that to give a server product order we need to fill server information . Like hostname,password,ns1,ns2 .. we want to change these information when we change the quantity of the product that we selected. For example ,we choose a product and changed the quantity as 10 in viewcart.php .So the thing that ı want to do how can we change these 10 product information . Like the first product hostname1 ,second 2 etc. I tried to call a hook which name is (OrderProductPricingOverride) but ı just saw 3 array that holds some information about these things. Can you help me to solve that problem @brian! or another staffs please 🙂
  10. Dear staffs, I have been using the whmcs panel for about 4 years, but I have been encountering a problem for the last 2 months. The private servers I added have been deleted every month and this has started to disturb me. Can you explain why this problem happens? @brian!
  11. Dear All, I tried to send a custom email using PHPMailer but it doesnt work.I run the following codes and the information name surname etc. comes from an form which is in index page. add_hook('ClientAreaPage', 1, function($vars) { $mail = new PHPMailer(true); if(isset($_POST['contact_ex'])){ try { //Server settings $mail->isSMTP(); $mail->Host = 'smtp.gmail.com'; $mail->SMTPAuth = true; $mail->Username = '---'; $mail->Password = '---'; $mail->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS; $mail->Port = 587; $mail->CharSet = 'utf-8'; //Recipients $mail->setFrom($_POST['email'], $_POST['namesurname']); $mail->addAddress('example@hotmail.com', '--'); $mail->addReplyTo($_POST['email'], $_POST['namesurname']); // Content $mail->isHTML(true); $mail->Subject = 'Subject'; $mail->Body = 'Some message'; if($mail->send()){ $res = '<div class="alert alert-success" role="alert"> <h5 class="alert-heading">Well done!</h5> <p class="mb-0">Your contact information has been sended successfully!</p> </div>'; }else{ $res = '<div class="alert alert-danger" role="alert"> <h5 class="alert-heading">Oops!</h5> <p class="mb-0">Something went wrong.Please contact with us with phone!</p> </div>'; } } catch (Exception $e) { $res = '<div class="alert alert-danger" role="alert"> <h5 class="alert-heading">Oops!</h5> <p class="mb-0">Something went wrong.Please contact with us with phone!</p> </div>'; } } }); It gives an error about class is not found how can ı create a PHPMailer object.Can you help me @brian! and all of guys ?
  • 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