WordPress.org

Support

Support » Plugins and Hacks » Auto Attachments » [Resolved] Show attachments to custom post types

[Resolved] Show attachments to custom post types

  • Hi Serkan,

    Awesome plug-in! Does it work (or can it be enhanced to work) with custom post types? In my case, I want to organize meetings using an events calendar and have meeting materials as attachments to the meeting event… but the event is a CPT and doesn’t show the attachments (I’m using Timely All-In-One calendar but I suspect this could be the same for any CPT).

    It sounds simple but can you do it?

    Thanks!

    PS. It might be worth allowing the user to configure which CPTs get auto attachments because other plugins (like the project management plugins out there) already have a way of displaying attachments. Most plugins do not, hence the need for your excellent Auto Attachments btw.

    http://wordpress.org/extend/plugins/auto-attachments/

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Serkan Algur

    @kaisercrazy

    Hi Ardibee,

    I think i can add support for CPT if needed. Also (if possible & if i can’t get your post type name, id etc.) you can add support from options panel for your custom CPT

    I think i need a week for this.

    Plugin Author Serkan Algur

    @kaisercrazy

    Ardibee,

    I checked Auto Attachments with on a site with custom post types and Events Manager Plugin (post_type=event). I will check with Timely plugin but if you use 0.7.1 there is no problem with CPT (i will debug code and search for any errors again and again)

    Thanks for picking this up, Serkan. So… You actually see the attachments at the bottom of a Timely All-In-One event?

    I will have to go back and check my version/ set up tonight… From memory it was v1.9.3 downloaded from their site (strangely they give me nag messages for upgrades not in the WP repository… Maybe I should roll back a version or two…). I’m running WP 3.5.1 in multisite and it was a recurring event – maybe that’s the issue. I was hoping / thinking the attachments would just show up under the event if I added a docx or xlsx from the ‘add media’ feature while entering or editing the post.

    More news and maybe a screenshot tonight…

    Cheers,
    Roger.

    Plugin Author Serkan Algur

    @kaisercrazy

    Roger,

    When i try plugin of Timely (from time.ly repo) there are problems in the calendar plugin. First of all, when i try v1.9.4 of plugin, i get “You do not have sufficient permissions to access this page.” in settings page.

    When i try “Lite” version (v1.9 – they said there is no support with this version) from WordPress Repo i can upload and show my attachments without any problem. Here is the screenshot (i tried on wpfunc.com) http://prntscr.com/uz3a5

    I think the problem in calendar plugin. Not in auto attachments.

    Yes, I get that permission error too – you can download the upgrade from the Timely website (which strikes me as odd, I must say). With the updated version I don’t see the attachments. I’d love to find out why because the pro version with a front-end events editing form would be ideal for a site I’m building… IF I can include the attachments.

    Could you try with the timely download and see what’s up? I’d happily submit a bug-fix request to timely if we can find out the problem.

    Thanks again,
    Roger.

    Plugin Author Serkan Algur

    @kaisercrazy

    Roger,

    When i try 1.9.4 on localhost, i get no error and there is no problem about attachments. Here is the screenshot. http://prntscr.com/uza6w I can see attachment and i can download it from event deail page.

    Did you use any child template? Maybe your template has a problem.

    Hmmm – only BuddyPress on my main site. I’ll have an experiment tonight and / or tomorrow and report back. Thanks for looking into this Serkan.

    OK. Research well under way and Serkan – you were right, the auto attachments plug in works like a charm. Even with the Timely All-In-One calendar.

    Looking back, I suspect that I abandoned all science and changed several things at once and drew the wrong conclusion. (I was experimenting with attaching one document in the media library to more than one post. It doesn’t seem to work, which puzzles me – something to do with attachments being a post type and posts only being allowed to have one parent.) Timely also does some strange things with modified occurrences of recurring events… but that’s another story.

    Thanks again Serkan – this is an excellent plug-in. I’ll be making some more (better researched) suggestions as I use it more and more.

    Cheers,
    Roger.

    Plugin Author Serkan Algur

    @kaisercrazy

    If you get any better experiment about your half-solved problem let me hear about this. Maybe we can any changes on plugin or view area etc.

    Research completed, problem solved thanks – the auto attachment plugin works as designed. I’ve made some fine tuning suggestions under a separate post.

    Plugin Author Serkan Algur

    @kaisercrazy

    ok then 🙂 i replied your other support thread

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘[Resolved] Show attachments to custom post types’ is closed to new replies.
Skip to toolbar