Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <forms version="1.7.dev1">
- <form labelPlacement="top_label" useCurrentUserAsAuthor="1" postAuthor="1" postCategory="1" postFormat="0" postStatus="publish">
- <title><![CDATA[Add a review]]></title>
- <description><![CDATA[Please use the form below to add a review to ClikaClinic.com]]></description>
- <confirmation type="message">
- <message><![CDATA[Thanks for submitting your review!
- You can view your review, including your rating, <a href="http://gravity.chrishajer.com/?p={post_id}" title="view your review online">here</a>.]]></message>
- </confirmation>
- <button type="image">
- <text><![CDATA[Submit for moderation]]></text>
- </button>
- <fields>
- <field adminOnly="1" id="5" isRequired="1" size="large" type="email">
- <defaultValue><![CDATA[{user:user_email}]]></defaultValue>
- <label><![CDATA[User Email]]></label>
- </field>
- <field id="4" isRequired="1" size="medium" type="select">
- <label><![CDATA[Review type]]></label>
- <choices>
- <choice>
- <text><![CDATA[-- select a Review Category --]]></text>
- </choice>
- <choice>
- <text><![CDATA[Clinics]]></text>
- </choice>
- <choice>
- <text><![CDATA[Hospitals]]></text>
- </choice>
- <choice>
- <text><![CDATA[Practitioners]]></text>
- </choice>
- <choice>
- <text><![CDATA[Surgeons]]></text>
- </choice>
- </choices>
- <populateTaxonomy><![CDATA[review_categories]]></populateTaxonomy>
- </field>
- <field id="7" isRequired="1" size="medium" type="radio">
- <label><![CDATA[Review Image]]></label>
- <choices>
- <choice isSelected="1">
- <text><![CDATA[Use default]]></text>
- </choice>
- <choice>
- <text><![CDATA[Use image from my computer]]></text>
- </choice>
- </choices>
- </field>
- <field id="6" size="medium" type="post_image">
- <description><![CDATA[Not required for Surgeons or Practitioners.]]></description>
- <label><![CDATA[Clinic/ Hospital Image]]></label>
- <allowedExtensions><![CDATA[jpg, jpeg, png, gif]]></allowedExtensions>
- <postFeaturedImage><![CDATA[1]]></postFeaturedImage>
- <conditionalLogic actionType="show" logicType="all">
- <rules>
- <rule fieldId="7" operator="is">
- <value><![CDATA[Use image from my computer]]></value>
- </rule>
- </rules>
- </conditionalLogic>
- </field>
- <field id="1" isRequired="1" size="large" type="post_title">
- <description><![CDATA[Name of Clinic/ Hospital/ Surgeon/ Practitioner]]></description>
- <errorMessage><![CDATA[Please enter the name of the Clinic/ Hospital/ Surgeon/ Practitioner.]]></errorMessage>
- <label><![CDATA[Name]]></label>
- <saveAsCPT><![CDATA[review]]></saveAsCPT>
- </field>
- <field id="3" isRequired="1" size="small" type="post_custom_field" postCustomFieldName="ghostpool_user_voting" inputType="select">
- <label><![CDATA[Rating]]></label>
- <choices>
- <choice>
- <text><![CDATA[1]]></text>
- </choice>
- <choice>
- <text><![CDATA[2]]></text>
- </choice>
- <choice>
- <text><![CDATA[3]]></text>
- </choice>
- <choice>
- <text><![CDATA[4]]></text>
- </choice>
- <choice>
- <text><![CDATA[5]]></text>
- </choice>
- </choices>
- </field>
- <field id="2" isRequired="1" size="medium" type="post_content">
- <label><![CDATA[Review]]></label>
- <maxLength><![CDATA[200]]></maxLength>
- </field>
- </fields>
- <descriptionPlacement><![CDATA[below]]></descriptionPlacement>
- <requireLogin><![CDATA[1]]></requireLogin>
- <requireLoginMessage><![CDATA[In order to submit a review you must first register as a Clik-a-Clinic user. <a href="http://www.clikaclinic.com/register">Click Here</a> to register now.]]></requireLoginMessage>
- <notification>
- <to><![CDATA[{admin_email}]]></to>
- <subject><![CDATA[New Review In: {Review type:4}]]></subject>
- <message><![CDATA[<p>Hi Clik a Clinic administrator,</p>
- <p>A new review was submitted for moderation on: {date_dmy}</p>
- <p><strong>To moderate this review,</strong> <a href="http://www.clikaclinic.com/wp-admin/edit.php?post_type=review">Click here.</a></p>
- <p> </p>
- <p>Reviewer: {user:display_name} <{User Email:5}></p>
- <p>Status: <strong>PENDING</strong></p>
- <p>______________________</p>
- <p><strong>Review name:</strong> {Name:1}</p>
- <p><strong>Review type:</strong> {Review type:4}</p>
- <p><strong>User Rating:</strong> {Rating:3}</p>
- <p> </p>
- <p><strong>Review:</strong></p>
- <p>{Review:2}</p>
- <p>______________________</p>
- <p>Email sent from: http://www.clikaclinic.com</p>]]></message>
- <from><![CDATA[{admin_email}]]></from>
- <fromName><![CDATA[ClikaClinic.com]]></fromName>
- <disableAutoformat><![CDATA[1]]></disableAutoformat>
- </notification>
- <autoResponder>
- <toField><![CDATA[5]]></toField>
- <fromName><![CDATA[ClikaClinic.com]]></fromName>
- <from><![CDATA[{admin_email}]]></from>
- <subject><![CDATA[About your review]]></subject>
- <message><![CDATA[Hi {user:display_name},
- <strong>Thanks for submitting a review to ClikaClinic.com!</strong>
- We are currently moderating your review and it will appear on the website soon...
- Many thanks,
- <strong>The Clik a Clinic Admin Team</strong>]]></message>
- </autoResponder>
- </form>
- </forms>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement