gr0uch0mars
Forum Replies Created
-
Excuse me, it’s not solved for me.
Every date now displays as “01/01/1970″. I updated everything and tried either [types field=”my-date”] or PHP’s types_render_field(“my-date”, $parameters). Neither of those methods makes difference.
The date is correctly “timestamped” inside the database, and ON THE EDIT FORM it appears correctly!, but when I visit the site, the date is “reset” to 01/01/1970…
The issue still exists. I sent you a copy of my DB.
WordPress: 3.5.1
Theme: BuddyPress Default
Plugins:- BuddyPress (1.7 beta 2)
- BuddyPress Multilingual (1.4.2)
- Posts 2 Posts: (1.5.1)
- Types (1.2)
- WPML Multilingual CMS (2.7.1)
- WPML String Translation (1.6.1)
The case: I want to store people and company names in a Custom Type, and to add a Conditional field depending if it is a people (then, “birth date”), or a company (no birth, but “begin date”). But when I edit the translation, the conditional field does NOT appear…
Main steps to reproduce the issue:
- I have a English+Spanish website
- I created a Custom Type (“People”) and Custom Taxonomies (“People category”)
- Populated “People category” taxonomy with: “Person” or “Company”.
- I translated Type and Taxonomy with WPML String translation. Do appear correctly.
- I created a Custom date Field (“Birth date”): Post type = “People” + Terms = “Person”.
- I created a Custom date Field (“Begin date”): Post type = “Company” + Terms = “Company”.
- In English admin language, I populated some “People” (of each category). The conditional Custom Fields appear correctly.
- When I edit the translation (the Spanish one), the corresponding translated taxonomy (“People category”) appears checked correctly, but the Conditional Custom Field (“Birth date” or “Begin date”) does NOT appear.
It’s like the condition refers to the English language. Although the UI displays the translation, as that post does not have an English taxonomy, the condition does not apply…
I hope you can replicate this issue with these steps.
Thank you, mbigul.
For our information: The plugin stores the dates in the db as timestamps (“-491875200”), so the problem must be in returning the value with the correct format (“01/06/1954”).
I have this problem too. Sometimes it doesn’t save some dates: when I try “06/01/1954”, it works. When I try “01/06/1954”, it displays “-491875200”. Why?
WordPress: 3.5.1
Theme: BuddyPress Default
Plugins:- BuddyPress
- BuddyPress Multilingual
- Posts 2 Posts
- WPML Multilingual CMS
OS: Mac OS X 10.8.2
PHP: 5.3.15Forum: Plugins
In reply to: [Polylang] Compatibility between bbPress and PolylangHi, do you have any fix for translating topics and replies?
The only way I can make it to work is deactivating PolyLang “Topics” and “Replies” from the settings panel.