Skip to:

New plugin: Auto Add Favorites

Viewing 11 replies - 1 through 11 (of 11 total)
  • Gee, that is brilliant. Thank you.

    Just one little problem. When I’m logged in as admin, and activate the plugin in an account other than mine, it’s checked and looks like it’s ready to go. However, when I log back in as the member, it’s not checked and of course not activated.

    Log back in as admin, and it’s checked and looks like it’s ready to go.

    Actually, when logged in as admin it looks like for all existing accounts the plugin is checked active as default. From the member accounts, it’s not.

    As admin, I’d like to go through and activate this for my members but it is not possible. Only the member can activate this plugin.

    What’s required to enable admin to activate this plugin in member profiles?

    So what is happening is only the account holder can activate this feature in their profile.

    Would it be possible to make it so that Key Master and Administrator can activate this feature in members profiles?

    Seems like a pretty cool plug in. Thanks!

    Olaf Lederer


    Hi, Thanks for your comments.

    yes you’re right the plugin is made to update the current user (only)

    I will check if this would be possible to do for other users to (keymaster only) … on the other site I’m asking me if this is really needed or do you update the setting for xxx users?

    Olaf, what’s happening is if the keymaster has it activated in their profile, it will appear prechecked in a members profile but not actually activated. If the plugin is inactive in the keymasters profile, then it is unchecked in the members profile irrespective if the member has activated it or not.

    The behavior from an administrators point of view is quite strange.

    I believe the best solution is for the option to be active when an account is created rather than manually activated.

    Also, if I post on an existing thread, I get an email telling me that I have posted. That could be considered unnecessary.

    Olaf Lederer


    Hi Edwin,

    you’re right I need to fix that with the profile ID.

    the information mail you about your own post is done by the “Post Notification” plugin (there is no check against the current user).

    Olaf Lederer


    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 '
    <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%">
    <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.' />

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

    The update works perfectly.

    One other feature about this plugin that needs to be highlighted is right below the post creation box, appears the prechecked option of auto favoriting the topic. This gives the member the option to opt-out of favoriting the topic.

    This is another fantastic feature of this plugin.

    What would be better is if could be automatically activated when a new account is created. Currently, the only way to activate it is manually.

    Is this possible?

    Olaf Lederer


    the last needs some more code during the registration process…

    I think this feature is needed to makes this plugin complete :D

    Olaf Lederer


    OK this feature is added, check my forum for further information (link behind my name to the left)

    Nice :) i am now use it

    works great

Viewing 11 replies - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.
Skip to toolbar