Blog Stats

Attention BlogCFC users: I have created a simple stats page. You can see it here. This stats page was created mainly for my own curiosity, but can be downloaded here if you want to install it on your blog. To add security, you add this code block to only allow logged in folks to run the file:

<FONT COLOR=MAROON><cfif not isUserInRole(<FONT COLOR=BLUE>"admin"</FONT>)></FONT>
   <FONT COLOR=MAROON><cfabort></FONT>
<FONT COLOR=MAROON></cfif></FONT>

I’ve left my stats open since, well, I just don’t care. Let me stress that this file is NOT a part of the “real” BlogCFC. The SQL statements in there will only work for SQL Server, and the code was written very quickly, but I wanted to share it with other BlogCFC users.

Raymond Camden's Picture

About Raymond Camden

Raymond is a developer advocate looking for his next gig. He focuses on JavaScript, serverless and enterprise cat demos. If you like this article, please consider visiting my Amazon Wishlist or donating via PayPal to show your support.

Lafayette, LA https://www.raymondcamden.com

Comments