WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Issue on profile / image pagination

[Resolved] Issue on profile / image pagination

Viewing 5 replies - 1 through 5 (of 5 total)
  • I’ve partially resolved the issue by reactivating some code in bpa.template.tags.php :

    $this->pag_links = paginate_links( array(
                            'base' => $bp->displayed_user->domain . $bp->album->slug .'/'. $bp->album->pictures_slug .'/%_%',
                            'format' => '%#%',
                            'total' => ceil( (int) $this->total_picture_count / (int) $this->pag_per_page ),
                            'current' => (int) $this->pag_page,
                            'prev_text' => '←',
                            'next_text' => '→',
                            'mid_size' => 1
                    ));

    (this code was in comment).

    After commented out the code, the pagination works again.

    But, still have an issue : previously i got the last added photo on the first position of the first page. Now, i get it at the last position of the last page (reverse order).

    Any idea ?

    have resolved the order issue

    file bpa_classes.php in bp_album_default_query_args()

    change $args[‘ordersort’]=’ASC’; to $args[‘ordersort’]=’DESC’;

    Everything working as before the update.

    Thanks Julie for your fix! I posted about this over in the plugin’s support forum at buddypress.org and haven’t heard back from the developers. You saved me a ton of time from having to find it myself. So far it’s working again!

    🙂

    Thankyou from me too – I was tearing my hair out trying to figure this out, especially as this code has now been removed completely from the latest version (the 1.8.5 preview). How could the developers screw up something so basic?

    Still, at least this plug-in doesn’t endlessly whitescreen me like BP Gallery Plus does.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Issue on profile / image pagination’ is closed to new replies.