posted by caymuc:
Has anyone really TESTED it as a not logged in User?
Actually, I have. Which is how I first discovered that multiple navigation menus were being sent to anonymous users, which was a problem for me since I greatly restrict what is displayed on the menu to unregistered guests. With the modifications
Dave posted, it is working just fine.
You're more than welcome to test it out by visiting my website. The address is:
http://www.terranbbs.com Browse around in the various threads, etc and you'll see that after 10 page views you're automatically directed to the page requesting that you either login or register.
Lisa:I added it to every page with the exception of
newuser.php,
login.php,
ubbthreads.php, and
index.php. That way even if someone has reached their maxiumum, they can still register or login as well as view the website entrance or the main index. If you use a text editor like EditPad Pro (
http://www.editpadpro.com) then it is a simple matter to open all of the files and do a global search/replace. It took me about 5 minutes to add it to all of the files.
Great work
Dave!
