Hi All,
I have spent a lot of time investigating on the forums how to get the I.P banning module to work correctly in CS 2007 but still seem to be having problems as it isn't blocking ips correctly. The client has an enterprise licence so as far as I know the ip banning module should work. I could really do with some help on this as the client is getting a lot of trolls on their forum.
The suggestions i came across were:
1) uncomment the module (It is commented out by default).
<!--<add name = "IPBanning" type = "CommunityServer.IPBanning.Components.IPBanningModule, CommunityServer.IPBanning" />--><!--<add name = "IPBanning" type = "CommunityServer.IPBanning.Components.IPBanningModule, CommunityServer.IPBanning" />-->
2) replace dll with hotfix (known issue in cs2007)
http://docs.communityserver.com/errors-and-fixes/ipbanning-module-does-not-work-in-community-server-2007/
I have tried doing the above but it still don't seem to be to block an ip.
After replacing the dll (2) I did experience blank screens sometimes after blocking my ip (so maybe it was trying to do something) but after a few page refereshes i was still able to access the pages.
What i would like to know:
- Can i access the source code for this module in the SDK? - maybe i could write out to the exception log to see what it is doing.
- If i can't access the source code how can i debug the module?
- What does the module do if an I.P is succesfully blocked? - display a mesasge/page to the user?
- How do i fix this issue in CS2007 (without upgrading - this isn't an option to my client currently)
Posts looked at:
http://dev.communityserver.com/forums/p/499586/621418.aspx#621418
http://dev.communityserver.com/forums/p/467497/532184.aspx#532184
http://dev.communityserver.com/forums/p/503697/636264.aspx#636264
http://dev.communityserver.com/forums/p/499804/622571.aspx#622571
http://dev.communityserver.com/forums/p/467497/532184.aspx#532184
Thanks in Advance for the help on this.
Adam