Skip to:
Content
Pages
Categories
Search
Top
Bottom

Members widget

  • Avatar of Gcs123
    gcs123
    Participant

    @gcs123

    Im trying to activate the members widget in the admin panel to appear on my sidebar.

    I am not currently using this widget (or any other widgets) – however whilst I have the option to add all the other widgets to the sidebars, the option to add the “Members” widget is not available?

    Any ideas how I can fix this?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Avatar of Burt Adsit
    Burt Adsit
    Participant

    @burtadsit

    What version of bp? On the root blog or other blogs in wpmu?

    Avatar of Gcs123
    gcs123
    Participant

    @gcs123

    I’m using the latest version of Buddypress, downloaded only a few days ago, I’m using my own theme and was playing about with registering the sidebars, I thought perhaps I might have assigned Members to a sidebar I am no longer using but when I reactivate these sidebars which I am no longer using it says there are no widgets registered to them.

    Is there a way to reset all the widgets so that none are being used? or any other solution?

    Avatar of Burt Adsit
    Burt Adsit
    Participant

    @burtadsit

    It sounds like you still have the widget registered with a phantom side bar. The comments for the function wp_register_sidebar_widget() says that doing the same call without a callback function unregisters the widget.

    Try: wp_register_sidebar_widget( ‘buddypress-members’, __( ‘Members’, ‘buddypress’ ), “”);

    Or: wp_unregister_sidebar_widget(‘buddypress-members’); which says it does the same thing.

    Put that in bp-custom.php. That gets run before anything else in bp. Naturally this is a one time thing.

    Avatar of Thomasc
    Anonymous

    Hello,

    I am having the same problem.

    When adding the wp_register_sidebar_widget( ‘buddypress-members’, __( ‘Members’, ‘buddypress’ ), “”); Or: wp_unregister_sidebar_widget(‘buddypress-members’); I get an

    Call to undefined function wp_unregister_sidebar_widget() error

    bp-custom.php should be under /mu-plugins ?

    Thanks for your help

    Avatar of Thomasc
    Anonymous

    I got it, I changed the following line on the functions.php file of my theme directory

    if ( function_exists(‘register_sidebar’) )

    register_sidebars(2);

    I changed the “2″ and just wrote any number (7 in my case) and I was able to see more sidebars. Members widget was somehow in sidebar 4!

    I deleted it and thats it!

    Hope it helps!

    Avatar of Gcs123
    gcs123
    Participant

    @gcs123

    I tried the second option and it worked a treat! thankyou! :-)

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

You must be logged in to reply to this topic.