Awesome! I have this working under VB 3.5.1.
I did alter it, however. I didn't like the announcement in its own box/table, so instead I edited my style FORUMHOME templates to put the announcement text into the "guest" announcement area, and removed the <if condition="$show['guest']">...</if> so that area always shows. I did not add the $dfh_announcement after $navbar. Instead, I replaced the first_visit_message phrase code with $dfh_announcement_announcementtopaste. Voila! I then used conditionals in the DFHA to control whether my guest message or my registered user message is displayed there.
Fine point: I did actually add a new phrase welcome_to_the_x_dfha and switch between that and welcome_to_the_x depending on whether $show['guest'] is true or false. That way the title of the announcement area changes between guests and registered users. I didn't post the code here because it's different in VB Classic vs Surge, etc. I can post the Classic code if needed.
Now the display is consistent with the current style, takes up less room, and is really configurable. All you do is edit the DFHA announcement text in the condiitional blox.
|