powered by Jive Software

Using OpenFire for paid chat

We are looking to implement a system for paid chat and are wondering how we might make that happen with OpenFire.

We already have a notion of users with commerce accounts, etc. We want to enable folks to start a chat session but be able to limit who folks can talk to based on if they have paid for that session. We may also want to allow the session for only a certain period of time.

Has anyone used OpenFire in this way before? Any suggestions on the best way one should approach this?

Ray

Based on the snippet from “Webchat Readme Plugin”, you could direct the paid users to the paid queue, and similiar for non-paid. This change would be made in the ‘showChatButton’ argument.

<!-- Insert this snippet where you would like the Chat button image to show up -->
<script language="JavaScript" type="text/javascript"
        src="[http://www.example.com/webchat/jivelive.jsp](http://www.example.com/webchat/jivelive.jsp)">
</script>
<script>
    showChatButton('your@workgroup.example.com');
</script>
<!-- End of Fastpath Snippet -->

HTH

Interesting. We will certainly checkout fastpath.

However, what about timing and ending a session if the person’s time had run out?

Hmm off hand I do not know. Seems it would require studying the sources and deciding how to handle this case.