WordPress.org

Forums

BuddyPress Groupblog
Group default view to group blog ? (3 posts)

  1. jefftavernier
    Member
    Posted 2 years ago #

    hi !

    I'm trying to set the default view to group blog, I don't wan't that member see the activity stream when they click on a group. Is it possible to you ?

    Thanks for answer !

    http://wordpress.org/extend/plugins/bp-groupblog/

    [Please do not create multiple threads on the same question - your other duplicate threads have been deleted.]

  2. msmithwisedu
    Member
    Posted 2 years ago #

    jefftavernier,
    Yes. in yourr wp-content/plugins folder create a file called bp-custom.php

    <?php
    // hacks and mods will go here
     define( 'BP_GROUPS_DEFAULT_EXTENSION', 'blog' );
    ?>

    Put that line of code in there. The downside is that if you have a group with no blog, you will get a 404 error. My PHP is not very good so if anyone know a way to check for the existence of blog and then default to activity or something if one doesn't exist, that'd be awesome.

  3. jefftavernier
    Member
    Posted 2 years ago #

    Thanks but doesn't work for me ! It just put me the line code top of my home page. Some idea ? Thank you very much !

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • BuddyPress Groupblog
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.