2010-04-29, 05:40 AM
Hi,
am using iif function to put some conditional check over the template display.
Well problem is the condition works like a charm for
But when i use these condition
All those variables just return 0, for every forum/thread/posts.
Those variables work fine when i put condition in class_parsher. :s
Than nick suggested me to check with
Well, that checked right for the threads display in forum with fid=219, but failed to work for the posts inside threads of that forum. That may be because am using seo mod as well.
Any suggestion is appreciated as i really need to check that condition for some stuff.
am using iif function to put some conditional check over the template display.
Well problem is the condition works like a charm for
$mybb->user['uid]<=0
But when i use these condition
$mybb->forums['fid']==219
or
$fid==219
or
$forums['fid']==219
All those variables just return 0, for every forum/thread/posts.
Those variables work fine when i put condition in class_parsher. :s
Than nick suggested me to check with
$mybb->input['fid']==219
Well, that checked right for the threads display in forum with fid=219, but failed to work for the posts inside threads of that forum. That may be because am using seo mod as well.
Any suggestion is appreciated as i really need to check that condition for some stuff.