Thoughts from Dan Miser RSS 2.0
 Monday, January 17, 2005
Sorry to do this, but the spam was getting to be too much (at least 7-10 per day), so I went ahead and password protected the ability to post comments. It seems pretty unobtrusive to me, but if you have major complaints with it, please let me know, and I'll keep digging for a better solution. I really value the feedback I get here, and I don't want to lose it, but I also have to balance that out with making my life easier by not having to delete a deluge of spam.

For those of you that are interested, I ended up using Miguel Jimenez's approach to solve this. I had some initial problems viewing my blog in a browser after implementing this, but it sounds like my ISP fixed that by adding specific permissions to that DLL. One other note: add the httpHandler section BEFORE the .Text entry where they try to take over verb="*" and path="*", otherwise you will never let the HIP generator get processed.

All in all, I would say that the entire upgrade was rather easy. Now let's see if my spam problem goes away.

Monday, January 17, 2005 9:15:00 AM (Central Standard Time, UTC-06:00)  #    Comments [10] -

Tracked by:
http://9nc-information.info/45366239/tradional-school-of-midwifery-in-michigan.h... [Pingback]
http://9na-information.info/80162883/matahari-tan-products.html [Pingback]
http://9ny-information.info/67340718/caribic-house-jamaica.html [Pingback]
http://9nk-information.info/20733349/index.html [Pingback]
http://9nu-information.info/90904287/index.html [Pingback]
http://9nr-information.info/50546660/index.html [Pingback]
http://9ns-information.info/32818357/index.html [Pingback]
http://9ny-information.info/15915610/mobile-phone-number-reverse-look-up.html [Pingback]
http://9ni-information.info/43756029/brownsburg-sweet-home-chicago.html [Pingback]
http://9nl-information.info/53522691/index.html [Pingback]
http://9na-information.info/22131880/plant-nurseries-in-washington-state.html [Pingback]
http://9nv-information.info/37092366/index.html [Pingback]
http://9od-information.info/42251251/dental-desease.html [Pingback]
http://9qo-information.info/18704294/jpeg-animation.html [Pingback]
http://9ok-information.info/85626302/index.html [Pingback]
http://9qg-information.info/73899030/index.html [Pingback]
http://9ok-information.info/88875281/index.html [Pingback]
http://9ol-information.info/31941446/index.html [Pingback]
http://9on-information.info/13931417/champagne-bottle-wedding-favor-price.html [Pingback]
http://9st-information.info/54195281/index.html [Pingback]
http://9st-information.info/45370851/index.html [Pingback]
http://9rv-information.info/84040435/leann-rimes-karaoke-music.html [Pingback]
http://9ru-information.info/98203867/index.html [Pingback]
http://9rg-information.info/81890627/what-is-the-food-guide-pyramid.html [Pingback]
http://9sq-information.info/52493556/index.html [Pingback]
http://9uafk-le-informazioni.info/46556540/aste-giudiziaria-bergamo.html [Pingback]
http://9uaeb-le-informazioni.info/12105266/olivetti-m20.html [Pingback]
http://9uaem-le-informazioni.info/64812070/index.html [Pingback]
http://9uaem-le-informazioni.info/71437255/index.html [Pingback]
http://9uafh-le-informazioni.info/71697957/index.html [Pingback]
http://9uael-le-informazioni.info/20404854/index.html [Pingback]
http://9uaff-le-informazioni.info/66191908/index.html [Pingback]
http://9uaft-le-informazioni.info/82329315/index.html [Pingback]
http://9uafs-le-informazioni.info/13209225/index.html [Pingback]
http://9uagq-le-informazioni.info/17392486/edson-arantes-do.html [Pingback]
http://9uagp-le-informazioni.info/56994873/index.html [Pingback]
http://9uahm-le-informazioni.info/54879924/montagna-sacra-film-dvd.html [Pingback]
http://9uahm-le-informazioni.info/32474999/index.html [Pingback]
http://9uahg-le-informazioni.info/90738115/saint-seiya-the-hades-ps2.html [Pingback]
http://9uahm-le-informazioni.info/58882282/nuova-comunicazione.html [Pingback]
http://9uahp-le-informazioni.info/00552609/hotel-banchetto-matrimonio-sardegna.h... [Pingback]
Tuesday, January 18, 2005 1:10:00 PM (Central Standard Time, UTC-06:00)
Dan,



How did you add that component below? Is this an updated version of .Text. /Is/ there an updated version?
Tuesday, January 18, 2005 2:02:00 PM (Central Standard Time, UTC-06:00)
AFAIK, there is no real update to .Text. There is the informal update that solves the editpost metaBlog issue that I mentioned earlier, but otherwise, no, there isn't an ongoing effort to update .Text.



As for how I did this, it was pretty simple after grabbing the 1.2 version of the zip file at the page above.



1. Copy the dll to the bin directory of your blog webapp.

2. Go to the proper skins folder that you're using, and replace PostComment.ascx with the one in the zip file (or edit yours to add the extra control)

3. Modify web.config to add the httpHandler (note my comment above about WHERE to do this - it's important!).



That's it. Let me know if it doesn't work after doing these steps.



Dan
Tuesday, January 18, 2005 5:22:00 PM (Central Standard Time, UTC-06:00)
I tried to post a comment, but it hasn't shown up. Is it a caching issue?
John Kaster
Tuesday, January 18, 2005 5:23:00 PM (Central Standard Time, UTC-06:00)
What happens when you post something with a bad password?
John Kaster
Tuesday, January 18, 2005 5:24:00 PM (Central Standard Time, UTC-06:00)
Oh ... not good. You lose your entire comment and can't get it back.
John Kaster
Tuesday, January 18, 2005 5:25:00 PM (Central Standard Time, UTC-06:00)
I think a little more friendliness is in order. ;) Is the password also case sensitive? This is such a pain to type in I don't really want to test it much more.
John Kaster
Tuesday, January 18, 2005 7:13:00 PM (Central Standard Time, UTC-06:00)
I think this is a reasonable solution however I think that it would be nice it if didn't make used of shifted keystrokes like "@" and "!" etc. Lastly, it can be hard to tell if the letter "z" is capital or not. I've posted this comment twice now and the "z" tripped me up the first time.
Wednesday, January 19, 2005 11:17:00 AM (Central Standard Time, UTC-06:00)
I looked into the comments here, and here's what I found:

1. Losing the contents of the text box is a problem Miguel talked about. I thought if I used ValidationMode = PersistMode.ViewState, it would work, but I can't get the syntax correct. Any ideas? (Nick, Steve, I'm looking in your direction!!)



2. The characters that are being used are not flexible in this release. They use private consts, so I don't really know how to stop the special chars from being used unless Miguel exposes the functionality.



If anyone knows of another way to do this, I'm willing to try.
Wednesday, January 19, 2005 5:59:00 PM (Central Standard Time, UTC-06:00)
Got it working on my site. Thanks Dan.
Thursday, January 20, 2005 5:29:00 AM (Central Standard Time, UTC-06:00)
Wanna follow my lead, Dan? Check out my site. Mine's just numbers.
Comments are closed.
Navigation
Archive
<July 2008>
SunMonTueWedThuFriSat
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2008
Dan Miser
Sign In
Statistics
Total Posts: 306
This Year: 21
This Month: 0
This Week: 0
Comments: 604
All Content © 2008, Dan Miser
DasBlog theme 'Business' created by Christoph De Baene (delarou)