Skip to:
Content
Pages
Categories
Search
Top
Bottom

Sorting your activities


  • framp
    Member

    @framp

    Hello everyone,
    I’ve modified a couple of buddypress files trying to implement a sorting capability into buddypress.

    Eventually I made it: http://www.mediafire.com/?gvz4j4d5y23bjwa
    Now I’m able to modify the way in which activities get sorted by setting 2 cookies using javascript on the client.

    $_COOKIE =
    – date_recorded (default, will order the activities by time),
    – favourites (will order the activities by number of favourites),
    – comments (will order the activities by number of comments),
    $_COOKIE = ASC, DESC

    Unfortunately I’m not really experienced with the buddypress codebase and those features may be obtained through better ways.
    By the way, I would like to know if you’re interested in implementing the few lines I’ve modified, in your software.

    I would have sent a patch but I wasn’t able to find an open bug tracker
    Thanks in advance for you attention

    Best regards

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Sorting your activities’ is closed to new replies.
Skip to toolbar