Code Monkey home page Code Monkey logo

dnn.blog's Introduction

Project Description

The DNN (previously DotNetNuke) Blog module is an easy to use content publishing module that is tightly integrated with the core DotNetNuke® framework. The module also permits content authoring using off-site tools such as Windows Live Writer.

Links

  • Manual (note this is in generic Markdown syntax, so it doesn't display 100% correct on Github)
  • Facebook

How can I help?

We regularly get offers for help. The best way to help out right now is to try the module and, if something doesn't work, to try to find out why this happened. This helps us enormously. Then report the issue under "Issues".

Particularly unhelpful are bug reports that are vague (e.g. "The module doesn't work") or rants about how feature XYZ, that is very dear to you, is now no longer there or missing. Such issues may just end up getting closed without a response.

If you would like to contribute to this project, please read the CONTRIBUTING.md

Maintainers

This module is currently maintained by Peter Donker (@donker) Please coordinate with him for any new release and mark him as a reviewer on any pull request.

dnn.blog's People

Contributors

bdukes avatar donker avatar eptamminga avatar erw13n avatar gigocabrera avatar mitchelsellers avatar ohine avatar peppertree avatar tiedye avatar timo-breumelhof avatar valadas avatar whairstonloi avatar willstrohl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dnn.blog's Issues

DNN Blog 06.02.02 has a bug in Manage.ascx when installing the module on DNN8

DNN 8 has moved the telerik controls to another library. so when installing the blog on DNN8 the manage.ascx will throw exception because dnn:DNNGrid is considered as unknown tag.

here is the full error :

Error: is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: Unknown server tag 'dnn:DNNGrid'. ---> System.Web.HttpParseException: Unknown server tag 'dnn:DNNGrid'. ---> System.Web.HttpParseException: Unknown server tag 'dnn:DNNGrid'. ---> System.Web.HttpException: Unknown server tag 'dnn:DNNGrid'. at System.Web.UI.TagPrefixTagNameToTypeMapper.System.Web.UI.ITagNameToTypeMapper.GetControlType(String tagName, IDictionary attribs) at System.Web.UI.MainTagNameToTypeMapper.GetControlType2(String tagName, IDictionary attribs, Boolean fAllowHtmlTags) at System.Web.UI.MainTagNameToTypeMapper.GetControlType(String tagName, IDictionary attribs, Boolean fAllowHtmlTags) at System.Web.UI.RootBuilder.GetChildControlType(String tagName, IDictionary attribs) at System.Web.UI.ControlBuilder.CreateChildBuilder(String filter, String tagName, IDictionary attribs, TemplateParser parser, ControlBuilder parentBuilder, String id, Int32 line, VirtualPath virtualPath, Type& childType, Boolean defaultProperty) at System.Web.UI.TemplateParser.ProcessBeginTag(Match match, String inputText) at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) --- End of inner exception stack trace --- at System.Web.UI.TemplateParser.ProcessException(Exception ex) at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding) --- End of inner exception stack trace --- at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath) at System.Web.UI.TemplateParser.ParseInternal() at System.Web.UI.TemplateParser.Parse() at System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType() at System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider) at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders() at System.Web.Compilation.BuildProvidersCompiler.PerformBuild() at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at DotNetNuke.UI.ControlUtilities.LoadControl[T](TemplateControl containerControl, String ControlSrc) at DotNetNuke.UI.Modules.WebFormsModuleControlFactory.CreateControl(TemplateControl containerControl, String controlKey, String controlSrc) at DotNetNuke.UI.Modules.WebFormsModuleControlFactory.CreateModuleControl(TemplateControl containerControl, ModuleInfo moduleConfiguration) at DotNetNuke.UI.Modules.ModuleControlFactory.LoadModuleControl(TemplateControl containerControl, ModuleInfo moduleConfiguration) at DotNetNuke.UI.Modules.ModuleHost.LoadModuleControl() --- End of inner exception stack trace ---

