OK this is weird... I turned on Template Names in HTML comments (vbulletin options -> general settings) so I could see what template was being used...
I put the code into search_resultlists without the <if> conditions and it still wasn't being displayed.
Turning on the template names it revealed that when there are no new posts VB uses the "Standard Error" template not the search_resultlists template... So if you happened to have no new posts it's a different template... That code should still work if there are undread posts though... can you confirm this?
My VB4 install is just a private/test install so I can't link it, sorry.
|