Jump to content

iamcorbito

Member
  • Posts

    7
  • Joined

  • Last visited

Everything posted by iamcorbito

  1. Changing the 'welcomemessage' to 'any_random_text' made it work for me. return array('welcomemessage' => $welcomemessage); it seems i cant use it. This thread can be closed. Thank you so much for the help!
  2. The above example is exactly what i need actually. Now im just trying to find out why im getting hooks.php. Error: syntax error, unexpected '}' on my error logs even though i only have the above code.
  3. Thanks man. I will look into Language Overrides. Also can you give an example of this?
  4. Is there a way to add your own full width panel above the client area home page panels? I tried looking at their documentation but i didnt find what I wanted. Or if i could make one of those panels into full width that could work too. Thanks!
  5. Yes, i am able to get the values just fine. here is the result of that var_dump array(2) { [0]=> string(19) "http://ianfette.org" [1]=> string(24) "reyesmarkdaryl@gmail.com" } - - - Updated - - - Yes, i am able to get the values just fine. here is the result of that var_dump array(2) { [0]=> string(19) "http://ianfette.org" [1]=> string(24) "reyesmarkdaryl@gmail.com" }
  6. Hi, Im new to making modules for whmcs so i am having a bit of a hard time getting things to work. Problem: Im having issues sending mails to clients through mail() function when the inputs are parsed from a txt file. $file = file( BSC_ROOT . "/site.txt"); foreach( $file as $line ) { $parsedLine = explode(",", $line); mail( $parsedLine[1] ,"My Subject", $parsedLine[0]); -> this fails to send } mail('myemail@gmail.com',"My Subjec","THIS IS A TEST"); -> this works I am still unsure how to setup or use the phpmailer so i ended up using mail() instead.
×
×
  • 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