User and Groups

Does the module support user and group modes? I cannot find anything in the manual and tried playing around with it but cannot seem to get it working properly

Installation failed when doing a repair with v6.0.3.

When you try to install (repair) version 6.0.3 this will result in a installation failed. I have the issue on 4 instances.

Error loading files from temporary folder - see below.
StartJob Starting Installation
Info Starting Installation - DotNetNuke.Blog
Info Starting Installation - Script
Info Begin Sql execution
Info Creating backup of previous version - Uninstall.SqlDataProvider
Info Created - Uninstall.SqlDataProvider
Info Finished Sql execution
Info Component installed successfully - Script
Info Starting Installation - Assembly
Info Assembly already registered - bin\DotNetNuke.Modules.Blog.dll
Info Creating backup of previous version - bin\DotNetNuke.Modules.Blog.dll
Info Created - bin\DotNetNuke.Modules.Blog.dll
Info Assembly already registered - bin\CookComputing.XmlRpcV2.dll
Info Component installed successfully - Assembly
Info Starting Installation - Cleanup
Info Processing Cleanup File - 6.0.0
Failure ExceptionSchwabenCode.QuickIO.UnmatchedFileSystemEntryTypeException: FileSystemEntryType not matched! at SchwabenCode.QuickIO.QuickIOFile.InternalFileExists(String uncPath) at DotNetNuke.Common.Utilities.FileSystemUtils.DeleteFiles(Array arrPaths) at DotNetNuke.Services.Installer.Installers.CleanupInstaller.ProcessCleanupFile()
Failure Installation Failed - Cleanup
Info Installation Failed - DotNetNuke.Blog
Info Deleted temporary install folder
EndJob Installation Failed

500 on edit post

I just upgraded my blog to the latest version of the module, and it's workig fine except for this error: I'm getting a bad 500 server error where trying to edit an existing post.
The excetion is reported in log as "InnerException:Cannot have multiple items selected in a DropDownList.", and only appears on a new post I made today - I can edit other posts, and I also can edit this post via WLW.

DotNetNuke.Services.Exceptions.PageLoadException: Cannot have multiple items selected in a DropDownList. ---> System.Web.HttpException: Cannot have multiple items selected in a DropDownList.
   at System.Web.UI.WebControls.DropDownList.VerifyMultiSelect()
   at System.Web.UI.WebControls.ListControl.RenderContents(HtmlTextWriter writer)
   at System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
   at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
   at ASP.desktopmodules_blog_postedit_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in D:\inetpub\wwwroot\DesktopModules\Blog\PostEdit.ascx:line 10

What could this be due to, something with categories or tags? What to check in order to fix the error?
Thank you,
al.

Conversion to C#

Can this module be converted to C# pls. people can submit Pull request in their familiar language :)

Please add Twitter metatags

I have added some Twitter metatags next to the Facebook metatags, to enable twitter link sharing with post information and image, Im attaching the file with changes.

I have renamed as txt to be able to upload

Blog.txt

Content Import Failing

Installed 06.01.02
I decide to roll back to 6.00.5
exported content out to xml.
uninstalled 06.01.02
installed 6.00.5
import xml fails. progress circle spins then stops.
uninstalled 6.00.5
reinstalled 06.01.02
import xml
find folder & File
progress indicator circle spins then stops.
no error, resolves to import screen with files selected and xml displayed.

are there specific settings that need to be enabled for successful import.

XML here:
https://taconic.box.com/s/bp5siimhf26u9znp1i1rhewaa5n0nrng

Adding Blog Module multiple times to page(s), no option to select blog.

I am using DNN v9 (also happened on v8)...
If I create a blog and make an entry.
I have one page dedicated to the blog... another (say Home)...
If I add multiple Blog items (say Search, Calendar and v60) and delete or remove them or move them around... eventually, it seems to forget that it has a Blog to display... if I change the Blog Settings so that I can select the blog, there are no blogs to choose from. Basically, I have a page and module display the blog, but other displays on other pages no longer have the option to select that blog to display... It's basically as if it doesn't think it has any active blogs.

