Re: JavaScript Broken – Integration Issue
Looks like a few changes might be needed unless I’m missing something along the way…
This makes the favorites load properly for me.
includes/functions.bb-users.php
line 221
FROM
if ( !empty($user->favorites) ) {
TO
if ( !empty($user->bb_favorites) ) {
includes/class.bb-query
line 442
FROM
$where .= $this->parse_value( 't.topic_id', $f_user->favorites );
TO
$where .= $this->parse_value( 't.topic_id', $f_user->bb_favorites );
line 559
FROM
$where .= $this->parse_value( 'p.topic_id', $f_user->favorites );
TO
$where .= $this->parse_value( 'p.topic_id', $f_user->bb_favorites );
Basically, there are a few other places where $user->favorites
needs to be changed to $user->bb_favorites
.
So, I’ve got it up and working from doing the above. I’ve never needed to commit a change to the trac before. Should I just open a ticket, or can I change it directly?