Skip to:
Content
Pages
Categories
Search
Top
Bottom

Numbering in tab itself eg: Review(2)

  • When i view a group… if i have 2 members, the tab for navigation says “members(2)”… similarly, how can we get the review tab also to say… “review(4)”… assuming there are 4 reviews in there.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Avatar of 4ella
    4ella
    Participant

    @4ella

    It is called “tab” Count , as far as I have noticed all or most of all excellent products from Boone doesn’t have TAB “counts” , (Docs , Review plugin) , Boone said he added Tab Count in Docs second day after my request , but I have never see it working even after 4th upgrade, even without all my changes (I have overwritten , uninstalled and reinstalled plugin ) I second this REVIEW TAB count would be very very useful too .

    Avatar of Boone Gorges
    Boone Gorges
    Keymaster

    @boonebgorges

    @4ella As I noted both in a message to you, and in the commit message, and in the documentation, the Doc count in BuddyPress Docs will only work on BP 1.3.

    I’ll see what I can do about applying a similar fix to Group Reviews, though it’s likely that that’ll be a 1.3-only fix as well.

    Avatar of 4ella
    4ella
    Participant

    @4ella

    ahh ok , sorry , I have never noticed that message -:( , so I’m looking forward for BP 1.3.

    Avatar of 4ella
    4ella
    Participant

    @4ella

    @boonebgorges
    Hello Boone, please don’t forget to think about adding Tab(count) also for your review plugin in BP version 1.5 , review plugin is very nice plugin and with reviews count it will be much more better.

    Heya, if you dont mind editing the plugin files, you can replace with the code below. add < to the spans.
    File : bp-group-reviews/includes/classes.php
    Line 10 – replace: $this->name = __( ‘Reviews’, ‘bpgr’ );
    with: $this->count = isset( $bp->groups->current_group->rating_number ) ? $bp->groups->current_group->rating_number : ’0′;
    $this->name = ‘Reviews span’.$this->count.’/span’;

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

You must be logged in to reply to this topic.