Posted by mdlueck on November 10, 2008 at 5:45pm
Jump to:
| Project: | ParaChat |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Great module!! :-)
Would you mind adding a chat counter as a block? This would be very helpful to us.
Also, I came up with XHTML'ified syntax to plug the chat counter into a block for now. Using this syntax (rather than the ParasChat suggested syntax) gives a meaningful error when no Java is installed on a Windows machine.It is as follows:
<!-- Begin Counter Code -->
<!--[if !IE]>-->
<object codebase="http://host7.parachat.com/pchat/applet/" classid="java:count.ChatCounter.class" type="application/x-java-applet" archive="counter.jar" height="20" width="20">
<!-- Konqueror browser needs the following param -->
<param name="archive" value="counter.jar" />
<!-- ParaChat Specific -->
<param name="query.Site" value="XXXX" />
<param name="ui.bg" value="F7F7F7" />
<param name="ui.fg" value="000000" />
<param name="ui.FontSize" value="14" />
<param name="ui.FontName" value="Helvetica" />
<!--<![endif]-->
<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" height="20" width="20" codebase="http://java.sun.com/update/1.6.0/jinstall-6-windows-i586.cab">
<!-- ParaChat Specific -->
<param name="codebase" value="http://host7.parachat.com/pchat/applet/" />
<param name="code" value="count.ChatCounter.class" />
<param name="archive" value="counter.jar" />
<param name="query.Site" value="XXXX" />
<param name="ui.bg" value="F7F7F7" />
<param name="ui.fg" value="000000" />
<param name="ui.FontSize" value="14" />
<param name="ui.FontName" value="Helvetica" />
</object>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
<!-- End Counter Code -->
Comments
#1
I would very much like to have this block! did you sort this out? do you have a solution that is working for you? I saw a similar post on the parachat forum is that you to?
LMK
thanx
#2
Greetings octafour: I have not come up with a solution to this request. Yes we have posted to the ParaChat forum as well, and were told this mod solves the problems.
Turns out that the Java crashes are specific to JRE 6 on Ubuntu 8.04. JRE 6 on Ubuntu 8.10 does not crash, so at least that has a work around.
So for now, paste that code into a block, update the XXXX, and away you go.
#3
#4
Aaahh, so did this support get added to the module, or is this getting swept under the rug?
#5
sorry, was going through fixing/closing out a bunch of stuff last night and closed this one without commenting. i thought your block solution was good, as that is what i had setup on my testing site.
if there's something the module could add that you can't do by just pasting their code in a block, i would have given it more consideration.
to make it happen, i'd have to make settings for all those paramaters like font size, color, width, height, font name, etc ... just seems a lot easier to edit the text.
i maybe lookin at this too much like a programmer though. if you think otherwise, set the status to active when you comment back and i'll look into it on the next round of changes.
#6
I would like to see the module support the block itself rather than having to hand code in the HTML into a custom block. I believe the module should have all of the needed arg / settings already, so pointless to have to maintain those in two separate places within Drupal.
Oh, and we are currently looking into https:// support from ParaChat as IE throws up security warnings on our site's https:// pages which also happen to contain ParaChat. So "one more arg / setting to support."
And yes, when doing so consider borrowing IP from the HTML example code I found and configured for use with the chat counter.
Thanks!