﻿<rss version="2.0" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <atom:link href="http://www.sunblognuke.com/Default.aspx?TabId=57&amp;rssid=6&amp;categoryid=28" rel="self" type="application/rss+xml" />
    <title>SunBlogNuke Team Blog - Features</title>
    <link>http://www.sunblognuke.com/Default.aspx?TabId=57&amp;rssid=6&amp;categoryid=28</link>
    <description>Announcing new awesome features or enhancements in the SunBlog(Nuke) module.</description>
    <ttl>60</ttl>
    <language>en-US</language>
    <generator>SunBlogNuke RSS Generator Version 5.0.0.0</generator>
    <pubDate>Sun, 05 Feb 2012 18:41:09 GMT</pubDate>
    <lastBuildDate>Sun, 05 Feb 2012 18:41:09 GMT</lastBuildDate>
    <item>
      <title>Attractive Comment Form for DNN Blog</title>
      <category domain="http://www.sunblognuke.com/blog/categoryid/28/features.aspx">Features</category>
      <category domain="http://www.sunblognuke.com/blog/categoryid/25/sunblognuke.aspx">SunBlogNuke</category>
      <link>http://www.sunblognuke.com/blog/entryid/397/attractive-comment-form-for-dnn-blog.aspx</link>
      <description><![CDATA[  <p>As you know, the comment is so important to any blog platform that you may have to build an attractive comments form that users will enjoy filling out. Usually forms are pretty classic with standard fields, submit buttons - nothing more, nothing less. But still even little change of field background, border style, layout, rounded corners can make huge difference. Sometimes adding live comment preview, smiles or some simple CSS bold, italic, underline effects to give more options to advanced comment writers, such as Markdown may be a good choice to satisfy these requirements. Today I would like to share you how we redesign our own comment form. If you indeed want to really stand out and create something super in your comment form, please do your own research and considerations, what you like/dislike and why it is so. Ok, let's go ahead.</p>  <p>In common, I am feel ok with the look that standard comment form of <a title="Ultimate DNN Blog Module" href="http://sunblognuke.com" target="_blank">SunBlogNuke</a> has, but sometimes it does not feel right in other themes. In favor of simplicity and convenience, we began to create a new clean & attractive comment form for our team blog; plus support Markdown. The 1st version we just adjusted the layout, such as making the label flow right in order to user easily fill out. Take a look at screenshot below:</p>  <p><img class="shadowImg" alt="Blog Comment Form" src="http://www.sunblognuke.com/Portals/0/SunBlogNuke/6/Windows-Live-Writer/Alternative-Attractive-Comment-Form-for-_F2E2/Blog-Comment-Form.jpg" width="532" height="428" /></p>  <p>Actually you just need to modify few styles in your current theme. To apply these changes, just replace the old styles (Begin with '#anonDetails') with the sample code below:</p>  <pre class="code"><span style="color: maroon">#anonDetails</span>{<span style="color: red">clear</span>:<span style="color: blue">both</span>;<span style="color: red">margin</span>:<span style="color: blue">0</span>;<span style="color: red">line-height</span>:<span style="color: blue">200%</span>;}
    <span style="color: maroon">h3#respond </span>{
        <span style="color: red">color</span>: <span style="color: blue">#9BBDE9</span>;
        <span style="color: red">font</span>: <span style="color: blue">italic 2.5em "Times New Roman", Times, serif</span>;
        <span style="color: red">font-variant</span>: <span style="color: blue">small-caps</span>;
        <span style="color: red">margin</span>: <span style="color: blue">20px 0 10px</span>;
    }
    <span style="color: maroon">h3#respond span </span>{<span style="color: red">color</span>:<span style="color: blue">#033</span>;<span style="color: red">font-weight</span>:<span style="color: blue">400</span>}
    <span style="color: maroon">#anonDetails label </span>{<span style="color: red">color</span>: <span style="color: blue">#CCCCCC</span>; <span style="color: red">float</span>: <span style="color: blue">right</span>; <span style="color: red">width</span>: <span style="color: blue">47%</span>; <span style="color: red">line-height</span>: <span style="color: blue">30px</span>;}
    <span style="color: maroon">#anonDetails input[type="text"] </span>{
        <span style="color: red">margin-bottom</span>: <span style="color: blue">0.8em</span>;
        <span style="color: red">width</span>: <span style="color: blue">50%</span>;
        <span style="color: red">padding</span>: <span style="color: blue">4px 4px 0</span>;
        <span style="color: red">height</span>: <span style="color: blue">27px</span>;
        <span style="color: red">line-height</span>: <span style="color: blue">27px</span>;
        <span style="color: red">border</span>: <span style="color: blue">1px solid #CDCDCD</span>;
        <span style="color: red">-webkit-border-radius</span>:<span style="color: blue">3px</span>;
        <span style="color: red">-moz-border-radius</span>:<span style="color: blue">3px</span>;
    }
    <span style="color: maroon">#anonDetails textarea </span>{
        <span style="color: red">width</span>: <span style="color: blue">100%</span>;
        <span style="color: red">border</span>: <span style="color: blue">1px solid #CDCDCD</span>;
        <span style="color: red">-webkit-border-radius</span>:<span style="color: blue">3px</span>;
        <span style="color: red">-moz-border-radius</span>:<span style="color: blue">3px</span>;
        <span style="color: red">margin-top</span>: <span style="color: blue">5px</span>;
    }
    <span style="color: maroon">#anonDetails p</span>{<span style="color: red">margin</span>:<span style="color: blue">0px</span>;}
    <span style="color: maroon">#commentCompose </span>{<span style="color: red">margin-bottom</span>:<span style="color: blue">10px</span>;}
    <span style="color: maroon">#commentCompose label</span>{<span style="color: red">display</span>:<span style="color: blue">none</span>;}
    <span style="color: maroon">.validation-summary-errors</span>{
        <span style="color: red">background-color</span>:<span style="color: blue">#FFFFCC</span>;
        <span style="color: red">border</span>:<span style="color: blue">1px solid #CC0000</span>;
        <span style="color: red">font-weight</span>:<span style="color: blue">bold</span>;
        <span style="color: red">margin</span>:<span style="color: blue">10px 0</span>;
        <span style="color: red">padding</span>:<span style="color: blue">10px 20px</span>;
        <span style="color: red">list-style</span>:<span style="color: blue">none</span>;
    }
    <span style="color: maroon">.validation-summary-errors li</span>{<span style="color: red">margin-top</span>:<span style="color: blue">5px</span>;<span style="color: red">background</span>:<span style="color: blue">transparent url(images/sprite.png) no-repeat 0 -72px</span>;<span style="color: red">display</span>:<span style="color: blue">block</span>;<span style="color: red">padding</span>:<span style="color: blue">1px 0 5px 25px</span>;}</pre>

<p>That is all. </p>

<p>I will be more than happy if you will join to discussion in comments below.</p>

<p><strong>Updated</strong>: currently we released the premium theme "Customized" in our <a href="http://www.sunblognuke.com/extend/themes.aspx" target="_blank">Theme Directory</a> and you can visit <a href="http://www.sunblognuke.com/extend/themes/customized.aspx" target="_blank">this showcase page</a> in detail and order it there for your dnn blog page with <a title="Ultimate DNN Blogging Module" href="http://www.sunblognuke.com/" target="_blank">SunBlogNuke</a>.</p>]]></description>
      <dc:creator>Baldwin</dc:creator>
      <comments>http://www.sunblognuke.com/blog/entryid/397/attractive-comment-form-for-dnn-blog.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.sunblognuke.com/blog/entryid/397/attractive-comment-form-for-dnn-blog.aspx</guid>
      <pubDate>Thu, 15 Dec 2011 12:08:00 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.sunblognuke.com/DesktopModules/SunBlog/Views/Handlers/Trackback.ashx?id=397</trackback:ping>
    </item>
    <item>
      <title>Fancy Gallery Extension with Lightbox effect Inside DNN Blog</title>
      <category domain="http://www.sunblognuke.com/blog/categoryid/28/features.aspx">Features</category>
      <category domain="http://www.sunblognuke.com/blog/categoryid/25/sunblognuke.aspx">SunBlogNuke</category>
      <category domain="http://www.sunblognuke.com/blog/categoryid/30/resources.aspx">Resources</category>
      <link>http://www.sunblognuke.com/blog/entryid/441/fancy-gallery-extension-with-lightbox-effect-inside-dnn-blog.aspx</link>
      <description><![CDATA[  <h3><img class="shadowImg" title="Fancy ligntbox gallery inside DNN blog" border="0" alt="Fancy ligntbox gallery" src="http://www.sunblognuke.com/Portals/0/SunBlogNuke/6/Windows-Live-Writer/Fancy-Gallery-Extension-with-Lightbox-ef_134C3/Fancy_ligntbox_gallery_322d8912-d5b7-40f5-8893-02903f68d346.png" width="600" height="388" /></h3>  <h3>Why it built?</h3>  <p>In common, you can build the awesome blog post with some media files, and sometimes you would like to share lots of images with your friends. Yes, you want to build an album with those images in the blog post content. But it looks difficulty to incorporate display for larger images, which under normal situations would break the layout of this site. It will save lots of our time if there is some way to automatically organized images with clean & elegant layout and we just copy/insert images into Rich-Editor or WLW.</p>  <p>Congratulations. The "Fancy Gallery" extension is the exact tool for your dnn blog. And it is another extension for Ultimate DNN Blog Module – SunBlogNuke. You just feel free to add your images and this extension will do the rest for you – automatically convert them into one fancy gallery with lightbox effect. </p>  <h3>How it works?</h3>  <p>To apply the blog extension, it is so easy and just follows up the simple steps below:</p>  <p>1) Make sure that you have installed <a title="Ultimate DNN Blogging Module" href="http://www.sunblognuke.com/" target="_blank">SunBlogNuke</a> v4.8.+ for your DNN blog page. </p>  <p>2) Download it from the <a href="http://www.sunblognuke.com/extend/extensions.aspx">extensions directory</a>.</p>  <p>3) Unzip it and upload the extension assembly file SunBlogNuke.Extensions.FancyGallery.dll into the folder $ROOT/bin. Then upload another folder into blog extensions folder $ROOT/DesktopModules/SunBlog/Extensions.</p>  <p>Until now it has been deployed. Next I walk you through the process to add images when writing post:</p>  <p>1) Enter “Edit Post” panel (Or connect WLW) and focus on the Rich Editor.</p>  <p>2) Add images with tool button “Insert Image” of editor. Don’t worry about the layout and just make them sequence placed there.</p>  <p>3) Add token  in the end of all the images. Note that it is the key step and make sure that all the images for album is closed in the middle section of those two tokens. It looks like that: (Red circle is your images section)</p>  <p><img class="shadowImg" title="Fancy gallery with token for SunBlogNuke" border="0" alt="Fancy_gallery_with_token" src="http://www.sunblognuke.com/Portals/0/SunBlogNuke/6/Windows-Live-Writer/Fancy-Gallery-Extension-with-Lightbox-ef_134C3/Fancy_gallery_with_token_3f3d0e8b-4e91-4edd-87a2-a0b2dd478835.png" width="567" height="350" /></p>  <p>4) Complete other configurations of current post and click "update" to save it into db.</p>  <p>That is all. It should work like a charm - when visiting the post detail, you will see the auto-built gallery with your images in your blog post. </p>  <h3>Summary</h3>  <p>With a little bit of setup, it is possible to quickly add lightbox image effects to a DotNetNuke site with specific desires to implement it in the Blogging/Articles module for blog/other content. </p>  <p>As always, feel free to post comments/suggestions below or if you are having difficulties implementing this on your site you may post to the <a title="Community for requests & supports" href="http://www.sunblognuke.com/support/forums.aspx" target="_blank">community forums</a>!</p>  <p style="text-align: center"><a class="largeButton" title="Download it from dnn extensions directory" href="http://www.sunblognuke.com/extend/extensions.aspx" target="_blank">Download</a>    <a style="width: 90px" class="largeButton" title="See how it actions" href="http://www.sunblognuke.com/support/docs/entryid/312/screenshots-of-best-dnn-blog-module-sunblognuke.aspx" target="_blank">Demo</a></p>]]></description>
      <dc:creator>Baldwin</dc:creator>
      <comments>http://www.sunblognuke.com/blog/entryid/441/fancy-gallery-extension-with-lightbox-effect-inside-dnn-blog.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.sunblognuke.com/blog/entryid/441/fancy-gallery-extension-with-lightbox-effect-inside-dnn-blog.aspx</guid>
      <pubDate>Sat, 12 Nov 2011 22:40:09 GMT</pubDate>
      <slash:comments>2</slash:comments>
      <trackback:ping>http://www.sunblognuke.com/DesktopModules/SunBlog/Views/Handlers/Trackback.ashx?id=441</trackback:ping>
    </item>
    <item>
      <title>Video Tutorials  for DNN Blogging Module – SunBlogNuke</title>
      <category domain="http://www.sunblognuke.com/blog/categoryid/28/features.aspx">Features</category>
      <category domain="http://www.sunblognuke.com/blog/categoryid/25/sunblognuke.aspx">SunBlogNuke</category>
      <link>http://www.sunblognuke.com/blog/entryid/418/video-tutorials-for-dnn-blogging-module.aspx</link>
      <description><![CDATA[  <p>As our blogging module – <a title="Ultimate DNN Blogging Module" href="http://www.sunblognuke.com/" target="_blank">SunBlogNuke</a> is becoming increasingly popular in the DotNetNuke platform,  we are trying to publish more tutorials & documents and hope them cover all the awesome features although SunBlogNuke so easy to setup and build your dnn blog.  Today we would like to release 3 more videos reviews & tutorials, which are contributed by Aderson Oliveira (you can get more dnn video tutorials in <a href="http://dnnhero.com" rel="nofollow" target="_blank">dnnhero.com</a>). Meantime I hope that you enjoy those helpful videos when you are no idea to set up your dnn blog and they also make your life easier. :)</p>  <p>1) <a href="http://www.sunblognuke.com/support/docs/entryid/414/getting-started-dnn-blog.aspx">Getting Started DNN Blog</a> module – SunBlogNuke</p>  <p>This video tutorial covers how to get started your dnn blog with SunBlogNuke, including how to add blog module into page, create new blog instance, write first post & configure some basic settings. </p>  <p>2) How to <a href="http://www.sunblognuke.com/support/docs/entryid/413/styled-customized-dnn-blog.aspx">Styled & Customized DNN Blog</a></p>  <p>This video tutorial covers how to style & customize more stuffs in SunBlogNuke.</p>  <p>3) <a href="http://www.sunblognuke.com/support/docs/entryid/415/play-with-blog-widget-module.aspx">Play with Blog Widget Module</a></p>  <p>This video tutorial covers how to play with so lots of awesome widget modules of SunBlogNuke; plus you can place any of them in any page at any time and point it to any blog on the portal.</p>  <p>BTW, if you have more tricks and tips about SunBlogNuke, please share it for us and then you will be able to extend longer subscription for our module(One year free upgrade in default). We are looking forwards to your news :)</p>  <p>Blog your way & enjoy life. </p>  <p>The SunBlogNuke Team</p>]]></description>
      <dc:creator>Baldwin</dc:creator>
      <comments>http://www.sunblognuke.com/blog/entryid/418/video-tutorials-for-dnn-blogging-module.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.sunblognuke.com/blog/entryid/418/video-tutorials-for-dnn-blogging-module.aspx</guid>
      <pubDate>Wed, 03 Aug 2011 16:50:43 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.sunblognuke.com/DesktopModules/SunBlog/Views/Handlers/Trackback.ashx?id=418</trackback:ping>
    </item>
    <item>
      <title>Integrated Social Graph into DNN Blog</title>
      <category domain="http://www.sunblognuke.com/blog/categoryid/28/features.aspx">Features</category>
      <category domain="http://www.sunblognuke.com/blog/categoryid/25/sunblognuke.aspx">SunBlogNuke</category>
      <category domain="http://www.sunblognuke.com/blog/categoryid/29/website.aspx">Website News</category>
      <link>http://www.sunblognuke.com/blog/entryid/405/integrated-social-graph-into-dnn-blog.aspx</link>
      <description><![CDATA[  <p style="text-align: center"><img class="shadowImg" alt="Open social graph meta tags" src="http://www.sunblognuke.com/Portals/0/SunBlogNuke/6/Windows-Live-Writer/42f368d2456f_F9EF/Open-social-graph-meta-tags_3ebdfbb6-6fcf-4136-b78b-7d1f6747b5a2.png" width="563" height="129" /></p>  <p>As Facebook is the leading global social networking website, you are able to increase your web presence by leveraging the power of the social graph. Today we released a new extension called 'OpenGraph', which allows you easily integrate Ultimate DNN Blog Module - SunBlogNuke and the Facebook’s open social graph.  If you are familiar with our blogging product, you may ever apply the way mentioned in the older tutorial - <a href="http://www.sunblognuke.com/blog/entryid/278/facebook-like-button-making-your-dnn-blog-more-attractive.aspx">Facebook Like Button Making Your DNN Blog more Attractive</a>. From v4.7, the 'OpenGraph' extension will be better choice for this extended requirement. </p>  <p>The main code as follows:</p>  <pre class="code"><span style="color: gray">/// <summary>
/// </span><span style="color: green">Add the Facebook social meta tags to your blog.
</span><span style="color: gray">/// </summary>
/// <param name="basePage"></span><span style="color: green">the current page</span><span style="color: gray"></param>
/// <param name="entity"></span><span style="color: green">the current blog post</span><span style="color: gray"></param>
</span><span style="color: blue">private void </span>AddOpenGraphMetaTags(<span style="color: #2b91af">CDefault </span>basePage, <span style="color: #2b91af">EntryInfo </span>entity)
{
    basePage.HtmlAttributes.Add(<span style="color: #a31515">"xmlns:og"</span>, <span style="color: #a31515">"http://opengraphprotocol.org/schema/"</span>);
    basePage.HtmlAttributes.Add(<span style="color: #a31515">"xmlns:fb"</span>, <span style="color: #a31515">"http://www.facebook.com/2008/fbml"</span>);

    <span style="color: #2b91af">PortalSettings </span>settings = basePage.PortalSettings;
    <span style="color: blue">if </span>(settings == <span style="color: blue">null</span>) settings = <span style="color: #2b91af">HttpContext</span>.Current.Items[<span style="color: #a31515">"PortalSettings"</span>] <span style="color: blue">as </span><span style="color: #2b91af">PortalSettings</span>;

    <span style="color: #2b91af">HttpRequest </span>request = <span style="color: #2b91af">HttpContext</span>.Current.Request;
    <span style="color: blue">string </span>PortalBasicUrl = <span style="color: #2b91af">Globals</span>.GetPortalDomainName(settings.PortalAlias.HTTPAlias, request, <span style="color: blue">true</span>);
    <span style="color: blue">string </span>logoImg = <span style="color: blue">string</span>.Format(<span style="color: #a31515">"{0}/Portals/{1}/{2}"</span>, PortalBasicUrl, settings.PortalId, settings.LogoFile);
    AddMetaTag(basePage, <span style="color: #a31515">"og:title"</span>, entity.Title);
    AddMetaTag(basePage, <span style="color: #a31515">"og:type"</span>, <span style="color: #a31515">"Blog"</span>);
    <span style="color: green">//AddMetaTag(basePage, "og:image", settings.HomeDirectory + settings.LogoFile);
    </span>AddMetaTag(basePage, <span style="color: #a31515">"og:image"</span>, <span style="color: #2b91af">HtmlTextUtils</span>.GetFirstImageSrc(<span style="color: #2b91af">HttpUtility</span>.HtmlDecode(entity.Entry), logoImg));
    AddMetaTag(basePage, <span style="color: #a31515">"og:url"</span>, entity.Permalink);
    AddMetaTag(basePage, <span style="color: #a31515">"og:site_name"</span>, settings.PortalName);
    AddMetaTag(basePage, <span style="color: #a31515">"og:description"</span>, <span style="color: #2b91af">HtmlTextUtils</span>.FormatDescrption(entity.Description, entity.Entry, 255));
    AddMetaTag(basePage, <span style="color: #a31515">"og:email"</span>, settings.Email);
}

<span style="color: blue">private void </span>AddMetaTag(<span style="color: #2b91af">CDefault </span>basePage, <span style="color: blue">string </span>name, <span style="color: blue">string </span>content)
{
    <span style="color: blue">string </span>tagToken = <span style="color: blue">string</span>.Format(<span style="color: #a31515">"<meta property=\"{0}\" content=\"{1}\"/>"</span>, name, content);
    <span style="color: #2b91af">LiteralControl </span>litLinks = <span style="color: blue">new </span><span style="color: #2b91af">LiteralControl</span>(tagToken);

    basePage.Header.Controls.Add(litLinks);
}</pre>

<p>You may notice that here we apply the image meta tag with the first image found in the post. If not exist, use the portal logo. If you are developer, feel free to modify it with other customized logic.</p>

<p>To apply the blog extension, it is so easy and just follow up the simple steps below:</p>

<p>1) Download it from the <a title="SunBlogNuke extensions directory" href="http://www.sunblognuke.com/extend/extensions.aspx" target="_blank">extensions directory</a>. 

  <br />2) Unzip it and upload the extension file 'OpenGraph.cs' into the folder $ROOT/bin/Blog_Extensions. If not exist please create it at first. 

  <br />3) Open up the web.config and add the directory 'Blog_Extensions' in the element [codeSubDirectories] as follow:</p>

