Tagged Posts

Last month I came to the conclusion (finally accepted it, I already knew) that Twitter was being run by the devil and I should go ahead and remove as much of the content I've posted there over the past 15 years. Twitter doesn't make it easy to delete your content, unless you choose to deactive your account, so I looked for a way to delete tweets via the API using a third party tool.

 

With the rise of Musk (and the fall of Twitter) an individual might be interested in removing all of their old Tweets, without simply deactivating their account permanently on the platform. In my case I had over 30 thousand tweets in the past 15 years that I felt like I wanted to remove, but I don’t want to give up the account itself.

A few months ago I released V4 of my DNN Development templates, which included a new project template for Themes (skins). This weekend I was working on a new theme (skin) for a customer project and came across a few changes I needed/wanted to make to the Theme project template, so you get to benefit from those changes as I have put a new release out of the project templates.

For years I have maintained a set of Visual Studio project templates that are used by thousands of people to quickly and easily create Modules for the DotNetNuke Content Management System, and for years, I have had people request that I create a project template for creating a DNN Skin (now known as Themes).

This weekend I finally took the time to do just that. With the latest release of my Visual Studio project templates, you can now create a Theme for DNN. When doing so, you will be presented with a basic skin, using Bootstrap v3.1.1, based on my HammerFlex theme for DotNetNuke.

This post will provide you with a basic tutorial for utilizing SignalR with custom DotNetNuke Modules. If you want to bypass the blog post go check out the source on GitHub, you can Fork my Repository. The module created here will be very simple, if you want a full blown module with more features be sure to check out the open source DotNetNuke Module SignalRChat, and see it in action at http://dnnCHAT.com/

SignalR is an ASP.NET library for using websockets and long polling in your applications. Basically what this means, is that you can have your web pages (or apps) maintain an open connection with a webserver, passing data back and forth, without having to do standard posts and gets for the content and functions. SignalR is a free library that you can get from www.signalr.net and you can DL from nuget.org right into your Visual Studio projects.

So I was doing some reading tonight on my Nerdkit, I had planned to actually do some playing around with it, but decided just to read a bit. I’ve never coded in C, I did C++ in College (not very well) and do most of my development in C# these days (when I’m doing code, mostly for fun). While all similar, there are a few differences, so doing things in C is a learning experience.
So I got a random email tonight, his words not mine, from a 21 year old Comp Sci student up in Wisconsin.

"I'm 21, a computer science major at a smaller private college in Wisconsin. I stumbled on your blog just by chance. I see that you're 31, a software developer, and (if I do say so myself) leading a pretty nice life.

I was just curious what kind of career path you took that led you to where you are today?"

Check out my full blog post to see my response.
When I was in Las Vegas for OpenForce07 I got to talk to some of the folks over at AT&T wireless' developer program, DevCentral http://developer.att.com I had signed up on their site LONG ago when I first purchased my MPX200 way back in the day, but never really took it anywhere. Well now that my Blackjack is working again (replaced by AT&T) I'm looking forward to diving into mobile device development so I've started digging around on the website a bit. It doesn't look, based on forum threads, to be all that active, but perhaps I can help change that. We'll see how much I can get going on my phone, though I'm really anxious to get the phone upgraded to Windows Mobile 6 (WM6) so I can be on the latest and greatest...
While working on the Engage: Publish module's latest round of enhancements I started having problems working with my development machine at home. The machine here is a Vista Ultimate machine that I've blogged about getting configured in the past. The issue I had been stumbling over for a few weeks, though only researched solutions last night, had to do with ASP.NET Ajax. DNN ships with an older version of the System.Web.Extensions DLL. Which appears to work fine on my machine at work (in which I probably also had the AJAX framework installed). At home though on Vista whenever I tried to go to one of my test pages that had Publish installed I would get an error about the Scriptmanager must come before the Updatepanel control. Well fine and dandy, but I'm positive that we had the codecheck in place for this. It ends up that with Vista I was having problems with that old version of System.web.extensions. The fix was rather easy, I simple downloaded the .Net 3.5 framework and installed it. Now it appears that all is well once again in Vistaland. If you need to download the 3.5 framework get it here from MS. Now I have to decide, do I install VS2008 on my home machine, or do I spend some money and upgrade my machine (build a new one), then install 2k8 on that..... Decisions decisions. Posted from...
If you need to build yourself a membership provider in DotNetNuke, to perhaps link up to an external membership store, check out this article from one of my Co-workers.http://www.engagesoftware.net/Blog/tabid/297/EntryID/41/Default.aspx  Posted from...
Many thanks to Jim over at www.stlrecruiting.com, yesterday he called me up for a quick interview and  today he posts an article about me! If you're looking for my Technical posts, check out my blog at http://weblogs.asp.net/christoc/. Just heads up though, for any posts you find that may seem odd ;), I use my blogs to do a lot of SEO work, so some posts may not seem to fit, but they all have a...
 Check out all of the DotNetNuke Daily Tips from Chris Hammond. DotNetNuke Daily Tip for 6/27/2006 This is a quick tip as I was out of town for a while and haven't had a chance to catch back up yet. Did you know with DotNetNuke 4.3 you can now edit content in place on your website? What's that you say? You didn't know this? Well that's right, you can change module titles within your DotNetNuke pages, and have been able to do that for a few versions with DNN4. BUT, something new to DotNetNuke 4.3, the Text/HTML module includes this functionality as well. You can edit text within the Text/HTML modules without having to go to the edit screen, and also save these changes by clicking elsewhere on the site. Stay tuned for another DotNetNuke Daily Tip coming tomorrow!Posted from...
