> Forums > Active Social > Themes and Templates > New Members Template?
Last Post 23 Aug 2011 10:46 AM by Babu. 10 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Frozen DNN
Customers
Frozen DNN
Post Count:1331

--
29 Apr 2011 03:34 PM
    • Active Social Version: 1.9.1
    • DotNetNuke Version: 5.6.1
    Is this a bad code for New Members? This is not working for me.
    <asp:datalist id="lstMembers" runat="server" CellPadding="0" CellSpacing="0" ItemStyle-CssClass="aspic" ItemStyle-HorizontalAlign="Center" ItemStyle-VerticalAlign="Middle" repeatedirection="Horizontal" repeatcolumns="6" repeatlayout="Table" Width="100%">
        <itemtemplate>
                <div>
                <active:ProfilePicture id='ctlPicsm' ProfileUserId='<%# Bind("UserId") %>' ProfilePictureFile='<%# Bind("ProfilePicture") %>' MaxHeight="45" MaxWidth="45" PicSizes='sm' imagealt='<%# Bind("DisplayName") %>'  runat='server'/>
                div>
                <br />
        itemtemplate>
    asp:datalist>
    <div style="padding-left:20px;padding-top:4px;width:115px;float:right;">[AS:CONTROL:MEMBERSLINK]div>


    I am using the latest AS/AF/DNN available.
    Thanks.
    Ben - DotNetNuke
    DotNetNuke Staff
    Ben - DotNetNuke
    Post Count:1645

    --
    29 Apr 2011 03:38 PM
    The Latest Members view from activesocial.com looks like this:

    See Below:


    Frozen DNN
    Customers
    Frozen DNN
    Post Count:1331

    --
    29 Apr 2011 03:53 PM
    I tried that too but it's not working for me and I do not know why!


    I am using the latest AS/AF/DNN available.
    Thanks.
    Ben - DotNetNuke
    DotNetNuke Staff
    Ben - DotNetNuke
    Post Count:1645

    --
    29 Apr 2011 04:05 PM
    It didn't work because the code block ate some of the closing tags.

    I have attached it as a text file.

    latestmembers.txt

    Frozen DNN
    Customers
    Frozen DNN
    Post Count:1331

    --
    29 Apr 2011 04:06 PM
    Yay!

    This is now working. Thank you!


    I am using the latest AS/AF/DNN available.
    Thanks.
    Cliff Hammock
    Customers
    Cliff Hammock
    Post Count:667

    --
    29 Apr 2011 04:15 PM
    Posted By Ben on 29 Apr 2011 05:05 PM
    It didn't work because the code block ate some of the closing tags.

    I have attached it as a text file.

    Yes, I had similar issues with code from the editor where a lot of closing tags are disappearing. Is there a way to fix this so that the editor keeps the code intact?


    Frozen DNN
    Customers
    Frozen DNN
    Post Count:1331

    --
    30 Apr 2011 02:21 AM
    Ok,

    One more question.

    I want to show only 4 latest members and in 2 rows and 2 columns. How do I do that?

    Thanks.


    I am using the latest AS/AF/DNN available.
    Thanks.
    Frozen DNN
    Customers
    Frozen DNN
    Post Count:1331

    --
    30 Apr 2011 02:54 AM
    I am using this but it's not working. It only shows 2 in vertical direction. At least shouldn't this show 2 in horizontal direction?

    <active:memberslist id="ctlMembersList" OnlineOnly="False" SortColumn="0" SortDirection="DESC"  runat="server" PagingEnabled="False" PageSize="2" repeatedirection="Horizontal" repeatcolumns="2" repeatlayout="Table" width="100%" >
     


    I am using the latest AS/AF/DNN available.
    Thanks.
    Steven Webster
    Customers
    Steven Webster
    Post Count:1665

    --
    30 Apr 2011 08:58 AM
    Frozen,I have a similar issues on my site (trying to setup a 4 x 4 display).  Here is what worked (found by accident).  I changed the view to the member list (instead of my custom view).  This exposes all of the property controls of memberlist.  I set it for 4 columns, 16 records, horizontal, etc.  saved.  Then I changed it back to my custom view and voila!  4 x 4.  I have not had a chance to dig in on this one...but I got the result I wanted....


    Steven Webster
    dnnOsphere.com, An Independent Community for DotNetNuke Users
    Steven Webster
    Customers
    Steven Webster
    Post Count:1665

    --
    30 Apr 2011 09:36 AM
    One more free template....this displays a 4 x 4 grid of small member photos. (I would post a pic but the editor doesn't seem to like photos....). You can see a photo and the template here: http://dnnosphere.com/Community/For...-template/


    Steven Webster
    dnnOsphere.com, An Independent Community for DotNetNuke Users
    Babu
    Registered Users
    Babu
    Post Count:1

    --
    23 Aug 2011 10:46 AM
    In the above template from ben (29 Apr 2011 09:05 PM), add a column attribute and set it to the number of columns you would require and it works. Just tried it and is working for me.


    You are not authorized to post a reply.
    > Forums > Active Social > Themes and Templates > New Members Template?
    test
    Copyright 2012 by DotNetNuke Corporation / Terms of Use / Privacy