Skip to:
Content
Pages
Categories
Search
Top
Bottom

Not a big fan of re-posting, but: Linebreaks and Protected profiles

  • @caming

    Participant

    I’ve been able to solve most of my dilemmas with good ol’ fashioned plug-ins and browsing this and the interweb, but there’s two issues that … until I get resolved, I think will cripple us from proceeding (I work for a small nonprofit) w/ bbPress …

    1) Linebreaks – In the ‘About’ section, linebreaks are somewhat necessary for users to discuss their unique story.

    2) Profiles – Since they’ll be sharing somewhat sensitive information about themselves, we would love if this was protected.

    Any help would be greatly appreciated!

Viewing 2 replies - 1 through 2 (of 2 total)
  • @caming

    Participant

    W/ regards to privatizing the profiles, I’m fiddling with the ‘user-details.php’ file in the bbpress twentyten folder, and I’m wondering if a is_user_logged_in will satisfy this need?

    And if it will, I would probably need some slight direction on implementing it …

    Thanks!

    @caming

    Participant

    Holy shit, I got it working with …

    <?php if ( (!is_user_logged_in()) ) { ?>

    You’ll need to be logged in to view view this profile.

    <?php } else { ?>

    NOW I just need the linebreaks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar