Support » Plugin: Fancier Author Box by ThematoSoup » Multisite: How to reset plugin default setting from on to off

  • Resolved GazL

    (@gazl)


    Hi Slobodan, Great plugin. I’m going to install it on a WordPress Multisite and I would prefer the users to opt-in to having the Fancier Author box appear on their post, rather than the default option which is to automatically appear. (i.e. The option in the user’s profile would be checked, set to “off” by default). This way if a user wants to use it, they will have to activate it from their profile settings.

    Is it possible at admin site level to change the default setting for this plugin?

    Regards, Garry

    http://wordpress.org/extend/plugins/fancier-author-box/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Slobodan Manic

    (@slobodanmanic)

    Hi and thanks!

    Unfortunately, there is no option for this, but you could make it work by editing some PHP code. You would however lose your updates every time you upgrade the plugin to latest version. If you’re OK with that, let me know and I’ll send you details on how to do it.

    Thread Starter GazL

    (@gazl)

    Hi Slobodan,thanks for the speedy reply.

    I’m aware the code will get over-written when I update the plugin. I’ll just re-apply the changes after the upgrade.

    Please send me details so I can edit the php code.

    Regards, Garry

    Plugin Author Slobodan Manic

    (@slobodanmanic)

    Garry,

    Great. There’s a few ways to do it, but I think the most straightforward one would be to do this:

    1. In /includes/ts-fab-user-settings.php, line 25 change the text that says ‘Do not show Fancier Author Box in your posts, pages and custom posts’ to ‘Show Fancier Author Box in your posts, pages and custom posts’, so users don’t get confused by that functionality since we’ll invert it.
    2. In /ts-fab.php, in line 152, remove the first ! (exclamation mark), the one before get_user_meta( $authordata->ID, ‘ts_fab_user_hide’, false ).

    Honestly, I haven’t tested it, but this should change the checkbox option to “check to show” instead of “check to hide” and then display the author box only if the checkbox is checked. The edits should be easy enough to make, but if you need more assistance please let me know.

    Thread Starter GazL

    (@gazl)

    Hi Slobodan,
    I’ve made the changes as instructed and it works as expected.

    It would be nice to see this option available in a future release but this php fix has done the job.

    Thanks again, Garry

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Multisite: How to reset plugin default setting from on to off’ is closed to new replies.