1. REGISTRATION REQUIREMENTS:

    Register with your xenforo.com Username then 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

Discussion in 'Showcase Resolved Bug Reports' started by rwprivette, Feb 25, 2013.

  1. rwprivette

    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 :/
     
  2. Bob

    Bob Developer Staff Member

    This is fixed... completely forgot to add in the check for the opt out on the alert model.
     
    rwprivette likes this.
  3. Bob

    Bob Developer Staff Member

    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;
     

    Attached Files:

    rwprivette likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.