Message to remind user which forum they are entering

Modifications for phpBB3.
Try the Mods here and share Your own Mods
Forum rules
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support

Message to remind user which forum they are entering

Post by Martin_K »

Most of our site users enter via active topics or new posts searches so don't get to familiar with the layout which you see in Board Index. I'd like to run a message for certain forums at least, if not all, to produce a pop up, so when they click on a post to have a message pop up briefly to say 'welcome to xxx forum,' in yyy category' (or subforum xxx in forum y) on entry into the topic they navigate to, operating off the topic links listed in forum searches.

This might lead to a greater understanding of the forum structure (ie where to post for new posts), for those who rarely if ever visit Board Index.

Happy to have a simple jquery javascript pop up if necessary.

Any ideas on how to do this?

This might make a great mod one day. :D

Message to remind user which forum they are entering

Post by Martin_K »

I've found a simple way to do this, for the one topic that needs a special message, in viewtopic_body to add at the top:

Code: Select all

<!-- IF FORUM_ID eq 6 and S_REGISTERED_USER and not S_IS_BOT -->
<div class="forum notice-top blue">
Message
</div>
<!-- ENDIF -->
with CSS to create a simple coloured box right below the header.

Otherwise Extend Breadcrumbs Mod does a good job at showing the user where they are (and what they are doing).