> Forums > Active Social > Themes and Templates > Forum topic inside profile tab
Last Post 25 Aug 2011 12:50 PM by Ben - DotNetNuke. 6 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Bartlomiej Waluszko
Registered Users
Bartlomiej Waluszko
Post Count:11

--
01 Aug 2011 08:54 AM
    • Active Social Version: 1.9.2
    • DotNetNuke Version: 5.6.2
    Hi

    I write some code in profileviewtabs.config
    <tab controlKey="groupforums" text="New Tab" isPostBack="true" hidden="false" permissions="" loadmethod="0">
    <content>
     
    content>
    tab>

    When I click on tab I get: System.NullReferenceException
    from method: Active.Modules.Forums.Controls.ForumLoader.Page_Load(Object sender, EventArgs e)
    I tried to add other properties to af:forumloader like: ForumGroupId, ForumModuleId etc. no effect



    Ben - DotNetNuke
    DotNetNuke Staff
    Ben - DotNetNuke
    Post Count:1645

    --
    02 Aug 2011 01:09 PM
    It would appear that the XSS filter stripped out your code. Can you attach it in a text document?

    What exactly are you trying to accomplish?


    Bartlomiej Waluszko
    Registered Users
    Bartlomiej Waluszko
    Post Count:11

    --
    03 Aug 2011 01:55 AM
    The point is:  How to put inside new tab in user profile, forum module with specified forumID.
    If I add new tab,  code in attachment, I get errors described above.

    NewForumTab.txt

    Ben - DotNetNuke
    DotNetNuke Staff
    Ben - DotNetNuke
    Post Count:1645

    --
    03 Aug 2011 02:19 PM
    You could try adding the Active Forums Whats New module to a page, then using the moduleloader control found here to display it in the tab:

    http://www.activemodules.com/active...tegration/


    Bartlomiej Waluszko
    Registered Users
    Bartlomiej Waluszko
    Post Count:11

    --
    04 Aug 2011 08:25 AM
    Thanks for reply Ben

    But I mean forum like in 'Discussions'  tab in group profile.
    How to make in user profile tab forum, where other users can add reppy etc. 


    Bartlomiej Waluszko
    Registered Users
    Bartlomiej Waluszko
    Post Count:11

    --
    25 Aug 2011 09:38 AM
    Still looking for solution.
    I try from other site. I make custom DNN module with reference to Active.Modules.Forums.40.dll to display only one specified forum topic.
    View.ascx file looks like this:
    <%@ Register TagPrefix="af" Namespace="Active.Modules.Forums" Assembly="Active.Modules.Forums.40" %>
     
    <af:ActiveForums runat="server" ID="af1" ForumId="1" />
     
    but I get exception: Object reference not set to an instance of an object.
    Obviously I also try other properties like: ForumTabId, ForumModuleId, ForumGroupId etc. with the same error.
    Question is: How put Active Forum control in custom module?

    Thanks

    View.ascx.txt

    Ben - DotNetNuke
    DotNetNuke Staff
    Ben - DotNetNuke
    Post Count:1645

    --
    25 Aug 2011 12:50 PM
    You can use the module loader to load the ActiveForumViewer into a tab, but it will still take you to the original module when you click a topic. I am not sure of any other way to do it better.


    You are not authorized to post a reply.
    > Forums > Active Social > Themes and Templates > Forum topic inside profile tab
    test
    Copyright 2012 by DotNetNuke Corporation / Terms of Use / Privacy