<pre class="code"><span style="color: blue"><</span><span style="color: #a31515">codeSubDirectories</span><span style="color: blue">>
  <</span><span style="color: #a31515">add </span><span style="color: red">directoryName</span><span style="color: blue">=</span>"<span style="color: blue">HTML</span>" <span style="color: blue">/>
      <</span><span style="color: #a31515">add </span><span style="color: red">directoryName</span><span style="color: blue">=</span>"<span style="color: blue">Blog_Extensions</span>" <span style="color: blue">/>
</</span><span style="color: #a31515">codeSubDirectories</span><span style="color: blue">></span></pre>

<p>That is all. It should work like a charm - when visiting the post detail, it will automatically add the Facebook social meta tags to your blog post.</p>

<p>Please visit our <a title="Lots of case studies for Ultimate DNN Blog Module - SunBlogNuke" href="http://www.sunblognuke.com/ShowCase.aspx" target="_blank">showcase gallery</a> to see how it action with integrated with social bookmarking. Take a look at the screenshot: 

  <br /></p>

<p style="text-align: center; margin: 0px auto"><img class="shadowImg" alt="Facebook social graph with bookmarkings" src="http://www.sunblognuke.com/Portals/0/SunBlogNuke/6/Windows-Live-Writer/42f368d2456f_F9EF/Facebook-social-graph-with-bookmarkings_c999d1b4-9e47-4b14-af7f-41b734079bf7.png" width="485" height="398" /></p>]]></description>
      <dc:creator>Baldwin</dc:creator>
      <comments>http://www.sunblognuke.com/blog/entryid/405/integrated-social-graph-into-dnn-blog.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.sunblognuke.com/blog/entryid/405/integrated-social-graph-into-dnn-blog.aspx</guid>
      <pubDate>Fri, 01 Jul 2011 17:14:14 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.sunblognuke.com/DesktopModules/SunBlog/Views/Handlers/Trackback.ashx?id=405</trackback:ping>
    </item>
    <item>
      <title>Imported DNN Blog Comments into Disqus</title>
      <category domain="http://www.sunblognuke.com/blog/categoryid/28/features.aspx">Features</category>
      <category domain="http://www.sunblognuke.com/blog/categoryid/25/sunblognuke.aspx">SunBlogNuke</category>
      <category domain="http://www.sunblognuke.com/blog/categoryid/21/tips-tricks.aspx">Tips &amp; Tricks</category>
      <link>http://www.sunblognuke.com/blog/entryid/404/imported-dnn-blog-comments-into-disqus.aspx</link>
      <description><![CDATA[<p>As you know, the dnn blogging module <a title="Ultimate DNN Blogging Module" href="http://www.sunblognuke.com/" target="_blank">SunBlogNuke</a> supported Disqus out of the box but wasn't able to export the existing comments to Disqus. And our clients ever requested to move their existing blog comments over to Disqus, too. Fortunately, the v4.7 began to totally support export blog data with blogml format,  so you can use any 3rd party tools to convert the comments to WXR. Then you can import the WXR file under the Generic option in Disqus.</p>  <p>Just search term 'blogml to wxr' in Google you should get lots of similar converters. Here we recommend <a href="http://ithoughthecamewithyou.com/post/Convert-BlogML-comments-to-XWR-for-Disqus.aspx" rel="nofollow" target="_blank">this simple converter</a>, which works well with our exported file. The tool is a Windows console application that takes two parameters, the BlogML import file and the WXR output, i.e.: </p>  <p>BlogMLtoDisqus.exe C:\BlogML.xml C:\ForDisqus.wxr.</p>  <p>To export comments of SunBlogNuke to Disqus, please follow up the simple steps below:</p>  <ol>   <li>Login in your blog dashboard of SunBlogNuke with host/admin account. </li>    <li>Go to 'Import/Export Panel' and click 'export' button to download the full BlogML export from your dnn blog. </li>    <li>Provide that you have placed the console tool & the export file in the folder d:\. Go to the folder and execute it in the command window like that:      <br />      <br /><em>BlogMLtoDisqus.exe d:\BlogML.xml d:\ForDisqus.wxr        <br />        <br /></em>Note that you’ll need to install <a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=9cfb2d51-5ff4-4491-b0e5-b386f32c0992&displaylang=en">.NET 4.0</a> as well if you don’t already have it. If you can’t convert it successfully, you can send us the exported blogml file and we will help you deal with it. </li>    <li>If there is no error throwing, now you should get the converted WXR file. Next just feel free to import it under the Generic option in Disqus. </li> </ol>  <p>If you have more questions about  this topic or blogging,  Please feel free to post a comment below.  I’ll be happy to help.</p>]]></description>
      <dc:creator>Baldwin</dc:creator>
      <comments>http://www.sunblognuke.com/blog/entryid/404/imported-dnn-blog-comments-into-disqus.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.sunblognuke.com/blog/entryid/404/imported-dnn-blog-comments-into-disqus.aspx</guid>
      <pubDate>Tue, 28 Jun 2011 14:48:00 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.sunblognuke.com/DesktopModules/SunBlog/Views/Handlers/Trackback.ashx?id=404</trackback:ping>
    </item>
    <item>
      <title>Build DNN Multiple Blogs with Multiple Authors</title>
      <category domain="http://www.sunblognuke.com/blog/categoryid/28/features.aspx">Features</category>
      <category domain="http://www.sunblognuke.com/blog/categoryid/21/tips-tricks.aspx">Tips &amp; Tricks</category>
      <link>http://www.sunblognuke.com/blog/entryid/402/build-dnn-multiple-blogs-with-multiple-authors.aspx</link>
      <description><![CDATA[<p>As more and more clients requested the tutorial how to set up multiple blogs or blogging with multiple authors in the same blog, here we list what the raised requirements are and how to work around them in the Ultimate DNN Blog Module – <a title="Ultimate DNN Blogging Module" href="http://www.sunblognuke.com/" target="_blank">SunBlogNuke</a>. Hope it helps.</p>  <h3>1) Multiple blogs </h3>  <p><strong>Question:</strong></p>  <p>"I was wondering if we can add this instance of module in 2 different pages in the same portal. The two modules should have different blogs, which means module1 on page1 shouldn't show blog contents of module2 on page 2 and vice-versa. </p>  <p>Would that be possible?"</p>  <p><strong>Solution:</strong></p>  <p>Yes, you can build multiple blog instances in different pages with different contents. Just add it and assign them in the edit blog panel with specific tab (page). Please refer to the tutorial in detail - <a href="http://www.sunblognuke.com/support/docs/entryid/401/setting-up-multiple-blogs-in-dnn-website.aspx">Setting up Multiple Blogs</a>.</p>  <h3>2) Multiple authors</h3>  <p><strong>Question:</strong></p>  <p>"We would like to use the blog module in a team environment where anyone on the team could post an entry to the same blog. The individual user should be credited as the author of the entry (rather than using a shared, generic login).</p>  <p>Ideally, the blog owner (or site admin) should be able to designate individual blogs as either "shared" (multiple contributors) or "personal" (a single author)."</p>  <p><strong>Solution: </strong></p>  <p>Fortunately SunBlogNuke offers team blogs from its initial building and it is so easy to set up multiple authors. Please refer to the tutorial in detail - <a href="http://www.sunblognuke.com/support/docs/entryid/400/dnn-blogging-with-multiple-authors.aspx">Blogging with Multiple Authors</a>.</p>]]></description>
      <dc:creator>Baldwin</dc:creator>
      <comments>http://www.sunblognuke.com/blog/entryid/402/build-dnn-multiple-blogs-with-multiple-authors.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.sunblognuke.com/blog/entryid/402/build-dnn-multiple-blogs-with-multiple-authors.aspx</guid>
      <pubDate>Thu, 16 Jun 2011 12:09:08 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.sunblognuke.com/DesktopModules/SunBlog/Views/Handlers/Trackback.ashx?id=402</trackback:ping>
    </item>
    <item>
      <title>Thumb Up DNN Blog Post with Vote Feature</title>
      <category domain="http://www.sunblognuke.com/blog/categoryid/28/features.aspx">Features</category>
      <category domain="http://www.sunblognuke.com/blog/categoryid/25/sunblognuke.aspx">SunBlogNuke</category>
      <category domain="http://www.sunblognuke.com/blog/categoryid/21/tips-tricks.aspx">Tips &amp; Tricks</category>
      <link>http://www.sunblognuke.com/blog/entryid/380/thumb-up-dnn-blog-post-with-vote-feature.aspx</link>
      <description><![CDATA[  <p>Actually the vote/digg feature, which allows registered users to vote for your blog posts, was supported from Ultimate DNN Blog Module – <a title="Ultimate DNN Blogging Module" href="http://www.sunblognuke.com/" target="_blank">SunBlogNuke</a> v4.0 but it is not active in default. It requires some customizations to integrate with. Today we would like to share you how to apply the awesome feature into your dnn blog. </p>  <h3>Basic sample:</h3>  <ol>   <li>Check out which theme you are applying for the blog in the ‘Theme’ admin panel. Just make sure that it is not default theme because the default theme is deny to modify for any customizations. </li>    <li>Switch to the ‘Theme Editor’ panel and choose the theme view file to apply the vote feature. Here we choose the detailview.ascx in this sample, so append the declaration in the top firstly and  add vote control in the bottom as follows:      <br />      <pre class="code"><span style="background: #ffee62"><%</span><span style="color: blue">@ </span><span style="color: #a31515">Register </span><span style="color: red">TagPrefix</span><span style="color: blue">="uc" </span><span style="color: red">TagName</span><span style="color: blue">="Vote" </span><span style="color: red">Src</span><span style="color: blue">="~/DesktopModules/SunBlog/Shared/Vote.ascx" </span><span style="background: #ffee62">%>
</span><span style="color: blue"><</span><span style="color: #a31515">uc</span><span style="color: blue">:</span><span style="color: #a31515">Vote </span><span style="color: red">ID</span><span style="color: blue">="widgetVote" </span><span style="color: red">runat</span><span style="color: blue">="server" </span><span style="color: red">EnableViewState</span><span style="color: blue">="false"/></span></pre>
The screenshot should be like that: 

    <br />

    <br /><a href="http://www.sunblognuke.com/Portals/0/SunBlogNuke/6/Windows-Live-Writer/bdd4260853a0_B046/vote_code_1.jpg" rel="facebox"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="vote_code" border="0" alt="vote_code" src="http://www.sunblognuke.com/Portals/0/SunBlogNuke/6/Windows-Live-Writer/bdd4260853a0_B046/vote_code_thumb.jpg" width="600" height="254" /></a> </li>

  <li>To make the vote section look awesome, you may need to append some styles in the theme css file – style.css. And you can complete this task in the same 'Theme Editor' panel with editing the style.  The following style is common to use for vote:  (<a href="http://www.sunblognuke.com/LinkClick.aspx?fileticket=_peY-3KBDo0%3d&tabid=88&mid=549" rel="nofollow" target="_blank">Icon Resource</a>) 

    <br />

    <pre class="code"><span style="color: green">/* DIGG */
</span><span style="color: #a31515">.diggbox</span>{<span style="color: red">position</span>:<span style="color: blue">relative</span>;<span style="color: red">height</span>:<span style="color: blue">100px</span>;<span style="color: red">width</span>:<span style="color: blue">60px</span>;<span style="color: red">background-color</span>:<span style="color: blue">#fff</span>;}
<span style="color: #a31515">.vote</span>{
    <span style="color: red">background</span>:<span style="color: blue">url(images/up_down.png) no-repeat scroll 0 -30px #CCCCCC</span>;
    <span style="color: red">border</span>:<span style="color: blue">0 none</span>;
    <span style="color: red">height</span>:<span style="color: blue">30px</span>;
    <span style="color: red">left</span>:<span style="color: blue">0</span>;
    <span style="color: red">position</span>:<span style="color: blue">absolute</span>;
    <span style="color: red">text-indent</span>:<span style="color: blue">-9999px</span>;
    <span style="color: red">width</span>:<span style="color: blue">60px</span>;
    <span style="color: red">cursor</span>:<span style="color: blue">pointer</span>;
}
<span style="color: #a31515">.diggit</span>{<span style="color: red">top</span>:<span style="color: blue">0</span>;}
<span style="color: #a31515">.buryit</span>{<span style="color: red">background-position</span>:<span style="color: blue">0 -60px</span>;<span style="color: red">bottom</span>:<span style="color: blue">0</span>;}
<span style="color: #a31515">.diggbox .diggit:hover</span>, <span style="color: #a31515">.diggbox .diggit:focus </span>{<span style="color: red">background-color</span>:<span style="color: blue">#8fd910</span>; <span style="color: red">background-position</span>:<span style="color: blue">0 0</span>;}
<span style="color: #a31515">.diggbox .buryit:hover</span>, <span style="color: #a31515">.diggbox .buryit:focus </span>{<span style="color: red">background-color</span>:<span style="color: blue">#d52810</span>; <span style="color: red">background-position</span>:<span style="color: blue">0 -90px</span>;}
<span style="color: #a31515">.diggbox .result</span>{
    <span style="color: red">display</span>:<span style="color: blue">block</span>; 
    <span style="color: red">padding-top</span>:<span style="color: blue">30px</span>; 
    <span style="color: red">font</span>:<span style="color: blue">bold 25px/40px 'Myriad Pro',sans-serif</span>; 
    <span style="color: red">letter-spacing</span>:<span style="color: blue">-0.05em</span>; 
    <span style="color: red">text-align</span>:<span style="color: blue">center</span>; 
}
<span style="color: #a31515">span.burynum</span>,<span style="color: #a31515">span.diggnum </span>{
    <span style="color: red">color</span>:<span style="color: blue">#075DB3</span>;
    <span style="color: red">display</span>:<span style="color: blue">block</span>;
    <span style="color: red">font-size</span>:<span style="color: blue">12px</span>;
    <span style="color: red">text-align</span>:<span style="color: blue">center</span>;
    <span style="color: red">width</span>:<span style="color: blue">40px</span>;
}
<span style="color: #a31515">.votecount</span>{<span style="color: red">display</span>:<span style="color: blue">none</span>;}</pre>
  </li>
</ol>

<p>That is all, the vote feature will work like a charm in the detail view of your blog posts like the screenshot below:</p>

<p><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="basic_vote" border="0" alt="basic_vote" src="http://www.sunblognuke.com/Portals/0/SunBlogNuke/6/Windows-Live-Writer/bdd4260853a0_B046/basic_vote.jpg" width="213" height="141" /></p>

<h3>Advanced Sample:</h3>

<p>In the basic sample, we knew that the vote control is placed in the folder SunBlog/Shared and is named 'Vote.ascx'.  Now you may like to develop a customized vote widget like the one below and is applied in our team blog . How to get start? Okey,  let us go through the magic process:</p>

<p><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="advanced_vote" border="0" alt="advanced_vote" src="http://www.sunblognuke.com/Portals/0/SunBlogNuke/6/Windows-Live-Writer/bdd4260853a0_B046/advanced_vote_1.jpg" width="367" height="94" /></p>

<ol>
  <li>Copy the vote.ascx control and paste it into our customized theme folder. We named it 'VoteTheme'  in this sample. </li>

  <li>Open it up with html editor like Visual Studio 2008 and replace all the existing code with the following one: 
    <br />

    <pre class="code"><span style="background: #ffee62"><%</span><span style="color: blue">@ </span><span style="color: #a31515">Control </span><span style="color: red">Language</span><span style="color: blue">="vb" </span><span style="color: red">AutoEventWireup</span><span style="color: blue">="false" </span><span style="color: red">Inherits</span><span style="color: blue">="SunBlogNuke.Toolkit.UserControls.Vote" </span><span style="background: #ffee62">%>
</span><span style="color: blue"><</span><span style="color: #a31515">div </span><span style="color: red">id</span><span style="color: blue">="digg_</span><span style="background: #ffee62"><%</span>=Entry.EntryID<span style="background: #ffee62">%></span><span style="color: blue">" </span><span style="color: red">class</span><span style="color: blue">="diggbox">
    <</span><span style="color: #a31515">div </span><span style="color: red">id</span><span style="color: blue">="do_you_like"></span><span style="color: red">&nbsp;</span><span style="color: blue"></</span><span style="color: #a31515">div</span><span style="color: blue">>
    <</span><span style="color: #a31515">a </span><span style="color: red">class</span><span style="color: blue">="vote diggit" </span><span style="color: red">title</span><span style="color: blue">="Thumb Up" </span><span style="color: red">rel</span><span style="color: blue">="nofollow"></span><span style="color: red">&nbsp;</span><span style="color: blue"></</span><span style="color: #a31515">a</span><span style="color: blue">>
    <</span><span style="color: #a31515">a </span><span style="color: red">class</span><span style="color: blue">="vote buryit" </span><span style="color: red">title</span><span style="color: blue">="Thumb Down" </span><span style="color: red">rel</span><span style="color: blue">="nofollow"></span><span style="color: red">&nbsp;</span><span style="color: blue"></</span><span style="color: #a31515">a</span><span style="color: blue">>
    <</span><span style="color: #a31515">div </span><span style="color: red">id</span><span style="color: blue">="votes_count">
      <</span><span style="color: #a31515">strong </span><span style="color: red">class</span><span style="color: blue">="diggnum votecount"></span><span style="background: #ffee62"><%</span><span style="color: blue">=</span>Entry.DiggNum<span style="background: #ffee62">%></span><span style="color: blue"></</span><span style="color: #a31515">strong</span><span style="color: blue">> </span>Thumbs Up, 
      <span style="color: blue"><</span><span style="color: #a31515">strong </span><span style="color: red">class</span><span style="color: blue">="burynum votecount"></span><span style="background: #ffee62"><%</span><span style="color: blue">=</span>Entry.BuryNum<span style="background: #ffee62">%></span><span style="color: blue"></</span><span style="color: #a31515">strong</span><span style="color: blue">> </span>Thumbs Down
    <span style="color: blue"></</span><span style="color: #a31515">div</span><span style="color: blue">>
    <</span><span style="color: #a31515">br </span><span style="color: blue">/>
    <</span><span style="color: #a31515">span </span><span style="color: red">class</span><span style="color: blue">="diggtip"></</span><span style="color: #a31515">span</span><span style="color: blue">>
    <</span><span style="color: #a31515">span </span><span style="color: red">class</span><span style="color: blue">="diggedType" </span><span style="color: red">style</span><span style="color: blue">="</span><span style="color: red">display</span>: <span style="color: blue">none</span>;<span style="color: blue">"></span><span style="background: #ffee62"><%</span><span style="color: blue">=</span>VerifyDigg()<span style="background: #ffee62">%></span><span style="color: blue"></</span><span style="color: #a31515">span</span><span style="color: blue">>
</</span><span style="color: #a31515">div</span><span style="color: blue">></span></pre>
  </li>

  <li>Now follow the same steps mentioned in the basic sample.  Apply the 'VoteTheme' for your blog and enter the 'Theme Editor’ panel. Append your vote control in the detailview.ascx like that: 
    <br />

    <pre class="code"><span style="background: #ffee62"><%</span><span style="color: blue">@ </span><span style="color: #a31515">Register </span><span style="color: red">TagPrefix</span><span style="color: blue">="uc" </span><span style="color: red">TagName</span><span style="color: blue">="Vote" </span><span style="color: red">Src</span><span style="color: blue">="~/DesktopModules/SunBlog/Themes/Customized/Vote.ascx" </span><span style="background: #ffee62">%>
</span><span style="color: blue"><</span><span style="color: #a31515">uc</span><span style="color: blue">:</span><span style="color: #a31515">Vote </span><span style="color: red">ID</span><span style="color: blue">="widgetVote" </span><span style="color: red">runat</span><span style="color: blue">="server" </span><span style="color: red">EnableViewState</span><span style="color: blue">="false"/></span></pre>
Then add new vote style. (<a href="http://www.sunblognuke.com/LinkClick.aspx?fileticket=_peY-3KBDo0%3d&tabid=88&mid=549" rel="nofollow" target="_blank">Icon Resource</a>) 

    <br />

    <pre class="code"><span style="color: green">/* VOTE */
</span><span style="color: #a31515">#feedbackC</span>{<span style="color: red">border-top</span>:<span style="color: blue">1px dotted #666666</span>;<span style="color: red">border-bottom</span>:<span style="color: blue">1px dotted #666666</span>;<span style="color: red">padding</span>: <span style="color: blue">14px 0</span>;}
<span style="color: #a31515">.diggbox</span>{
    <span style="color: green">/*float: left;
    width: 344px;*/
    </span><span style="color: red">margin-right</span>: <span style="color: blue">10px</span>;
    <span style="color: red">padding-left</span>: <span style="color: blue">16px</span>;
}
<span style="color: #a31515">#do_you_like </span>{
    <span style="color: red">background</span>: <span style="color: blue">url(images/vote.png) no-repeat scroll -18px -14px transparent</span>;
    <span style="color: red">height</span>: <span style="color: blue">23px</span>;
    <span style="color: red">margin</span>: <span style="color: blue">0 0 2px 2px</span>;
    <span style="color: red">width</span>: <span style="color: blue">154px</span>;
}
<span style="color: #a31515">a.vote </span>{
    <span style="color: red">background</span>:<span style="color: blue">transparent url(images/vote.png) no-repeat scroll 0 0</span>;
    <span style="color: red">display</span>: <span style="color: blue">block</span>;
    <span style="color: red">float</span>: <span style="color: blue">left</span>;
    <span style="color: red">height</span>: <span style="color: blue">32px</span>;
    <span style="color: red">width</span>: <span style="color: blue">58px</span>;
}
<span style="color: #a31515">a.vote:hover</span>{<span style="color: red">text-decoration</span>: <span style="color: blue">none</span>;}
<span style="color: #a31515">a.diggit </span>{
    <span style="color: red">background-position</span>: <span style="color: blue">-420px -60px</span>;
    <span style="color: red">margin-left</span>: <span style="color: blue">-6px</span>;
    <span style="color: red">margin-right</span>: <span style="color: blue">3px</span>;
}
<span style="color: #a31515">a.buryit </span>{
    <span style="color: red">background-position</span>: <span style="color: blue">-420px -10px</span>;
    <span style="color: red">margin-right</span>: <span style="color: blue">15px</span>;
}
<span style="color: #a31515">a.diggit:hover </span>{<span style="color: red">background-position</span>: <span style="color: blue">-345px -60px</span>;}
<span style="color: #a31515">a.buryit:hover </span>{<span style="color: red">background-position</span>: <span style="color: blue">-345px -10px</span>;}
<span style="color: #a31515">#votes_count</span>{<span style="color: red">color</span>: <span style="color: blue">#424242</span>;<span style="color: red">margin-top</span>: <span style="color: blue">10px</span>;}</pre>
  </li>
</ol>

<p><strong>Code Explanation:</strong> Basically, in the develop process you just need to know well those required elements as follows: </p>

<ul>
  <li>The element with style class 'diggit ' fires the event – thumb up. </li>

  <li>The element with style class 'buryit ' fires the event – thumb down. </li>

  <li>The element with style class 'diggnum ' shows the number of up votes. </li>

  <li>The element with style class 'burynum ' shows the number of up votes. </li>

  <li>The element with style class 'diggedType ' controls which type of the current voting, up or down. </li>
</ul>]]></description>
      <dc:creator>Baldwin</dc:creator>
      <comments>http://www.sunblognuke.com/blog/entryid/380/thumb-up-dnn-blog-post-with-vote-feature.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.sunblognuke.com/blog/entryid/380/thumb-up-dnn-blog-post-with-vote-feature.aspx</guid>
      <pubDate>Sat, 26 Mar 2011 14:09:21 GMT</pubDate>
      <slash:comments>2</slash:comments>
      <trackback:ping>http://www.sunblognuke.com/DesktopModules/SunBlog/Views/Handlers/Trackback.ashx?id=380</trackback:ping>
    </item>
    <item>
      <title>Extend DNN Blog With Custom Fields</title>
      <category domain="http://www.sunblognuke.com/blog/categoryid/28/features.aspx">Features</category>
      <category domain="http://www.sunblognuke.com/blog/categoryid/25/sunblognuke.aspx">SunBlogNuke</category>
      <link>http://www.sunblognuke.com/blog/entryid/341/extend-dnn-blog-with-custom-fields.aspx</link>
      <description><![CDATA[  <p>PS: updated for SunBlogNuke v4.4.</p>  <p>Finally our development team implemented the custom fields feature for Ultimate DNN Blog Module – <a title="Ultimate DNN Blogging Module" href="http://www.sunblognuke.com/" target="_blank">SunBlogNuke</a> in the upcoming version 4.2, which will be available soon.  The use of custom fields will be one of the keys to SunBlogNuke’s flexibility and endless possibilities. Essentially, all a Custom Field does is allow you to add extra pieces of data to individual DNN Blog posts that otherwise aren’t there by default. We hope that it  will change the way people look at SunBlogNuke and rise in popularity of SunBlogNuke, too.  </p>  <p>The first thing you need to know is where to input custom fields. On “Edit Post” in the SunBlogNuke Dashboard, there is section at the bottom of the page that lets you input as many custom fields as you want.  A custom field consists of two different concepts — “Key" and “Value". The Key is the name of the custom field and the Value is simply the value you want to give to that name. It doesn’t get much simpler than that. In this tutorial, I’ll show you how you can easily add thumbnails to individual posts in SunBlogNuke. These images can be shown on the Content Slider Widget , archives, blog home pages, etc – but appear outside of the content, giving you full control of their placement and style.  Okay, let’s go through those simple steps below:</p>  <p>1) Simply start making a New Post and scroll down “Custom Fields” section.</p>  <p>2) Just fill in the <em><strong>Key</strong></em> with “thumbnail”.  For the <em><strong>Value</strong></em>, post the full URL of the thumbnail you would like to use. Click “Add Custom Field”, and it will apply to that post.  (Optional: you can also create a key named "Thumbnail Class”. Give it a Value of “thumbnail-class” or anything that you can use to style in your stylesheet (style.css). Or you can create alt text for your image with creating a Key named "thumbnail-alt” with a Value of “Describe your image.” If you don’t do this, the alt text will default to the post title.) Like that screenshot below:</p>  <p><img title="Configure Custom Fields" alt="Custom Fields Section" src="http://public.blu.livefilestore.com/y1pO1da8HUK_QcqR0D7ed4zFCmDh5e6MlVmH-ueHDhTkNbNszWh6umxFlxeJ_DdbRLsJ-DQH1Z62FbVF2EUnHa4dQ/custom-fields-section.png" /></p>  <p>Note that if  you have a <strong>key</strong> called <em>Thumbnail</em>, you’ll never have to create that key again.  It’s stored so you may select it from the dropdown box for now on.</p>  <p>3) Add the following code in theme view file “BasicView.ascx” in order to show our newly created thumbnails in recent post list: (Please get more details about theme mechanism from the tutorial - <a href="http://www.sunblognuke.com/Blog/entryid/178/Develop-Your-Customized-Theme-within-DNN-Blog.aspx">Develop Your Customized Theme for DNN Blog Module</a>)</p>  <pre class="code"><span style="background: #ffee62"><%
</span>    <span style="color: blue">Dim </span>thumbnailUrl <span style="color: blue">As String </span>= GetCustomField(<span style="color: #a31515">"thumbnail"</span>)
    <span style="color: blue">Dim </span>thumbnalClass <span style="color: blue">As String </span>= GetCustomField(<span style="color: #a31515">"thumbnail-class"</span>)
    <span style="color: blue">Dim </span>thumbnailAlt <span style="color: blue">As String </span>= GetCustomField(<span style="color: #a31515">"thumbnail-alt"</span>)
    <span style="color: blue">If Not String</span>.IsNullOrEmpty(thumbnailUrl) <span style="color: blue">Then
        </span><span style="background: #ffee62">%>
</span>        <span style="color: blue"><</span><span style="color: #a31515">img </span><span style="color: red">src</span><span style="color: blue">="</span><span style="background: #ffee62"><%</span>=thumbnailUrl<span style="background: #ffee62">%></span><span style="color: blue">" </span><span style="color: red">alt</span><span style="color: blue">="</span><span style="background: #ffee62"><%</span>=thumbnailAlt<span style="background: #ffee62">%></span><span style="color: blue">" </span><span style="color: red">class</span><span style="color: blue">="</span><span style="background: #ffee62"><%</span>=thumbnalClass<span style="background: #ffee62">%></span><span style="color: blue">"/>
        </span><span style="background: #ffee62"><%
</span>    <span style="color: blue">End If
</span><span style="background: #ffee62">%></span></pre>

<p>4) Or use it in Content Slider Widget like that: </p>

