Chat System

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Chat System

Mencey Melgar
Hey there, we are working to create a chat system at our forum. Since we don't have access to nabble's database and I didn't find a way to connect to our own db (it seems that we can't use php), I thought other solution:

I uploaded a xml file at http://forum.sniperjum.com/file/n11284/chat.xml and we want to append elements to that list. The only problem is that probably that file is protected. Is there any way to set 666 permissions to that file?

Thanks :)
:) Helper
Reply | Threaded
Open this post in threaded view
|

Re: Chat System

Mencey Melgar
Nevermind, already added a shoutbox, thanks anyway
:) Helper
Reply | Threaded
Open this post in threaded view
|

Re: Chat System

Pedro <Nabble>

Sorry, I was searching for an alternative chat plugin for you.

My test forum.
Reply | Threaded
Open this post in threaded view
|

Re: Chat System

Mencey Melgar
Oh thanks for taking care :)

Actually, the one I added works pretty good, if you want to take a look: http://forum.sniperjum.com/
:) Helper
Reply | Threaded
Open this post in threaded view
|

Re: Chat System

Pedro <Nabble>
That is nice. I will try it.
My test forum.
Reply | Threaded
Open this post in threaded view
|

Re: Chat System

Mencey Melgar
(at the html macro) :)
            <div class="div-shoutbox" style="bottom: 0; right: 0; position: fixed; border: 1px solid white; border-bottom: 0px; background-color: black; border-radius: 10px; border-bottom-right-radius: 0;border-bottom-left-radius: 0;">
                <div class="top-shoutbox" style="text-align: left; color: white; font-weight: bold;padding-left: 10px;font-size: 20px; border-bottom: 1px solid white;">
                    <a href="#" class="minimize" style="color: white">-</a>
                    <a href="#" style="color: white;margin-left: 110px;">Shoutbox</a>
                    <a href="http://forum.sniperjum.com/Shoutbox-tutorial-td11422.html" class="manual" style="font-size: 14px;float: right;margin-right: 10px;margin-top: 3px;">Manual</a>
                </div>
                <div class="div-shoutbox-box">
                    <b>- here your script to your http://www2.yourshoutbox.com shoutbox -</b>
                </div>
            </div>
            <script type="text/javascript">
                $(".top-shoutbox").click(function() {
                    min_max();
                });
                $(".minimize").click(function() {
                    event.stopPropagation();
                    min_max();
                });
                $(".manual").click(function() {
                    event.stopPropagation();
                });
                function min_max() {
                    var min = Nabble.getCookie("min");
                    if (!min) {
                        $(".div-shoutbox").animate({
                            height: 50
                        }, 800);
                        Nabble.setCookie("min", true);
                    }
                    else if (min) {
                        $(".div-shoutbox").animate({
                            height: 485
                        }, 800);
                        Nabble.deleteCookie("min");
                    }
                }
                $( document ).ready(function() {
                    var min = Nabble.getCookie("min");
                    if (min) {
                        $(".div-shoutbox").css("height", "50px")
                        Nabble.setCookie("min", true);
                    }
                });
           </script>
:) Helper
Reply | Threaded
Open this post in threaded view
|

Re: Chat System

Pedro <Nabble>
Louk, could you help this guy?
http://support.nabble.com/Chat-Box-PM-tp7591363.html
My test forum.