buddycore / surface-theme

WordPress + BuddyPress + BBPress Theme
4 stars 1 forks source link

Sidebar - groups do not work correctly #59

Closed inzerat closed 7 years ago

inzerat commented 7 years ago

On http://www.ont**g.com/lilienhl/ (you know) after login, i do not see in sidebar 16 groups but only 3. These 3 groups have user lilienhl as member.

buddycore commented 7 years ago

Have you modified any files inside of themes/surface/templates/partial/sidebar ?

inzerat commented 7 years ago

`

Groups on T**g

               <div class="widget-tabs">
<ul class="widget-tabs-nav">
    <li><a href="#w1">Active</a></li>
    <li><a href="#w2">New</a></li>
    <li><a href="#w3">Popular</a></li>
</ul>
<div id="w1" class="tabs-panel">
    <ul class="avatars">
    <?php if(bp_has_groups('type=active&per_page=16')) : while(bp_groups()) : bp_the_group(); ?>
        <li><a href="<?php bp_group_permalink(); ?>"><?php bp_group_avatar('type=full&width=250'); ?></a></li>
    <?php endwhile; endif; ?>
    </ul>
</div>
<div id="w2" class="tabs-panel">
    <ul class="avatars">
    <?php if(bp_has_groups('type=newest&per_page=16')) : while(bp_groups()) : bp_the_group(); ?>
        <li><a href="<?php bp_group_permalink(); ?>"><?php bp_group_avatar('type=full&width=250'); ?></a></li>
    <?php endwhile; endif; ?>
    </ul>
</div><!-- PANEL -->
<div id="w3" class="tabs-panel">
    <ul class="avatars">
    <?php if(bp_has_groups('type=popular&per_page=16')) : while(bp_groups()) : bp_the_group(); ?>
        <li><a href="<?php bp_group_permalink(); ?>"><?php bp_group_avatar('type=full&width=250'); ?></a></li>
    <?php endwhile; endif; ?>
    </ul>
</div><!-- PANEL -->

`

inzerat commented 7 years ago

this is in sidebar.php

buddycore commented 7 years ago

Yes I am unsure about this, please try the buddypress.org forums for a solution.

I will leave this open and come back to it if I find one.