SimplePortal

Support => English Support => Topic started by: Deezel on August 01, 2013, 12:45:46 PM

Title: Ajax Chat with SP Page
Post by: Deezel on August 01, 2013, 12:45:46 PM
So we set up a page with an iframe for our Ajax Chat but for some reason when user is logged onto that page they can not post in the SP shout box at same time... any ideas or thoughts on this?
Title: Re: Ajax Chat with SP Page
Post by: Burke Knight on August 01, 2013, 01:11:32 PM
Most likely the Ajax chat disables the shoutbox due to conflict.
Title: Re: Ajax Chat with SP Page
Post by: Deezel on August 01, 2013, 01:18:22 PM
right.... has anyone got the know how to help me make needed changes to fix this
Title: Re: Ajax Chat with SP Page
Post by: [SiNaN] on August 01, 2013, 03:46:16 PM
I probably won't be able to reply for a good while even if I asked for more information. So the best I could suggest at this time would be to check the JavaScript error console of your browser after you trigger the error. That should give you an idea about where the conflict might be.
Title: Re: Ajax Chat with SP Page
Post by: Deezel on August 02, 2013, 08:48:37 AM
Code: [Select]
"NetworkError: 403 Forbidden - Session timeout - http://www.pixelmansion.com/index.php?action=portal;sa=shoutbox;xml"
Code: [Select]
TypeError: XMLDoc.getElementsByTagName is not a function
[Break On This Error]

...var shouts = XMLDoc.getElementsByTagName("smf")[0].getElementsByTagName("shout")
Title: Re: Ajax Chat with SP Page
Post by: AngelinaBelle on August 02, 2013, 01:01:46 PM
If you are not using the simple portal shoutbox, there is no reason for a call to
http://www.pixelmansion.com/index.php?action=portal;sa=shoutbox;xml

Are you trying to use the Simple Portal shoutbox along with a different AJAX chat?
Title: Re: Ajax Chat with SP Page
Post by: Deezel on August 02, 2013, 01:19:57 PM
Yes i am using the SP shout for quick comments... and the ajax chat to open in an iframed SP page, at the same time.
Title: Re: Ajax Chat with SP Page
Post by: [SiNaN] on August 14, 2013, 11:38:56 AM
Any chance I can see the page for myself? You can pm me the link and access if the page is not public.
Title: Re: Ajax Chat with SP Page
Post by: Infernus on January 24, 2015, 07:27:22 AM
I can confirm that this error is still appearing, had it yesterday on my forum. Any solution found?
Title: Re: Ajax Chat with SP Page
Post by: [SiNaN] on August 01, 2015, 07:25:32 AM
I apologize for the very very delayed response. Like I said, I'll have to see it in action see what might be going wrong. If you still require assistance with this one, I'll need temporary access to your forum.
SimplePortal 2.3.8 © 2008-2024, SimplePortal