1. REGISTRATION REQUIREMENTS:

    Register with your xenforo.com Username then start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Timestamp for posts

Discussion in 'Showcase Support' started by hollosch, Mar 23, 2015.

  1. hollosch

    hollosch New Member AMS Premium UBS Premium

    Hi,
    is it possible to set a timestamp for posts?
    Because i want to "import" posts from a blog, and these posts should be chronical correct...
     
  2. Bob

    Bob Developer Staff Member

    What do you mean by "posts"? Are you asking about COMMENTS? Every "date" field in showcase use standard unix timestamp so if the data stored for your blog is in unix timestamp format, you won't have any problems. If its not, then it will have to be converted to standard unix timestamp. If there is just cronological data with no unix timestamp, then you can set one during import as long as you import oldest to newest.
     
  3. hollosch

    hollosch New Member AMS Premium UBS Premium

    No, the main-showcase-entries!
    I would like to use showcase as an blog-solution.
    I have entries from 2014 and older and want to post them in the showcase with these dates.

    And the "import" is to create manual new content from the blog ;-)
     
  4. Bob

    Bob Developer Staff Member

    Same thing applies. all DATE fields in showcase (and throughout XenForo) are stored as Unix Timestamps, so that won't be an issue for you.

    Have you started on it yet? and are you in a huge hurry? If not, you might want to think about swapping Showcase for AMS (Article Management System). Its much better suited for use as a BLOG. Just want to give you a heads up before you spend a lot of time when a better Addon is very close to being available.
     
  5. hollosch

    hollosch New Member AMS Premium UBS Premium

    How long is "very close" and is this a problem to swap to this new addon without paying both ?
     
  6. hollosch

    hollosch New Member AMS Premium UBS Premium

    I don't see any time-fields to set up...
     
  7. Bob

    Bob Developer Staff Member

    The XenForo Standard is to use an INT (10) field, however, the DATA stored in that field is a UNIX TIMESTAMP.
     
  8. hollosch

    hollosch New Member AMS Premium UBS Premium

    Ok, and where can i find this ?
     
  9. Bob

    Bob Developer Staff Member

    There is no set date. My PLAN (and plans change) is to let SELECT individuals have early access within the next 3-4 weeks (some maybe even sooner). As far as swapping out, not a problem.


    There is no Developer Documentation if that is what you are after. The quickest way that I can think of that you can do is to look at the POST and THREAD tables and you will see that the DATE fields are stored in INT (10) fields. THEN, you look at the DataWriters and can see that DATE related data is being stored as a UNIX TIMESTAMP (which is pretty much an industry standard). You can also do a quick search with your IDE on a specific date field (like create_date) and check out the methods inside the Controllers and Models. Its pretty basic. Mostly just read and set. Template Helpers convert raw UNIX Timestamp values to human readable formatted data (which also converts based on users location (timezone).
     
  10. hollosch

    hollosch New Member AMS Premium UBS Premium

    This sounds good - i am very interested in an early access and test this!
     
  11. hollosch

    hollosch New Member AMS Premium UBS Premium

    Do you think i shouldn't create content in showcase as long as the new addon (AMS) is ready or can this be "imported"
     
  12. Bob

    Bob Developer Staff Member

    Thats up to you. I can't make a promise of a DATE for release of AMS, all I can say is that its close to where I will be releasing to more people (not publicly tho). Also, there is no importer from Showcase to AMS. Have not even got to that point yet and won't unless there is a very large demand for it. If you KNOW what you are doing, you should be able to import from Showcase to AMS manually without much problem.
     
  13. hollosch

    hollosch New Member AMS Premium UBS Premium

    Ok, i understand.
    Is it possible to be one of the "more people", because i'm very interested in AMS!
     
  14. Bob

    Bob Developer Staff Member

    I don't see why not :)
     
    hollosch likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.