WLW Sync Theme fails

Using Live Writer 2012 on W10
DnnBlog 6.01.01 on DNN 7.1.2

The theme update on WLW2012 fails to complete.
Not sure where do we look for error message(s)?

Cheers,

Issue with page sizes for list view.

Hi,
I have a very odd issue with the page size on bloglist. the number of posts is not the same as set in the template settings. I want it to show 9 per page (3 rows of 3) On page 1 I have 5 posts on page 2 I have 8 on page 3 I have 9. To get it to show 9 on the first page I have to set the page size to 14! then on page 2 I get 13.
You can see the blog at
http://www.weddingdaydanceuk.co.uk/blog
currently the page size is set to 14.

Can you help with this very random issue?

Latest Posts url localization

The latestPosts template post.html does not work properly with localization. Although the title of the featured post is correct ( [post:localizedtitle]) the link is not because it leads to the default language blog post. I believe [post:parenturl] fails to use the localized parent blog.
Is there a fix or a better token to be used?

DNN Blog Upgrade Path?

I have a site that is currently running DNN Framework 6.2.8 and DNN Blog module version 4.1.1. I want to upgrade to DNN 9.0 but I am afraid that I will need to upgrade the DNN Blog module in order to successfully complete the upgrade to DNN 9.0. I see that the current release of DNN Blog is 6.4.0 but I cannot find documentation that outlines the upgrade path for the module or DNN Core version requirements for the various versions of DNN Blog.

I am doing testing on a "clone" of the live site and I have been able to successfully upgrade to DNN 7.1.2. However, multiple attempts at upgrading from 7.1.2 to 7.4.2 have failed. I am following an upgrade path of 6.2.8 -> 6.2.9 -> 7.1.2 -> 7.4.2 -> 8.0.4 -> 9.0.0 which I found at evotiva.com.

Any assistance would be greatly appreciated.

Chuck R.

Blog v6.03 downloaded, can't run .SLN, 3 errors

Hello,

Downloaded the latest (v 6.03), launch the .SLN, got 3 errors (see attached file). Please help resolved. Thank you.

Severity Code Description Project File Line Suppression State
Error BC30002 Type 'Global.DotNetNuke.Web.UI.WebControls.DnnGrid' is not defined. DotNetNuke.Modules.Blog E:\Data\myStuff\Programming\TianetDocs\DNN-BlogMY\DNN-Blog-06.03.00\Manage.ascx.designer.vb 77 Active
Error BC30002 Type 'Global.DotNetNuke.Web.UI.WebControls.DnnDatePicker' is not defined. DotNetNuke.Modules.Blog E:\Data\myStuff\Programming\TianetDocs\DNN-BlogMY\DNN-Blog-06.03.00\PostEdit.ascx.designer.vb 302 Active
Error BC30002 Type 'Global.DotNetNuke.Web.UI.WebControls.DnnTimePicker' is not defined. DotNetNuke.Modules.Blog E:\Data\myStuff\Programming\TianetDocs\DNN-BlogMY\DNN-Blog-06.03.00\PostEdit.ascx.designer.vb 311 Active

blogerrs

A critical error has occurred. Please check the Event Viewer for further details.

Dears,

I installed release Blog_06.01.02, and I configured it on my site, showing the list of Posts, Calendar, Tags Cloud and the list of blogs all are on the same page, It woks fine, but after few hours just the following error appears "A critical error has occurred. Please check the Event Viewer for further details",

