Postal Code Format

Dec 3, 2012 at 9:58 PM

Hello Oliver, thank you for providing a wonderful weather module!

I wanted to ask a quesiton regarding postal code format.

I realized that the weather module could recognize DNN user postal code format of 5 digits (i.e. 75082).

However when a user has a 9 digit format in their user profile (i.e. 750824107 or 75082-4107) the module runs into an error.

It seems like I will need to update your code in OliverHine.DNN.Weather.dll (WeatherModule) and utilize substring to fetch only the first 5 digits of get_UserInfo.get_Profile.get_PostalCode.

However I was not sure if I would need to somehow reflect your dll and recompile, or if there is an easier approach for this task.

I hope you understand my short programming knowledge...

Thank you!