I am looking for a way to restrict users from viewing the "Code" section in posts after X number of views per month. For example, is there a way to limit users (unless they pay to upgrade) to viewing only 10 code sections on all pages they view? Sort of like implementing a paywall (like nytimes or wall street journal), but only for the "code" section of the posts. This would have to work for both unregistered and registered users. However, if they are the creator of the thread or the post, they can view all code blocks within that thread with no restrictions (to encourage posting threads and to not penalize the original posters).