ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Mo-Moproblems with the MoBlog - Part 2

January 15, 2011 2:01am

Subscribe [4]
  • #16 / Jan 19, 2011 10:05am

    Sue Crocker

    26054 posts

    Thanks for the detailed troubleshooting. We got your login details, and will also try to replicate this locally. We’ll be looking at your issue sometime today, thanks for you patience.

  • #17 / Jan 19, 2011 11:54am

    Sue Crocker

    26054 posts

    Was able to test on one of my EE2.1.3 installs, and can replicate the problem you’re having. As you saw, manually changing the value to None fixes the issue.

    I added a note to this bug report: https://support.ellislab.com/bugs/detail/14868/ asking if your scenario is also fixed. Thanks in advance for your patience.

  • #18 / Jan 19, 2011 12:31pm

    Robfletcher

    149 posts

    ok, I’m glad I could be of some assistance.

    So, for now, I should keep watching the bug tracker.

    Can i submit the value “none” into that field via a php form until the problem is fixed?

    I also noticed that all of the columns of a “field_ft_##” type have NULL values in them if the submission comes from the moblog.

  • #19 / Jan 20, 2011 4:33am

    Ingmar

    29245 posts

    Can i submit the value “none” into that field via a php form until the problem is fixed?

    It’s certainly a workaround worth trying, yes.

    I also noticed that all of the columns of a “field_ft_##” type have NULL values in them if the submission comes from the moblog.

    That seems to be the same, issue, yes. Thanks.

  • #20 / Feb 08, 2011 8:29pm

    Robfletcher

    149 posts

    EMAIL TEMPLATE:

    {field:AdDescription}A PHP Variable goes here with the content of my description - all text only.{/field:AdDescription}
    
    {field:AdMoBlogImage}//filedir_4\\FILENAME{/field:AdMoBlogImage}

    [ I have a seperate script that uploads the file and then returns the name of the file back to my script. the name of the image is place in a input type text box called AdMoBlogImage. ]

    My title gets placed in the subject.

    MOBLOG TEMPLATE:

    {field name="title" format="xhtml"}
    {text}
    {/field}
    
    {field name="AdDescription" format="none"}
    {text}
    {/field}
    
    {field name="AdMoBlogImage" format="none"}
    {text}
    {/field}

    —-
    —-
    I think i am doing this right but when i submit an entry through the form I get the following input in EE2.
    [ EE2.1.3, PHP 5, Windows Server ]

    In the AdDescription field:

    {field:AdDescription}Hey it actually works{/field:AdDescription}
    
    {field:AdMoBlogImage}//filedir_4\\adness-28201170933.jpg{/field:AdMoBlogImage}
    
    {field:AdDescription}Hey it actually works{/field:AdDescription}
    
    {field:AdMoBlogImage}//filedir_4\\adness-28201170933.jpg{/field:AdMoBlogImage}
    
    [/END OF ADDESCRIPTION]

    //////////////

    AdmoblogImage field shows:

    {field:AdDescription}Hey it actually works{/field:AdDescription}
    
    {field:AdMoBlogImage}//filedir_4\\adness-28201170933.jpg{/field:AdMoBlogImage}

    /////////////

    My Moblog settings:

    default field - Ad Description
    status - open
    author - admin
    sticky - no
    allow overrides - yes
    upload directory - none (because my php script handles this already).
    moblog template - see above.

    and then i have my email information, everything works with that.

    I guess I am confused.

    I want the ad description to go in the ad description field and the admoblogimage name of the file to go in the admoblogimage field.

    Am I still doing something wrong here? I plan to master the moblog eventually, someday!

    // \\ - I inserted these so it wouldnt output the location of your files on your server.

  • #21 / Feb 09, 2011 10:01am

    Sue Crocker

    26054 posts

    Hi, CDPRfletcher.

    EE2.1.4 beta fixed the problem with the null issues, and if I remember correctly, fixed your problem as well. Have you tried downloading the beta and testing locally?

  • #22 / Feb 09, 2011 12:27pm

    Robfletcher

    149 posts

    i have not tested the 2.1.4 locally.  I am building a phone app that submits data via email to the moblog. What i posted above is actually not related to the “null” issue.

    The new issue is with the email template and moblog template and getting them to agree. I think I’ve set it up correctly, but it doesn’t work. See my previous post. Sorry if its confusing because of the thread it is in. Should i start a new thread with this new issue?

    I know the workaround for the null value - actually i figured out an even better work around to it. I went into the custom field settings and set it to display the format drop down menu. So, all someone has to do is edit and re-submit that entry to fix the bug with the null format value. I have it default set to “none” format.  Waiting for 2.1.4 so i can turn that option off so someone doesn’t accidentally set it to the wrong format.

    Hope that helps someone out there too.

    But that is not the problem i am posting about this time.

    Its getting the data into the moblog that i have issues with now.

    In the example above, i posted my “email template”, “moblog template”, and the “output”.

    Email template = this is how i am formating the content in my PHP script that sends the email to the email address i’ve configured for our website.

    Moblog Template - this is what i have in EE2 Moblog Preferences.

    Output = This is what I see in my EE CP when i edit the submitted entry that came from the moblog.

    Am i doing something wrong or does my configuration look correct?

  • #23 / Feb 10, 2011 3:13am

    John Henry Donovan

    12339 posts

    CDPRfletcher,

    Email template = this is how i am formating the content in my PHP script that sends the email to the email address i’ve configured for our website.

    Can you test by sending a regular email rather than your PHP script doing it please?

    Do you have any add-ons installed?

  • #24 / Feb 10, 2011 10:04am

    Robfletcher

    149 posts

    I did that already and i got the same result.

    I do have a few add-ons installed.  I can tell you which ones i have installed later today.

  • #25 / Feb 10, 2011 10:12am

    Robfletcher

    149 posts

    Does the php script I submit too, does that script have to be in EE? I think right now i have it as a standalone PHP script.

  • #26 / Feb 10, 2011 12:30pm

    Robfletcher

    149 posts

    I don’t mean to be impatient but I’m finding this to be really slow (i’m getting one email per day response).  Any chance someone can help me with this today? I’m hoping its just some setting in EE. I really appreciate your assistance!

    Here is the list of Add-ons i have installed:

    I have mostly all of the EE 1st party modules installed, plus:

    FBC - Facebook Connect
    Freeform
    LikEE
    Tagger

    Plugins:

    Antenna
    character Limiter
    ImageSizer
    Magpie RSS Parser
    Strip_HTML
    Video Player
    XML Encode

  • #27 / Feb 11, 2011 2:38am

    John Henry Donovan

    12339 posts

    CDPRfletcher,

    We actually answer threads in rotation as per out Support Policy. So bumping your thread will push it to the end of the queue without our knowledge unfortunately.

    Lets reduce the test some more

    In your email template only send this exactly

    {field:AdDescription}No PHP variable here only plain text{/field:AdDescription}

    and in your moblog template only add this and nothing else

    {field name="AdDescription" format="none"}
    {text}
    {/field}

    And for consistency can you confirm the AdDescription field is just a plain regular textarea field

  • #28 / Feb 11, 2011 12:14pm

    Robfletcher

    149 posts

    I tried out example exactly. I copied and pasted from this blog into an email.

    In my AdDescription field, it says:
    {field:AdDescription}No PHP variable here only plain text{/field:AdDescription}

    I’m think its supposed to remove the bracketed tags and just show the text right?  Its not removing the tags from what i send to it. I sent it from Outlook 2003 and also tried Gmail to see if there was a difference. I didn’t see any difference. The input i received in the moblog was exactly the same.

    Yes, i confirmed i am only using Textarea and i’ve set the format type to NONE for both of them.

  • #29 / Feb 11, 2011 2:31pm

    Sue Crocker

    26054 posts

    As I mentioned earlier, you should test this in a local install of EE 2.1.4 beta.

    I used your settings, and was able to get the content to post correctly.

  • #30 / Feb 11, 2011 2:55pm

    Robfletcher

    149 posts

    This is for a website that is scheduled to go live soon so, yes its great if it works in 2.1.4, but since that is a beta version that will not help me really until v2.1.4 is out of beta and i can post that to my live website.

    Sorry i didn’t see your post or understand i should be using a local beta for the tests john is giving me.

    I’m using v2.1.3. 

    Are we saying, just so i understand, that it is impossible to get the moblog to behave correctly in 2.1.3?  IF so then i will use it the way it works now, but instruct our team of the issues of the data when it comes into the system and they will have to manually fix it until v2.1.4 comes out.

    I did some googling and i also set all fields so they aren’t required. I saw some people having issues with that. 

    Please confirm about v2.1.3…

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases