Skip to:
Content
Pages
Categories
Search
Top
Bottom

Members widget

  • @gcs123

    Participant

    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)
  • @burtadsit

    Participant

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

    @gcs123

    Participant

    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?

    @burtadsit

    Participant

    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.

    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

    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!

    @gcs123

    Participant

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Members widget’ is closed to new replies.
Skip to toolbar