Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

$4.95 Windows Hosting at Webhost4life.com
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
The best choice for your web site host, email hosting, and domain registration.
 


  Sponsors  

Meet Our Sponsors

The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
MadCap Software, Inc.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Chat Module [Le...  Chat Module Updates?
Previous Previous
 
Next Next
New Post 3/16/2008 2:29 AM
User is offline Stefan Kamphuis
307 posts
www.superska.net
8th Ranked






Re: Chat Module Updates? 

Hi,

Thanks for taking the time to provide this valueable feedback. IT would have been a tad more readable if you had used the enter key a few times though .

But still... very much appreciated. Thanks!


Greetz,
Stefan Kamphuis
 
New Post 3/20/2008 8:10 AM
User is offline Chia
5 posts
10th Ranked


Re: Chat Module Updates? 

Sorry, I will keep that in mind.

By the way, ignore the thing about link's not working. I went through the code and figured out why.

  • it's either [ URL ] http://www.dotnetnuke.com [ /URL ] or [ URL=http://www.dotnetnuke.com ] DotNetNuke.Com [ /URL ]

I had a quick fix solution for the announcement of users leaving, and chat history, etc.

  • To get the chat history, I made it so the chat window would pop-up in a new frame[window].
    • To get that working, I added the chat module to a hidden page and used the [print module] link, to open up that module minus the rest of the site.
  • To announce that the user has left I added a 'Close' button to the Chat Form, and a corresponding API Call in the [DnnChat.vb] file to announce a user has left.

    • 'The Client Javascript/API to send the message that the user has left..
      Dim strExitChat As String = DotNetNuke.UI.Utilities.ClientAPI.GetCallbackEventReference(Me, _
                                                  String.Format("getMessageXML('{0}', MSG_TYPE_LEAVE)", "[" & GetSenderName() & " left the chat.]"), _
                                                  "receiveChatMessage", _
                                                  strContext, _
                                                  "receiveChatMessageError") & "window.opener='x';window.close();"
    •             'Create the close button
                  Dim btnClose As Button = New Button
                  btnClose.UseSubmitBehavior = False
                  btnClose.Text = "Close"
                  btnClose.Enabled = True
                  btnClose.Attributes("onClick") = strExitChat
  • To fix the '+' not showing up, I added the following code in the [DnnChat.js] file.
    • function replacePlus(s){
           var tempS;
           tempS = s.replace(/\+/gi,'+'); 
           return tempS;   
      }
    • (Quick and easy way to do it, although I'm sure theres a better way to do that.)

Hope that was helpful for some people.

 
New Post 3/25/2008 3:48 AM
User is offline rickie
3 posts
10th Ranked


Re: Chat Module Updates? 

I first posted this in the wrong thread, sorry about that. I am having an issue and see that someone else had the same. Installed Chat on DNN 4.8 and works well but sometimes my registered users get "Error: 400 - There is an error in XML document (1, 57)." when they load the Page with the module on it. This error is in the chat window at the top. I see someone else here had same issue previoulsly that commented under Comments on the project page. Anyone takers on what I am doing wrong or how to fix? Thanks in advanced.

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Chat Module [Le...  Chat Module Updates?
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


SteadyRain
Founded in 1999, SteadyRain has extensive experience delivering Internet technology strategies and solutions for a diverse client base, ranging from Fortune 500 firms to successful start-ups.
www.steadyrain.com
AfterImage Internet Consulting and SEO Services
AfterImage provides search engine optimization (SEO), Internet consulting and hosting services for the Windows platform (IIS, ASP, SQL Server).
www.afterimage.nl/
Willhite & Sharron Realtors
Exemplary service for your Seattle Real Estate needs. It's what you deserve from your Realtor®!
www.alkihomes.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke® logo are registered trademarks of DotNetNuke Corporation
Hosted by MaximumASP