Check out all of the DotNetNuke Daily Tips from Chris Hammond. DotNetNuke Daily Tip for 6/23/2006 Have you ever needed to send mail from one of your DotNetNuke modules? Here's the DotNetNuke method for sending off a message. public static System.String SendMail ( System.String MailFrom , System.String MailTo , System.String Cc , System.String Bcc , DotNetNuke.Services.Mail.MailPriority Priority , System.String Subject , DotNetNuke.Services.Mail.MailFormat BodyFormat , System.Text.Encoding BodyEncoding , System.String Body , System.String Attachment , System.String SMTPServer , System.String SMTPAuthentication , System.String SMTPUsername , System.String SMTPPassword ) But what does that really mean? Here's a simple call to the mail function from a module. Mail.SendMail("[email protected]", "[email protected]", "", "THIS IS THE SUBJECT", "THIS IS THE MESSAGE BODY", "", "HTML", "", "", "", "" ); Could it get any simpler than that? Actually it could! Here's another signature for sendmail public static System.String SendMail ( System.String MailFrom , System.String MailTo , System.String Bcc , System.String Subject , System.String Body , System.String Attachment , System.String BodyType , System.String SMTPServer , System.String SMTPAuthentication , System.String SMTPUsername , System.String SMTPPassword )   Do you have a question about DotNetNuke? Perhaps I can answer it here as a Daily DotNetNuke Tip! Email chris.hammond at dotnetnuke.com  with your question! Be sure to put Daily Tips in the subject line. Posted from...
Well, I decided to check out Chad's website again. And, not to my surprise, he hasn't done anything with it! I am still a...
Community Server can be a pretty powerful tool if you take your time to setup a decent site for your users. Here are a few tweaks I've made to SCCAForums.com to make it a bit more user friendly. On the home page there are sections for active, unanswer, and my posts(if logged in). These controls don't provide much information to the user though, by default only a link and portion of the subject of a forum post. On SCCA Forums I've setup the controls to display the user who made the last post, link directly to the last post rather than the first post, and also display and link to the particular forum that the post was made in. To do this you need to add the following script to your default.aspx page. <script language="C#" runat="server">  int getPageNumber(int replies) {  int page = 1;  if (replies > 14)   {   page = 1 + replies /15;  }   return page; }</script> You also need to change the ItemTemplate section of the ThreadRepeater controls to look like the following <ItemTemplate>        <div class="CommonSidebarContentItem">    <strong><a href="<%# ForumUrls.Instance().PostPaged((int) DataBinder.Eval(Container.DataItem, "MostRecentPostID"), getPageNumber((int)DataBinder.Eval(Container.DataItem, "replies")))%>"><%# DataBinder.Eval(Container.DataItem, "Subject").ToString() %></a></strong>    - <%# DataBinder.Eval(Container.DataItem, "MostRecentPostAuthor") %>    (<a href="<%# ForumUrls.Instance().Forum( ((Thread) Container.DataItem).SectionID ) %>"><%# DataBinder.Eval(Container.DataItem, "Forum.Name") %></a>)        </div></ItemTemplate>     More tweaks to come....
I just went through and enabled HTTP Compression for the server that ChrisHammond.com, Solo2.org, and various other websites run on. Now, I can't tell if the difference is noticable, or if I just think it's noticable? hmmm Followed the instructions in this article for setting up HTTP Compression on IIS...
If you're looking for the MHCC, Maryland Heights Chamber of Commerce  then you should check out http://www.mhcc.com/. This is one of our client sites here at...
Just a quick post to aid in a little bit of search indexing for...
I implemented a version of Google Maps with SCCAForums.com, which runs on the CommunityServer platform. If any businesses are interested in this coalition of two products please contact me for further information. I'm readily available for consulting work for...
If you are looking for DotNetNuke Reviews, I dug up a couple of things years ago, comparing DNN versus Sharepoint. The blog posts are from 2006, and while somewhat still valid, a lot of things have changed in both worlds. DotNetNuke provides a lot more features now than it did way back when. Sharepoint is still great for intranet setups. Coming in DotNetNuke 6.0 Enterprise Edition there will be some Sharepoint integration available as a feature.
Last night I launched a new feature on SCCAForums.com. Our recently launched Mapping System uses Google Maps functionality to allow SCCAForums.com Registerd users to plot points on our map, allowing users to see who is located near them, or in other parts of the country. Check out the Maps page for more features! We're sure this new system will generate some questions and we've tried to answer a few of them here, we'll add to that list over the next few days. If you have further questions please post in our Questions and Suggestions forum. http://sccaforums.com/maps/...
RSS URL

Chris Hammond

Chris Hammond

is a father, husband, leader, developer, photographer and car guy. Chris has long specialized in ASP.NET and DotNetNuke (DNN) development, so you will find a variety of posts relating to those topics. For more information check out the about Chris Hammond page.

If you are looking for DotNetNuke consulting please visit Christoc.com Software Solutions

Find me on Twitter, GitHub and LinkedIn.