• REGISTRATION REQUIREMENTS:

    Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Fixed Showcase rate alert preferences Bug

Status
Not open for further replies.

rwprivette

New Member
Showcase
I went into my alert preferences to turn off getting alerts when someone rates my showcase items. But I'm still getting them. I had 81 alerts when I woke up this morning :/
 
For those of you that want to manually patch this, you can either edit the file and replace the "case" below or download the attached zip file and upload it

Edit: /library/NFLJ/Showcase/Model/Alert.php

PHP:
            case 'rate':
                if (XenForo_Model_Alert::userReceivesAlert($item, 'showcase_item', 'rate'))
                {                       
                    XenForo_Model_Alert::alert(
                        $item['user_id'],
                        $user['user_id'],
                        $user['username'],
                        'showcase_item',
                        $mergedData['item_id'],
                        'rate'
                    );
                }   
           
            break;
 

Attachments

Status
Not open for further replies.
Back
Top