Thanks for the info -
No php errors, but I did notice forum pages were loading slower. I'll keep testing and figure out how to best handle that.
Thanks again!
Thanks for the info -
No php errors, but I did notice forum pages were loading slower. I'll keep testing and figure out how to best handle that.
Thanks again!
if all you are trying to do is determine if on forum view or topic view, I would suggest using sp_is_forumview() and sp_is_topicview()...
Tried and those don't seem to work, I guess that it's that the object is not created.
They are the best way to check for the current page view however. Using those wrapped around your code might prevent unnecessary data object loading.
yeah, sorry, should have been more specific in my response indicating to ADD those to what you had so you only do it on the right page as Andy indicates..