For sure. The site is in the final stages of development, I’m just trying to perfect the workflow from Unregistered > Purchased Credit > Posted Listing and Expired Credit > Purchased Credit > Posted Listing. Any guidance on best practices for this would be very much appreciated.
I’m using custom SQL queries right now to test for whether or not someone has available credits, but it’s buggy and will probably need some special PHP to get the math right.
http://www.goodjobdc.com/index.php
SAEF Code:
{exp:foxee_classifieds:post_form weblog="jobs"}
<div id="primary">
<h1>Create Your Job Listing</h1>
<fieldset>
<div class="box">
<div class="inside">
<p><label>Position Title <span><strong id="position_count" style="display:none;"></strong> 10 words allowed</span></label> <input type="text" id="position" value="" name="title" class="input word_count" /></p>
<p><label>Job Summary <span><strong id="summary_count" style="display:none;"></strong> 250 words allowed</span></label> <textarea id="summary" name="field_id_1" class="big word_count"></textarea></p>
<p><label>Required Skills <span><strong id="skills_count" style="display:none;"></strong> 150 words allowed</span></label> <textarea id="skills" name="field_id_4" class="word_count"></textarea></p>
<p><label>How to Apply <span><strong id="apply_count" style="display:none;"></strong> 100 words allowed</span></label> <textarea id="apply" name="field_id_6" class="word_count" class="big"></textarea></p>
<p><label class="terms"><input type="checkbox" /> I understand that my listing may be removed if it is for a position that violates our <a href="#">terms of service</a>. If removed, a refund will be issued.)</label></p>
</div>
<div class="bottom"></div>
</div>
</fieldset>
<p><input type="submit" class="submit" value="continue to confirmation »" /></p>
</div>
<div id="secondary">
<h2>Organization Information</h2>
<div class="box">
<div class="inside">
<fieldset>{exp:user:stats}
<p><label>Organization Name</label> <input type="text" value="{company}" name="field_id_7" class="input" /></p>
<p><label>Website</label> <input type="text" value="{url}" name="field_id_11" class="input" /></p>
<p><label>Email Contact</label> <input type="text" value="{email}" name="job_email" class="input" /></p>
<p><label>Phone</label> <input type="text" value="{phone}" name="job_email" class="input" /></p>
<p><label>Location <span>(city, state, zip)</span></label> <input type="text" value="{city}, {state} {zip}" name="field_id_12" class="input" /></p>
<p><label>Organization Description</label> <textarea name="field_id_13">{bio}</textarea></p>
{/exp:user:stats}</fieldset>
</div>
<div class="bottom"></div>
</div>
</div>
<input type="hidden" name="field_ft_1" value="none" />
<input type="hidden" name="field_ft_5" value="none" />
<input type="hidden" name="field_ft_4" value="none" />
<input type="hidden" name="field_ft_6" value="none" />
<input type="hidden" name="field_ft_7" value="none" />
<input type="hidden" name="field_ft_11" value="none" />
<input type="hidden" name="field_ft_12" value="none" />
<input type="hidden" name="field_ft_13" value="none" />
{if no_results}<h3>Please {exp:foxee:addtocart id="3" method="link" cart="checkout" block_foxybox="yes" label="purchase a credit"} before posting a job.</h3>{/if}
{/exp:foxee_classifieds:post_form}
Thanks Michael!
Seamus