Discussions

    Search Discussion
    Most Recent Posts
    Our Remote Content Modules (e.g. latest photos, most popular members, etc) and remote commenting features.  
    View All TopicsSubscribePost a Topic or Question
    42 Posts
    General Questions
    By TJ Muehleman   
    Any general questions can be asked here.
    TJ Muehleman - VP Technology

    www.twitter.com/theportlabs 
    Block signature
    ReplyRemoveEditUnsubscribeSubscribe

    Visit mitch42's profile
    3 Posts
    mitch42  says:
    I'm looking for the javascript API information for displaying the latest Group forum content remotely.

    Also, I was wondering... if I wanted to display the latest forum content, blog entries, and comments for a group, would that be the purpose of the "Bulk Viewer"? And is there a sample/example of this somewhere?

    I have access to the Developer Wiki, but I'm unable to find this info there either.

    Thanks!

    Posted:   
    ReplyDirect LinkRemoveEdit

    Visit ThePortAdmin's profile
    85 Posts
    ThePortAdmin  says:
    Good question.

    It sounds like in your case you'd use the bulk viewer because it more works for efficiently than singleton remote viewers. And it loads after the page is fully loaded so that it does not affect the page load times of the rest of the page.

    Here is an example of the bulk viewer's usage:
    <html>
    <head>
    <title>Test Remote Articles</title>
    <script src="http://[your community's url here]/apis/scripts/remoteBulkViewer.ashx"></script>
    <script type="text/javascript">
    var tp_bulkViewer = new tp_remoteBulkViewer();
    tp_bulkViewer.setProxy('/apis/test/remotemgr/proxy.aspx?url=%url%');
    </script>
    </head>
    <body>
    <form id="form1" runat="server">
    <div style="margin-top:15px;margin-left:20px;">
    <b>My Community Test Remote Comments</b>

    Bulk viewer is being used to retrieve num comments. Bulk viewer is cached for 3 minutes.

    <a href="remotearticle1.aspx" >Remote Article 1</a>
    Num comments: <script type="text/javascript">tp_bulkViewer.add("itemnumcomments","id=1111");</script>

    <a href="remotearticle2.aspx" >Remote Article 2</a>
    Num comments: <script type="text/javascript">tp_bulkViewer.add("itemnumcomments","id=2222");</script>

    </div>
    </form>
    </body>
    </html>

    Hope this helps
    Posted:   

    I'm around to assist.
    Block signature
    ReplyDirect LinkRemoveEdit

    Visit elisamo's profile
    1 Posts
    elisamo  says:
    Getting started and having trouble identifying the ObjectTypes from our community to successfully make widgets work.

    For example, I would like to put on Most Popular Blog - I have the basic javascript code from the Wiki, but now I cannot figure out what the ObjectType for our blogs is.

    Our community is here:
    http://www.spinalcordinjury-paralysis.org

    I'm testing out widgets here:
    http://www.christopherreeve.org/gethelp

    The most popular blog widget I'm trying is saying: Sorry, no blogs found.

    Thank you!
    Julie
    Posted:   
    ReplyDirect LinkRemoveEdit

    Visit ThePortAdmin's profile
    85 Posts
    ThePortAdmin  says:
    Hey Julie,
    Thanks for your question. I'm trying to find an answer and will get back to you with it ASAP.
    Posted:   

    I'm around to assist.
    Block signature
    ReplyDirect LinkRemoveEdit

    Visit ThePortAdmin's profile
    85 Posts
    ThePortAdmin  says:
    I looked into this and found that the Most Popular Blogs widget is based on blog ratings. No blogs on your site have been rated. This might not be the widget you're looking for. Until users rate blogs, you may want the Latest Blog Posts widget.

    Hope this helps.
    Posted:   

    I'm around to assist.
    Block signature
    ReplyDirect LinkRemoveEdit