View Full Version : (vB 3.6 Template mod) Enhanced Forum Closed Message


Floris
14th September 2007, 09:40 PM
Style title: Enhanced Forum Closed Message
Style author:
Released: Fri, 14 Sep 2007 16:53:34 GMT


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:

Codedisplayerror: (Update license status (http://members.vbulletin.com/membersupport_priority.php)) You cannot view code until you prove your license status
Add this under:

Codedisplayerror: (Update license status (http://members.vbulletin.com/membersupport_priority.php)) You cannot view code until you prove your license status
You can add or remove your forum id's accordingly to the array (in red above). Also, ensure that your path is correct for register.php

Attached Images http://www.vbulletin.org/forum/images/attach/jpg.gif register.jpg (http://www.vbulletin.org/forum/attachment.php?attachmentid=69809&d=1189788953) (14.7 KB)



Read More! (http://www.vbulletin.org/forum/showthread.php?t=157827&goto=newpost) (licensed customers only) :D