<pre class="code">{block:customfield:thumbnail}
<span style="color: blue"><</span><span style="color: #a31515">img </span><span style="color: red">src</span><span style="color: blue">="[customfield:thumbnail]" </span><span style="color: red">class</span><span style="color: blue">="[customfield:thumbnail-class]" </span><span style="color: red">alt</span><span style="color: blue">="[customfield:thumbnail-alt]"/>
</span>{else}
<span style="color: blue"><</span><span style="color: #a31515">img </span><span style="color: red">src</span><span style="color: blue">="YOUR_DEFAULT_THUMBNAIL" </span><span style="color: red">class</span><span style="color: blue">="[customfield:thumbnail-class]" </span><span style="color: red">alt</span><span style="color: blue">="[customfield:thumbnail-alt]"/>
</span>{/block:customfield:thumbnail}</pre>


<p>The block code section means that with it you can check out whether the custom field [thumbnail] is null or empty, if not it will append the code snippet as follows:</p>

<pre class="code"><span style="color: blue"><</span><span style="color: #a31515">img </span><span style="color: red">src</span><span style="color: blue">="[customfield:thumbnail]" </span><span style="color: red">class</span><span style="color: blue">="[customfield:thumbnail-class]" </span><span style="color: red">alt</span><span style="color: blue">="[customfield:thumbnail-alt]"/></span></pre>


