Sidebar banner on Resource manager

Discussion in '[bd] Widget Framework' started by Andy, Apr 17, 2013.

  1. xfrocks

    xfrocks XenForo rocks!
    Staff Member

    So it works correctly but for resource with an associated thread, it applied the rule for thread_view (because $thread variable is found). You can try this:

    PHP:
    empty($thread)
    OR !empty(
    $resource)
    OR 
    $visitor['user_id'] == 0
    Hope this helps.
     
    Andy likes this.
  2. Andy

    Andy Member

    You forgot the condition on the last line
    PHP:
    empty($thread)
    OR !empty(
    $resource)
    OR 
    $visitor['user_id'] ==0
     
  3. xfrocks

    xfrocks XenForo rocks!
    Staff Member

    Edited my reply :D
     
Loading...