2 of 2
2
Classified form not honoring spent credits, detecting existing credits
Posted: 02 February 2010 08:44 PM   Ignore ]   [ # 16 ]  
Administrator
Avatar
RankRankRankRank
Total Posts:  1646
Joined  2007-11-23

I am still looking at this…..... I didn’t forget

Signature 

Mike

HCC Development

Profile
 
Posted: 03 February 2010 07:32 AM   Ignore ]   [ # 17 ]  
Newbie
Rank
Total Posts:  30
Joined  2009-02-16

Ok Great. Thanks

Profile
 
Posted: 05 February 2010 12:06 PM   Ignore ]   [ # 18 ]  
Newbie
Rank
Total Posts:  30
Joined  2009-02-16

Any news on this would be really helpful as I have progress meeting with client on Monday morning.

Thanks

Profile
 
Posted: 08 February 2010 02:36 PM   Ignore ]   [ # 19 ]  
Newbie
Rank
Total Posts:  30
Joined  2009-02-16

Any news on this?

Profile
 
Posted: 09 February 2010 11:25 PM   Ignore ]   [ # 20 ]  
Administrator
Avatar
RankRankRankRank
Total Posts:  1646
Joined  2007-11-23

Sorry for the delay, the only thing I can think of is to create a test template that is blank aside from necessary code. I cant duplicate your problem on my test installs and we do not have any other customers with this problem.

If we can isolate what is causing it that would be a first step.

Signature 

Mike

HCC Development

Profile
 
Posted: 10 February 2010 07:23 PM   Ignore ]   [ # 21 ]  
Newbie
Rank
Total Posts:  30
Joined  2009-02-16

No worries. I’ve reduced the template to the code at the bottom of this post, but still seem to get the same error.

What happens is that after one purchase I am returned to the correct template but have to refresh the page manually to be shown the SAEF.

Once the template is refreshed I can enter one form. Having submitted that paid for classified entry I am returned to page like:

http://www.bluebloc.ie/error_03-return.gif

After refreshing that page I am returned to SAEF rather than { if no results}FoxEE Classifieds Purchase Link{ /if}.  It doesn’t seem to detect how many credits I have and shows the entry form regardless.

If I try to submit an entry I get shown the native EE error page with the message: “Your posting limit has been exceeded” and a link to return to the previous page.

On clicking that link you are reurned to the SAEF in the template rather than the { if no results}FoxEE Classifieds Purchase Link{ /if}.

This happens in all browsers / platforms etc. And cache has been cleaned always and I’m using 034.

The code I’m using in the template is:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html >
<
head>
<
meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<
title>Foxee Classifieds test</title>
{exp:foxee:headers include_jquery="yes" fb_height="400" fb_width="800" foxee_site="iaa"}{exp:ajax_redirect:headers}

</head>
<
body>
<
h1>Test4</h1>
<
p>Either the purchase link or the entry form should show up here.</p>
<
hr/>

{exp:foxee_classifieds:post_form weblog="awards2010-entries" entry_id="{segment_3}"}

<p>* Project Title<br />
<
input type="text" name="title" id="title" value="{title}" size="50" maxlength="100"></p>
<
input type="hidden" name="url_title" id='url_title' value="{url_title}" maxlength="75" size="50" />

{custom_fields}
<p>
{if required}{/if}{field_label}<br />{if field_instructions}{field_instructions}<br />{/if}

{if textarea}
<textarea id="{field_name}" name="{field_name}" dir="{text_direction}" cols="50" rows="{rows}">{field_data}</textarea><br />
{/if}

{if textinput}
<input type="text" dir="{text_direction}" id="{field_name}" name="{field_name}" value="{field_data}" maxlength="{maxlength}" size="50"><br />
{/if}

{if pulldown}
<select id="{field_name}" name="{field_name}">
{options}<option value="{option_value}"{selected}>{option_name}</option>{/options}<br />
</
select><br />
{/if}

</p>
{/custom_fields}

<input type="submit" name="submit" value="Submit" />

{if no_results}
{embed
="2010/test4a"}
{
/if}

{
/exp:foxee_classifieds:post_form} 

</body>
</
html

You can view it at http://www.irisharchitectureawards.ie/index.php/2010/test4/ and use the account I PMed you earlier

Thanks

Profile
 
Posted: 18 February 2010 11:22 AM   Ignore ]   [ # 22 ]  
Newbie
Rank
Total Posts:  30
Joined  2009-02-16

Have you had a chance to look at this yet?
Thanks

Profile
 
Posted: 18 February 2010 03:17 PM   Ignore ]   [ # 23 ]  
Administrator
Avatar
RankRankRankRank
Total Posts:  1646
Joined  2007-11-23

Hi,

so we looked at your settings. You do not have your EE member groups set correctly, one none of your groups can post to the weblog, two your new members get set to pending so they cant sign in. Three your product count is set to 0.

The module works fine, you need to go through your settings and make sure that everything is correct.

Signature 

Mike

HCC Development

Profile
 
Posted: 19 February 2010 07:43 AM   Ignore ]   [ # 24 ]  
Newbie
Rank
Total Posts:  30
Joined  2009-02-16

Hi Mike

Thanks for your reply. We will not be allowing public or new members to post “classifieds” only 2 of our exisiting member groups will be allowed to purchase post credits and they do have permission to post to the “classifieds” weblog.

I’ve fixed the product count mistake (my bad. i’ve been trying to get this to work for so long I overlooked changing that setting back to 1) Thanks for pointing it out.

I was able to enter a “classified” entry but when I click submit I am returned to the template and the following success code is contained within a <textarea>:

{"success":"1","resource_message":{"resources_item_success":""},"post_data":{"entry_id":4241}} 

Is this correct? How should I use this code?

Thanks again

Profile
 
Posted: 22 February 2010 11:05 AM   Ignore ]   [ # 25 ]  
Newbie
Rank
Total Posts:  30
Joined  2009-02-16

Here’s an image of the page returned:
http://www.bluebloc.ie/i/example.jpg

Profile
 
Posted: 22 February 2010 11:36 AM   Ignore ]   [ # 26 ]  
Newbie
Rank
Total Posts:  30
Joined  2009-02-16

Also when I have purchased and entered a post successfully and return to the template I am presented with thefollowing error message rather than the {if no_results} content
http://www.bluebloc.ie/i/example2.jpg

I am sure that the member group has the correct priviliges and that the posts to sell in foxee is set to 1 per transaction.

Any ideas on this?
Thanks

Profile
 
   
2 of 2
2
 

Join our Mailing List