fireproofsocks
Forum Replies Created
-
Forum: Plugins
In reply to: [Custom Content Type Manager] Upgrade to 9.7.13 broke custom dropdownsI would guess the problematic characters are the slashes or the parentheses.
Forum: Plugins
In reply to: [Custom Content Type Manager] Upgrade to 9.7.13 broke custom dropdownsUnfortunately the resolution of that image is not clear enough for me to spot any potentially problematic characters.
Forum: Plugins
In reply to: [Custom Content Type Manager] Numeric range search using get_postsIf the GetPostsQuery class is experiencing errors with its filters, then please report a bug. I wrote that class to compensate for the shortcomings and inconsistencies I was experiencing with the various WP database APIs.
Forum: Plugins
In reply to: [Custom Content Type Manager] Summarize Posts Widget image sizeYes, I’ve had trouble getting WP’s built in resizing to work reliably. It’s something I’m working on with the next version. You are free to use any of WP’s image manipulation functions that accept size parameters as arguments.
Forum: Plugins
In reply to: [Custom Content Type Manager] Hide when no relation selectedAnything in your template can be handled however you wish — e.g. wrap the html with an if-statement that tests for a value. That’s simplest solution, but the CCTM does offer some convenience methods for this type of thing. See the output filters, e.g. https://code.google.com/p/wordpress-custom-content-type-manager/wiki/wrapper_OutputFilter
Forum: Plugins
In reply to: [Custom Content Type Manager] Date format shortcodeThanks Samatva.
Forum: Plugins
In reply to: [Custom Content Type Manager] Custom CCT work?Sorry, I didn’t spot this — the forum doesn’t allow for work solicitations, so all inquiries should be directed to the contact form on the site listed on the index.php: http://www.craftsmancoding.com/
Forum: Plugins
In reply to: [Custom Content Type Manager] Truncated text fieldI’ve heard some others say they experienced something similar. Subscribe to the issue listed here: https://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=566
If the filter is problematic, I would disable it for now.
Forum: Plugins
In reply to: [Custom Content Type Manager] content "disabled"I’m not sure I can help any since it sounds like your “provider” changed something and you didn’t have a backup.
If there’s a bug that has to do with the plugin and not with your provider, then please file bugs in the bug-tracker: https://code.google.com/p/wordpress-custom-content-type-manager/issues/list and I can take a look.
Forum: Plugins
In reply to: [Custom Content Type Manager] Custom field to upload audioThe CCTM doesn’t handle uploads directly. Instead, it attempts to integrate with WP’s existing media library — so the idea is that you upload your assets using WP’s media library and when desired, you can define a custom field that references these assets.
I’m not sure what the player looks like, but once you’ve got HTML that works, the task becomes generating the dynamic part of that using PHP. Usually this requires printing out the asset URL. You can do this via get_permalink or any of several similar WP functions, or you can use any of the CCTM’s convenience functions. The task boils down to that: convert a post id (specifically an attachment id). There are many examples in WP’s docs for this and I’ve attempted to include examples of this type of scenario throughout the wiki.
Not dead, just dead tired and have been on vacation.
You’d outlined sorta a classic “story problem” when dealing with navigating your database and its content. The CCTM attempts to provide convenience functions to make this type of thing easier, but it is by no means the only way to do this sort of thing. I would recommend double-checking the post-parent value that the CCTM is providing with a “raw” value from a query result for the post in question.
The other part of this sounds like issues with the URLs — this something I’ve been working on in the upcoming version, but WP’s poor handling of URL routing has made me justifiably insane. It’s possible you are retrieving the correct URL and requesting it correctly, but WP is failing to fulfill the request due to its internal “logic”.
You can adjust the date format on a per-field basis. Just edit the custom field’s settings. This will not, however, change values already stored in the database, it will only affect values as they are saved.
Forum: Plugins
In reply to: [Custom Content Type Manager] WP network multisite support?WP makes testing against multi-site installs extremely difficult due to its port limitations, so support for it has not been tested much. Some of the customizations used for a multi-site setup can be added via the menu config: https://code.google.com/p/wordpress-custom-content-type-manager/wiki/Config_admin_menu but I can’t say for sure if that can be customized to support what you need. Although less efficient, you can export the content type definitions and import them on the subsites.
The error message tries to help you out here: the function is expecting an integer post ID, but instead it’s being passed a string. Adjust the place that’s invoking the to_link_href filter and pass it the relevant post ID instead of whatever it is passing instead.
Forum: Plugins
In reply to: [Custom Content Type Manager] How to set publish / edit capabilities?If you’d like the official docs updated, I’d be happy to include an appropriate example. I admit that any application that required serious enforcement of permissions quickly surpasses what’s sensible with WordPress, so the CCTM has not been tested thoroughly against the WP’s permissions.