> Forums > Active Social > Themes and Templates > Icons in Profile and Group Tabs
Last Post 06 May 2011 12:44 AM by Frozen DNN. 11 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

--
27 Apr 2011 09:10 PM
    • Active Social Version: 1.9.1
    • DotNetNuke Version: 5.6.1
    Is there a way to add icons in the profile/group tabs?

    I tried to add the image url in the profile view template but it is throwing an error.

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

    --
    28 Apr 2011 03:25 AM
    re: Group Tabs

    is there a way to show the tab to group members only?

    i.e. We have Permission="Friend" in profileviewtabs.config.

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

    --
    29 Apr 2011 04:10 PM
    For group tabs which one of the below will work?

    Permission="Members"
    Permission="Member"
    Permission="GroupMembers"
    Permission="GroupMember"

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

    --
    29 Apr 2011 04:18 PM
    Frozen DNN
    Customers
    Frozen DNN
    Post Count:1331

    --
    29 Apr 2011 05:11 PM
    Thank you, Ben.

    What about Icons? I want to replace text with icons. Is it possible?

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

    --
    29 Apr 2011 07:36 PM
    Posted By Ben on 29 Apr 2011 05:18 PM
    http://www.activemodules.com/active...-available

    GroupMember

    It's not working for me. The group view disappears and I start getting conversion errors.

    xml version="1.0" encoding="utf-8" ?>
    <tabs>
    <tab controlKey="activity" text="[RESX:Activity]" isPostBack="true" permissions="" loadmethod="0">
            <content>
                
            content>
        tab>
         <tab controlKey="groupinfo" text="[RESX:Info]" isPostBack="true" permissions="" loadmethod="0">
        <content>
          
        content>
      tab>
         <tab controlKey="members" text="[RESX:Members]" isPostBack="true" permissions="" loadmethod="0">
            <content>
                
                            memberstatus="1" runat="server" />]]>
            content>
        tab>
        <tab controlKey="groupforums" text="Group Forum" isPostBack="true" permissions="" loadmethod="0">
            <content>
                
            content>
        tab>
        <tab controlKey="photos" text="[RESX:Photos]" isPostBack="true" permissions="GroupMember" loadmethod="0">
            <content>
                
            content>
        tab>
        <tab controlKey="events" text="[RESX:Events]" isPostBack="true" permissions="" loadmethod="0">
            <content>
                
            content>
        tab>
        <tab controlKey="managemembers" text="[RESX:ManageMembers]" isPostBack="true" permissions="GroupOwner" loadmethod="0">
            <content>
                
                            memberstatus="-1" runat="server" />]]>
            content>
        tab>
         
    tabs>
    I am using the latest AS/AF/DNN available.
    Thanks.
    Jeff Blanks
    Customers
    Jeff Blanks
    Post Count:387

    --
    29 Apr 2011 07:53 PM
    Frozen,

    To replace the text with an image you can try going into the langauge editor and change the entry, make sure to do it as admin vs host. Something like this:

    [RESX:Events] = Events

    Change To:
    [RESX:Events] = < span class="icon cal" >

    Keep in mind though that some resx entries are used multiple times. In that case you can open up the resource file in a text editor and add in your own resx. Something like this:
    [RESX:EventsTab] = < span class="icon cal" >

    Then take that new resx value and enter it into your groupviewtabs.config file.
    Cheers! Jeff
    @northeastok | @jeffblanks | My Blog
    Frozen DNN
    Customers
    Frozen DNN
    Post Count:1331

    --
    29 Apr 2011 08:25 PM
    Thank you, Jeff! That is a great idea. However, how do I open a resource file in a text editor. Actually, where is the editable resource file? I know the local resource file under the admin - languages but I cannot add anything to it. Unless you are suggesting that I access it via ftp.

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

    --
    30 Apr 2011 03:53 AM
    This (/httpdocs/DesktopModules/ActiveSocial/App_LocalResources) is what I edit, right?

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

    --
    30 Apr 2011 09:07 AM
    Frozen, the later versions of DNN removed the ability to add something to the resource files (why? dunno!). If you can access the file directly, it's basically an XML document. Ideally what you want to do is create a NEW file, named the same, in the same directory, with your portal id appended on the end of it:

    SharedResources.Portal-0 (where the -0 is my portal id)

    This will ensure that your custom values are separate from the modules resource file, and won't be replaced during an upgrade.

    Then, just add the replacement values to your file. You can copy this locally to work on it and then upload it if you like. It's much easier to work with using an XML editor (I use Visual Studio) but it can be done with a text editor.


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

    --
    30 Apr 2011 10:00 AM
    @Frozen,

    What Steven said! He beat me to the punch ;)
    Cheers! Jeff
    @northeastok | @jeffblanks | My Blog
    Frozen DNN
    Customers
    Frozen DNN
    Post Count:1331

    --
    06 May 2011 12:44 AM
    I can't figure this one out guys. I will try it again when I have more time.

    So far, new members template (thank you, Steven) and new groups (thank you, Jeff) template are working for me.

    However for some reason vanity urls have suddenly stopped working. They were working and overnight they stopped. I swear I changed nothing. I will try again before I open a support ticket.

    Thanks for your time.
    I am using the latest AS/AF/DNN available.
    Thanks.
    You are not authorized to post a reply.
    > Forums > Active Social > Themes and Templates > Icons in Profile and Group Tabs
    test
    Copyright 2012 by DotNetNuke Corporation / Terms of Use / Privacy