Forum

The forum is a free service supported by community members. Please consider opening a support ticket if you need timely help.

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 22 Dec 2016 06:06 PM by  Steven McFadyen
Profile image and link not working
 10 Replies
Sort:
You are not authorized to post a reply.
Page 1 of 3123 > >>
Author Messages


New Member


Posts:22
New Member


--
16 Nov 2016 02:56 PM

    Hi,

    I've just enabled comments and made a few style changes to ViewRevindexWiki.ascx (version 03.00.00). I notice that the profile image and link in the comments are not working.

    When I check the image tag (chrome developer tools), it shows:

    <img src="https://www.revindex.com/profilepic.ashx?userid=2&w=32&h=32" alt="">

    and the profile link as:

    <a id="dnn_ctr422_ViewRevindexWiki_TopicContentRepeater_CommentRepeater_0_CommentNameHyperLink_0">Steven McFadyen</a>

    In ViewRevindexWiki.ascx, the two lines are (which I have not modified):

    <asp:HyperLink ID="CommentProfileHyperLink" runat="server" ImageUrl='<%# "CommentProfileImage_ImageUrl") %>' CssClass="rvdwkProfileImage"></asp:HyperLink>

    <asp:HyperLink ID="CommentNameHyperLink" runat="server" Text='<%# "CommentNameHyperLink_Text") %>'></asp:HyperLink>

    What is the best way to fix this?

    Also, is it also possible to use the displayName, rather than first name and last nam.

    Steven

    0


    Basic Member


    Posts:394
    Basic Member


    --
    16 Nov 2016 09:17 PM

    Hi Steven

    Is your site running on a virtual path (non-root) e.g. "http://site.com/child/" ? What is your version of DNN and what version of Wiki are you running? Are you certain that user has a valid profile image.

    We use the Wiki on our own site and the profile image shows up. It uses the same image path if you check with the developer tool.

    0


    New Member


    Posts:22
    New Member


    --
    17 Nov 2016 12:59 PM

    Hi JT,

    Thanks for the reply.

    My site is not a child site (it is the only site on the DNN installation as well). The DNN version is 08.00.02 (4), and RevIndexWiki is 3.0.0.

    There are valid profile images. I have attached a screenshot of this working on the site in the DNN journal module.

    I have made some changes to VieRevindexWiki.ascx - structured data as suggested in (http://www.revindex.com/S...d/5199/scope/posts), some share this icons and modified the template using Bootstrap to display the article/discussion [comments] on different tabs. These are all client side, and I do not think they should affect the server rendering of the links. I have attached a copy of my ViewRevindexWiki file anyhow.

    You can also see the problem live (on the discussion tab) at: https://mycableengineerin...edge-base/dashboard.

    Steven

    profileImageIssue.zip

    0


    Basic Member


    Posts:394
    Basic Member


    --
    18 Nov 2016 02:07 PM

    Under your site's Admin > Site Settings page. Look in the User Account Settings tab. In the Profile Settings section, make sure your Photo is set to visible for All Users.

    Please confirm if that works?

    0


    New Member


    Posts:22
    New Member


    --
    19 Nov 2016 01:21 PM

    The profile photo is set to visible (see attached screenshot). I have also tried different users to make sure there are no permissions affecting anything.

    Photos are visible other places on the site, just not the Wiki comments.

    2016-11-19_1316.png

    0
    You are not authorized to post a reply.
    Page 1 of 3123 > >>