many ways this can be done…
In this case, we have hooked into the sp hook ‘sph_AfterDisplayStart’ in order to display a message… so in the functions.php file of our wp theme, we tied into that hook and output the message.
But that was because as we launched and tried to output that message, we found a bug in the sp code. We wanted to output that code by simply writing the text on the wp page the forum appears on. That is really the easiest way to do it. But we had a bug that was preventing the text on the wp page from showing up, so we went the hook route. The bug has since been fixed and the code committed to 5.0…
Another way you could do it would be to simply put in in your them spHead.php file…
And there are multiple other sp hooks that could be used besides the one we did use to do very similar… notice the hook we used is after display start… that means after the main forum container has been output… you could do ‘sph_BeforeDisplayStart’ to output before the sp main container… Or for the end of display, there is ‘sph_BeforeDisplayEnd’ and ‘sph_AfterDisplayEnd’.
These hooks (meaning all the new ones in 5.0) are incredibly powerful and allow you to customize wildly (just ask Lee)… Of course, we need to get started on our documentation of all these hooks so you dont have to search for them… With the alpha winding down, that process will begin. And yes, we will be looking for volunteers to help (did you hear that Lee?). 