Show Sidebar Log in
Commons In A Box Logo
  • Home
  • About
    • Project Team
    • Logos and Graphics
  • Showcase
    • CBOX Classic Showcase
    • CBOX OpenLab Showcase
  • Demo
  • Get Started
  • Documentation
    • Technical Guide
    • CBOX Classic Guide
    • CBOX OpenLab Guide
  • Support Forums
    • CBOX Classic
    • CBOX OpenLab
    • Developers Forum
  • News

Group Admins

  • Profile picture of Scott Voth

CBOX Classic Support

Public Group active 4 months ago

This group provides support for Commons In A Box Classic, our original software for community-building. Register for an account or log in to commonsinabox.org, then join the group and post your question here.

Displaying More than 20 groups on homepage

  • This topic has 3 replies, 2 voices, and was last updated 10 years, 11 months ago by Steve O’Connor.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • June 7, 2014 at 11:45 am #4787
    Steve O’Connor
    Participant

    I am using the default CBox theme on my site ccss5.com. I would like to display all groups on the homepage, but it will only display 20. I went to the the widget and toggled it to display 25 groups, but it still only shows 20. I cleared my cache to see if that cleared it up, but it still displays only 20 groups. Do I need to edit code? If so, where?

    Thanks!

    June 7, 2014 at 1:12 pm #4788
    Steve O’Connor
    Participant

    I found it: wp-content/plugins/buddypress/bp-groups/bp-groups-template.php

    Replaced instances of  ‘per_page”    => 20,

    with 25

    June 7, 2014 at 6:10 pm #4789
    Ray
    Keymaster

    Hi @steveoc,

    The fix you listed is not the correct way of addressing the problem. The problem lies in the group widget code.

    I’ve just added a fix into BuddyPress:
    https://buddypress.trac.wordpress.org/changeset/8480

    You should use this solution instead.

    June 7, 2014 at 6:39 pm #4791
    Steve O’Connor
    Participant

    Thanks. Not afraid to hack a little code but haven’t had the time to fully understand WordPress framework. Teaching & making OER lessons consumes my life. I am so grateful for people like you helping me out.

    I restored wp-content/plugins/buddypress/bp-groups/bp-groups-template.php to original state and applied the suggested changes. It works as desired.

    Thanks once again!

    • This reply was modified 10 years, 11 months ago by Steve O'Connor.
  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Log In
Group logo of CBOX Classic Support
  • Home
  • Forum
  • Announcements
  • Docs
  • Members 287
  • Send Invites

Groups

Newest | Active | Popular | Alphabetical
  • Group logo of CBOX Classic Support
    CBOX Classic Support
    287 members
  • Group logo of CBOX Pioneers
    CBOX Pioneers
    71 members
  • Group logo of CBOX Developers
    CBOX Developers
    40 members
  • Group logo of CBOX OpenLab Support
    CBOX OpenLab Support
    22 members
  • Group logo of CBOX-OL Testing Partners
    CBOX-OL Testing Partners
    12 members

CBOX has its roots in the CUNY Academic Commons, which in turn was made possible through funding from The City University of New York itself.

CUNY Logo

CUNY Academic Commons Logo

City Tech logo

The Commons In A Box was made possible through the generous support of the Alfred P. Sloan Foundation.

Alfred P. Sloan Foundation Logo

NEH Logo

The CUNY Graduate Center has directly contributed to the CUNY Academic Commons, housing the project since its inception, and has contributed to CBOX through its GC Digital Initiatives.

CUNY Graduate Center Logo

CUNY Graduate Center Digital Initiatives Logo

Powered by Commons In A Box
css.php
Skip to toolbar
  • About WordPress
    • WordPress.org
    • Documentation
    • Learn WordPress
    • Support
    • Feedback
  • Log In
  • Register