TYPE:DotNetNuke.Services.Search.SearchEngineScheduler, DOTNETNUKE
EXCEPTION:Unable to cast object of type 'DotNetNuke.Modules.Blog.Common.ViewSettings' to type 'System.Collections.Generic.Dictionary`2[System.Int32,System.Collections.Hashtable]'.
RESCHEDULED FOR:6/16/2015 10:44:55 AM
SOURCE:STARTED_FROM_TIMER
ACTIVE THREADS:0
FREE THREADS:1
READER TIMEOUTS:0
WRITER TIMEOUTS:0
IN PROGRESS:0
IN QUEUE:5
Server Name: web2

I saw this link http://www.luiscabrera.me/Blog/Post/1107/Exception-in-ViewSettings-get_Settings-DNN-Blog-Module but it doesn't solve the problem
and also this one
http://www.luiscabrera.me/Blog/Post/1109/Exception-in-ViewSettings-get_Settings-RESOLUTION

Please Help me

Blog 6.2.2 loading up the event viewer with get_item exceptions

I have this running on DNN 7.4.2.

I'm currently seeing error being written to the event log very often. About 100 times over the past 10 hours alone.

Anyone else running into this, or know what the cause might be? I'd be willing to put in a PR if someone could point me in the right direction.

2/18/2016 1:23:51 PMGeneral Exception AbsoluteURL DefaultDataProvider DotNetNuke.Data.SqlDataProvider DotNetNuke
AbsoluteURL:
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:f748505e-66c1-433b-b888-1e5f588af61a
AssemblyVersion:
PortalId:-1
UserId:-1
TabId:-1
RawUrl:
Referrer:
UserAgent:
ExceptionHash:Sw4jmWcaIHQ6SIgZu2hzPg==
Message:NrComments
StackTrace:
at System.Data.SqlClient.SqlDataReader.GetOrdinal(String name)
at System.Data.SqlClient.SqlDataReader.get_Item(String name)
at DotNetNuke.Modules.Blog.Entities.Posts.PostInfo.Fill(IDataReader dr)
at DotNetNuke.Common.Utilities.CBO.FillObjectFromReader(Object objObject, IDataReader dr)
InnerMessage:
InnerStackTrace:
Source:System.Data
FileName:
FileLineNumber:0
FileColumnNumber:0
Method:
Server Name: [REMOVED]

WLW cannot connect

DNN 8.0.3 and Blog 6.4.0
Using http://mysite/Blog.aspx and the link obtained from the module I try to connect. I get a "500 Internal Server Error" reply. WLW could connect back in DNN 7.

The type initializer for 'DotNetNuke.Modules.Blog.Data.DataProvider' threw an exception.

Hey Guys,

I have installed versions 6.01.01, then removed it after experiencing this same error, then installed 6.01.02 and still get this error. There was no former versions of the module installed, and we are running DNN 7.04.01

It appears on page page load saying "A critical error has occurred. Please check the Event Viewer for further details." then upon checking the log I find this strange beast.

