Mini chat on the forum

Non-D-Day related topics.
Post Reply
User avatar
PowaBanga
Posts: 243
Joined: Wed Aug 12, 2009 5:25 am
Location: Belgium
Contact:

Mini chat on the forum

Post by PowaBanga » Sun Jun 21, 2015 5:55 am

Hi,
It's just a suggest for the forum. Maybe this mini chat can be integrated on the forum. I think it will be fun for facilitate comunication... even if it is not necessarily mandatory :p

Code: Select all

<!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>

<script type="text/javascript">
  jQuery.ajaxSetup({ cache: true });
  
  jQuery.getScript("https://static.jappix.com/server/get.php?l=en&t=js&g=mini.xml", function() {
     JappixMini.launch({
        connection: {
           domain: "anonymous.jappix.com",
        },

        application: {
           network: {
              autoconnect: true,
           },

           interface: {
              showpane: true,
              animate: true,
           },

           user: {
              random_nickname: false,
              nickname: "{S_USERNAME}",
           },

           groupchat: {
              open: ["ddayhome"],
           },
        },
     });
  });
</script>
<!-- ENDIF -->
This javascript must be placed in the <head> of forum, you should replace "{S_USERNAME}" by the user name's variable...

You can see the result on the french site
You can join me on IRC : in irc.quakenet.org chan : #ddayhome or on Freenode, chan #ddaynormandy .
Do not hesitate to type my pseudo to highlight me.
Or open an issue on github to highligh me by mail.
RSS

User avatar
Night Rider
Posts: 411
Joined: Sun Feb 14, 2010 3:48 pm
Location: North of Boston,Mass
Contact:

Re: Mini chat on the forum

Post by Night Rider » Thu Jun 25, 2015 6:05 pm

Very Nice I seen this on some of the older D-Day Web sites but do not know how they worked out or if people even logon to chat use the chat.
"Life is tough, but it's tougher when you're stupid"
John Wayne

Image

Post Reply