Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)

  • lautering
    Participant

    @lautering

    @af3 — what do you mean? I’m having the same issue with the button not appearing on /wp-admin.php, but the only instructions say to use <?php do_action(‘fbc_display_login_button’) ?>.

    Bizarrely, the button will occasionally show up when someone logs out, but I can’t get it to appear with any regularity. Using that code in a template works just fine, but not on /wp-admin.php.

    How did you fix it with fbconnect.init in the footer?


    lautering
    Participant

    @lautering

    I don’t have this exact issue, but did have a problem when it came to creating a sticky topic in the forums with basic rules and a note about how to report trolls, etc. I was trying to do it through a “Administrative” group where people could see the members and forum posts, but not be able to join and contribute on their own. The idea was that it was a staff group who could be messaged individually if there were site problems, and who could create forum topics or notes without others being able to do the same.

    Basically, the only way you can ensure that people see content from a group is to leave it wide open. It would be nice to have an option in between like you suggest — read, but not write. A group where the content is public but joining is invite-only.

    I would love to know if there’s a solution, but don’t really expect to see one in the core any time soon.


    lautering
    Participant

    @lautering

    In beta or RC? I’m using beta, and the permalinks on the activity stream take you to the topic thread, but not to an individual post. Within the threads themselves, there are no hyperlinks (unless I’ve messed up some code somewhere and deleted them).

    What I’m looking for is a permalink as it exists on these forums — like where the # links to under each individual post.


    lautering
    Participant

    @lautering

    Sorry I just keep replying to myself. After I typed it out, I saw what I had been missing for the hours that I looked at it. Adding my solution for others who may be trying to do something similar.

    I’ll probably clean up how this is implemented later, but in home.php, edit ‘index.php’ to read something like ‘custom.php’. Then, create custom.php with whatever HTML you want, then upload it to your sever. You can include the template the same way as always, by calling the header/footer and using the proper divs. Then, in settings, select “Blog Posts” to display on the home page. Now your homepage should render using whatever code you dumped into custom.php.


    lautering
    Participant

    @lautering

    Just to add more detail: this is what renders the activity stream on the homepage. Commenting out the small amount of code in home.php doesn’t seem to do anything. Commenting this out in functions.php seems to break things.

    Is there a way to either eliminate the option to set what appears on your homepage, thus giving you complete control over what appears there (and maybe building/adding a special “Activity” page to replace it), or to amend this function in some way that let’s you call modify how it renders?

    function bp_dtheme_show_on_frontpage() {
    $settings = get_option( 'bp_dtheme_options' );

    if ( empty( $settings['show_on_frontpage'] ) || 'blog' == $settings['show_on_frontpage'] )
    return 'blog';

    return 'activity';
    }

    I completely understand the easy-to-use, out-of-the-box logic behind the setting for what appears on your homepage, and it’s certainly Facebook-like, but I’m using the default template to build out a full site that needs to have a unique hompeage with other content elements. The activity stream is a small part of it, and I’d like to have it there in some way, but certainly not as prominent as it is now.

    This is the code that’s in home.php (all of it):

    <?php
    /***
    * Should we show the blog on the front page, or the activity stream?
    * This is set in wp-admin > Appearance > Theme Options
    */

    if ( 'blog' == bp_dtheme_show_on_frontpage() )
    locate_template( array( 'index.php' ), true );
    else
    locate_template( array( 'activity/index.php' ), true );
    ?>

    The comment obviously notes the intention of activity stream OR blog, but what about ‘neither’? I’m going to work on this later, but one idea I have is to try to add a third option of “custom”, which would pull something like “custom.php”. Sound right? Something else?

    Thanks in advance!

Viewing 5 replies - 1 through 5 (of 5 total)
Skip to toolbar