All Topics - Master Forums / Global Topics

All Topics - Master Forums / Global Topics

DRE

Well-known member
For those who maybe confused on how to add the 3rd option, but with only 1 master forum... ie... Are not sure what to replace or remove

PHP:
        if (isset($conditions['sticky']))
        {
          //All topic manual edit by BOP5
          if ($conditions['forum_id'] == 43 AND $conditions['sticky'] == 1)
            $sqlConditions[] = '(thread.sticky = 1 AND thread.node_id = 43)';
          else
              $sqlConditions[] = 'thread.sticky = ' . ($conditions['sticky'] ? 1 : 0);
        }
Number 43 (both of them), replace with your own thread ID number
 
NOTE: This will add 3 DB Queries

Without I had 14
With I had 17

This is expected considering how this works
 
Back
Top Bottom