• Thanks for this awesome plugin.
    I want to add a new feature, I was thinking is it possible or not.
    I want to hide the “Download Book” button for unregistered users.
    Is it possible?
    Only registered users will see the download link.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author mooberrydreams

    (@mooberrydreams)

    Sorry, that is not something built into the plugin. You’d have to add that as custom code.

    Thread Starter corvusmile

    (@corvusmile)

    Can you give me any suggestion on that?
    Just a few hints.
    Then, I’ll figure out all the things later by myself.
    I’ll be glad to share my work with you after completion.

    Plugin Author mooberrydreams

    (@mooberrydreams)

    I had to go back and look at the code. If I were to do this, I would use the mbdb_shortcode_downloadlinks filter to check if the user was logged in. If yes, return what the filter originally passed in. If no, return a blank string. That’s where I would start.

    Do this in a child theme or a separate plugin so that you don’t lose your changes when you update.

    Thread Starter corvusmile

    (@corvusmile)

    That’ll be very helpful. ??

    Thread Starter corvusmile

    (@corvusmile)

    One more thing.
    Is there any way to show the full list of Editor & Cover Artists? (Like we see the list of books.)
    & is there any way to enlist the Publishers as like as Editors? So that we can find the books of individual publishers under their link as we can find Editors’.

    Plugin Author mooberrydreams

    (@mooberrydreams)

    Not at this time, no. It’d have to be custom code.

    For Editor and Cover Artists, they are taxonomies so you could start by looking up wordpress’s taxonomy functions.

    Publishers are completely custom added and would take more work.

    Maybe these are features that could be added in a future update, but as of now, they aren’t built into the plugin.

    Plugin Author mooberrydreams

    (@mooberrydreams)

    Re: Publishers

    I just remembered you can select and group grids by publishers. So while it’s not a link you can click on from the book, you can create a book grid that either:
    a) lists all the books grouped by publisher
    OR
    b) list all the books by a single publisher

    Sorry I forgot about this feature earlier…. there are so many parts to this plugin sometimes I forgot what’s available! ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Download Link’ is closed to new replies.