Jump to content

Search the Community

Showing results for tags 'merge fields'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


WHMCS.Community

  • The Latest WHMCS Release
    • WHMCS 8.13 Release Discussion Board
  • WHMCS.Community
    • Community Announcements
    • Introduce Yourself
    • MarketConnect Partner Product Status Updates
  • Using WHMCS
    • Pre-Sales Questions
    • Admin & Configuration Questions
    • Installation, Upgrade, and Import Support
    • Using WHMCS
    • Troubleshooting Issues
    • Vendor Discussions
  • WHMCS Showcase
    • Showcase Your Site
    • Share Your Best Practices & Tips
  • Developing & Extending WHMCS
    • Third Party Add-ons
    • Service Offers & Requests
    • Developer Corner
    • Building Modules
    • Share Ideas for WHMCS Modules
  • Community Competitions
    • News, Announcements & Blogs from WHMCS
    • Competitions
  • General Discussions
    • General Discussion
  • General Feedback & Assistance
    • Feedback
    • WHMCS.Community Tips & Tricks
  • Third Party Developers's Topics
  • Turkish International Discussions's Topics
  • Russian International Discussions's Topics
  • Spanish International Discussions's Topics
  • Portuguese International Discussions's Topics
  • French International Discussions's Topics
  • Italian International Discussions's Topics
  • German International Discussions's Topics
  • WHMCS Brasil's Topics
  • WHMCS Brasil's Tópicos
  • ModulesGarden Club's Topics
  • Hungarian International Discussions's Segítség
  • ThemeMetro's Topics
  • WHMCS Services Club's Topics
  • WHMCS Global Services Club's Topics
  • Katamaze's Free Scripts
  • Katamaze's Module Support
  • Zomex Club's Topics
  • 0100Dev Club's Topics
  • RactStudio Club's Topics

WHMCS Version

  • V8.13.x Hotfixes
  • V8.12.x Hotfixes
  • V8.11.x Hotfixes

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me

Found 3 results

  1. When a customer enters a support ticket, they are asked to choose a "Related Service" so, for example, if they are having a problem with one particular hosting account, they can choose that hosting account from a drop down of all of their products & services. However, when the ticket is sent to us via email, it does not contain that related service in the email. When I view all the Available Merge Fields, "Related Service" is not one of them. Is there a merge field for Related Service? I saw $ticket_relatedservice mentioned in some forum thread, but that just shows up empty (even if a related service is selected in the ticket). Thanks! - Scott
  2. Can anyone help improve this so it works? if (!defined("WHMCS")) die("This file cannot be accessed directly"); function add_admin_name_email($merge_fields) { $table = "tbltickets"; $fields = "id,admin"; $where = array("id"=>$userid); $result = select_query($table,$fields,$where); $data = mysql_fetch_array($result); $id = $data['id']; $name = $data['admin']; $messagename = 'Support Ticket Reply'; $relid = '9'; $merge_fields = array(); $merge_fields['admin_name'] = $name; return $merge_fields; } add_hook("EmailPreSend",$relid,"add_admin_name_email");
  3. Hi I wanted to have a common header theme across all the email generated but wanted to use the {emailsubject} field in the header. When I added the custom global header in the settings section and send an email the subject {emailsubject} is blank. Do merge fields only work in the email template and not the header or footers? Strangely in the Global Footer section I have a merge field {signature} in use which does seem to work. When I put {emailsubject} in the body (I.e in the template) it works. I got the field name by doing a {dump} of all the fields because the documentation on this isn't great to say the least. I wanted custom global headers and footers to avoid the painful exercise of changing _all_ the email templates. Plus the more I can keep to the standard out of the box, makes upgrading versions easier. Any ideas people?? Regards Ian
×
×
  • 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