Quote:
Originally Posted by kh99
I'd have to see exactly how the option is defined, but I think you want something like this:
Code:
if ($vbulletin->options['firstpost_only'])
{
// existing code here
}
Of course 'firstpost_only' would be replaced with the actual Varname for your option.
|
In admincp have options for the Product, name is
firstpost_only.
Now in code, how do i do when set to
YES, it will
only check the first post. ==> OK
But if select
NO, it will
check all the replies.<== how to do this