> Forums > Active Social > Integration and API > Adding private messaging to page
Last Post 28 Jun 2011 03:59 PM by jasen. 16 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Not Resolved
jasen
Customers
jasen
Post Count:17

--
17 May 2011 11:08 AM
    Hi,

    1) we added a AS module to the page
    2) we added the following script

    <a onclick="asClient.ShowSend(85,this); return false;" title="Send Message">Send Messagea>


    however, when the user clicks on that box, regardless of the user id, we get a popup that contains all kinds of text in the To: beyond just the user.  Take a look at this screenshot for an example of what happens:

    http://awesomescreenshot.com/0e9d5tldb

    notice how the To: field is filled with tons of additional weird data.  Where is this coming from?   

    Thanks,
    jasen
    Will Morgenweck Forum Admin
    DotNetNuke Staff
    Will Morgenweck
    Post Count:7672

    --
    17 May 2011 11:12 AM
    Does it happen on all browsers? Any javascript errors on the page? Instead of using an anchor tag trying just adding it to a span with a click event to see if that makes a difference. Also, what version of DNN and jQuery are you running?
    Will Morgenweck
    Director of Product Management
    DotNetNuke Corp.
    jasen
    Customers
    jasen
    Post Count:17

    --
    17 May 2011 11:42 AM
    Hi Will --

    As always, thanks for your awesome quick feedback.

    Tried SPAN, had same result.
    Firebug is not reporting any JS errors.
    JQuery version is jQuery v1.4.2
    DNN is 05.06.01 (238)
    ActiveSocial is 1.9.1.0

    Thanks again,
    jasen
    jasen
    Customers
    jasen
    Post Count:17

    --
    17 May 2011 11:44 AM
    Yes, all browsers.. tested FF, Chome, and IE.

    Although, in IE, its not just a bunch of random words, its just "undefined" over and over and over (after the users name).
    Will Morgenweck Forum Admin
    DotNetNuke Staff
    Will Morgenweck
    Post Count:7672

    --
    17 May 2011 01:22 PM
    Hi Jasen,
    That is really strange behavior. We did have some HTTP issues in 1.9.1 that could result in producing incorrect data. Can you upgrade to 1.9.2 to see if that makes a difference?

    Thanks,
    Will
    Will Morgenweck
    Director of Product Management
    DotNetNuke Corp.
    Will Morgenweck Forum Admin
    DotNetNuke Staff
    Will Morgenweck
    Post Count:7672

    --
    17 May 2011 01:33 PM
    I also updated your account so you should have access to download the latest.
    Will Morgenweck
    Director of Product Management
    DotNetNuke Corp.
    jasen
    Customers
    jasen
    Post Count:17

    --
    17 May 2011 01:53 PM
    Thanks Will -- I will check it out later today.
    jasen
    Customers
    jasen
    Post Count:17

    --
    22 May 2011 02:09 PM
    Hi Will.. I upgraded to 1.9.3 today and still no change. The To: msg box is being filled up with all kinds of, what looks like, javascript keywords.
    jasen
    Customers
    jasen
    Post Count:17

    --
    21 Jun 2011 05:40 PM
    Hi guys -- this is still happening, now in production. I have a URL/user name/pwd I would like to share with someone to take a look.

    Please help!
    Ben - DotNetNuke
    DotNetNuke Staff
    Ben - DotNetNuke
    Post Count:1645

    --
    21 Jun 2011 06:26 PM
    I will take a look jasen.

    Do you see the envelope under my avatar to the left? If so, send me the login information via private message.
    jasen
    Customers
    jasen
    Post Count:17

    --
    22 Jun 2011 09:36 AM
    Hi Ben.. I do see the envelope, but am being told you only accept private messages from friends ;-)
    Ben - DotNetNuke
    DotNetNuke Staff
    Ben - DotNetNuke
    Post Count:1645

    --
    22 Jun 2011 09:56 AM
    Whoops, changed it to Everyone.
    Ben - DotNetNuke
    DotNetNuke Staff
    Ben - DotNetNuke
    Post Count:1645

    --
    22 Jun 2011 10:59 AM
    All those random words appear to be function names in the googleapis prototype.js file. (http://ajax.googleapis.com/ajax/lib...totype.js)

    I am not sure at this time why the script is pulling in those names, but I am investigating it.
    jasen
    Customers
    jasen
    Post Count:17

    --
    22 Jun 2011 04:10 PM
    ok thanks a lot Ben! Please let me know ASAP if you find out how to supress it.
    jasen
    Customers
    jasen
    Post Count:17

    --
    27 Jun 2011 12:45 PM
    Hi Ben,

    Was wondering if you had any success tracking this down?

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

    --
    27 Jun 2011 03:39 PM
    Hi Jasen,

    I was unable to find any type of conflict in the Active Social script, although while researching the issue I found there are numerous complaints about jQuery and the googleapi prototype.js files conflicting.

    Can you try disabling the prototype.js file on the page and see if it works correctly?
    jasen
    Customers
    jasen
    Post Count:17

    --
    28 Jun 2011 03:59 PM
    Thanks Ben .. taking out prototype.js seems to make it work.
    You are not authorized to post a reply.
    > Forums > Active Social > Integration and API > Adding private messaging to page
    test
    Copyright 2012 by DotNetNuke Corporation / Terms of Use / Privacy