Requiring Comments to be Moderated

11. April 2010

Comments must now be approved - too much spam!

Looked into spam blocking a little, but don't want to spend alot of time on this...

Definitely a weakness for BlogEngine.NET...

BlogEngine.NET ,

Session State setting in BlogEngine.NET

13. March 2010

After a long investigation why a Captcha image wasn't being generated, I discovered that BlogEngine.NET has the session state disabled in web.config.  I am generating a Captcha image via a webpage and storing the text string in a session variable.  I chose to turn the session state back on as this is acceptible for my needs.

Search in web.config for:

enableSessionState="false"

and change it to

enableSessionState="true"

 

BlogEngine.NET , ,

Restricting access to certain Blogs

27. February 2010

I wanted to restrict access to certain blogs on this website. 

Note: This is not a SECURE solution! - it just limits the blogs to certain users which have the allowed role for a particular category of blogs.

Used the PostSecurity extension solution developed by LavaBlast
http://blog.lavablast.com/post/2008/08/BlogEnginenet-Post-Security.aspx
and further refined by
http://www.bookofkai.com/post/2008/09/20/Well-that-didnt-take-long.aspx
which hides some of the traces of the restricted blogs and allows the Administrator to view everything.

Had to rebuild blog core and website and upload to hosted site.

I am using Sql Server backend - so to add a role to a restrict access to a Category had to go into the SQL Table be_Role.  Add a new role
by typing in role name in the table.  The role id is automatically created.

Then go into the PostSecurity Extension and add the Category and Role.

Then go to users and add the Role to the desired users.

Worked pretty well.

BlogEngine.NET ,

I'm using BlogEngine.NET

17. February 2010

I'm blogging with BlogEngine.NET 1.6 which is an open source blogging tool: http://www.dotnetblogengine.net/.   I chose BlogEngine.NET for the .NET framework and C# coding.  Tried DotNetNuke, but that was much more complicated.   I am using a SQL Server backend to store the blog information. 

BlogEngine.NET , ,

TinyMCE settings in BlogEngine.NET

17. February 2010

Had problem loading SWF files onto blog in Tiny MCE Editor.  Turned out you had to add "media" to the settings in admin/tinyMCE.ascx.

BlogEngine.NET ,