<p>otherwise it will append the code snippet after the token {else} as follow: (Replace the ‘YOUR_DEFAULT_THUMBNAIL’ with your real thumbnail url)</p>

<pre class="code"><span style="color: blue"><</span><span style="color: #a31515">img </span><span style="color: red">src</span><span style="color: blue">="YOUR_DEFAULT_THUMBNAIL" </span><span style="color: red">class</span><span style="color: blue">="[customfield:thumbnail-class]" </span><span style="color: red">alt</span><span style="color: blue">="[customfield:thumbnail-alt]"/></span></pre>

<p>Well, that is all but I would like to say that the tutorial is only a start for you and the truth is that you can do pretty much anything you want with custom fields. Your imagination is your limit. </p>

<p>As usual, please let me know your thoughts with leaving your comment below and make sure to enter your suggestions for improving our product at <a href="http://www.sunblognuke.com/Support/Forums/forumid/3/scope/threads.aspx">support forum</a>.</p>]]></description>
      <dc:creator>Baldwin</dc:creator>
      <comments>http://www.sunblognuke.com/blog/entryid/341/extend-dnn-blog-with-custom-fields.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.sunblognuke.com/blog/entryid/341/extend-dnn-blog-with-custom-fields.aspx</guid>
      <pubDate>Fri, 24 Dec 2010 14:34:15 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.sunblognuke.com/DesktopModules/SunBlog/Views/Handlers/Trackback.ashx?id=341</trackback:ping>
    </item>
    <item>
      <title>Awesome Upcoming DNN Blog Feature: Threaded Comments</title>
      <category domain="http://www.sunblognuke.com/blog/categoryid/28/features.aspx">Features</category>
      <category domain="http://www.sunblognuke.com/blog/categoryid/25/sunblognuke.aspx">SunBlogNuke</category>
      <link>http://www.sunblognuke.com/blog/entryid/337/awesome-upcoming-dnn-blog-feature-threaded-comments.aspx</link>
      <description><![CDATA[  <p>Hey SunBlogNuker, </p>  <p>Hope you all well and thanks a lot for your love and trust SunBlogNuke. A LOT are going on for providing you the best publishing tool for your dnn website,  like online magazines, newsletters and article catalogs.</p>  <p>Now we have been busy wrapping up development of the next version of the Blog module (4.1.0) and I would like to get some of the most pressing features included with this release, like import external blog data with blogML format (you can find more details about it in that post – <a href="http://www.sunblognuke.com/Support/Docs/entryid/336/Migrating-from-WordPress-to-DNN-Blog.aspx">Migrating from WordPress to DNN Blog</a>). Here I prefer to share another awesome blog feature – threaded (nested) comment, which is included in the roadmap of Ultimate DNN Blog Module – <a title="Ultimate DNN Blogging Module" href="http://www.sunblognuke.com/" target="_blank">SunBlogNuke</a> and also lots of clients request from the time our blogging module born. </p>  <h3>What benefit of threaded comments?</h3>  <p>If you are getting enough number of comments, then you may have faced problem while answering or replying to them. Though you can reply to them with a comment,  the problem is that it doesn’t make the comment look interactive or in other words conversation appears broken. So the better solution to all such problem is having Threaded Comments. Now SunBlogNuke already provided this cool feature.</p>  <h3>How to get it work in SunBlogNuke?</h3>  <p>To enable threaded comment on your blogs, simply go to the "Settings" screen and activate it with checking the option “Enable threaded comment with x levels deep".  <strong>Note that</strong> it only works if the theme supports it. You can refer to “CommentView.ascx" in the _default theme and you will find that you just need to append the following codes in your CommentView file (if you are not familiar with theme mechanism please get more details from the tutorial - <a href="http://www.sunblognuke.com/Blog/entryid/178/Develop-Your-Customized-Theme-within-DNN-Blog.aspx">Develop Your Customized Theme for DNN Blog Module</a>):</p>  <p>Threaded comments section:</p>  <pre class="code"><span style="color: blue"><</span><span style="color: #a31515">div </span><span style="color: red">class</span><span style="color: blue">="annotation-replies" </span><span style="color: red">id</span><span style="color: blue">="replies_</span><span style="background: #ffee62"><%</span>=Comment.CommentID<span style="background: #ffee62">%></span><span style="color: blue">">
  <</span><span style="color: #a31515">asp</span><span style="color: blue">:</span><span style="color: #a31515">PlaceHolder </span><span style="color: red">ID</span><span style="color: blue">="phSubComments" </span><span style="color: red">runat</span><span style="color: blue">="server" />
</</span><span style="color: #a31515">div</span><span style="color: blue">></span></pre>

<p>ReplyToLink section (‘<%=Comment.ReplyToLink%>’ is what you need to append and you can place it anywhere you think more appropriate):</p>

<pre class="code">    <span style="color: blue"><</span><span style="color: #a31515">span </span><span style="color: red">class</span><span style="color: blue">="annotation-meta">
        </span>Posted by <span style="background: #ffee62"><%</span><span style="color: blue">=</span>FormatAuthor(<span style="color: #a31515">"author"</span>)<span style="background: #ffee62">%></span> on <span style="color: blue"><</span><span style="color: #a31515">i</span><span style="color: blue">></span><span style="background: #ffee62"><%</span><span style="color: blue">=</span>Comment.AddedDate<span style="background: #ffee62">%></span><span style="color: blue"></</span><span style="color: #a31515">i</span><span style="color: blue">>
        </span><span style="color: red">&nbsp;&nbsp;</span><span style="background: #ffee62"><%</span><span style="color: blue">=</span>Comment.ReplyToLink<span style="background: #ffee62">%>
</span>    <span style="color: blue"></</span><span style="color: #a31515">span</span><span style="color: blue">></span></pre>

<p>Then in order to let your threaded comments more cool, you may append some styles in your theme file style.css like that below.  That is a style sample and I think that I think your style will be more awesome and our module can provide the capabilities.</p>

<pre class="code"><span style="color: #a31515">.annotation-replies</span>{<span style="color: red">clear</span>:<span style="color: blue">both</span>;<span style="color: red">background</span>:<span style="color: blue">url(images/reply-arrow.gif) no-repeat</span>;<span style="color: red">margin</span>:<span style="color: blue">5px 0 0 5px</span>;<span style="color: red">padding</span>:<span style="color: blue">0 0 0 15px</span>;}</pre>

<p>Once you have done this you will reply the comments to build  an interactive conversation for your blog entries (as show in the screen capture below).</p>

<p><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="Showcase threaded comments in Ultimate dnn blog module" border="0" alt="Threaded Comments in SunBlogNuke" src="http://www.sunblognuke.com/Portals/0/SunBlogNuke/6/Windows-Live-Writer/Awesome-Upcoming-Feature_12FEF/Threaded_Comments_72e6c542-bead-4e76-ac7e-5856a2374698.png" width="591" height="333" /></p>

<p>As usual, please let me know your thoughts with leaving your comment below and make sure to enter your suggestions for improving our product at <a title="Leave your feature requests or suggestions for SunBlogNuke here." href="http://www.sunblognuke.com/Support/Forums/forumid/3/scope/threads.aspx" target="_blank">support forum</a>.</p>]]></description>
      <dc:creator>Baldwin</dc:creator>
      <comments>http://www.sunblognuke.com/blog/entryid/337/awesome-upcoming-dnn-blog-feature-threaded-comments.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.sunblognuke.com/blog/entryid/337/awesome-upcoming-dnn-blog-feature-threaded-comments.aspx</guid>
      <pubDate>Thu, 09 Dec 2010 16:39:00 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.sunblognuke.com/DesktopModules/SunBlog/Views/Handlers/Trackback.ashx?id=337</trackback:ping>
    </item>
    <item>
      <title>SunBlogNuke with Active Social Journal Integration</title>
      <category domain="http://www.sunblognuke.com/blog/categoryid/28/features.aspx">Features</category>
      <category domain="http://www.sunblognuke.com/blog/categoryid/15/release.aspx">Release</category>
      <link>http://www.sunblognuke.com/blog/entryid/298/sunblognuke-with-active-social-journal-integration.aspx</link>
      <description><![CDATA[<p>Today we released a RC version 3.8.0 of our dnn blogging module which includes an option for Active Social journal integration. We finally added Active Social Journal support using the new Journal API. You will learn more about this great new feature over in our team blog. Thanks Will’s help and great support.</p>  <p>A special thanks goes out to Matt Marlor for pushing Will and I to finally make this happen.</p>  <p><a title="Dowload Ultimate DNN Blog Module - SunBlogNuke" href="http://www.sunblognuke.com/Download.aspx">You can get it here</a>. Enjoy blogging and good writing! :)</p>  <p>The SunBlogNuke Team</p>]]></description>
      <dc:creator>Baldwin</dc:creator>
      <comments>http://www.sunblognuke.com/blog/entryid/298/sunblognuke-with-active-social-journal-integration.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.sunblognuke.com/blog/entryid/298/sunblognuke-with-active-social-journal-integration.aspx</guid>
      <pubDate>Tue, 28 Sep 2010 21:14:25 GMT</pubDate>
      <slash:comments>4</slash:comments>
      <trackback:ping>http://www.sunblognuke.com/DesktopModules/SunBlog/Views/Handlers/Trackback.ashx?id=298</trackback:ping>
    </item>
  </channel>
</rss>
