Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: New plugin: Auto Add Favorites


Olaf Lederer
Participant

@finalwebsites

Hi I changed this function:

function auto_add_favorit_profile() {
global $user_id;

if (bb_is_user_logged_in()) {
$checked = "";
$user = bb_get_user($user_id);
if (!empty($user->auto_add_favorit)) {
$checked = ' checked="checked"';
}
echo '
<fieldset>
<legend>Add my threads automatically to my favorites</legend>
<p>Check this option to add all your threads or threads where you have posted something to your favorite list.</p>
<table width="100%">
<tr>
<th width="21%" scope="row">Activate:</th>
<td width="79%">
<input name="edit_auto_add_favorit" id="edit_auto_add_favorit" type="checkbox" value="1"'.$checked.' />
</td>
</tr>
</table>
</fieldset>';
}
}

please replace this function or download the updated version via the link above and tell me if it works (it works for me)

Skip to toolbar