![]() |
Enhanced Forum Closed Message
This may already be out there but I needed to set it up on my site and thought I would share. Even though users can see the title and post count, the message "There are no posts in this forum" is not enough when I want people to register in order to veiw it.
What it does: When you set the permissions of your forum so that guests can view it, but not the content this will add a message that says "Please Register to download files and view content" to the forum(s) of your choice. This is just a quick template solution, I didn't find it necessary to phrase for such a small change. In the FORUMDISPLAY template find: Code:
<if condition="$show['noposts']"><strong>$vbphrase[no_posts_in_this_forum]</strong><else /><strong><phrase 1="$daysprune">$vbphrase[no_posts_last_x_days_forum]</phrase></strong><br /> Code:
<if condition="in_array($GLOBALS[forumid], array(9,41,20))"> |
will this work with 3.8.4?
|
All times are GMT. The time now is 10:31 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|