at DotNetNuke.Modules.Blog.Security.ContextSecurity..ctor(Int32 moduleId, Int32 tabId, BlogInfo blog, UserInfo user)
at DotNetNuke.Modules.Blog.Common.BlogContextInfo..ctor(HttpContext context, BlogModuleBase blogModule)
at DotNetNuke.Modules.Blog.Common.BlogContextInfo.GetBlogContext(HttpContext& context, BlogModuleBase blogModule)
at DotNetNuke.Modules.Blog.Common.BlogModuleBase.get_BlogContext()
at DotNetNuke.Modules.Blog.Common.BlogModuleBase.AddBlogService()
at DotNetNuke.Modules.Blog.Common.BlogModuleBase.Page_Load(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

DNN CE v8.0.4.226 - Blog Installation Error

Got to the point of finishing up the update and deleting files, and received an error.

From Event Logs:
AbsoluteURL:/Default.aspx
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:e1182913-05c1-4ed9-a9f0-f84d21585581
AssemblyVersion:
PortalId:-1
UserId:-1
TabId:-1
RawUrl:
Referrer:
UserAgent:
ExceptionHash:JZjh8BCQjuK3iHlRQ7I0gQ==
Message:FileSystemEntryType not matched!
StackTrace:
at SchwabenCode.QuickIO.QuickIOFile.InternalFileExists(String uncPath)
at DotNetNuke.Common.Utilities.FileSystemUtils.DeleteFiles(Array arrPaths)
at DotNetNuke.Services.Installer.Installers.CleanupInstaller.ProcessCleanupFile()
InnerMessage:
InnerStackTrace:
Source:SchwabenCode.QuickIO
FileName:
FileLineNumber:0
FileColumnNumber:0
Method:

RESX:ControlTitle_postedit.Text

Hi, I have just upgraded a dev site to dnn8.0.3 and DNN Blog to 6.4.0 and have a question.

When I start a new post the words RESX:ControlTitle_postedit.Text is visible above the editor.

blog630error

Is this OK or not

Kind Regards
Trevor

An update to issue:
I have setup 4 test sites with dnn 8.4 on 2 different severs.
This problem has raised it head on different servers both with a new virgin intall of dnn.
resx

A further update on this issue:
I installed and created 2 more websites(fresh install of DNN8.4) and this problem has appeared on another site:

resx2

Than means the problem is showing in 50% of cases

Text in Square brackets is supressed

When I have text in my blog post that contains things like:

[JavaScript :{ jsname:"AngularJS"}]

They are simply deleted from the output. Maybe the token replace engine is to rigid ?

Problem when using a TagList Template

This issue has already been reported a while ago over here:
http://www.dnnsoftware.com/forums/threadid/517708/scope/posts/dnn-blog-611-problem-with-tag-list
and here:
http://www.dnn-usergroup.de/Community/Forum/tabid/72/aff/10/afv/topic/aft/14769/Language/en-US/Default.aspx

Now a customer of mine had the same problem. I downloaded the source and implemented a quick fix in Blog.asxc.vb in the case-Statement from line 330 and below. As I'm not into DNN or the Blog Module there is no guarantee that it fixes the problem for the others, too nor that it does not cause any other bugs.

So here is my fix for you to review and maybe include in future versions:

If callingObject IsNot Nothing AndAlso TypeOf callingObject Is PostInfo Then
    For Each t As TermInfo In CType(callingObject, PostInfo).PostTags
        If BlogContext.ParentModule IsNot Nothing Then
            t.ParentTabID = BlogContext.ParentModule.TabID
        End If
        Replacers.Add(New BlogTokenReplace(Me, BlogContext.Post, t))
     Next
ElseIf BlogContext.Post IsNot Nothing Then
    For Each t As TermInfo In BlogContext.Post.PostTags
        If BlogContext.ParentModule IsNot Nothing Then
            t.ParentTabID = BlogContext.ParentModule.TabID
        End If
        Replacers.Add(New BlogTokenReplace(Me, BlogContext.Post, t))
    Next
Else
    For Each t As TermInfo In TermsController.GetTermsByModule(BlogContext.BlogModuleId, BlogContext.Locale).Where(Function(x) x.VocabularyId = 1).ToList
        If BlogContext.ParentModule IsNot Nothing Then
            t.ParentTabID = BlogContext.ParentModule.TabID
        End If
        Replacers.Add(New BlogTokenReplace(Me, Nothing, t))
    Next
End If
_usePaging = False

Categories and tags not displayed

I'm seeing an issue with 6.2.2 on DNN version 7.3.4 where the categories and tags are not displayed under the "Publishing Details" section.
categories-and-tags

What could cause this?

Thanks,
Steve

Comments are not HTML encoded

This leaves the commenting system open to XSS attacks and HTML injection.

Before saving a comment to the database, it should be encoded.

Posts Collection does not honor "All Blogs" setting

I have an instance of the LatestPosts module on the blog page. The page hosts one blog module with two blogs on it. The module settings on the LatestPosts module instruct it to display "All" blogs. However, when looking at blog detail, only posts from that blog's collection are shown, posts from the other blog are not shown.

If I change the module settings to one blog or the other, that setting is honored. But when the setting is "All", the Posts collection defaults to containing only the posts for the blog that is being displayed. It seems you cannot get it to display a list of all the posts in the blog instance (ie. from both of the blogs).

I am using Blog 6.3.0 on DNN 8.0.1

cannot set parent blog

We have installed DNN Blog on Evoq Content. I am able to do everything except to reference a parent blog from a blog module created on different page. The issue is that the parent blog drop down is not being populated.

Has anyone encountered this issue?

Windows Live Writer (WLW) can not connect to Blog

WLW was able to connect to the blog then sudden stop. The error message is below.

"Message:Server returned a fault exception: [0] Please check your URL to make sure you entered the correct URL for your blog. The blog posting URL is available through the blog settings for your blog."

This error came from the Sub GetPortalSettings in the file BlogPost.ashx. The PortalAliasInfo look up is null. The fix is use a new method to look up PortalSettings by PortalID.

Problem code:
PortalSettings = New PortalSettings(TabId, pai)

Fixed code:
PortalSettings = New PortalSettings(PortalId)

Below is temporary fix (removed a few lines not used)

Private Sub GetPortalSettings()
Try
Dim oTabController As TabController = New TabController
Dim oTabInfo As TabInfo = oTabController.GetTab(TabId, PortalId, False)
PortalId = oTabInfo.PortalID
PortalSettings = New PortalSettings(PortalId)
Catch ex As XmlRpcFaultException
Throw
Catch generatedExceptionName As Exception
Throw New XmlRpcFaultException(0, GetString("PortalLoadError", "Please check your URL to make sure you entered the correct URL for your blog. The blog posting URL is available through the blog settings for your blog."))
End Try
End Sub

Localization resources not working in local templates

I copied the default templates from the module to the Portals/{portal}/Blog/Templates folder so that I could create a set of custom templates. I am able to select the templates in the local directory, however all of the localized text is not displayed. If I set Log4Net to display DEBUG messages I get the following errors:

[WARN] DotNetNuke.Services.Localization.LocalizationProvider - Missing localization key. key: ReadMore.Text resFileRoot: ~/Portals/0/blogPosts/App_LocalResources/SharedResources.ascx.resx

The templates are looking in the wrong location for the resource files. The correct path is: ~/Portals/0/Blog/Templates/blogPosts/App_LocalResources/SharedResources.ascx.resx

Module Cache Key conflicts

DNN Platform is using a cache key of ModuleSettings{ModuleID}
DNN Blog is using the cache key of ModuleSettings{TabID}

If another module shares either ID then the cache will fail to load

Cheers

Token for Next/Previous Post

As a blog implementer, it would be nice to have a token that can be added to the post details template that displayed the ability to move from the current post to the next post, or from the current post to the previous post. This would help provide some stickiness and usability for various forms of blog implementations.

Honor UserId parameter

Currently the author view is being generated through the authorid parameter in the querystring. I would be great if the same result could also be achieved through having UserId in the querystring.

Background: In the user profile section of a site one could easily add a blog module then and have that present a filtered list by the current userid.

When adding post not able to add title

After having installed the module, adding an instance to a page, then trying to add a new post, I am unable to add a title. This is what I see and there is no place to add title.

Anyone have any idea why this might be?

addblogpost
addblogpost

Search Blogs error

Please, replace the name of procedure "Search Posts By Term" to other name "SearchPostsBy Category" inside the function SearchPostsByCategory. (file SqlDataProvider_CMD.vb string 147 )
The function must be:

Public Overrides Function SearchPostsByCategory(moduleId As Int32, blogID As Int32, displayLocale As String, userId As Int32, userIsAdmin As Boolean, categories As String, searchText As String, searchTitle As Boolean, searchContents As Boolean, published As Int32, limitToLocale As String, endDate As Date, authorUserId As Int32, pageIndex As Int32, pageSize As Int32, orderBy As String) As IDataReader Return CType(SqlHelper.ExecuteReader(ConnectionString, DatabaseOwner & ObjectQualifier & ModuleQualifier & "SearchPostsByCategory", moduleId, blogID, displayLocale, userId, userIsAdmin, categories, searchText, searchTitle, searchContents, published, GetNull(limitToLocale), GetNull(endDate), authorUserId, pageIndex, pageSize, orderBy), IDataReader) End Function

Thank to Author for the source code!

Upgrade FontAwesome to 4.0.3

DNN Blog currently includes FontAwesome 3.0.1. FontAwesome 4 improves the speed and performance of the CSS while also standardizing the icon names.

Export blog doesn't display progress

I have done a local upgrade of my existing site in preparation for migrating to a new site. When I try to export my blog, I am told to click a link that "will appear". It is unclear if the program has crashed or is just taking a long time to process everything. This dialog really needs a progress bar so it is clear what is going on and when to expect the link.

image

When I click on the blog overview to expand the post, throws a 404

Hi When I click on the blog overview to expand the post, throws a 404, from what I can see is that it adds the name of the post to the end of the URL and this causes the crash, if I change the end post name to Default.aspx it works fine.
redirect URL that doesn't work:
http://www.mysite.co.za/COFNEWS/tabid/220/Post/2797/Jacket-Chapter-16
Below is the link that works if I manually edit the end and change it with Default.aspx
http://www.mysite.co.za/COFNEWS/tabid/220/Post/2797/Default.aspx

Export blog returns a 404 error when calling the web-service

When attempting to export a blog running on a local installation I see a 404 error in Fiddler after hitting the export button. This error is not displayed nor does the UI handle it in any way.

In addition to fixing the root cause of the 404, the JavaScript code should be updated to display some error message to the user.

data-url="[post:link]"

Hello,
I added the
div class="share-buttons"
h5>[resx:Share]</h5
div id="sharrre" data-url="[post:link]" data-text="share"></div
/div
inside the post.html but the facebook, twitter,google pust links showen only in the first post but the other posts don't. I mean it gets url of the first post, how to add a share with theire post url to each post in the post.html.
Thanks,,

Dnn Social Groups

A question was asked if the blog module can be used in group mode and you mentioned that groups are based on roles to handle access. This works in terms of access but the real need is when a site visitor or group member visits the group blog page, they only see the blogs associated with the group. Not all blogs. The groupid (roleid) is in the url.

The core dnn events module handles group and user mode and I was wonder if this is something that can be added to the roadmap for blogs. It would be great to enable groups to have their own blogs. The other addition would be a latest blog module that could be put on the group home page that shows latest blogs for that group in addition to be able to used it on other pages to show all latest blogs.

Thanks

Issue with page

Hi, i have setup a list of blogs. I have set the template to display 9 per page. Currently it has 7 on the first page. 7 on the second page replicating the last post from the previouse page as the first post on the next page. 6 posts on the third page, 7 on the fourth page and 7 on the last page repeating in the same way as the first 2 pages.

At no point do i get a consistency or 9 per page. I have just upgraded to use 6.2.2 on dnn 7.4.1

any ideas what is going wrong?

OG Debugger does not like og:image tags

I ran a blog on 6.1.2 (DNN 7.4.1) through the Facebook debugger and it does not seem to like the image configuration. Attached is a screenshot of the debugger results, or you can run it through yourself: Blog

Ultimately it resolved to the right image, but it's the only image on the page so I'm not sure how it might respond in a different situation.

image

Search by term is not working

I have a list of posts and Im showing terms used for each post with link.

When I make click on link post are not being filtered just for that term.

URL Contains /Blog/Term/14/enviromental

Please help

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.