Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author vicchi

    (@vicchi)

    Hi Carlotta,

    Thanks for the great feedback! Unfortunately at the moment it’s not possible to exclude certain users from displaying the Biography Box on their posts. I’ll certainly take a look at this for a future version though.

    -Gary

    Vicchi,

    Thanks for an awesome plugin. Just to continue the theme, being able to remove the Author Box for a specific user ID would also be fantastic for me. Would love to see it in a future version.

    Thanks.

    Dave

    Plugin Author vicchi

    (@vicchi)

    Hi Carlotta and Dave,

    You’ll be pleased to know (at least I hope you’ll be pleased) that v2.1 of WP Biographia will have the ability to suppress the display of the Biography Box for individual users on posts, on pages or on both posts and pages. This can be done from a suitably permissioned user’s profile as well as centrally from the plugin’s settings page.

    Actually, the code is already written and running on my local test system and a beta of v2.1 will be up on GitHub later today at http://vicchi.github.com/wp-biographia/.

    The code still needs a little bit of CSS and jQuery tweaking to make it hang together but the functionality is all there and it seems to work with every test case I’ve thrown at it.

    I still need to update the readme and screenshots as well as ensuring that nothing break during the upgrade process but I hope to have the new version ready to release by the end of this week, assuming there’s no hidden gotchas that I haven’t found yet.

    Once the beta of v2.1 is up on GitHub, feel free to download and play with it, as long as you’re happy with living life on the bleeding edge and you’re comfortable with installing plugins manually. If not, then just hold fire for a few days more and v2.1 should be up on the official WordPress plugin repository for automatic update.

    Thanks for your interest, feedback and support; I really appreciate it. A lot.

    -Gary

    Fantastic! Thanks Gary. I think I’ll wait for it to be pushed through to live on WordPress but thanks again for making such a fab plugin.

    Dave

    Plugin Author vicchi

    (@vicchi)

    I’ve just pushed v2.1 of WP Biographia to the WordPress SVN repository. It should be showing up as an update in the Plugins Dashboard page soon.

    Thread Starter Carlotta.

    (@carlotta-1)

    Hi vicchi, thank you a lot 🙂
    I’m trying it on http://starbooks.it/ but when a try to select the users who should not display the Biography Box, appears this message ‘Fatal error: Call to a member function log() on a non-object in /home/starbook/domains/starbooks.it/public_html/wp-content/plugins/wp-biographia/includes/wp-biographia-admin.php on line 694’.
    My problem?

    Hmm, just installed it and I have the same problem as Carlotta –

    Fatal error: Call to a member function log() on a non-object in /homepages/23/d310607419/htdocs/HeyUGuys_V2/wp-content/plugins/wp-biographia/includes/wp-biographia-admin.php on line 694

    D

    Plugin Author vicchi

    (@vicchi)

    Hi Dave and Carlotta,

    Oh, I am a total and utter idiot. I broke my own rule of software deployment and tested and pushed v2.1 from my debug environment and not from my production environment. I hang my head in shame.

    So what happened was that wp-biographia-admin.php had a single line of debugging code left in, which worked fine in my debug environment as the debugging plugin was still installed and active. This plugin is not in my production environment and if I’d tested in this environment I would have spotted this problem.

    So I’ve removed this from the code, re-tested (in the production environment), and pushed v2.1.1 to SVN and it’s up in the repository for download round about now … this should fix the problem.

    I will write myself a plugin release checklist and make sure I stick to it in future. The only saving grace is that this lesson has given me an idea for a blog post on the perils of plugin development. Not that it helps you in wasted time on this; for that I can only apologise and thank you for your patience.

    Gary!

    Thanks so much for doing that change. It works perfectly!

    Now, I promise I’ll leave you alone soon but i’m not in need of moving the author box below the post tags and maybe even below the comments. Is there an easy way to do that?

    Thanks.

    Dave

    Plugin Author vicchi

    (@vicchi)

    In the current way in which the plugin works, WP Biographia appends the Biography Box to the tail (at least by default) of the post content and so it’ll appear whenever the theme’s template calls the the_content() WordPress API function.

    In most templates, the code to output the post tags and the comments appear after the post content has been output.

    It may be possible in a future version of the plugin to change the way in which the plugin outputs the Biography Box, but for now that’d need quite a bit of work. I’m not saying it won’t happen but I’d need to go away and do some homework and see what would need to be done to do this, if indeed it’s even possible.

    Even the wp-biographia short-code isn’t a workaround as that only affects the post content (as far as I know).

    You could edit your theme to call the wp_biographia_display function directly from the theme’s template but it’s a dirty hack and I haven’t even tested whether this is possible or not. My gut feel says it should be, but that’s no substitute for actually testing it out!

    So the short answer to your question is, sadly, no, there’s no easy way.

    On the positive side, I’m glad that v2.1.1 fixed your problem!

    -Gary

    Thanks Gary. Really appreciate the quick, concise and brilliant replies. Our theme uses the Genesis framework and pulls in hooks and various other things. I’m not developer and really struggle to get my head around how all this works but I think for now i’m going to have to revert back to the author box that comes with the framework even though it doesn’t have your great links underneath the boxes.

    I’ll keep updating versions that you bring out for when you get it working (but please dont do it just for me!)

    Thanks again and Happy Christmas!

    Dave

    P.S. If you do freelance / probono work, let me know as I am too thick to work out how to do so many things on WordPress when it needs coding to fix things!! My contact details are on HeyUGuys.co.uk.

    THANKS!

    Plugin Author vicchi

    (@vicchi)

    If you’re able to share the theme I can have a look for you to see how easy (or not) it’d be to do what you want, on the assumption that you’d be happy to have the theme hacked around. Feel free to ping me by email … my contact details are all over at http://www.garygale.com/.

    -Gary

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘[Plugin: WP Biographia] How to hide the bio box from posts by a particular user’ is closed to new replies.