Version 2.0dtm.exe is proud to introduce the latest version version of the PJIRC Integrated Chat Mod for SMF that was unveiled over six months ago. Quite a few changes and improvements have been made since the release of version 1.0. Some of the more notable changes include:
- Fully integrated with SMF's templating system.
- Easier to use and customize.
- Updated version of the PJIRC applet.
- Numerous bug fixes.
Might I also add that there is now a website dedicated to helping you (http://pjirc.dtmdotexe.com/forum/) install, configure, or upgrade your mod.
FeaturesVersion 2.0 of my PJIRC Integrated Chat Mod includes all of the following features, and then some:
- Easy to customize IRC layout.
- Clean source code.
- No commercial advertisements.
- A remote chat that can be accessed via an IRC program.
- Stable Java applet.
- No configuration required.
- Default skin matches all stock SMF themes.
- User-friendly graphical user interface.
- Highly configurable.
- Works with all versions of SMF, 1.1 RC2 and up.
- Does not interfere with your current mods.
- Powered by PJIRC, an extremely stable IRC java applet.
CompatibilityVersion 2.0 of the PJIRC Integrated Chat Mod is fully compatible with all versions of SMF versions 1.1 RC2 and higher. If you are using a lesser version, I highly recommend you upgrade for full mod compatibility. Should you decide to not upgrade to SMF 1.1 RC2 or higher, I will personally install the mod for you at no charge. This mod is fully compatible with the Core, Babylon, and Classic themes. I am also willing to make this mod work with any theme (http://pjirc.dtmdotexe.com/forum/index.php?topic=3.0) on an individual basis, free of charge.
InstallationTo install the mod, simply download the compressed archive to your local computer and upload it to your forum via SMF's Package Manager. Unless you would rather configure the mod yourself to connect to a certain IRC server or a certain channel, there is no need to make any changes to any settings, unless desired. After you install the mod, your members will immediately be able to chat via the forum. If you need assistance with either installing or configuring the mod, please do not hesitate to ask for help (http://pjirc.dtmdotexe.com/forum/index.php?topic=3.0).
UpgradingUnless you completely familiarize with the source code of both versions of this mod, I highly recommend you perform a clean uninstall of version 1.0 and a clean install of version 2.0. If you would like for me to upgrade your mod, I would be more than happy to assist you (http://pjirc.dtmdotexe.com/forum/index.php?topic=3.0) with that on an individual basis.
PreviewI would not encourage anyone to install any of my mods without trying them out first. If you are interested in installing this mod, I highly recommend that you view the screenshots and check out the live demo (http://pjirc.dtmdotexe.com/forum/index.php?action=chat) on our website.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fgallery.dtmdotexe.com%2Falbums%2Fuserpics%2Fnormal_Untitled-1%257E1.jpg&hash=02b2498289dbf98f6efa8dee582ef0cd4d7d2db4) (http://gallery.dtmdotexe.com/albums/userpics/Untitled-1%7E1.jpg)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fgallery.dtmdotexe.com%2Falbums%2Fuserpics%2Fnormal_Untitled-2.jpg&hash=1d6bb91703c1d3248037713077531853b638660f) (http://gallery.dtmdotexe.com/albums/userpics/Untitled-2.jpg)
DownloadReady to give the mod a chance to prove itself? Just remember that if you end up disliking the mod, you can always just uninstall it. Please select from a mirror below.
- Download Mirror 1 (http://pjirc.dtmdotexe.com/forum/index.php?topic=2.0)
- Download Mirror 2 (http://mods.simplemachines.org/index.php?mod=180)
This looks real cool and I would love to use it on my forum but where is the download?
Quote from: thedude on August 10, 2005, 06:59:16 PM
This looks real cool and I would love to use it on my forum but where is the download?
It will be availible within the next few minutes.
-Dan The Man
Nice mod Dan. :)
My friend will probably love this. He was just showing me to a PJIRC chat applet for his irc. :)
Oh, friend is down there V :o
That is ironic, we were just looking for something today :P
Quote from: Anthony Timberlake on August 10, 2005, 07:20:05 PM
That is ironic, we were just looking for something today :P
I'll have it ready in a bit.
-Dan The Man
Darn. I was working on a PJIRC integration mod too :P
how many rooms can a user create?
It's up to the server you choose :P.
The mod is now availible :D.
-Dan The Man
Quote from: mennou on August 10, 2005, 07:32:42 PM
how many rooms can a user create?
With my mod, as many channels as you'd like :).
-Dan The Man
seem not to work for me.. it uploaded but not show off on my forum menu
Quote from: mennou on August 10, 2005, 07:47:08 PM
seem not to work for me.. it uploaded but not show off on my forum menu
Are you using a custom theme?
-Dan The Man
default theme..
Quote from: mennou on August 10, 2005, 07:49:39 PM
default theme..
Works for me just fine on SMF 1.1 and SMF 1.0.5 on the SMF Default Theme. Did you get any errors during the install? Can you please provide a link to your forum?
-Dan The Man
help:(
ok, i have done all that, i have it installed and i have the chat.php open. i joined that site and i set up my chat area. now i am stuck in what to write in the chat.php
i was returned this when i signed up
<!-- Begin Chat Code Here -->
<script type="text/javascript" language="JavaScript"src="http://irc.everywherechat.com:8000/Java/e.js?room=MatthuffysMSNChat&width=520&ads=true&height=500&roomstab=true&fontsize=12¶mfilename=embedded.prm"></script>
<!-- End Chat Code -->
Additional Information:
You can link directly to your chat room by using http://irc.everywherechat.com:8000/?room=MatthuffysMSNChat¶mfilename=embedded.prm
To display the number of user in your chat room use this code below:
<script type="text/javascript" language="JavaScript"src="http://www.everywherechat.com/users.asp?room=MatthuffysMSNChat"></script>
To display a list of users in your chat room use this code:
<script type="text/javascript" language="JavaScript"src="http://www.everywherechat.com/members.asp?room=MatthuffysMSNChat"></script>
Quote from: Matthuffy on August 10, 2005, 08:07:14 PM
ok, i have done all that, i have it installed and i have the chat.php open. i joined that site and i set up my chat area. now i am stuck in what to write in the chat.php
i was returned this when i signed up
<!-- Begin Chat Code Here -->
<script type="text/javascript" language="JavaScript"src="http://irc.everywherechat.com:8000/Java/e.js?room=MatthuffysMSNChat&width=520&ads=true&height=500&roomstab=true&fontsize=12¶mfilename=embedded.prm"></script>
<!-- End Chat Code -->
Additional Information:
You can link directly to your chat room by using http://irc.everywherechat.com:8000/?room=MatthuffysMSNChat¶mfilename=embedded.prm
To display the number of user in your chat room use this code below:
<script type="text/javascript" language="JavaScript"src="http://www.everywherechat.com/users.asp?room=MatthuffysMSNChat"></script>
To display a list of users in your chat room use this code:
<script type="text/javascript" language="JavaScript"src="http://www.everywherechat.com/members.asp?room=MatthuffysMSNChat"></script>
That's not my mod...wrong IRC mod :-\.
-Dan The Man
no, that code is from an IRC that i signed up for at the place i was told to in the other topic.
:-[ ok, i am useless at explaining, i am so sorry:( i have installed your mod, but it says that i have to enter the code
!-- CHANGE: Why not connect to a network? -->
<param name="host" value="irc.everywherechat.com:8000/Java/e.js">
<!-- CHANGE: How about a channel? Add more commands as command2, command3, and so on.-->
<param name="command1" value="/join #MatthuffysMSNChat">
i entered this but does not work. do you know of an irc address that i can use?
Quote from: Matthuffy on August 10, 2005, 08:20:27 PM
no, that code is from an IRC that i signed up for at the place i was told to in the other topic.
:-[ ok, i am useless at explaining, i am so sorry:( i have installed your mod, but it says that i have to enter the code
!-- CHANGE: Why not connect to a network? -->
<param name="host" value="irc.everywherechat.com:8000/Java/e.js">
<!-- CHANGE: How about a channel? Add more commands as command2, command3, and so on.-->
<param name="command1" value="/join #MatthuffysMSNChat">
i entered this but does not work. do you know of an irc address that i can use?
Find:
<param name="host" value="irc.everywherechat.com:8000/Java/e.js">
Replace with:
<param name="host" value="irc.everywherechat.com:8000">
Try that.
-Dan The Man
no, :( does not work. maybe it would be easier if you told me a site you know that i could signe up to to make a room and get the code, then if i have a problem you will know exactly what to do :) where do you recomend i sign up to
Quote from: Matthuffy on August 10, 2005, 08:28:33 PM
no, :( does not work. maybe it would be easier if you told me a site you know that i could signe up to to make a room and get the code, then if i have a problem you will know exactly what to do :) where do you recomend i sign up to
I recommend VillageIRC.
www.villageirc.net
-Dan The Man
index.theme.php was failed
Quote from: mennou on August 10, 2005, 08:37:05 PM
index.theme.php was failed
Have you changed the code for the home button around at all?
-Dan The Man
ok, still can not do it :(
i have put #mirc
but i still do not know what to put before it for villageirc.net, i have tried combinations but i still can not connect. i can connect from their site though :(
Quote from: Matthuffy on August 10, 2005, 08:48:57 PM
ok, still can not do it :(
i have put #mirc
but i still do not know what to put before it for villageirc.net, i have tried combinations but i still can not connect. i can connect from their site though :(
In chat.php, find:
<param name="host" value="irc.url.net">
Replace with:
<param name="host" value="irc.villageirc.net">
Find:
<param name="command1" value="/join #channelhere">
...and replace #channelhere with the channel of your choice :).
-Dan The Man
no, does not connect. have you tried it with that server?
Quote from: Matthuffy on August 10, 2005, 09:00:20 PM
no, does not connect. have you tried it with that server?
I'm on that server as we speak. Try fractured.villageirc.net.
-Dan The Man
i have tried every room, but i get java aplet faild. i just can not log in using that :( but i can access them when i go to the website:( anyidea of what could be worng?
Quote from: Matthuffy on August 10, 2005, 09:09:53 PM
i have tried every room, but i get java aplet faild. i just can not log in using that :( but i can access them when i go to the website:( anyidea of what could be worng?
It must be something with my mod (???). Can you please post a link to your forum?
-Dan The Man
www.matthuffymsn.abshost.net/forum
Quote from: Matthuffy on August 10, 2005, 09:12:13 PM
www.matthuffymsn.abshost.net/forum
You're using the mod that I had previously removed. Please uninstall the current mod and download and install this one (http://mods.simplemachines.org/index.php?a=download;mod=180;id=9232).
-Dan The Man
oops, that could explain it then, i was worried that i was seriously stupid at 1 point lol
Quote from: Matthuffy on August 10, 2005, 09:22:14 PM
oops, that could explain it then, i was worried that i was seriously stupid at 1 point lol
No problem :). So I'm guessing you got everything working?
-Dan The Man
coool! thanks it now works :) just 1 point though, why does it have a huge banner in front of the text :( is there anyway i can move it higher, i realise that you put it there for SM but can i not move it up so that we can read the text? maybe not??
Quote from: Matthuffy on August 10, 2005, 09:40:30 PM
coool! thanks it now works :) just 1 point though, why does it have a huge banner in front of the text :( is there anyway i can move it higher, i realise that you put it there for SM but can i not move it up so that we can read the text? maybe not??
Not that I know of. But what you could do is go into /pjirc/ and delete background.gif.
-Dan The Man
The logo has been removed from the package.
-Dan The Man
Is there any way that you could make it call the nickname from SMF and have it use that for the nickname on the chat instead of having to manually change?
Also, would there be any way for the smileys that are used to be the ones in the smf smiley directory instead?
Also, one thing you should probably do is make is so that instead of being forumurl/chat.php (and there being no title), you have forumurl/index.php?action=chat, and also have the title say Chat instead of showing the URL ;)
Oh, and obviously a bit in the 'Who's Online' saying that the person is in Chat (although that might mess up if they're looking through the forums in one window and chatting in the other?)
Quote from: Mattitude on August 11, 2005, 07:34:46 AM
Is there any way that you could make it call the nickname from SMF and have it use that for the nickname on the chat instead of having to manually change?
Also, would there be any way for the smileys that are used to be the ones in the smf smiley directory instead?
Also, one thing you should probably do is make is so that instead of being forumurl/chat.php (and there being no title), you have forumurl/index.php?action=chat, and also have the title say Chat instead of showing the URL ;)
Oh, and obviously a bit in the 'Who's Online' saying that the person is in Chat (although that might mess up if they're looking through the forums in one window and chatting in the other?)
Doing the first idea would be good for everyone except those with "-" in their usernames. I'm currently looking into all of the above. Thanks for your suggestions :).
-Dan The Man
Very good suggestions. I just downloaded the mod and installed it, but didn't pick a client yet. Dan, should I wait, or will the suggestions be implemented with step-by-setp instructions?
Kudos on the new chat mod. :D
i would love to install this MOD, however i have two questions:
3) Find "irc.url.net", without the quotes, and replace that IRC URL with the IRC network of your choice.
4) Find "#channelhere", without the quotes, and replace that channel name with the channel name of your choice
ok, i don't know anything about that, where can i find these IRC's. in other words... I am lost!
help, thank you.
Quote from: NitroRich on August 11, 2005, 02:22:42 PM
ok, i don't know anything about that, where can i find these IRC's. in other words... I am lost!
Well, uhh, there are tons of IRC networks out there to register a channel with.
-Dan The Man
Quote from: AtariKid on August 11, 2005, 02:15:48 PM
Very good suggestions. I just downloaded the mod and installed it, but didn't pick a client yet. Dan, should I wait, or will the suggestions be implemented with step-by-setp instructions?
Kudos on the new chat mod. :D
There are step-by-step instructions already. Look for the README in the first post in this topic.
-Dan The Man
Yes, I know, and done that alread. I was talking about implementing the suggestions.
ok? ???
i read that readme first and it says to grab andy IRC network of my choice, and that is where i am confused. but as you say, i guess i can find some with google search.
any IRC in particular you want to recommend?
Quote from: AtariKid on August 11, 2005, 02:27:45 PM
Yes, I know, and done that alread. I was talking about implementing the suggestions.
Oh, I'd have to recode it. I don't have any code for the suggestions made modified yet. When I do, I'll make this mod 1.1.
-Dan The Man
Quote from: NitroRich on August 11, 2005, 02:29:41 PM
ok? ???
i read that readme first and it says to grab andy IRC network of my choice, and that is where i am confused. but as you say, i guess i can find some with google search.
any IRC in particular you want to recommend?
I recommend Douglas's IRC network, VillageIRC.
www.villageirc.net
-Dan The Man
Gottcha. ;)
MAN!!!!!
YOU are the DanTheMan MAN!!!
Sweet!
i will start playing with this toy as soon as i get back. Members of my forum WILL LOVE this STUFF!!!
NIce job man!!!
Quote from: NitroRich on August 11, 2005, 02:38:01 PM
MAN!!!!!
YOU are the DanTheMan MAN!!!
Sweet!
i will start playing with this toy as soon as i get back. Members of my forum WILL LOVE this STUFF!!!
NIce job man!!!
Thank you :).
-Dan The Man
just a little stuck,
downloaded and installed, all seems fine had some safe mode issues with package handler but other than that it went well after a few rounds. (Side note - uninstall does not remove the chat button from the template)
Problem is the aplet fails.
exception: java.lang.NullPointerException. shows up on the ie frame in the lower left corner (I forget what that is called)
my other system gives me a different error:
load: class IRCApplet not found
Not sure what is going on, I have the latest sun java console installed.
Any Clue what is wrong here?
Quote from: Anihc on August 11, 2005, 04:42:19 PM
just a little stuck,
downloaded and installed, all seems fine had some safe mode issues with package handler but other than that it went well after a few rounds. (Side note - uninstall does not remove the chat button from the template)
Problem is the aplet fails.
exception: java.lang.NullPointerException. shows up on the ie frame in the lower left corner (I forget what that is called)
my other system gives me a different error:
load: class IRCApplet not found
Not sure what is going on, I have the latest sun java console installed.
Any Clue what is wrong here?
Uninstall works fine for me on all versions. Can you post a link to your forum please?
-Dan The Man
www.thinkingblock.com/smf
It is on a new site I am starting to build. My other site will reap the rewards of figuring this all out after I get all the mods I would like to have installed and working on this new site :)
OH also I remember something else I thought was not right, shouldn't there be some type of control for this in the admin panel somewhere? Turn it on/off? something? (I have missed somethings with this 1.1.3b update allready but I swear I looked on each section in the panel this time even karma lol.
Also I just realized I could copy what looks like errors from java console here is that report:
oad: class IRCApplet.class not found.
java.lang.ClassNotFoundException: IRCApplet.class
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more
Exception in thread "Thread-88" java.lang.NullPointerException
at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
at sun.plugin.AppletViewer.showAppletException(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
at sun.plugin.AppletViewer.showAppletStatus(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception in thread "thread applet-IRCApplet.class" java.lang.NullPointerException
at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
at sun.plugin.AppletViewer.showAppletException(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
And while I am at it I just noticed it leaves off the copyright and such at the bottom of the page:
The ThinkingBlock | Powered by SMF 1.1 Beta 3 Public.
© 2001-2005, Lewis Media. All Rights Reserved.
is all missing
Quote from: Anihc on August 11, 2005, 06:11:06 PM
www.thinkingblock.com/smf
It is on a new site I am starting to build. My other site will reap the rewards of figuring this all out after I get all the mods I would like to have installed and working on this new site :)
OH also I remember something else I thought was not right, shouldn't there be some type of control for this in the admin panel somewhere? Turn it on/off? something? (I have missed somethings with this 1.1.3b update allready but I swear I looked on each section in the panel this time even karma lol.
Also I just realized I could copy what looks like errors from java console here is that report:
oad: class IRCApplet.class not found.
java.lang.ClassNotFoundException: IRCApplet.class
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more
Exception in thread "Thread-88" java.lang.NullPointerException
at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
at sun.plugin.AppletViewer.showAppletException(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
at sun.plugin.AppletViewer.showAppletStatus(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception in thread "thread applet-IRCApplet.class" java.lang.NullPointerException
at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
at sun.plugin.AppletViewer.showAppletException(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
And while I am at it I just noticed it leaves off the copyright and such at the bottom of the page:
The ThinkingBlock | Powered by SMF 1.1 Beta 3 Public.
© 2001-2005, Lewis Media. All Rights Reserved.
is all missing
Excuse the downtime. Your PJIRC folder (/smf/pjirc/) is missing. The copyright is missing there because the page is powered by SMF SSI. When SSI is used like that, copyrights are disabled. Perfectly fine :).
-Dan The Man
Thanks,
NP on the down time, rats I installed an re-installed several times. Safe mod is on which is why I upgraded to 1.13b most mods have been going in just fine but this i one of the exceptions.
I hope that is all that is missing I will try and upload that folder manually.
I will be back if there are any problems lol
Thanks again Anihc.
Quote from: Anihc on August 11, 2005, 08:53:01 PM
Thanks,
NP on the down time, rats I installed an re-installed several times. Safe mod is on which is why I upgraded to 1.13b most mods have been going in just fine but this i one of the exceptions.
I hope that is all that is missing I will try and upload that folder manually.
I will be back if there are any problems lol
Thanks again Anihc.
I'm pretty sure that it's only that folder that's missing entirely. As for your second button, in index.template.php, find and remove (JUST ONE):
<a href="', $boardurl, '/chat.php">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/chat.gif" alt="' . $txt[103] . '" style="margin: 2px 0;" border="0" />' : $txt[103]), '</a>', $context['menu_separator'], '
-Dan The Man
Due to the server maintenance not too long ago, my mod will not download until I get this fixed.
-Dan The Man
Mod fixed :).
-Dan The Man
GOT IT WORKING! I also had to add this param :
<param name="port" value="6668"> (seems stratics needs 6668 not 6667 but I could not find where the base port info was located so I just added that param after the one for the host.
But the forum user names are not being passed onto the applet yet ;) so I am looking forward to your mod1.1 revision. :)
Thanks a bunch,
Anihc
Quote from: Anihc on August 11, 2005, 09:42:55 PM
GOT IT WORKING! I also had to add this param :
<param name="port" value="6668"> (seems stratics needs 6668 not 6667 but I could not find where the base port info was located so I just added that param after the one for the host.
But the forum user names are not being passed onto the applet yet ;) so I am looking forward to your mod1.1 revision. :)
Thanks a bunch,
Anihc
Could you not just use url.irc.net:6668? Glad to hear it's working OK :).
-Dan The Man
Thanks, TheMajor, for the Dutch translation and also [darksteel] for the Spanish translation :).
-Dan The Man
Quote
Could you not just use url.irc.net:6668? Glad to hear it's working OK :).
-Dan The Man
oh, I am not sure if I could have. I did not know that was another possible way to do that so maybe when I update my main site I will try that way and see. I researched the help section on the aplet just enough to find the param bit :)
Thanks again,
Anihc
ok, the installation went SMOOTH. i just have a couple of concerns.
this MOD is unwrapped, it opens in other window. how can i get this into the same window or to show part of the forum? well, that's not important for now, i guess.
second. i am using the mambo bridge, so when people click on the 'home' button it takes them right directly into the forum trying to skip the bambo bridge, how do i fix that?
thank you man! it works great!!
edit: actualy when i click all the buttons take me directly to the forum, i put a restriction there.
also, i found this infor for this:
3) Find "irc.url.net", without the quotes, and replace that IRC URL with the IRC network of your choice.
4) Find "#channelhere", without the quotes, and replace that channel name with the channel name of your choice.
i found this:
SERVER NAME LOCATION PORTS
ShadowRealm.VillageIRC.net Michigan, USA 6660-6670, 7000, 8000, 8080, 9999 (SSL)
but is 6660-6670 the channel? or do i have to put all these weird numbers in the #channlehere
thank you!!!!
Quote from: NitroRich on August 11, 2005, 11:25:52 PM
ok, the installation went SMOOTH. i just have a couple of concerns.
this MOD is unwrapped, it opens in other window. how can i get this into the same window or to show part of the forum? well, that's not important for now, i guess.
I guess I don't really understand what you're saying :-\.
Quotesecond. i am using the mambo bridge, so when people click on the 'home' button it takes them right directly into the forum trying to skip the bambo bridge, how do i fix that?
I'm not exactly sure. I have no experience with Mambo.
Quotealso, i found this infor for this:
3) Find "irc.url.net", without the quotes, and replace that IRC URL with the IRC network of your choice.
4) Find "#channelhere", without the quotes, and replace that channel name with the channel name of your choice.
i found this:
SERVER NAME LOCATION PORTS
ShadowRealm.VillageIRC.net Michigan, USA 6660-6670, 7000, 8000, 8080, 9999 (SSL)
but is 6660-6670 the channel? or do i have to put all these weird numbers in the #channlehere
thank you!!!!
Those numbers listed are ports. Disregard them for this mod. You have to REGISTER a channel.
-Dan The Man
oh, ok, so i have to register the channel, beat me but where do i register the channel?
please bear with me, thank you.
i noticed the buttons on top of the chat room point to where is located the forum like http://myforum.com/bb/index.php so if tha happens i put a restriction if someone wants to browse the forum directly they have to go through http://myforum.com and not http://myforum.com/bb
so how can i put the correct link to these buttons on top of the chat?
thanks again man!
Quote from: NitroRich on August 12, 2005, 12:16:43 AM
oh, ok, so i have to register the channel, beat me but where do i register the channel?
please bear with me, thank you.
i noticed the buttons on top of the chat room point to where is located the forum like http://myforum.com/bb/index.php so if tha happens i put a restriction if someone wants to browse the forum directly they have to go through http://myforum.com and not http://myforum.com/bb
so how can i put the correct link to these buttons on top of the chat?
thanks again man!
In my mod, chat.php uses SSI integration. There's really no way to change that if Mambo is not loaded with the page. As I've said, I have no experience with Mambo, sorry.
As for registering a channel, go here (http://www.villageirc.net/chatsys/do.chat?brand=villageirc&Chan=none), enter the nickname you want, when you get to a window, let it connect, then type "/nickserv register <password> <VALID email>" without the quotes. After you've activated your account, type "/ns identify <password>" without the quotes. For help with registering a channel, type "/nickserv help register" without the quotes.
-Dan The Man
QuoteAs for registering a channel, go here (http://www.villageirc.net/chatsys/do.chat?brand=villageirc&Chan=none), enter the nickname you want, when you get to a window, let it connect, then type "/nickserv register <password> <VALID email>" without the quotes. After you've activated your account, type "/ns identify <password>" without the quotes. For help with registering a channel, type "/nickserv help register" without the quotes.
done! so in other words, the "..Find "#channelhere" is actually the nickname i have registered?
you must be pulling hitting your computer desk, but this stuff is new to me. but i appreciate the time you take in answering these silly questions.
thanks man!
Quote from: NitroRich on August 12, 2005, 12:53:06 AM
done! so in other words, the "..Find "#channelhere" is actually the nickname i have registered?
you must be pulling hitting your computer desk, but this stuff is new to me. but i appreciate the time you take in answering these silly questions.
thanks man!
Not at all, it's my plessure :). No, "#channelhere" is the name of the channel you registered.
-Dan The Man
er Dan posted a split second before me ;)
No you just go to the irc server of your choice (he provided you a link to one)
IE: I use stratics.frws.com you would go to www.stratics.com then find their irc link that takes you to an irc java window in which you can then input the commands for creating a nickname along with your own channel name. type /help for various help features, then you use that info inside the chat.php file
IE: mine is:
<!-- CHANGE: Why not connect to a network? -->
<param name="host" value="stratics.frws.com">
<!-- CHANGE: How about a channel? Add more commands as command2, command3, and so on.-->
<param name="command1" value="/join #ThinkingBlock">
you would just place your channel and host for that channel respectively.
Good luck,
Anihc
oh i see!!! i got it now, it is a litle bit confusing at first. i think i have to write this thing down for my new users.
thank you for the input!
Quote from: NitroRich on August 12, 2005, 01:06:12 AM
oh i see!!! i got it now, it is a litle bit confusing at first. i think i have to write this thing down for my new users.
thank you for the input!
Well, IRC is nothing new. It's been around since the early days of the internet. To this day, it's still widely used, and yet some people don't know the power it holds...perfectly understandable :).
-Dan The Man
oh and your users will not be required to register a nick there. They can just type a nick in the applet (lower left corner) and hit enter.
BUT if there is someone with that same name registered there would then be a problem since the registered names are password protected. In that case they would just pick another name. Or they can register a name and use it all the time.
I am not sure what would happen to the names once the mod is changed to use forum names if those happen to be registered allready there might be an issue. BUT I think once Dan makes that change he can might be able to work around that.
I played a game where we used a plug-in that I know my own name was registered but the plug-in used the same name within the game mechanism at the same time if I recall correctly. It was Asheron's Call and we used the plug-in called megingarder.
I am not sure how they got around that but I am almost positve they did. (not sure how that would work here I think it passed a different name onto the irc server but used the players name inside the game dynamics which may not work in this case.
But If that is the case and he cannot work around it he may need to add the ability to change the nick for the user. Maybe a user profile nick setting that the plug-in reads instead of using the user name directly, that way if it is allready used it can be changed.
Got a small problem with mine, I keep getting a 500 inter server problem. >_> I go to check the error log and it tells me this:
[Fri Aug 12 03:24:37 2005] [error] [client 69.210.132.215] File does not exist: /home/tekhack2/public_html/500.shtml
[Fri Aug 12 03:24:37 2005] [error] [client 69.210.132.215] Premature end of script headers: /home/tekhack2/public_html/forum/chat.php
Have just installed this Chat Mod and it works great, so far.
Previously you said that you had removed the background image. However, mine still has it.
I changed background.gif in the directory to background1.gif, but it still shows. Which gif is it that I have to delete to get rid of it.
Thanks
edit: Okay. I had to close firefox and then start again. Its now working well. Looking forward to seeing what the members say. Must admit this is a great improvement to what I was using before on my forum :)
Thanks for the great effort.
Edit2: It is so nice installing a mod that works 1st time. You have done an excellent mod and your instructions were very good. Thanks again
If we look up the member name from the db and insert it in the script below, instead of "guest???". Now I am not sure if the lookup is 'member' or not. Please advise, as this should not be too hard to do
<!-- Nicknames and alternate nicknames of guests. ? = wildcard. -->
<param name="nick" value="Guest???">
<param name="alternatenick" value="Guest_???">
<param name="fullname" value="SMF PJIRC Mod">
Thanks
Got this puppy installed and running great using the default theme! Nice mod!
How can I use this mod with a customized theme???
if I access chat.php while using my custom theme I get this crap spit out in between the buttons [admin] and [members]:
Notice: Undefined index: MemberList in /home/thequoth/public_html/smf/Sources/Load.php(1515) : eval()'d code on line 514
looks like this
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi20.photobucket.com%2Falbums%2Fb206%2Fthequoth%2Ferror.gif&hash=82a1ff74786875f4de7f5b5111f43d5a6efbd544)
Quote from: thequoth on August 12, 2005, 11:45:36 AM
How can I use this mod with a customized theme???
if I access chat.php while using my custom theme I get this crap spit out in between the buttons [admin] and [members]:
Notice: Undefined index: MemberList in /home/thequoth/public_html/smf/Sources/Load.php(1515) : eval()'d code on line 514
looks like this
That's honestly something with your theme. It works fine for me.
-Dan The Man
so no ideas huh? I'll keep working on it.
Quote from: thequoth on August 12, 2005, 12:03:21 PM
so no ideas huh? I'll keep working on it.
Yep, it's definitely something with your theme because my mod doesn't even touch Load.php.
-Dan The Man
well my theme works fine for all the other areas of the site!
I only see that notice while viewing chat.php....
could it have something to do with
<?php
ob_start();
require_once('SSI.php');
?>
in chat.php ???
Quote from: thequoth on August 12, 2005, 12:19:03 PM
well my theme works fine for all the other areas of the site!
I only see that notice while viewing chat.php....
could it have something to do with
<?php
ob_start();
require_once('SSI.php');
?>
in chat.php ???
That's the code that runs the template with the chat client. It should be perfectly fine.
-Dan The Man
The chat can be accessed by anyone w/o logged in.
i would like my members to login to the forum first, then go to the chat room.
now, how can the chat be really part of the forum? i know it is linked but how can i make the members login first in order to login to the chat?
http://www.mypowerforum.com/bb/chat.php
thank you man!
Quote from: NitroRich on August 12, 2005, 12:57:02 PM
The chat can be accessed by anyone w/o logged in.
i would like my members to login to the forum first, then go to the chat room.
now, how can the chat be really part of the forum? i know it is linked but how can i make the members login first in order to login to the chat?
http://www.mypowerforum.com/bb/chat.php
thank you man!
I'm working on that for the 1.1 version.
-Dan The Man
You could just edit the theme (index.template.php) so that only users that are loged in can see the chat button... thats all I did.
Quote
..In my mod, chat.php uses SSI integration. There's really no way to change that if Mambo is not loaded with the page. As I've said, I have no experience with Mambo, sorry.
-Dan The Man
can someone tell me what is SSI integration? thanks!!
Quote from: OIDanTheManIO on August 12, 2005, 12:58:12 PM
Quote from: NitroRich on August 12, 2005, 12:57:02 PM
The chat can be accessed by anyone w/o logged in.
i would like my members to login to the forum first, then go to the chat room.
now, how can the chat be really part of the forum? i know it is linked but how can i make the members login first in order to login to the chat?
http://www.mypowerforum.com/bb/chat.php
thank you man!
I'm working on that for the 1.1 version.
-Dan The Man
oh i see man, thank you!
Quote from: thequoth on August 12, 2005, 01:03:37 PM
You could just edit the theme (index.template.php) so that only users that are loged in can see the chat button... thats all I did.
can you show me where did you put the code and what code? i really appreciate that.
Quote from: NitroRich on August 12, 2005, 01:07:18 PM
Quote
..In my mod, chat.php uses SSI integration. There's really no way to change that if Mambo is not loaded with the page. As I've said, I have no experience with Mambo, sorry.
-Dan The Man
can someone tell me what is SSI integration? thanks!!
SSI stands for Server Side Includes and you should just google it! Its too big to explain in here.Quote from: NitroRich on August 12, 2005, 01:08:28 PM
Quote from: thequoth on August 12, 2005, 01:03:37 PM
You could just edit the theme (index.template.php) so that only users that are loged in can see the chat button... thats all I did.
can you show me where did you put the code and what code? i really appreciate that.
Sure!
1.) Save a backup copy of index.template.php it is found in \Themes\default\2.) Find this code// Show the [home] and [help] buttons.
echo '
<a href="', $scripturl, '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/home.gif" alt="' . $txt[103] . '" style="margin: 2px 0;" border="0" />' : $txt[103]), '</a>', $context['menu_separator'], '
<a href="', $boardurl, '/chat.php">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/chat.gif" alt="' . $txt[103] . '" style="margin: 2px 0;" border="0" />' : $txt[103]), '</a>', $context['menu_separator'], '
<a href="', $scripturl, '?action=help" target="_blank">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/help.gif" alt="' . $txt[119] . '" style="margin: 2px 0;" border="0" />' : $txt[119]), '</a>', $context['menu_separator'];
3.) Replace with this code
// Show the [home] and [help] buttons.
echo '
<a href="', $scripturl, '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/home.gif" alt="' . $txt[103] . '" style="margin: 2px 0;" border="0" />' : $txt[103]), '</a>', $context['menu_separator'], '
<a href="', $scripturl, '?action=help" target="_blank">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/help.gif" alt="' . $txt[119] . '" style="margin: 2px 0;" border="0" />' : $txt[119]), '</a>', $context['menu_separator'];
// Show the [Chat] button if the user is loged in
if ($context['user']['is_logged'])
echo '
<a href="', $boardurl, '/chat.php">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/chat.gif" alt="' . $txt[103] . '" style="margin: 2px 0;" border="0" />' : $txt[103]), '</a>', $context['menu_separator'];
Let me know how it goes!
in my default theme, why there are two chat buttons next to next?
if you look at the post right before yours, it explains how to make the chat button only viewable by member logged in.....
go to that file and that section of code and you will notice two sets, just remove one of the duplicates.
You must have tried to uninstall and had the same problem I had with the uninstaller not removing this from the template files then when re-installing it created a second entry.
I suspect it is a safe mode situation and package handler seems to be doing a great job getting around it with a few exceptions such as this. (at least that is my assumption) If you don't have safe mode enabled and this is how it occurred then there might be some other problem with the un-installer but I suspect safe mode.
OIDanTheManIO
I refer to my previous post:
Quote from: robone on August 12, 2005, 09:28:31 AM
If we look up the member name from the db and insert it in the script below, instead of "guest???". Now I am not sure if the lookup is 'member' or not. Please advise, as this should not be too hard to do
<!-- Nicknames and alternate nicknames of guests. ? = wildcard. -->
<param name="nick" value="Guest???">
<param name="alternatenick" value="Guest_???">
<param name="fullname" value="SMF PJIRC Mod">
Maybe I never explained it correctly. What I want is instead of logging on in the chat area as Guest xxx it uses the member's name. Now I know this is "member" in the database, but how does one access this and what does one replace "Guest???" with.
it should be easily possible for someone that is a little more advanced than me at coding.
I am going to attempt to get this working today !
If anyone knows how to do this however it would save me a huge amount of time.
Just another query:
I manage to get it working fine from my computer, but using my other "networked computer", I get the following answer and cannot connect:
"Unable to connect:java.net.UnknownHostException:irc.lagnet.org.za"
I thought maybe I was using an old java release, so I upgraded and still have the same response.
I wonder if its because its going through a proxy server??
3guk
I agree, it should be easy for someone who has a bit of coding skills. Mine is limited to the extent that I can mimic code and insert it in different places, but not create code.
Hopefully someone can help here
Robone I had that problem too I think it is due to mozilla, as when i tried it under IE it works fine !!
And as for the auto username code
<?php
global $context, $settings, $options, $modSettings;
ob_start();
$ssi_layers = array('main');
require_once('SSI.php');
$userchatname = $context['user']['name'];
// Replace the quoted text below with a suffix that you would like on user names this stops there from being an duplicate names on the server
$userchatsuffix = "REPLACE THIS";
?>
<br><br>
<!-- CHAT SETTINGS START HERE -->
<!-- Modify the size of your SMF chat client. Don't make it too big! -->
<center>
<?php echo '<applet codebase="'. $boardurl . '/pjirc" code=IRCApplet.class archive="irc.jar,pixx.jar" width=640 height=400>' ?>
<!-- Parameters used to load files. Try not to edit this. -->
<?php echo '<param codebase="'. $boardurl . '/pjirc" name="CABINETS" value="irc.cab,securedirc.cab,pixx.cab">' ?>
<!-- Nicknames and alternate nicknames of guests. ? = wildcard. -->
<?php echo '<param name="nick" value="'. $userchatname . '_'. $userchatsuffix . '">' ?>
<param name="alternatenick" value="Guest_???">
<param name="fullname" value="SMF PJIRC Mod">
<!-- CHANGE: Why not connect to a network? -->
<param name="host" value="irc.url.net">
<!-- CHANGE: How about a channel? Add more commands as command2, command3, and so on.-->
<param name="command1" value="/join #channelhere">
<!-- Defines the chat mod as being GUI. Let's keep it that way :P. -->
<param name="gui" value="pixx">
<!-- Give OIDanTheManIO ALL the credit for this mod...OK, and SMF ;). -->
<param name="quitmessage" value="www.simplemachines.org">
<!-- These are fine. -->
<param name="asl" value="true">
<param name="useinfo" value="true">
<!-- Allow your users to use smileys? -->
<param name="style:bitmapsmileys" value="true">
<!-- Smiley URLs. Leave them as they are, no? -->
<param name="style:smiley1" value=":) img/sourire.gif">
<param name="style:smiley2" value=":-) img/sourire.gif">
<param name="style:smiley3" value=":-D img/content.gif">
<param name="style:smiley4" value=":d img/content.gif">
<param name="style:smiley5" value=":-O img/OH-2.gif">
<param name="style:smiley6" value=":o img/OH-1.gif">
<param name="style:smiley7" value=":-P img/langue.gif">
<param name="style:smiley8" value=":p img/langue.gif">
<param name="style:smiley9" value=";-) img/clin-oeuil.gif">
<param name="style:smiley10" value=";) img/clin-oeuil.gif">
<param name="style:smiley11" value=":-( img/triste.gif">
<param name="style:smiley12" value=":( img/triste.gif">
<param name="style:smiley13" value=":-| img/OH-3.gif">
<param name="style:smiley14" value=":| img/OH-3.gif">
<param name="style:smiley15" value=":'( img/pleure.gif">
<param name="style:smiley16" value=":$ img/rouge.gif">
<param name="style:smiley17" value=":-$ img/rouge.gif">
<param name="style:smiley18" value="(H) img/cool.gif">
<param name="style:smiley19" value="(h) img/cool.gif">
<param name="style:smiley20" value=":-@ img/enerve1.gif">
<param name="style:smiley21" value=":@ img/enerve2.gif">
<param name="style:smiley22" value=":-S img/roll-eyes.gif">
<param name="style:smiley23" value=":s img/roll-eyes.gif">
<param name="style:backgroundimage" value="true">
<param name="style:backgroundimage1" value="all all 0 background.gif">
<param name="style:sourcefontrule1" value="all all Serif 12">
<param name="style:floatingasl" value="true">
<!-- Various options. Change them as you wish. -->
<param name="pixx:timestamp" value="true">
<param name="pixx:highlight" value="true">
<param name="pixx:highlightnick" value="true">
<param name="pixx:nickfield" value="true">
<param name="pixx:styleselector" value="true">
<param name="pixx:setfontonstyle" value="true">
</applet>
</center>
<!-- END OF CHAT SETTINGS...I <3 SMF -->
<br><br>
<?php
ssi_shutdown();
?>
Thanks I will try that code.
It is also happening to all my members both with firefox and IE, however, it works on my pc. Strange!!
Rob I need to edit the script still so that it works for people with dashes in their name.
I will get round to it at some point !!
Is there a way to get rid of the SMF logo thats really in the way ?
I just deleted it from the directory (it was discussed in a previous post) and it no longer comes up.
Will wait for your changes.
Still don't know how to get it to work for my members. As I said, mine works but for no one else.
Well the one I hae at the moment works perfectly.
Just will make any users that have a - in as guests.
not familiar with str_replace so I will have to look that up could take me a day or so !
I really would like some help. my forum is at www.imagin.za.net
Try and get onto the chat and let me know where I am going wrong with all others who want to log on.
I am logged on at the moment and I will leave it on as long as they let me
Thanks
your chat mod works as well
now i could connect and saw you in the channel
Thanks
I appreciate the help. Wonder why a few of my members can't connect?
as well, there are no errors in your script.
so it mut be about the users' browsers or their java version
Hi 3guk
Your code works well. I used "1" in the suffix. Think I will change this to " ". But its great thanks
The suffix is there to stop there being duplicate names on the irc network.
IF say one of your users is called bob then there is a huge chance that the name bob is either registered on the network or is on the network.
By having a suffix it means that this can theoretically not happen as the chances of bob_robone being registered on on the network is extremly low.
Quote from: 3guk on August 13, 2005, 08:12:04 AM
The suffix is there to stop there being duplicate names on the irc network.
IF say one of your users is called bob then there is a huge chance that the name bob is either registered on the network or is on the network.
By having a suffix it means that this can theoretically not happen as the chances of bob_robone being registered on on the network is extremly low.
I was playing around and the problem is if a user is not registered on the forum, he then gets allocated the suffix, before he gets allocated the "guest???", whereas if you actually don't have anything and the suffix is empty, and then take away that space between the name and the suffix he gets allocated a name called "anon????" and then you never will use the "guest???"
I haven't tried this to see how many "anons" it will allocate as I had 3 connections up from the same ip address and when I tried for the 4th connection it booted me off :)
Ok so you want a simple if user = guest then label as guest1 , guest2 ect ?
3guk - Actually that is exactly what we need. By making the changes that I made and leaving the suffix blank then I achieve that indirectly, but if it could be coded like that it would be cleaner.
Hope OIDanTheManIO does not think we have highjacked his mod? ;D Maybe we have, but with good intentions edit: because this mod is very fast and the best chat mod yet
Great mod, scarily just what I was looking for and I find it was released just a few days ago!
Like the others I think simple options such as:
- Use member real names
- option to hide from guests
I will have to look at the PJIRC script for disabling people being able to jump to other rooms etc if it is possible.
Yes you can allow guests only to go to one room by,
QuoteSyntax is "all#channel1#channel2..." or
"none+#channel1+#channel2+...".
If the channel name contains a "-" or a "+" then you must escape it to use it.
eg: "\-"
so that #Myroom-xpc01
becomes #Myroom\-xpc01
Default Value:
all
Example:
<param name="authorizedjoinlist" value="none+#mychannel">
Robone : It may be easier for me to add a cpanel interface for all these features as no doubt we may loose some people on all the small modifications that we have done.
I should be able to sort out that guest thing for you today.
Excellent thanks that works fine.
Just the option to have real names from the SMF db and all good :)
Oh and chat room only available to registered members would be good as well...
Great work guys.
So instead of the user names being displayed you would rather the real names be used ? Is that what you are asking ?
As for the guest idea I will get that sorted in a few minutes.
thanks a lot, sometimes asking for something, will result in a thing, anyone likes!!! ;P
So we have the no guests version :
Its all commented so it should make sense.
<?php
global $context, $settings, $options, $modSettings;
ob_start();
$ssi_layers = array('main');
require_once('SSI.php');
$userchatname = $context['user']['name'];
//Variables - 3guks Edits
//Text For Guests
$guesttext = ' <a href="'. $boardurl . '/index.php?action=register ">Register Today</a></br> Chat is not enabled for guests. ';
// Replace the quoted text below with a suffix that you would like on user names this stops there from being an duplicate names on the server
$userchatsuffix = "ukslc";
?>
<br><br>
<!-- CHAT SETTINGS START HERE -->
<!-- Modify the size of your SMF chat client. Don't make it too big! -->
<center>
<?php
// Remove this section to allow guests
if ($context['user']['is_guest'])
echo'<div align="center">'. $guesttext .'</div>';
else
// End of guest removal section
echo '<applet codebase="'. $boardurl . '/pjirc" code=IRCApplet.class archive="irc.jar,pixx.jar" width=640 height=400>' ?>
<!-- Parameters used to load files. Try not to edit this. -->
<?php echo '<param codebase="'. $boardurl . '/pjirc" name="CABINETS" value="irc.cab,securedirc.cab,pixx.cab">' ?>
<!-- Nicknames and alternate nicknames of guests. ? = wildcard. -->
<?php echo '<param name="nick" value="'. $userchatname . '_'. $userchatsuffix . '">' ?>
<param name="alternatenick" value="Guest_???">
<param name="fullname" value="SMF PJIRC Mod">
<!-- CHANGE: Why not connect to a network? -->
<param name="host" value="irc.villageirc.net">
<!-- CHANGE: How about a channel? Add more commands as command2, command3, and so on.-->
<param name="command1" value="/join #ukslc">
<!-- Defines the chat mod as being GUI. Let's keep it that way :P. -->
<param name="gui" value="pixx">
<!-- Give OIDanTheManIO ALL the credit for this mod...OK, and SMF ;). -->
<param name="quitmessage" value="www.simplemachines.org">
<!-- These are fine. -->
<param name="asl" value="true">
<param name="useinfo" value="true">
<!-- Allow your users to use smileys? -->
<param name="style:bitmapsmileys" value="true">
<!-- Smiley URLs. Leave them as they are, no? -->
<param name="style:smiley1" value=":) img/sourire.gif">
<param name="style:smiley2" value=":-) img/sourire.gif">
<param name="style:smiley3" value=":-D img/content.gif">
<param name="style:smiley4" value=":d img/content.gif">
<param name="style:smiley5" value=":-O img/OH-2.gif">
<param name="style:smiley6" value=":o img/OH-1.gif">
<param name="style:smiley7" value=":-P img/langue.gif">
<param name="style:smiley8" value=":p img/langue.gif">
<param name="style:smiley9" value=";-) img/clin-oeuil.gif">
<param name="style:smiley10" value=";) img/clin-oeuil.gif">
<param name="style:smiley11" value=":-( img/triste.gif">
<param name="style:smiley12" value=":( img/triste.gif">
<param name="style:smiley13" value=":-| img/OH-3.gif">
<param name="style:smiley14" value=":| img/OH-3.gif">
<param name="style:smiley15" value=":'( img/pleure.gif">
<param name="style:smiley16" value=":$ img/rouge.gif">
<param name="style:smiley17" value=":-$ img/rouge.gif">
<param name="style:smiley18" value="(H) img/cool.gif">
<param name="style:smiley19" value="(h) img/cool.gif">
<param name="style:smiley20" value=":-@ img/enerve1.gif">
<param name="style:smiley21" value=":@ img/enerve2.gif">
<param name="style:smiley22" value=":-S img/roll-eyes.gif">
<param name="style:smiley23" value=":s img/roll-eyes.gif">
<param name="style:backgroundimage" value="false">
<param name="style:sourcefontrule1" value="all all Serif 12">
<param name="style:floatingasl" value="true">
<!-- Various options. Change them as you wish. -->
<param name="pixx:timestamp" value="true">
<param name="pixx:highlight" value="true">
<param name="pixx:highlightnick" value="true">
<param name="pixx:nickfield" value="true">
<param name="pixx:styleselector" value="true">
<param name="pixx:setfontonstyle" value="true">
</applet>
</center>
<!-- END OF CHAT SETTINGS...I <3 SMF -->
<br><br>
<?php
ssi_shutdown();
?>
Quote from: 3guk on August 14, 2005, 10:24:23 AM
So instead of the user names being displayed you would rather the real names be used ? Is that what you are asking ?
As for the guest idea I will get that sorted in a few minutes.
Yeah, no one recognizes user ids if they have altered their display name. If someone on IRC has the same name, maybe it could add a number on automatically and replace dodgy charactors with _ or something :)
Also I think spaces within a name are causing connection problems, maybe a space could be replaced with _ or something as well? Although I have removed a space within a username and getting BAD Username from the IRC quakenet.
As for your guest code, works perfect and the name is also very close except for the issues above :)
The username can not start with a number thats probs why you are getting a bad user name problem.
I am just learning how to use str_replace and hence will be able to get it sorted soon !!
I have also managed to get it now to work as an action and hence is more integrated with your sites.
I will package it up either today or tomorrow. I may also sort out some sort of Cpanel interface so that guesting can be turned on or off.
It depends wether I have time I may just package it up in its current state.
I dont believe its starting with a number on mine, its trying to use username: ypko|test and its doesn't work.
OIDanTheManIO, awesome job with the mod! I know you've listed a site to register for IRC but I checked it out and they do not allow adult content. My site will be a site for Men to discuss any and all topics, so I'm sure there will be discussings that violate VillageIRC.net's TOS. Are there any other places I can register a channel simply? I'm new to the whole IRC world. TIA.
If you download mirc you will find a ton of irc servers allready listed in their software package.
And yes several adult servers.
GL,
Anihc
Thanks Anihc!
Anytime.
Just google mirc too btw :)
James,
I do not think | are allowed either unless I am mistaken !!
I have an issue with the chat in my mambo integrated system
when pressing the chat button it tries to open the chat.php in the mambo folder, not in the forum folder
i copied the chat.php to mambo...and then error in line 4 (ssi.php)
any suggestions to get this fixed?
Modified the board url, to the old direction /forum instead of /cms
now it works
Looks like chaos fixed himself before I had chance.
I now have a completly working version on my server accessed via index.php?action=chat rather than chat.php.
Allowing me to integrate it better with the forums and also meaning less theming problems !!
I still however need to get this str_replace working.
I have a guest can not enter version and I also have a simple variable to turn it on or off !!
Cheers
my fix is not really a fix..my forum url is now not correct for mambo..but mostly allworks...
but what i m missing is a little status part, like in the integrated chat, wher eyou can see how many people are using the chat, or arein a configrued channel
something like that
i remeber that there was an older pjirc version with a button which automatically writes /msg NICKSERV identify
does anyone know what needs to be done to get this button?
or is it possible to issue that command including forum password?
my chat goes directly to my gameserver forum/game acc must be same..so hopefully they use same passwords..and an autologin will be possible..
Wow, I dont mean to mean, but I am noting people are installing the mod with out a clue what IRC is, or how to use it.
Just to help kick start a few of ya, http://www.mirc.com/irc.html
TLM - I am not sure I understand. Maybe you want to explain a bit more.
I know I personally have used IRC many times over the last 8 years, and it looks to me that most of the others contributing to this thread have also. Sure we may not know all of the "/commands", but thats the nice thing about internet, you can always find something.
But the link was good for those who needed a refresher.
Quote from: 3guk on August 14, 2005, 06:02:17 PM
Looks like chaos fixed himself before I had chance.
I now have a completly working version on my server accessed via index.php?action=chat rather than chat.php.
Allowing me to integrate it better with the forums and also meaning less theming problems !!
I still however need to get this str_replace working.
I have a guest can not enter version and I also have a simple variable to turn it on or off !!
Cheers
Your going great guns, I am sure you will get the last bit tidied up :)
Does it have any integration with SMF users or any other SMF specific options/features which make it more than a PJIRC script in a new window? Thank you, just testing waters
D3v with the bits of code that I have added it now takes the user name straight from SMF and if a guest tries to use it it tells them that they cannot and they should instead register.
The guest message is also editable.
you are a sexy man then. just what i need
3guk .... I think that is great. I will stick to the version where a guest can use it because, unless you make the channel restricted (+r), or private (+p) , or secret (+s), they (the guests) will be able to get access using MIRC.
I am not sure if you add this in one of you command lines, will it change the status every time a member joins the chat session?
For instance I added the following command line. The problem is that when ever someone joins it notifies everyone that the topic has been changed.
<param name="command2" value="/topic #imagin Imagin the forum for giving">
It does get a bit annoying. I might just take it out unless someone has a suggestion.
Quote from: robone on August 15, 2005, 09:09:06 AM
3guk .... I think that is great. I will stick to the version where a guest can use it because, unless you make the channel restricted (+r), or private (+p) , or secret (+s), they (the guests) will be able to get access using MIRC.
I have got round this by adding a password to the channel or 'key'. Using the parameter to enter with java applet for example:
room: #example pass: examplepass1
in chat.php:
<param name="command1" value="/join #example examplepass1">
Then only IRC clients like MIRC can join if they know the pass :)
Okay James that looks good. Will try it.
ireally remember that pjirc has had buttons where you pressed and get directly filled this /msg NICKSERV stuff...but i cant find it..any suggestions?
You can auto identify using a pram but I do not think this is possible, although I havent really looked round it.
http://forum.pjirc.com/
Ask there they should be able to help.
thats what i tried..but i dont have really programming knowledge..so it does not work
<param name="command1" value="/msg NICKSERV identify $password">
if i use:
<param name="command1" value="/msg NICKSERV identify MyPassword">
i will be automatically logged in, but instead of yusing a hardcoded password, it should send the smf acc password of that user..
is there a possibility?
another alternative
i saw it in mkportal chat
links which send the needed text when you press them..but also here..without knowledge..they wont work :P
[<a href="javascript:document.pjirc.setFieldText('/\msg nickserv identify ');document.pjirc.requestSourceFocus()">Identify</a>]
[<a href="javascript:document.pjirc.setFieldText('/\msg nickserv register password email');document.pjirc.requestSourceFocus()">register Nickname</a>]
hopefully someone with knowledge of script langauges can tell me what needs to be done :P
Is it just one user you want to auto identify or is it lots of users, I have put together one that can auto enter adn identify one single user.
Obviously this can be modded to deal with a group or even every user but i doubt all users would use the same password.
If like me it is just an admin that needs to be indetified then this is possible using what I have just written.
Which do you need ?
no i want to use the password variable of smf forum
my gameserver accs from the users are required to be the same, mostly all users use same passwords in both databases..
so it would be fine if the /msg NICKSERV identify +PasswordVariableFromSMF would work
or alternative, if there will be hyperlinks working which will enter the command completly without the password, so user only needs one click, then enter password...
most people dont have any IRC knowledge, so i try to make it as easy as possible
anyone with knowledge will use mirc ..
How about if you had a form before PJIRC loaded asking you to type in a PW which then gets passed on to SMF ?
Dan you kindly installed the chatroom for me but I keep getting java aplet failed.
Help.
What can I do now. Will you please have another look at it for me.
Wendy
@3guk thats my issue, i dont know how to pas something into pjirc
I don't know if this has been brought up but...
I have edited this mod slightly for my forum to make it fit into the who's online thing and stuff.
Before it came up with Unknown Action or something, now it shows up properly.
How can I give this to Dan or someone to make a new version of?
It can be found here...
http://www.sketchbattle.com/forum/index.php?action=irc
Quote from: Sambro on August 17, 2005, 12:37:36 PM
I don't know if this has been brought up but...
I have edited this mod slightly for my forum to make it fit into the who's online thing and stuff.
Before it came up with Unknown Action or something, now it shows up properly.
How can I give this to Dan or someone to make a new version of?
It can be found here...
http://www.sketchbattle.com/forum/index.php?action=irc
Please send the new mod to
[email protected].
-Dan The Man
Done!
I have used this chat script before, but the fact that you have been ab;e to entergrade it is awsome. I did not see the link for the needed files to use. Maybe im just blinde lol, but if someone could give me the link id be rather greatful.
To the creator Dan, if you wish I will be happy to be a mirror host for you're chat mod. I will add this forums address to my leech protection so that only people on these forums can access it also. If you are interested contact me.
Thank You,
Anthony W. Ford, Jr.
:D
Quote from: TonyFordz on August 17, 2005, 02:19:11 PM
I have used this chat script before, but the fact that you have been ab;e to entergrade it is awsome. I did not see the link for the needed files to use. Maybe im just blinde lol, but if someone could give me the link id be rather greatful.
To the creator Dan, if you wish I will be happy to be a mirror host for you're chat mod. I will add this forums address to my leech protection so that only people on these forums can access it also. If you are interested contact me.
Thank You,
Anthony W. Ford, Jr.
:D
You can download the mod here:
http://mods.simplemachines.org/index.php?a=download;mod=180;id=9235
Thanks for the offer; however, one download link will do just fine :).
-Dan The Man
I`ve had this mod installed once before but now after I install simpleportal I get an error in the "./Themes/default/index.template.php" any idea how to fix this. I know its simpleportal because if I uninstall it I can install the chat. Is there a fix for this at all ??
Quote from: Bigguy on August 17, 2005, 09:25:48 PM
I`ve had this mod installed once before but now after I install simpleportal I get an error in the "./Themes/default/index.template.php" any idea how to fix this. I know its simpleportal because if I uninstall it I can install the chat. Is there a fix for this at all ??
What's the error that you're getting?
-Dan The Man
When I got to package manager to apply it I get this:
1. Execute Modification ./Themes/default/index.template.php Failure
But only when the portal is installed, and the same in reverse I can have the chat installed and get the same error on the portal.
Hello guys,
Nice mod Dan, however, I can not get around this error:
Connecting...
Unable to connect : java.net.ConnectException : Connection refused: connect
I've tried about 10 different servers with all kinds of different ports and I can not get it to work..
Edit: Whoops, I forgot my Forum address: http://board.marlincrawler.com/final/ Log in as user name 'dan' password 'dan'
I just downloaded Java 1.5.0, and of course my firewall is not blocking the ports needed for IRC..
Any ideas? I've looked through all 11 pages but found no answer.
Thanks in advance,
BigMike
Quote from: BigMike on August 18, 2005, 12:06:31 AM
Hello guys,
Nice mod Dan, however, I can not get around this error:
Connecting...
Unable to connect : java.net.ConnectException : Connection refused: connect
I've tried about 10 different servers with all kinds of different ports and I can not get it to work..
Edit: Whoops, I forgot my Forum address: http://board.marlincrawler.com/final/ Log in as user name 'dan' password 'dan'
I just downloaded Java 5.0, and of course my firewall is not blocking the ports needed for IRC..
Any ideas? I've looked through all 11 pages but found no answer.
Thanks in advance,
BigMike
Can you link me to it please?
Quote from: Bigguy on August 17, 2005, 09:37:53 PM
When I got to package manager to apply it I get this:
1. Execute Modification ./Themes/default/index.template.php Failure
But only when the portal is installed, and the same in reverse I can have the chat installed and get the same error on the portal.
Unfortunately, some mods do coincide with each other. You best bet would be to add the button manually.
-Dan The Man
Also, I am using the chat.php as per Reply #114 on page 8...
Thanks for the Reply, Check my post, I changed it right before you posted.
Link: http://board.marlincrawler.com/final/
User: dan
Pass: dan
Also I am using the file "PJIRC_Chat_Mod_1.0.zip" for the mod.
Thanks again,
BigMike
Quote from: BigMike on August 18, 2005, 12:12:39 AM
Thanks for the Reply, Check my post, I changed it right before you posted.
Link: http://board.marlincrawler.com/final/
User: dan
Pass: dan
Also I am using the file "PJIRC_Chat_Mod_1.0.zip" for the mod.
Thanks again,
BigMike
Wroks just fine for me. I'm in the channel now :).
-Dan The Man
ummmmmmmm..........................................................
hhhhhhhmmmmmmmmmmmmmmmmmm.................................................
Mine keeps saying "Unable to connect : java.net.ConnectException : Connection refused: connect "
I will check some obvious things then....
wow, I got it. Boy was that dumb. I was just checking Windows firewall and not my router's fw. I got it now, thanks again, cheers,
BigMike
Quote from: BigMike on August 18, 2005, 12:20:22 AM
wow, I got it. Boy was that dumb. I was just checking Windows firewall and not my router's fw. I got it now, thanks again, cheers,
BigMike
No problem :).
-Dan The Man
Thought I would ask again cause I think my question got burried
Quote from: Bigguy on August 17, 2005, 09:37:53 PM
When I got to package manager to apply it I get this:
1. Execute Modification ./Themes/default/index.template.php Failure
But only when the portal is installed, and the same in reverse I can have the chat installed and get the same error on the portal.
Exciting Mod!!
It successfully installed, but once inside the Chat - every text box says "Undefined variable"
The SMF forum is a fresh 1.1 Beta 3 Public installation, with only the chat mod installed.
Screenshot:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.alien3d.com%2Ftemp%2Fpjircmodproblem.gif&hash=b810259c014597b1e31fedafb9c178080d2cb237)
You have to iput the #channel and the irc url into a certain file I just cant remember what file, sorry someone will know
Quote from: Redsmurf on August 18, 2005, 01:32:57 PM
Exciting Mod!!
It successfully installed, but once inside the Chat - every text box says "Undefined variable"
The SMF forum is a fresh 1.1 Beta 3 Public installation, with only the chat mod installed.
Screenshot:
You're using the messed up version of my mod. That problem was fixed long ago. Please re-download it and re-install it.
-Dan The Man
Quote from: Bigguy on August 18, 2005, 01:34:46 PM
You have to iput the #channel and the irc url into a certain file I just cant remember what file, sorry someone will know
No, the parameter is set wrong.
-Dan The Man
Hmmm - reinstalled the mod with the latest release, and the same error occurs.
The IRC channel is setup and waiting, join and try it out if you wish -->
chat.php looks like this:
<!-- CHANGE: Why not connect to a network? -->
<param name="host" value="irc.ircbear.com">
<!-- CHANGE: How about a channel? Add more commands as command2, command3, and so on.-->
<param name="command1" value="/join #spf">
The test forum here (http://www.alien3d.com/forum/)
Quote from: Redsmurf on August 18, 2005, 02:09:15 PM
Hmmm - reinstalled the mod with the latest release, and the same error occurs.
The IRC channel is setup and waiting, join and try it out if you wish -->
chat.php looks like this:
<!-- CHANGE: Why not connect to a network? -->
<param name="host" value="irc.ircbear.com">
<!-- CHANGE: How about a channel? Add more commands as command2, command3, and so on.-->
<param name="command1" value="/join #spf">
The test forum here (http://www.alien3d.com/forum/)
Overwrite your current chat.php with the chat.php in the downloadable archive.
-Dan The Man
Ok sorry I thought I new what I was talking about, LOL. Would there be any response to my post that I put up a couple posts ago about the "./Themes/default/index.template.php Failure" ??
That did not seem to make any difference; same error. I think the problem is my web server.
Looking at PJIRC's FAQ:
"Why do I get Undefined String?
The reason you get that message is very simple. It is because the applet cannot read the language files.
Here are the most common reasons why.
The web server you are using will not allow you to use files with odd extensions.
How to fix:
Upload the files with .txt extensions and add these parameters.
<param name="pixx:lngextension" value="txt">
<param name="lngextension" value="txt">
Sometimes you might need to use .gif or .jpg"
wow, nice mod...
I get it to work, an could join an Ircserver, and a channel. Also chattings works. But there are a lot of "undefinied String" things, also the Username doesnt use that from the SMF Board.. (i tested both, the newest package-manager and downloadversion)
Could someone post a solution in simple english? Me english isnt good :-[
Is any way there, to change the SMF Banner in the Background?
thank you all
Quote from: Surfy on August 18, 2005, 10:44:44 PM
wow, nice mod...
I get it to work, an could join an Ircserver, and a channel. Also chattings works. But there are a lot of "undefinied String" things, also the Username doesnt use that from the SMF Board.. (i tested both, the newest package-manager and downloadversion)
Could someone post a solution in simple english? Me english isnt good :-[
Is any way there, to change the SMF Banner in the Background?
thank you all
The reason you're getting that SMF banner as well as the undefined strings is because something went wrong with this website about a week ago and the new version of my mod was lost. I may or may not continue on with version 1.1 of this mod.
-Dan The Man
I've found a copy of the version that was lost when the SMF community went down last week and I will be uploading it ASAP. This will fix any problems you're having with the banner as well as the undefined strings.
-Dan The Man
Quote from: Bigguy on August 18, 2005, 02:31:17 PM
Ok sorry I thought I new what I was talking about, LOL. Would there be any response to my post that I put up a couple posts ago about the "./Themes/default/index.template.php Failure" ??
Big Mike, the index.template.php failure is telling you that it was not able to automatically insert a chat button into your index.template.php seeing as there is a chat button on yourwebsite I would ignore the error, it does not look like you are missing any functionality.
What the script does is looks for a specific line in the index.template and if it can not find the line it fails. No doubt the portal script modifies the index.template and hence when the PJIRC script comes to find the line its been moved.
It would be best to install the Portal script and then install the PJIRC script. When it says failed you can then ftp onto your server and edit index.template
In index template you are looking for a line near the bottom that looks something like this :
<a href="', $scripturl, '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/home.gif" alt="' . $txt[103] . '" style="margin: 2px 0;" border="0" />' : $txt[103]), '</a>', $context['menu_separator'], '
And add below it :
<a href="', $scripturl, '?action=chat">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/chat.gif" alt="Chat" border="0" />' : $txt[103]), '</a>', $context['menu_separator'], '
Guys, I'm still working to get the the working version of this mod up, but it will have to wait until I return from the beach.
-Dan The Man
glad to hear that :D
This is the best Chatmod i ever seen für YaBB / SMF :-*
cant say that it works on yabb ::)
i need this mod to work in yabbse skin included in 1.1 b3
aaaaand, there should be a php chat inside.. (not only java connectiong to irc :( )
Quote from: elmacik on August 19, 2005, 03:23:09 PM
cant say that it works on yabb ::)
i need this mod to work in yabbse skin included in 1.1 b3
aaaaand, there should be a php chat inside.. (not only java connectiong to irc :( )
How to make mods work with themes? (http://www.simplemachines.org/community/index.php?topic=34526.0)
Quote from: elmacik on August 19, 2005, 03:23:09 PM
there should be a php chat inside.. (not only java connectiong to irc :( )
I think this is a great mod, and improved with the few changes made ealier in this thread, but I agree with elmacik, a php chat, if there is one, would work a lot better with my members because all of them are having endless problems connecting, due to proxy server settings, firewall settings and some companies blocking irc totally.
Soooo, the net result on my forum is that no one is using it. Anyone know a php chat mod that could be integrated in smf
The thing with PHP chat is it tends to be slow and clogs up the database.
Java on the other hand runs pretty fast.
That said if anyone can find a php chat package I will quite happily integrate it.
You also need a load of refreshes hence meaning that bandwith usage is stupidly high.
I've got a problem, I don't if it's only a problem of this Mod, but maybe you could help me.
I'm using "SMF 1.1 Beta 3" with the "Cerberus"-Theme by "Bloc" I think.
I installed the "TeamSpeak Mod", I recognized no problems. Then I tried to install "PJIRC Integrated Chat Mod". I downloaded the file from this Site, uploaded it to the Forum, and tried to Installed it. After the message, that it was installed correctly, I didn't saw the Mod in the List of installed Mods, and even not in the Forum-Menu. I also couldn't find any files of it with a "FTP-Program". I tried to re-upload it, but the Forum says, the package already exists. I deleted the Package from the Forum, re-uploaded it and Installed it. The message, that it was installed correctly appeared again, and it was shown in the List of installed Mods. But the "TeamSpeak Mod" wasn't there now. I didn't find anything of the "PJIRC-Mod", not in the Forum-Menu, not with an "FTP-Program". But I found the Profile-Field made by the "TeamSpeak-Mod", but I can't uninstall it, because it wasn't shown in the List of installed Mods. I tried to install the Mods again and again, but the "PJIRC-Mod" wasn't shown inthe List of installed Mods, and the "TeamSpeak-Mod" created every time new Profile-Field (e.g. the Profile field of the Mod was shown in the profile two times), but I was able to uninstall this new installations of the "Teamspeak-Mod".
Now the problem is, I can't uninstall this one Profile-Field of the "TeamSpeak-Mod" and can't install the "PJIRC Integrated Chat Mod". What should I do now?
Please excuse my bad english.
When i do this I get parse errors, is there another way. ?? There are already 11 buttons across the top of my template.
Quote from: 3guk on August 19, 2005, 06:37:34 AM
Quote from: Bigguy on August 18, 2005, 02:31:17 PM
Ok sorry I thought I new what I was talking about, LOL. Would there be any response to my post that I put up a couple posts ago about the "./Themes/default/index.template.php Failure" ??
Big Mike, the index.template.php failure is telling you that it was not able to automatically insert a chat button into your index.template.php seeing as there is a chat button on yourwebsite I would ignore the error, it does not look like you are missing any functionality.
What the script does is looks for a specific line in the index.template and if it can not find the line it fails. No doubt the portal script modifies the index.template and hence when the PJIRC script comes to find the line its been moved.
It would be best to install the Portal script and then install the PJIRC script. When it says failed you can then ftp onto your server and edit index.template
In index template you are looking for a line near the bottom that looks something like this :
<a href="', $scripturl, '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/home.gif" alt="' . $txt[103] . '" style="margin: 2px 0;" border="0" />' : $txt[103]), '</a>', $context['menu_separator'], '
And add below it :
<a href="', $scripturl, '?action=chat">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/chat.gif" alt="Chat" border="0" />' : $txt[103]), '</a>', $context['menu_separator'], '
Ok I got it installed with the code you gave me but I didnt put it below the existing code I put it above. Now the only problem is that my button named "forum" that is supposed to take you to the forum does and the "chat" button that is supposed to take you to the chat takes you to the forum, how do I fix this ???
Hi,
open index.template.php from your theme directory and search for "chat" then you might need to exchange the links between the chat button and forum.
how do you mean "exchange" ??? Both buttons take you to the same place ??
Here is the bottom half of my index.template.php file does this help.
Quote// Show the menu up top. Something like [home] [help] [profile] [logout]...
function template_menu()
{
global $context, $settings, $options, $scripturl, $txt;
// Show the [home] and [help] buttons.
echo '
<a href="', $scripturl, '?action=chat">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/chat.gif" alt="Chat" border="0" />' : $txt[103]), '</a>', $context['menu_separator'], '
<a href="', $scripturl, '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/home.gif" alt="' . $txt[103] . '" style="margin: 2px 0;" border="0" />' : $txt[103]), '</a>', $context['menu_separator'];
echo ' <a href="', $scripturl, '?action=help" target="_blank">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/help.gif" alt="' . $txt[119] . '" style="margin: 2px 0;" border="0" />' : $txt[119]), '</a>', $context['menu_separator'];
//How about the [forum] button?
$txt['forum'] = 'Forum';
echo ' <a href="', $scripturl, '?action=forum">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/forum.gif" alt="' . $txt['forum'] . '" style="margin: 2px 0;" border="0" />' : $txt['forum']), '</a>', $context['menu_separator'];
// How about the [search] button?
if ($context['allow_search'])
echo '
<a href="', $scripturl, '?action=search">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/search.gif" alt="' . $txt[182] . '" style="margin: 2px 0;" border="0" />' : $txt[182]), '</a>', $context['menu_separator'];
// How about the [downloads] button?
echo '
<a href="', $scripturl, '?action=downloads">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/downloads.gif" alt="Downloads" style="margin: 2px 0;" border="0" />' : 'Downloads'), '</a>', $context['menu_separator'];
// Is the user allowed to administrate at all? ([admin])
if ($context['allow_admin'])
echo '
<a href="', $scripturl, '?action=admin">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/admin.gif" alt="' . $txt[2] . '" style="margin: 2px 0;" border="0" />' : $txt[2]), '</a>', $context['menu_separator'];
// Edit Profile... [profile]
if ($context['allow_edit_profile'])
echo '
<a href="', $scripturl, '?action=profile">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/profile.gif" alt="' . $txt[79] . '" style="margin: 2px 0;" border="0" />' : $txt[467]), '</a>', $context['menu_separator'];
// The [calendar]!
if ($context['allow_calendar'])
echo '
<a href="', $scripturl, '?action=calendar">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/calendar.gif" alt="' . $txt['calendar24'] . '" style="margin: 2px 0;" border="0" />' : $txt['calendar24']), '</a>', $context['menu_separator'];
echo '
<a href="', $scripturl, '?action=arcade"><img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/games.gif" alt="' . "Arcade" . '" style="margin: 2px 0;" border="0" /></a>', $context['menu_separator'];
//BEGIN Shop MOD 0.2 Code
echo "<a href='{$scripturl}?action=shop'>", ($settings['use_image_buttons'] ? "<img src='{$settings['images_url']}/{$context['user']['language']}/shop.gif' alt='{$txt['shop']}' style='margin: 2px 0;' border='0' />" : $txt['shop']), "</a>{$context['menu_separator']}";
//END SHOP MOD
// If the user is a guest, show [login] and [register] buttons.
if ($context['user']['is_guest'])
{
echo '
<a href="', $scripturl, '?action=login">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/login.gif" alt="' . $txt[34] . '" style="margin: 2px 0;" border="0" />' : $txt[34]), '</a>', $context['menu_separator'], '
<a href="', $scripturl, '?action=register">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/register.gif" alt="' . $txt[97] . '" style="margin: 2px 0;" border="0" />' : $txt[97]), '</a>';
}
// Otherwise, they might want to [logout]...
else
echo '
<a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/logout.gif" alt="' . $txt[108] . '" style="margin: 2px 0;" border="0" />' : $txt[108]), '</a>';
}
?>
Ok change -
// Show the [home] and [help] buttons.
echo '
<a href="', $scripturl, '?action=chat">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/chat.gif" alt="Chat" border="0" />' : $txt[103]), '</a>', $context['menu_separator'], '
to
// Show the [home] and [help] buttons.
echo '
<a href="', $scripturl, '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/home.gif" alt="' . $txt[103] . '" style="margin: 2px 0;" border="0" />' : $txt[103]), '</a>', $context['menu_separator'], '
<a href="', $scripturl, '?action=help" target="_blank">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/help.gif" alt="' . $txt[119] . '" style="margin: 2px 0;" border="0" />' : $txt[119]), '</a>', $context['menu_separator'];
// Show the [CHAT] button.
echo '
<a href="', $scripturl, '?action=chat">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/chat.gif" alt="Chat" style="margin: 2px 0;" border="0" />' : $txt[103]), '</a>', $context['menu_separator'], '
And the forum button is basicly the home button or where should it direct you?
Updated - added the margin to the chat button.
Look above....
Ok try it ;D
Now I have 2 home buttons 2 help buttons and the chat button still goes to the forum. Maybe I copied it wrong
UPDATED it again.
Ok
REPLACE this from
Quote// Show the menu up top. Something like [home] [help] [profile] [logout]...
where it start till the line where it states in your script:
Quote//BEGIN Shop MOD 0.2 Code
and please tell me do you want the forum button or the home button or both?
// Show the menu up top. Something like [home] [help] [profile] [logout]...
function template_menu()
{
global $context, $settings, $options, $scripturl, $txt;
// Show the [home] and [help] buttons.
echo '
<a href="', $scripturl, '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/home.gif" alt="' . $txt[103] . '" style="margin: 2px 0;" border="0" />' : $txt[103]), '</a>', $context['menu_separator'];
//HELP Button
echo '
<a href="', $scripturl, '?action=help" target="_blank">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/help.gif" alt="' . $txt[119] . '" style="margin: 2px 0;" border="0" />' : $txt[119]), '</a>', $context['menu_separator'];
//How about the [forum] button?
$txt['forum'] = 'Forum';
echo '
<a href="', $scripturl, '?action=forum">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/forum.gif" alt="' . $txt['forum'] . '" style="margin: 2px 0;" border="0" />' : $txt['forum']), '</a>', $context['menu_separator'];
// How about the [CHAT] button?
<a href="', $boardurl, '/chat.php">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/chat.gif" alt="' . $txt[103] . '" style="margin: 2px 0;" border="0" />' : $txt[103]), '</a>', $context['menu_separator'];
// How about the [search] button?
if ($context['allow_search'])
echo '
<a href="', $scripturl, '?action=search">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/search.gif" alt="' . $txt[182] . '" style="margin: 2px 0;" border="0" />' : $txt[182]), '</a>', $context['menu_separator'];
// How about the [downloads] button?
echo '
<a href="', $scripturl, '?action=downloads">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/downloads.gif" alt="Downloads" style="margin: 2px 0;" border="0" />' : 'Downloads'), '</a>', $context['menu_separator'];
// Is the user allowed to administrate at all? ([admin])
if ($context['allow_admin'])
echo '
<a href="', $scripturl, '?action=admin">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/admin.gif" alt="' . $txt[2] . '" style="margin: 2px 0;" border="0" />' : $txt[2]), '</a>', $context['menu_separator'];
// Edit Profile... [profile]
if ($context['allow_edit_profile'])
echo '
<a href="', $scripturl, '?action=profile">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/profile.gif" alt="' . $txt[79] . '" style="margin: 2px 0;" border="0" />' : $txt[467]), '</a>', $context['menu_separator'];
// The [calendar]!
if ($context['allow_calendar'])
echo '
<a href="', $scripturl, '?action=calendar">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/calendar.gif" alt="' . $txt['calendar24'] . '" style="margin: 2px 0;" border="0" />' : $txt['calendar24']), '</a>', $context['menu_separator'];
// The [ARCADE]!
echo '
<a href="', $scripturl, '?action=arcade"><img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/games.gif" alt="' . "Arcade" . '" style="margin: 2px 0;" border="0" /></a>', $context['menu_separator'];
This is what this part of the file looks like that I have. I would like both the forum button and the home button.
Quote// Show the menu up top. Something like [home] [help] [profile] [logout]...
function template_menu()
{
global $context, $settings, $options, $scripturl, $txt;
// Show the [home] and [help] buttons.
echo '
<a href="', $scripturl, '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/home.gif" alt="' . $txt[103] . '" style="margin: 2px 0;" border="0" />' : $txt[103]), '</a>', $context['menu_separator'], '
<a href="', $scripturl, '?action=help" target="_blank">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/help.gif" alt="' . $txt[119] . '" style="margin: 2px 0;" border="0" />' : $txt[119]), '</a>', $context['menu_separator'];
// Show the [CHAT] button.
echo '
<a href="', $scripturl, '?action=chat">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/chat.gif" alt="Chat" style="margin: 2px 0;" border="0" />' : $txt[103]), '</a>', $context['menu_separator'], '
<a href="', $scripturl, '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/home.gif" alt="' . $txt[103] . '" style="margin: 2px 0;" border="0" />' : $txt[103]), '</a>', $context['menu_separator'];
echo ' <a href="', $scripturl, '?action=help" target="_blank">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/help.gif" alt="' . $txt[119] . '" style="margin: 2px 0;" border="0" />' : $txt[119]), '</a>', $context['menu_separator'];
//How about the [forum] button?
$txt['forum'] = 'Forum';
echo ' <a href="', $scripturl, '?action=forum">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/forum.gif" alt="' . $txt['forum'] . '" style="margin: 2px 0;" border="0" />' : $txt['forum']), '</a>', $context['menu_separator'];
// How about the [search] button?
if ($context['allow_search'])
echo '
<a href="', $scripturl, '?action=search">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/search.gif" alt="' . $txt[182] . '" style="margin: 2px 0;" border="0" />' : $txt[182]), '</a>', $context['menu_separator'];
// How about the [downloads] button?
echo '
<a href="', $scripturl, '?action=downloads">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/downloads.gif" alt="Downloads" style="margin: 2px 0;" border="0" />' : 'Downloads'), '</a>', $context['menu_separator'];
// Is the user allowed to administrate at all? ([admin])
if ($context['allow_admin'])
echo '
<a href="', $scripturl, '?action=admin">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/admin.gif" alt="' . $txt[2] . '" style="margin: 2px 0;" border="0" />' : $txt[2]), '</a>', $context['menu_separator'];
// Edit Profile... [profile]
if ($context['allow_edit_profile'])
echo '
<a href="', $scripturl, '?action=profile">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/profile.gif" alt="' . $txt[79] . '" style="margin: 2px 0;" border="0" />' : $txt[467]), '</a>', $context['menu_separator'];
// The [calendar]!
if ($context['allow_calendar'])
echo '
<a href="', $scripturl, '?action=calendar">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/calendar.gif" alt="' . $txt['calendar24'] . '" style="margin: 2px 0;" border="0" />' : $txt['calendar24']), '</a>', $context['menu_separator'];
echo '
<a href="', $scripturl, '?action=arcade"><img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/games.gif" alt="' . "Arcade" . '" style="margin: 2px 0;" border="0" /></a>', $context['menu_separator'];
//BEGIN Shop MOD 0.2 Code
echo "<a href='{$scripturl}?action=shop'>", ($settings['use_image_buttons'] ? "<img src='{$settings['images_url']}/{$context['user']['language']}/shop.gif' alt='{$txt['shop']}' style='margin: 2px 0;' border='0' />" : $txt['shop']), "</a>{$context['menu_separator']}";
//END SHOP MOD
// If the user is a guest, show [login] and [register] buttons.
if ($context['user']['is_guest'])
{
echo '
<a href="', $scripturl, '?action=login">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/login.gif" alt="' . $txt[34] . '" style="margin: 2px 0;" border="0" />' : $txt[34]), '</a>', $context['menu_separator'], '
<a href="', $scripturl, '?action=register">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/register.gif" alt="' . $txt[97] . '" style="margin: 2px 0;" border="0" />' : $txt[97]), '</a>';
}
// Otherwise, they might want to [logout]...
else
echo '
<a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/logout.gif" alt="' . $txt[108] . '" style="margin: 2px 0;" border="0" />' : $txt[108]), '</a>';
}
?>
Ok updated it and displays both home and forum button now.
Now I get this:
QuoteTemplate Parse Error!
There was a problem loading the /Themes/default/index.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.
You may want to try to refresh this page or use the default theme.
Sorry i forgotten an echo.
UPDATED:
fixed wrong chat URL
fixed wrong alt value for chat button.
fixed it now and TESTED!
// Show the menu up top. Something like [home] [help] [profile] [logout]...
function template_menu()
{
global $context, $settings, $options, $scripturl, $txt;
// Show the [home] and [help] buttons.
echo '
<a href="', $scripturl, '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/home.gif" alt="' . $txt[103] . '" style="margin: 2px 0;" border="0" />' : $txt[103]), '</a>', $context['menu_separator'];
//HELP Button
echo '
<a href="', $scripturl, '?action=help" target="_blank">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/help.gif" alt="' . $txt[119] . '" style="margin: 2px 0;" border="0" />' : $txt[119]), '</a>', $context['menu_separator'];
//How about the [forum] button?
$txt['forum'] = 'Forum';
echo '
<a href="', $scripturl, '?action=forum">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/forum.gif" alt="' . $txt['forum'] . '" style="margin: 2px 0;" border="0" />' : $txt['forum']), '</a>', $context['menu_separator'];
// How about the [CHAT] button?
$txt['chat'] = 'Chat';
echo '
<a href="', $scripturl, '?action=chat">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/chat.gif" alt="'. $txt['chat'] . '" style="margin: 2px 0;" border="0" />' : $txt[103]), '</a>', $context['menu_separator'];
// How about the [search] button?
if ($context['allow_search'])
echo '
<a href="', $scripturl, '?action=search">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/search.gif" alt="' . $txt[182] . '" style="margin: 2px 0;" border="0" />' : $txt[182]), '</a>', $context['menu_separator'];
// How about the [downloads] button?
echo '
<a href="', $scripturl, '?action=downloads">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/downloads.gif" alt="Downloads" style="margin: 2px 0;" border="0" />' : 'Downloads'), '</a>', $context['menu_separator'];
// Is the user allowed to administrate at all? ([admin])
if ($context['allow_admin'])
echo '
<a href="', $scripturl, '?action=admin">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/admin.gif" alt="' . $txt[2] . '" style="margin: 2px 0;" border="0" />' : $txt[2]), '</a>', $context['menu_separator'];
// Edit Profile... [profile]
if ($context['allow_edit_profile'])
echo '
<a href="', $scripturl, '?action=profile">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/profile.gif" alt="' . $txt[79] . '" style="margin: 2px 0;" border="0" />' : $txt[467]), '</a>', $context['menu_separator'];
// The [calendar]!
if ($context['allow_calendar'])
echo '
<a href="', $scripturl, '?action=calendar">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/calendar.gif" alt="' . $txt['calendar24'] . '" style="margin: 2px 0;" border="0" />' : $txt['calendar24']), '</a>', $context['menu_separator'];
// The [ARCADE]!
echo '
<a href="', $scripturl, '?action=arcade"><img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/games.gif" alt="' . "Arcade" . '" style="margin: 2px 0;" border="0" /></a>', $context['menu_separator'];
I get a 404 error when I press the chat button ???
Please try again.
parse error
I tested it - its working you pasted/replaced it wrong.
tentronik, you're using <a href="', $scripturl, '?action=chat"> when you should be using <a href="', $boardurl, '/chat.php">.
-Dan The Man
But this generates the 404.
Maybe:
<a href="', $scripturl, '/chat.php">
?
ok I pasted it again in there and I got rid of the parse error. But the chat button still goes to the forum this is what I have now from where you told me to start to the begining of shop mod.
Quote// Show the menu up top. Something like [home] [help] [profile] [logout]...
function template_menu()
{
global $context, $settings, $options, $scripturl, $txt;
// Show the [home] and [help] buttons.
echo '
<a href="', $scripturl, '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/home.gif" alt="' . $txt[103] . '" style="margin: 2px 0;" border="0" />' : $txt[103]), '</a>', $context['menu_separator'];
//HELP Button
echo '
<a href="', $scripturl, '?action=help" target="_blank">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/help.gif" alt="' . $txt[119] . '" style="margin: 2px 0;" border="0" />' : $txt[119]), '</a>', $context['menu_separator'];
//How about the [forum] button?
$txt['forum'] = 'Forum';
echo '
<a href="', $scripturl, '?action=forum">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/forum.gif" alt="' . $txt['forum'] . '" style="margin: 2px 0;" border="0" />' : $txt['forum']), '</a>', $context['menu_separator'];
// How about the [CHAT] button?
$txt['chat'] = 'Chat';
echo '
<a href="', $scripturl, '?action=chat">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/chat.gif" alt="'. $txt['chat'] . '" style="margin: 2px 0;" border="0" />' : $txt[103]), '</a>', $context['menu_separator'];
// How about the [search] button?
if ($context['allow_search'])
echo '
<a href="', $scripturl, '?action=search">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/search.gif" alt="' . $txt[182] . '" style="margin: 2px 0;" border="0" />' : $txt[182]), '</a>', $context['menu_separator'];
// How about the [downloads] button?
echo '
<a href="', $scripturl, '?action=downloads">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/downloads.gif" alt="Downloads" style="margin: 2px 0;" border="0" />' : 'Downloads'), '</a>', $context['menu_separator'];
// Is the user allowed to administrate at all? ([admin])
if ($context['allow_admin'])
echo '
<a href="', $scripturl, '?action=admin">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/admin.gif" alt="' . $txt[2] . '" style="margin: 2px 0;" border="0" />' : $txt[2]), '</a>', $context['menu_separator'];
// Edit Profile... [profile]
if ($context['allow_edit_profile'])
echo '
<a href="', $scripturl, '?action=profile">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/profile.gif" alt="' . $txt[79] . '" style="margin: 2px 0;" border="0" />' : $txt[467]), '</a>', $context['menu_separator'];
// The [calendar]!
if ($context['allow_calendar'])
echo '
<a href="', $scripturl, '?action=calendar">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/calendar.gif" alt="' . $txt['calendar24'] . '" style="margin: 2px 0;" border="0" />' : $txt['calendar24']), '</a>', $context['menu_separator'];
// The [ARCADE]!
echo '
<a href="', $scripturl, '?action=arcade"><img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/games.gif" alt="' . "Arcade" . '" style="margin: 2px 0;" border="0" /></a>', $context['menu_separator'];
//BEGIN Shop MOD 0.2 Code
Quote from: tentronik on August 22, 2005, 12:09:16 AM
But this generates the 404.
Maybe:
<a href="', $scripturl, '/chat.php">
?
You've read my code wrong. Look again.
-Dan The Man
How can this be fixed ???
Ok try again i added the boardurl global and fixed the chat link again.
// Show the menu up top. Something like [home] [help] [profile] [logout]...
function template_menu()
{
global $context, $settings, $options, $boardurl, $scripturl, $txt;
// Show the [home] and [help] buttons.
echo '
<a href="', $scripturl, '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/home.gif" alt="' . $txt[103] . '" style="margin: 2px 0;" border="0" />' : $txt[103]), '</a>', $context['menu_separator'];
//HELP Button
echo '
<a href="', $scripturl, '?action=help" target="_blank">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/help.gif" alt="' . $txt[119] . '" style="margin: 2px 0;" border="0" />' : $txt[119]), '</a>', $context['menu_separator'];
//How about the [forum] button?
$txt['forum'] = 'Forum';
echo '
<a href="', $scripturl, '?action=forum">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/forum.gif" alt="' . $txt['forum'] . '" style="margin: 2px 0;" border="0" />' : $txt['forum']), '</a>', $context['menu_separator'];
// How about the [CHAT] button?
$txt['chat'] = 'Chat';
echo '
<a href="', $boardurl, '/chat.php">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/chat.gif" alt="'. $txt['chat'] . '" style="margin: 2px 0;" border="0" />' : $txt[103]), '</a>', $context['menu_separator'];
// How about the [search] button?
if ($context['allow_search'])
echo '
<a href="', $scripturl, '?action=search">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/search.gif" alt="' . $txt[182] . '" style="margin: 2px 0;" border="0" />' : $txt[182]), '</a>', $context['menu_separator'];
// How about the [downloads] button?
echo '
<a href="', $scripturl, '?action=downloads">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/downloads.gif" alt="Downloads" style="margin: 2px 0;" border="0" />' : 'Downloads'), '</a>', $context['menu_separator'];
// Is the user allowed to administrate at all? ([admin])
if ($context['allow_admin'])
echo '
<a href="', $scripturl, '?action=admin">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/admin.gif" alt="' . $txt[2] . '" style="margin: 2px 0;" border="0" />' : $txt[2]), '</a>', $context['menu_separator'];
// Edit Profile... [profile]
if ($context['allow_edit_profile'])
echo '
<a href="', $scripturl, '?action=profile">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/profile.gif" alt="' . $txt[79] . '" style="margin: 2px 0;" border="0" />' : $txt[467]), '</a>', $context['menu_separator'];
// The [calendar]!
if ($context['allow_calendar'])
echo '
<a href="', $scripturl, '?action=calendar">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/calendar.gif" alt="' . $txt['calendar24'] . '" style="margin: 2px 0;" border="0" />' : $txt['calendar24']), '</a>', $context['menu_separator'];
// The [ARCADE]!
echo '
<a href="', $scripturl, '?action=arcade"><img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/games.gif" alt="' . "Arcade" . '" style="margin: 2px 0;" border="0" /></a>', $context['menu_separator'];
Thats got it
There is one error when I go into the chat. Keep in mind I have got the irc channel set up but I have not modified the file in my directory to point the chat to the irc channel. but this is the error I get:
QuoteNotice: Undefined index: shop in /home/bigguy/public_html/smf/Sources/Load.php(1068) : eval()'d code on line 477
Here is a screen shot
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg382.imageshack.us%2Fimg382%2F7390%2Fscreen1ja.jpg&hash=707ff4ab146793c8ae7f12070442455f5d76c26c)
Thank you for the hint Dan!
Btw. i dont even see the nice stylish chat with firefox ;D
Thank you for you help man it is greatly appreciated. Did you see the error in the screenshot above ?? It does work btw I had it hooked up to our irc server. Again thank you. This is awesome but what can I do about thew error.
I dont know because i dont know this mod.
Also this might be a real issue, cause you have many mods installed and the error message reports a shop mod error when you try chat mod.
So the load.php needs a fix. maybe its known already - did you checked this topic yet for it?
No not yet. I`m getting closer to being done. All I have to do is check out this error and then find away to insert an ad code and I`ll be golden again. You guys do a real good job here. I love your software and all the mods and all the help, Very nice. Thanks again for all the help. I`ll check into this error.
Quote from: OIDanTheManIO on August 19, 2005, 08:45:08 AM
Guys, I'm still working to get the the working version of this mod up, but it will have to wait until I return from the beach.
-Dan The Man
I still fight with the "undefinied string" problem... Do you have updated the Files in the Modsection, like you have told?
Or what does i have to do?
Today i deinstall the mod, and get it new with the package-manager, but the problem still exist :-\
Thank you,
Surfy
I installed this mod through the admin section and the chat button does not even show up. What am I doing wrong?
HELP!?! :(
Quote from: ILY on August 24, 2005, 01:11:49 PM
I installed this mod through the admin section and the chat button does not even show up. What am I doing wrong?
HELP!?! :(
Are you using a custom theme?
-Dan The Man
Tried it, failed ... now gone for another chat 'mod' which worked first time .. sorry
Quote from: peluche on August 24, 2005, 01:33:12 PM
Tried it, failed ... now gone for another chat 'mod' which worked first time .. sorry
Umm, OK...
-Dan The Man
Dan,
I am using the classic theme for my forums.
Sorry Dan ... I'm not a 'techy' person ... I did install the mod and everything looked great ... shiny new 'chat' button at the top of the screen, etc, etc
However, everytime I clicked on chat, I got the usual window, then lots of errors ... just could not 'connect'. ??
For us 'non - technical' types it would be easier if the mod was installed and we only had to choose a room name via the Admin panel ...
Chris
Quote from: ILY on August 24, 2005, 01:43:01 PM
Dan,
I am using the classic theme for my forums.
How to make mods work with themes? (http://www.simplemachines.org/community/index.php?topic=34526.0)
Quote from: peluche on August 24, 2005, 01:43:47 PM
Sorry Dan ... I'm not a 'techy' person ... I did install the mod and everything looked great ... shiny new 'chat' button at the top of the screen, etc, etc
However, everytime I clicked on chat, I got the usual window, then lots of errors ... just could not 'connect'. ??
For us 'non - technical' types it would be easier if the mod was installed and we only had to choose a room name via the Admin panel ...
Chris
If you have no experience with IRC, this mod is not for you. Sorry.
-Dan The Man
Quote from: OIDanTheManIO link=topic=45237.msg335253#msg335253 date=1124905556
If you have no experience with IRC, this mod is not for you. Sorry.
/quote]
Thanks Dan .. too right ... I wouldn't know what IRC was if it grabbed me round the head :D
However, the 'other' chat mod that I installed needs no knowledge of this stuff and seems to work OK ...
Peluche,
If you look back a few pages it is explained a little bit.
IRC is just internet chat relay consisting of servers set up for the purpose of chat over the internet. These servers can be accessed directly through tools (such as this flash tool) that exist on the servers system via a website provided by that facilitator or through mods like this and other programs you can run directly on your pc connected to the internet.
IRC has is own listing of commands to - "chat", change info, create names, create private"channels, etc etc etc.
You create a channel so that name on that irc server can be accesed by your "group" you can also make this permanent to your "group" be registering a name (nick) for yourself and then registering the server to that name (a function/fake user called chanserv is then created as a place holder on your channel to prevent anyone from taking it over. This is all done inside a program similar to this one on the main "server" channel.
That is a brief definition/explanation for more details just google IRC or (not that I like to be an advertiser of products) look up MIRC and download their software which is a client that enables you to use IRC from your desktop. It will help you understand more and also on their website exists alot of good info.
IRC is really simple to understand once you look into it.
And for this mod all you need is to find a server where you want your channel "hosted" go there and create your nick and channel then inside the chat.php enter that info (server and channel name) See my post several paes back for more detail on that. I use stratics.frws.com (it is a gaming related server) There are tons and you can really use whatever you want. (there are also commands to make your channel not appear on the list of channels for more privacy among other commands just type /help in the dialogue box for details. And I think /help/nick or some such combo for further details once your logged onto their irc server. (you cant install this mod and "go" there without a channel to go to otherwise you could do all the setup from there - unless you knew the "main" channel they use which I don't know off the top of my head. Once this is installed using the server/channel info though I think you could just the same as you can change your channel you are on with the /join #someotherchannel command.
Give it a shot - it's really not that complicated.
Anihc
I looked at all the files and I do not find any files ending with .mod in the zip files. :(
Okay I read and noticed that my files are .xml but I still don't get what I need to do. I'm not techy...just a mom helping the high school get a chat program up. So if anyone can help me out here, I'd greatly appreciate it.
If somebody could show me what to change in the mod file below so this will work with Helios Multi Theme it would be greatly appreciated. I have tried a few times so far but i screw it up every time :/
Quote<?xml version="1.0"?>
<!DOCTYPE modification SYSTEM "http://www.simplemachines.org/xml/modification">
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
This is an example modification file for SMF packages.
ATTENTION: If you are trying to install this manually, you should try
the package manager. If it will not work for you, please take a look
at the following for information on this format:
http://mods.simplemachines.org/docs/manual-install.php
================================================================================
Modification files can be used to modify files so that they do what
your package needs them to do to work properly.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<modification xmlns="http://www.simplemachines.org/xml/modification" xmlns:smf="http://www.simplemachines.org/">
<!-- This information needs to be the same as that in the package-info.xml. -->
<id>username:OIDanTheManIO</id>
<version>1.0</version>
<!-- Edit a specific file.. -->
<file name="$themedir/index.template.php">
<!-- A seach operation, with search rules and code to modify the file with. -->
<operation>
<!-- Search for this text before the code we add. You can also search for after, and the end of the file. -->
<search position="before"><![CDATA[
<a href="', $scripturl, '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/home.gif" alt="' . $txt[103] . '" style="margin: 2px 0;" border="0" />' : $txt[103]), '</a>', $context['menu_separator'], '
]]></search>
<!-- Add this text when we find it. Note that it's on it's own line on purpose, and the CDATA keeps things clean. -->
<add><![CDATA[
<a href="', $boardurl, '/chat.php">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/chat.gif" alt="' . $txt[103] . '" style="margin: 2px 0;" border="0" />' : $txt[103]), '</a>', $context['menu_separator'], '
]]></add>
</operation>
<operation>
<search position="before"><![CDATA[
function template_menu()
{
global $context, $settings, $options, $scripturl, $txt;
]]></search>
<add><![CDATA[
global $boardurl;
]]></add>
</operation>
</file>
</modification>
hia all
where could i download the fixed version, without the "undefined string" problem?
All other things works well, the chat runs, but it doesnt look well, with the string problem :-(
Quote from: Surfy on August 25, 2005, 06:51:51 AM
hia all
where could i download the fixed version, without the "undefined string" problem?
All other things works well, the chat runs, but it doesnt look well, with the string problem :-(
I'm debating whether or not to do that. You see, there was originally a fix for that, but SMF's site went down and I lost it. I no longer have a copy of that mod now.
How to make mods work with themes? (http://www.simplemachines.org/community/index.php?topic=34526.0)
-Dan The Man
thanks for your answer :)
this way it looks now:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.sabiki.ch%2Fchat.jpg&hash=64f9655458e87fa4fddbeef9d4a07b559fcfe488)
I hope you could do something :-\ This mod is very great, the best chatsolution i see here, but without a fix i couldnt use it, and i think all others wich tried to install it now, have the same problem..
Please have a look :-*
Its very hard to do such a work again, i know. A bad feeling to lost the own work because the Modsection are in errors, but such a good job like to write this mod: it is worth do do the work for the fix again!
I hope you understand my bad english :'(
Surfy
I understand. Thank you for your comments :).
-Dan The Man
Quote from: ILY on August 24, 2005, 03:37:50 PM
Okay I read and noticed that my files are .xml but I still don't get what I need to do. I'm not techy...just a mom helping the high school get a chat program up. So if anyone can help me out here, I'd greatly appreciate it.
Can anyone help me? :(
Ily,
If you look in those two xml files they kinda explain what directories need to be created on the server and what files need to be modified with what code.
If you open them on your desktop they will show up in color and it will be easier to understand. (using internet explorer of course. Also the pjirc folder goes onto the server basically as is just upload its contents into the same name folder. The other files you can tell where they go looking at the xml files.
Try that and see how it goes. (don't forget to modify the chat.php file with your irc chanel name and server.)
And make copies of any files you modify as backups just in case you make a mistake.
Anihc
Quote from: Anihc on August 25, 2005, 11:56:11 AM
Try that and see how it goes. (don't forget to modify the chat.php file with your irc chanel name and server.)
This was exactly my problem .. for us 'non tech' people who have no idea about what an 'irc channel' is, or where to find a 'server' ... perhaps a pointer in the read-me as to how to sort this would mean a lot more installatons of the mod ;)
I can understand that, but you have to give him credit for at least telling you that information is needed. It is hard for programmers to cover every base. And most programs are written with a specific customer in mind. Many programs are like that. Some more complex than others that require training - knowlege.
Most programmers I would think expect the end user to know about what it is they are providing or say "hey this is neat I need to learn more about this"
But really irc is easy and with google you can find almost anything these days. Just search irc channel and the top link alone provides this information:
QuoteIRC Channel Lists
How to find a channel
On IRC, channels are where people meet and chat. You may know them as "chat rooms". These are a few pointers for finding channels:
Want to join a specific channel? You need to know the name of the network or server and the channel name such as #whatevername (channel names start with a # symbol and do not contain spaces). If you only have the channel name but not the network, you can still try the multi-network lists below.
Want to get a list of channels on your current server? Once you connect to a server, you can get a full list of all public channels on that server or network by typing /list (on a new line in any window, beginning with the / character). Realize that on major networks, this list could include tens of thousands of channels, and may even cause you to flood yourself off. If this happens, see our troubleshooting guide or just use the web search engines below.
Want to find people in your own city, or a specific person? IRC is not set up to make it easy to trace people geographically or personally. You can search through a /list output as described above to find channels for reasonably large cities/states/countries such as #kampung or #bulgaria. Many of the channels are "secret" and won't be shown in such lists. Alternatively, you can always try guessing the channel name and /join #whatever. Note, however, that people in the channel could be from anywhere, not just that place. Likewise, you can't just search for somebody by their real name or location. You're probably better off just finding people with common interests regardless of where they are, and just chat and have fun.
Want to search for a specific topic? You can try /list *keyword* (in mIRC you don't need the asterisks). Note that on EFnet and many other nets, you end up doing a full /list in the background, then the matching entries are displayed to you. It may be faster to just do that full /list and then search through the results yourself, or just use the web search features below.
it's link: http://www.irchelp.org/irchelp/chanlist/
I hope that helps you out,
Anihc
I got the irc part of it. I will try it again later. It's all the talk of before and after, etc. that is mentioned in the instructions that confuse me.
Thank Anihc
I think I'll try the mod ... again ;)
works fantastic-
thanks so much for making this mod available to make it so easy to add irc to our forum.
-mouser
http://www.donationcoder.com
Quote from: dcmouser on August 29, 2005, 10:19:15 PM
works fantastic-
thanks so much for making this mod available to make it so easy to add irc to our forum.
-mouser
http://www.donationcoder.com
You're welcome, glad to hear it :).
Quote from: Dan Marquard on August 25, 2005, 06:55:58 AM
Quote from: Surfy on August 25, 2005, 06:51:51 AM
hia all
where could i download the fixed version, without the "undefined string" problem?
All other things works well, the chat runs, but it doesnt look well, with the string problem :-(
I'm debating whether or not to do that. You see, there was originally a fix for that, but SMF's site went down and I lost it. I no longer have a copy of that mod now.
How to make mods work with themes? (http://www.simplemachines.org/community/index.php?topic=34526.0)
-Dan The Man
If anybody has downloaded the fixed version of this mod before the SMF site went down please send it to Dan so he can re-upload it. Thanks.
Yeaaah! This mom got it to work! :)
Thank you!
How can i display the smf user names in pjirc instead of guest accounts?
Thanks for help.
Marcel
I have a iMac member that is have a problem with it freezing their computer before it loads the chat window.
Computer and OS is iMAC with OS9
Web browser is Internet Explorer 5.1
I can connect fine but i have another member that gets a connetion time out
Hi.
I installed PJIRC Integratet Chat Mod into my forum. I've a personal theme, and when I install the package with package manager and click "Proceed". When I write
Quotewww.forocadista.com/chat.php
appear "
Internal Server Error" in white screen.
In xls file I rewrite this option, and I install it with
Quote<file name="./Themes/7dana/index.template.php">
, because without that option have not appear link in my theme.
Image file is not appear in menu toolbar, I think that this problem is localizated into that line:
Quote<a href="', $scripturl, '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/home.gif" alt="' . $txt[103] . '" style="margin: 2px 0;" border="0" />' : $txt[103]), '</a>', $context['menu_separator'], '
But I don't know what is the parametres for modify for reconvert to my theme.
I think too, that the problem "
Internal Server Error" is localizated in parametres with "$...".
Can you help me ??? :(
I am very interested to install this mod into my forum.
Another question: There are PJIRC Integrated Chat mod for SMF in spanish???
(Sorry for my bad english).
Quote from: Bichon on September 03, 2005, 06:18:36 PM
I can connect fine but i have another member that gets a connetion time out
Firewall on this persons computer is the cause.
Help Plz
Package Manager - Install Actions
Install Actions for archive PJIRC_Chat_Mod_1.0.zip:
Installing this package will perform the following actions: Type Action Description
1. Execute Modification ./Themes/default/index.template.php Failure
2. Extract Tree ./pjirc
3. Extract File ./chat.php
4. Extract File ./Themes/default/images/english/chat.gif
[ Proceed ]
I have a Failure here. What I can do plz ???
Quote from: Bichon on September 04, 2005, 08:42:40 AM
Quote from: Bichon on September 03, 2005, 06:18:36 PM
I can connect fine but i have another member that gets a connetion time out
Firewall on this persons computer is the cause.
Actually the firewall is not the the problem.
The person can use the Java chat feature on http://www.dal.net and it works fine.
I think their Java software needs to be updated.
I told them to see the Java web site and run a test on their computer @ http://www.java.com/
I have not heard back from them yet.
Quote from: CrayZ on September 04, 2005, 05:45:36 PM
Help Plz
Package Manager - Install Actions
Install Actions for archive PJIRC_Chat_Mod_1.0.zip:
Installing this package will perform the following actions: Type Action Description
1. Execute Modification ./Themes/default/index.template.php Failure
2. Extract Tree ./pjirc
3. Extract File ./chat.php
4. Extract File ./Themes/default/images/english/chat.gif
[ Proceed ]
I have a Failure here. What I can do plz ???
Could it be a file permission or ownership issue?
The CHMOD of that file is 644
As for the ownership I did the uploading according the instructions so I don't know what to do to prove that I am the one and only owner of my web site ;)
Any further suggestions will be Mach appreciated.
Quote from: CrayZ on September 04, 2005, 05:45:36 PM
Help Plz
Package Manager - Install Actions
Install Actions for archive PJIRC_Chat_Mod_1.0.zip:
Installing this package will perform the following actions: Type Action Description
1. Execute Modification ./Themes/default/index.template.php Failure
2. Extract Tree ./pjirc
3. Extract File ./chat.php
4. Extract File ./Themes/default/images/english/chat.gif
[ Proceed ]
I have a Failure here. What I can do plz ???
All that does is add the chat button in. You can add that code manually.
Everythink clear.
May I have the code now pls.
Thanks for your great support.
Hello!
I am eager to try your mod!
I am not using the default theme. I installed it and made the modification myself on the other theme. It shows a link beside Home, wich is also called Home, with no picture. when I click there it shows a white page that says: No input file specified.
Do you have any idea of what is going on? :D
Quote from: CrayZ on September 05, 2005, 12:51:39 AM
The CHMOD of that file is 644
As for the ownership I did the uploading according the instructions so I don't know what to do to prove that I am the one and only owner of my web site ;)
Any further suggestions will be Mach appreciated.
Mine is 755. I wonder if that is your problem? Might be worth a try anyway?
I had some ownership issues on some files but none were the SMF installed files.
I transfered from my own web server to a remote host when i got a few file owner issues.
OK the other integrated chat mod for SMF does work for the people that the PJIRC does not work for.
I will have to change to the other chat mod.
Quote from: Brasileira on September 05, 2005, 05:06:10 AM
Hello!
I am eager to try your mod!
I am not using the default theme. I installed it and made the modification myself on the other theme. It shows a link beside Home, wich is also called Home, with no picture. when I click there it shows a white page that says: No input file specified.
Do you have any idea of what is going on? :D
Move chat.gif to your theme's images folder.
Quote from: Bichon on September 05, 2005, 11:24:30 AM
OK the other integrated chat mod for SMF does work for the people that the PJIRC does not work for.
I will have to change to the other chat mod.
OK...
Quote from: CrayZ on September 05, 2005, 01:14:09 AM
Everythink clear.
May I have the code now pls.
Thanks for your great support.
Add this code where you feeel it's needed in index.template.php:
<a href="', $boardurl, '/chat.php">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/chat.gif" alt="' . $txt[103] . '" style="margin: 2px 0;" border="0" />' : $txt[103]), '</a>', $context['menu_separator'], '
Quote from: Brasileira on September 05, 2005, 05:06:10 AM
Move chat.gif to your theme's images folder.
Thanks! that did the trick speaking about the button, but what about this:
Quotewhen I click there it shows a white page that says: No input file specified.
Do you have any idea of what is going on? :D
Brasileira, it must be something with your theme ::).
Oh no...
Thats what I was fearing... :(
My Theme is just a copy of the default one, with some small changes...
But basically is the same thing.
One thing I have being told is that I have to alter this theme every time I do some changes to the forum...
But I thought I did... :-\
Doesn´t it work if it is not on the default theme?
Thanx a lot friend.
I will give it a try first to change the CHMOD to 755 temproray through smart FTP and if is showing the same thing I will add dhe code manualy.
I don't know if I add this code do my default theme 7dana well apear even there. Anyway thnx a lot. I will giv it a try. If i have any problems I will tell you.
bye
Cool! It is working now...
I had to change the path in the theme. It was pointing to the domain. My forum is one step inside the directory :)
But...
this thing with undefined string...
How to fix that? :-\
Also I appear as Guest635...
Quote from: Brasileira on September 06, 2005, 04:07:46 AM
Cool! It is working now...
I had to change the path in the theme. It was pointing to the domain. My forum is one step inside the directory :)
But...
this thing with undefined string...
How to fix that? :-\
Also I appear as Guest635...
The directory is set wrong then.
Quote from: CrayZ on September 05, 2005, 04:04:49 PM
Thanx a lot friend.
I will give it a try first to change the CHMOD to 755 temproray through smart FTP and if is showing the same thing I will add dhe code manualy.
I don't know if I add this code do my default theme 7dana well apear even there. Anyway thnx a lot. I will giv it a try. If i have any problems I will tell you.
bye
Another person was having a similar problem with the mod through the 7dana theme. I'm thinking it's theme-related.
Yes, I have problem with these theme.
But I think that the problem is localizated in "$..." commands of php code and my problem is that I don't know how to modify those commands to run with 7dana theme.
Quote from: MiNiBuDa on September 07, 2005, 05:43:06 AM
Yes, I have problem with these theme.
But I think that the problem is localizated in "$..." commands of php code and my problem is that I don't know how to modify those commands to run with 7dana theme.
If you haven't already, take a look at How to make mods work with themes? (http://www.simplemachines.org/community/index.php?topic=34526.0)
Ok, I installed it and it's working for me and some members, but there's people who are having problems with it.
This is what they see:
[16:40] Connecting...
[16:40] Unable to connect : java.net.ConnectException : Connection timed out: connect
[16:40] Not on a channel
[16:40] Connecting...
[16:41] Unable to connect : java.net.ConnectException : Connection timed out: connect
[16:42] Connecting...
[16:43] Unable to connect : java.net.ConnectException : Connection timed out: connect
Quote from: Brasileira on September 05, 2005, 03:03:22 PM
Doesn´t it work if it is not on the default theme?
i does work, at least with classic theme :)
just put the chat button or link anywhere in your forum, when they click, chat window will open in your theme, no matter whic one you are using
when click on chat button chat works fin but get following message between 'profile' and 'shop' buttons.
QuoteNotice: Undefined index: shop in /home/crev/public_html/teen-vision/Sources/Load.php(1040) : eval()'d code on line 455
could this be because i have the shop mod installed??
QuoteUndefined index: shop in /home/crev/public
help appreciated, regards,
Crev
Quote from: crev on September 09, 2005, 01:29:08 AM
when click on chat button chat works fin but get following message between 'profile' and 'shop' buttons.
QuoteNotice: Undefined index: shop in /home/crev/public_html/teen-vision/Sources/Load.php(1040) : eval()'d code on line 455
could this be because i have the shop mod installed??
QuoteUndefined index: shop in /home/crev/public
help appreciated, regards,
Crev
Yes that would be to do with the shop, not this mod ;)
a little tipp from me
line 21 of chat.php
<param name="nick" value="<?php echo $context['user']['name']; ?>">
than is your nickname as your IRC Nickname
Quote from: Aisling on September 08, 2005, 04:21:42 PM
Ok, I installed it and it's working for me and some members, but there's people who are having problems with it.
This is what they see:
[16:40] Connecting...
[16:40] Unable to connect : java.net.ConnectException : Connection timed out: connect
[16:40] Not on a channel
[16:40] Connecting...
[16:41] Unable to connect : java.net.ConnectException : Connection timed out: connect
[16:42] Connecting...
[16:43] Unable to connect : java.net.ConnectException : Connection timed out: connect
I had a number of members with this same issue with this chat mod. I got no reply here, so i tried the other intergated chat mod. Now "all" members can access the chat with ease. The members that could access both chat mods told me the second chat i installed is way better and much easier to use. CHeck it out before you start to rip up your board.
It still has an issues where it shows 0 people chatting when there are people chatting.
There is a thread here saying it would be fixed but that is not the case to date.
I now think it will not be fixed or they have no idea why it does not work, i am just guessing but from what i have read here it sure looks like we are out of luck with that issue sadly.
Okay im new to this stuff so bear with me................ how do i install it ?
the link in the readme to the doc about manual install is a dead link.......
When i install the mod it does not appear to modify index.template.php
how do i get this to work ? it said it was intalled but none of the files
are there and no modify was done. I manually uploaded all the files
but how can i run the modification.xml file or do it manually ???
sorry im so lost.........
You can look in the xml file and see what it does... I did this, and if I remember correctly, I think you are basically just adding the chat button to your theme... remember "search=before" means that you add the code after the text it searches for...
Also, it should install correctly in the default theme... Are you sure you clicked "Apply Mod" in the package manager and then "Install"?
And you have to use the default theme to see it unless you made the manual modifications that are stated in the xml file...
I was wondering if anybody has the code to make this appear in a pop-up?
What should I to to make chat open in another window or pop-up?
Quote from: Menni on September 14, 2005, 04:33:03 AM
What should I to to make chat open in another window or pop-up?
Find:
<a href="', $boardurl, '/chat.php">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/chat.gif" alt="' . $txt[103] . '" style="margin: 2px 0;" border="0" />' : $txt[103]), '</a>', $context['menu_separator'], '
...replace with:
<a href="', $boardurl, '/chat.php' target="_blank">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/chat.gif" alt="' . $txt[103] . '" style="margin: 2px 0;" border="0" />' : $txt[103]), '</a>', $context['menu_separator'], '
I have been trying to uninstall this mod but when I do I get this error:
QuoteExecute Modification ./Themes/default/index.template.php Failure
Is there something in the index.template.php I have to remove manually ???
Quote from: Bigguy on September 19, 2005, 03:38:10 PM
I have been trying to uninstall this mod but when I do I get this error:
QuoteExecute Modification ./Themes/default/index.template.php Failure
Is there something in the index.template.php I have to remove manually ???
Find and remove this code:
<a href="', $boardurl, '/chat.php">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/chat.gif" alt="' . $txt[103] . '" style="margin: 2px 0;" border="0" />' : $txt[103]), '</a>', $context['menu_separator'], '
So go into package manager and go through with the whole uninstall and then find that line in the index.template.php and remove it right ? Thats it theres nothing else to do?
Should it not be this I take out ?
Quote// How about the [CHAT] button?
$txt['chat'] = 'Chat';
echo '
<a href="', $boardurl, '/chat.php">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/chat.gif" alt="'. $txt['chat'] . '" style="margin: 2px 0;" border="0" />' : $txt[103]), '</a>', $context['menu_separator'];
I`m not trying to tell you how to do anything, I guess I really dont know what I`m talking about. I just thought I would suggest that this is what I should take out. I dont want to get it uninstalled and not be able to use the board at all after I`m done. Sorry if you thought I was being rude.
Yes, remove that code...
Thank you, the uninstall went great. Thanks for your help.
Quote from: Bigguy on September 21, 2005, 10:17:41 AM
Thank you, the uninstall went great. Thanks for your help.
No problem.
I need a bit of guidance too.
As I understand it, if you have the default theme it works fine - and indeed, there is the chat button.
I have a different theme though and from what I have read you should add the chat button to .. where? How?
I tried to figure that out from modifictaions.xml,
package-info.xml and readme.txt but couldn't figure it out.
Maybe I simply overlooked it, I am not sure what I have to search for actually .. something with theme/default/..?
Can someone telle me where I have to change what?
Quote from: Gwion on October 10, 2005, 03:08:31 PM
I need a bit of guidance too.
As I understand it, if you have the default theme it works fine - and indeed, there is the chat button.
I have a different theme though and from what I have read you should add the chat button to .. where? How?
I tried to figure that out from modifictaions.xml,
package-info.xml and readme.txt but couldn't figure it out.
Maybe I simply overlooked it, I am not sure what I have to search for actually .. something with theme/default/..?
Can someone telle me where I have to change what?
How to make mods work with themes? (http://www.simplemachines.org/community/index.php?topic=34526.0)
Ok, I guess I deserved this .. :) but - I know this thread, I have tried to look into the files for anything with /default .. in the package these files are listed:
modification.xml (2662 bytes)
package-info.xml (2214 bytes)
readme.txt (879 bytes)
I have checked the above 3.
Others are:
Chat.template.php (5370 bytes)
pjirc/english.lng (3966 bytes)
pjirc/french.lng (4132 bytes)
pjirc/irc-unsigned.jar (136035 bytes)
pjirc/irc.cab (88866 bytes)
pjirc/irc.jar (149769 bytes)
pjirc/IRCApplet.class (3585 bytes)
pjirc/pixx-english.lng (2633 bytes)
pjirc/pixx-french.lng (2840 bytes)
pjirc/pixx.cab (52280 bytes)
pjirc/pixx.jar (71359 bytes)
pjirc/pjirc.cfg (734 bytes)
pjirc/securedirc-unsigned.cab (1748 bytes)
pjirc/securedirc.cab (7788 bytes)
Chat.php (187 bytes)
and plenty of gifs and au's.
I guess it must be something else than themes/default but how shall I look for that when I don't even know what to look for .. *sigh*
I hate being a pest but I really don't get it ..
The chat works fine with default btw. so all I need to know is how to adopt a different theme.
Ok, I tried to compare the default theme's index.template.php with my theme's index.template.php.
I found the bit with the chat, copied and pasted it into my themes's file. It did not work.
I got a parse error and it said something like that " must be escaped with /.
That's all very well but I took the bit directly from the working file and included it into the other one - I don't see why it does not work .. *sigh*
I really like this mod...but is there a way to get it to install or work properly with tiny portal installed? the 2 mods work great ...as long as you don't try to add the other... I know there's another chat mod that does work... but it uses everywherechat and well... lets just say they're the laggiest IRC servers out there....
Is there a chat room that uses this mod that I can view b4 I install it ?
I want to see if it is worth the learning curve. :)
Thanks
Dan, thank you so much!
I was looking for a chat mod that would be as close to real IRC as I could get. You can't get closer than real IRC.
Again, thank you. I'm a happy camper.
hey dan, nice mod, thanks for making it. I was wondering if there was anyway to add a few things.
On a different forum, i can do a whois command with rightclick whois on someones name, but i cant do that with pjirc, any idea why?
I want the applet to use the username from my forum as your IRC name, is this possible?
Is there a way to disable nick changes?
Can you have the mod auto identify users who use the applet when they enter the chat room if they use the same password for both IRC and their forum username?
I think this is firefox's problem, but can you disable the backspace button going back so that you have to re enter the chat room and wait for it to load?
Quote from: deathwantsme on November 06, 2005, 09:05:36 PM
hey dan, nice mod, thanks for making it. I was wondering if there was anyway to add a few things.
On a different forum, i can do a whois command with rightclick whois on someones name, but i cant do that with pjirc, any idea why?
I want the applet to use the username from my forum as your IRC name, is this possible?
Is there a way to disable nick changes?
Can you have the mod auto identify users who use the applet when they enter the chat room if they use the same password for both IRC and their forum username?
I think this is firefox's problem, but can you disable the backspace button going back so that you have to re enter the chat room and wait for it to load?
Fixes such as those will be included in version 1.1, which I'll release when I have the time to update it.
Yeah, I installed it and well, now what? I edited the file with the server and channel params...
I have a modified theme... SO what do I modify to get the chat button to show?
Do I need ports forwarded?
Thanks
I modifed my index.template.php according the supposedly automatic changed made by modi...xml from your mod... that is done, now what?
Alright, well the chat button isn't showing up but I can type the chat in manually.
Thing is no matter what I do it still joins the "#mychannel" even though i have #stormlifter set to the channel.
You need to go into your template file by Themes>(template name)>index.template.php>edit file and add:
<a href="', $boardurl, '/chat.php">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/chat.gif" alt="' . $txt[103] . '" style="margin: 2px 0;" border="0" />' : $txt[103]), '</a>', $context['menu_separator'], '
Make sure you add a space and the code AFTER the ['menu_separator'], ' of what you want the button to come after.
Very nice mod worked great out of the chute installing on RC1 just one question is there a way to make the smileys show up so they can be clicked on and not have to know the symbols.
Quote from: stormlifter on November 08, 2005, 01:08:40 AMThing is no matter what I do it still joins the "#mychannel" even though i have #stormlifter set to the channel.
post or PM me the code. Ill take a look at it.
Update: Version 2.0 of this mod will be released following the release of either SMF 1.1 RC2 Public or SMF 1.1 Final.
Im using SMF 1.0.5 .. I've been using PJIRC for quite a while, but lately im having problem with the connection( can't connect to IRC).. This is the message that I got :
[20:16] Connecting...
[20:16] Unable to connect : java.net.ConnectException : Connection timed out: connect
Is there anything that I need to do? Thanks
I´m having the same problem connecting with version 1.1 RC1. Oh well we just have to wait for the new release by Dan the man, I guess. Looking forward to it. The mod looks awesome! :)
Quote from: www.Hits.FM on December 05, 2005, 07:20:28 AM
Im using SMF 1.0.5 .. I've been using PJIRC for quite a while, but lately im having problem with the connection( can't connect to IRC).. This is the message that I got :
[20:16] Connecting...
[20:16] Unable to connect : java.net.ConnectException : Connection timed out: connect
Is there anything that I need to do? Thanks
Do you have it configured to connect with the proper server?
HI,
I've just installed your IRC chat mod and it installed ok, no probs, just a couple of questions.
How can i get the 'chat' button/icon to appear on my own themes that i've made? also, how can i make it so that only those that are registered on my forums can access the chat? i'm a moderator on irc.icq.com so i got the rooms and nicks thing covered, just need to make it so that only registered forum members can access that chat.
The chat button doesn't show up when a user isn't logged in, but they can access the chat by typing in the chat page's url, and this is what i don't want.
Love the mod, good work :) thank you in advance :)
Quote from: dtm.exe on August 10, 2005, 10:55:55 PM
Quote from: Matthuffy on August 10, 2005, 09:40:30 PM
coool! thanks it now works :) just 1 point though, why does it have a huge banner in front of the text :( is there anyway i can move it higher, i realise that you put it there for SM but can i not move it up so that we can read the text? maybe not??
Not that I know of. But what you could do is go into /pjirc/ and delete background.gif.
-Dan The Man
1st Great mod, congratulations.
2nd I already removed background.gif but the banner still appears in front of the text. How can i remove that image or move it up?
Thank you.
Quote from: deathwantsme on November 08, 2005, 10:51:41 PM
You need to go into your template file by Themes>(template name)>index.template.php>edit file and add:
<a href="', $boardurl, '/chat.php">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/chat.gif" alt="' . $txt[103] . '" style="margin: 2px 0;" border="0" />' : $txt[103]), '</a>', $context['menu_separator'], '
Make sure you add a space and the code AFTER the ['menu_separator'], ' of what you want the button to come after.
Thanks :)
in addition to your procedure, i also realised ya need to find this line
global $context, $settings, $options, $scripturl, $txt;
and change it to
global $context, $boardurl, $settings, $options, $scripturl, $txt;
by adding the 'boardurl' , because you have boardurl being called in the initial code for the menu, you need to add it to the list of variables or it won't work. That's what i had to do anyway and it worked :)
Quote from: Matthuffy on August 10, 2005, 09:40:30 PM
coool! thanks it now works :) just 1 point though, why does it have a huge banner in front of the text :( is there anyway i can move it higher, i realise that you put it there for SM but can i not move it up so that we can read the text? maybe not??
to get rid of the background image, open up chat.php, and find this line
<param name="style:backgroundimage" value="true">
and change the value to 'false' like so..
<param name="style:backgroundimage" value="false">
the image doesn't show :)
Quote from: Irc_Sandman on December 11, 2005, 06:04:46 PM
HI,
I've just installed your IRC chat mod and it installed ok, no probs, just a couple of questions.
How can i get the 'chat' button/icon to appear on my own themes that i've made? also, how can i make it so that only those that are registered on my forums can access the chat? i'm a moderator on irc.icq.com so i got the rooms and nicks thing covered, just need to make it so that only registered forum members can access that chat.
The chat button doesn't show up when a user isn't logged in, but they can access the chat by typing in the chat page's url, and this is what i don't want.
Love the mod, good work :) thank you in advance :)
http://www.simplemachines.org/community/index.php?topic=49444.0
Does members only and a bit more.
need a simple update to work smf 1.1 rc2 as there is a new default theme now.
My users want an overview on the boardindex, which members are in the chat. how can i do this?
Can i also see "MEMBER is in chat" in the who is online?
I used to use phpBB along with Midnightz's PJIRC integration mod. Now I use SMF and like it 10x better. Only thing is the pjirc integration mod for it had more useful features, like setting the nickname as the forum member name automatically, template option, etc..
Any chance you can implement a templates feature into your integration mod Dan? It allows you to customize the applet a lot more. Maybe I haven't messed around with it enough but I noticed you can't change the font face, or colors in the actual chat text (example: quit, kick, channel join or part, user text colors) in your chat.php file. The image I'm using as a background is black, and covers most of the window area. I can't see what users are typing because their font color is black. How can I change this?
Here's an example of a template file on Midnightz phpBB/PJIRC integration mod (which I customized):
<?php
/***************************************************************************
* PJIRC MOD fiblack3d.php
* -------------------
* begin : 16. july 2004
* copyright : Midnightz / AlleyKat
* email :
*
* $Id: fiblack3d.php, v 1.0.0 2004/07/16 Midnightz
***************************************************************************/
$templatecolorz = 'all all 0=000000 1=E7E7E7 2=C00000 3=DD6900 4=00A200 5=8E8E8E 6=7E5D8F 7=FFCC00 8=CBBAD4 10=00A09E 11=8080FF 13=4040FF 15=FF6363'; // Color picker
$templatefontz = 'all all Verdana 12'; // Font style
$templatepic1 = 'fiblack3d1.gif'; // Chat background image 1
$templatepic2 = 'fiblack3d2.gif'; // Chat background image 2
$templatebackground = '#464646'; // Chat table background
$templateVBcol1 = 'play2-fiblack3d.png'; // Music player buttons
$templateVBcol2 = 'play1-fiblack3d.png'; // Music player buttons
$templateVBcol3 = 'stop2-fiblack3d.png'; // Music player buttons
$templateVBcol4 = 'stop1-fiblack3d.png'; // Music player buttons
$templateVBcol5 = 'ff2-fiblack3d.png'; // Music player buttons
$templateVBcol6 = 'ff1-fiblack3d.png'; // Music player buttons
$templateVBcol7 = 'rr2-fiblack3d.png'; // Music player buttons
$templateVBcol8 = 'rr1-fiblack3d.png'; // Music player buttons
$templateVBcol9 = '#000000'; // Display table background color
$templateVBcol10 = '#FFCC00'; // Available Track List text color
$templateVBcol11 = '#464646'; // Available Track List background color
$templatelooks = ' <param name="pixx:color0" value="000000"> // general bordercolor
<param name="pixx:color1" value="FFFFFF"> // general fontcolor
<param name="pixx:color2" value="00FF00"> // quite useless bordercolor
<param name="pixx:color3" value="006699"> // another useless bordercolor
<param name="pixx:color4" value="000000"> // left bordercolor scrollbar
<param name="pixx:color5" value="002447"> // Scrollbar and img button colors
<param name="pixx:color6" value="002447"> // general bgcolor
<param name="pixx:color7" value="2E4374"> // Window button bgcolor and nick highlight color
<param name="pixx:color8" value="C40000"> // Window button activity alert color
<param name="pixx:color9" value="0071E1"> // exit x button
<param name="pixx:color10" value="006200"> // voice symbol bgcolors
<param name="pixx:color11" value="BD3F02"> // op symbol bgcolors
<param name="pixx:color12" value="003366"> // halfop symbol bgcolors
<param name="pixx:color13" value="DD6900"> // its a mystery
<param name="pixx:color14" value="1D1C19"> // wtf does this do
<param name="pixx:color15" value="000000">'; // general nick bgcolor
?>
...or do you know how I can edit these colors in your mod? ...
$templatecolorz = 'all all 0=000000 1=E7E7E7 2=C00000 3=DD6900 4=00A200 5=8E8E8E 6=7E5D8F 7=FFCC00 8=CBBAD4 10=00A09E 11=8080FF 13=4040FF 15=FF6363'; // Color picker
$templatefontz = 'all all Verdana 12'; // Font style
$templatepic1 = 'fiblack3d1.gif'; // Chat background image 1
$templatepic2 = 'fiblack3d2.gif'; // Chat background image 2
$templatebackground = '#464646'; // Chat table background
Hi,
I have the following:
"SMF 1.1 RC1" with "Oxygen / TinyPortal v.0.75 by Bloc"
also mods:
"Enhanced Quick Reply 1.0"
"Real Name Mod 2.0"
"Users Online Today Mod 1.1.2"
Will this PJIRC mod work with the above ???
(also posted this in the other PJIRC mod thread, I'll pick the one thats easiest to integrate with our current setup)
Also...on our forum we have these Themes, theyre all named "FK-xxxx" where "xxxx" is a colour. I'm not sure but I believe those to be standard ones ? If not, will this be a problem ?
Quote from: fenris_w0lf on January 11, 2006, 07:56:22 AM
Also...on our forum we have these Themes, theyre all named "FK-xxxx" where "xxxx" is a colour. I'm not sure but I believe those to be standard ones ? If not, will this be a problem ?
How to make mods work with themes? (http://www.simplemachines.org/community/index.php?topic=34526.0)
Version 2.0 will be released as early as tonight!
Quote from: dtm.exe on February 01, 2006, 09:33:43 PM
Version 2.0 will be released as early as tonight!
/me sets up a camping post in the thread. 2.0 gimme
any news on version2?
Quote from: vibez on February 04, 2006, 02:59:19 PM
any news on version2?
come inside the camp. need someone to watch the fire while i go hunting.
Sorry guys, I ran into some problems. GIve it a couple days ::).
At long last! Enjoy, guys! If anyone needs any assistance at all, please do not hesitate to as for help (http://pjirc.dtmdotexe.com/forum/index.php?topic=3.0).
Quote from: dtm.exe on August 10, 2005, 06:07:43 PM
Version 2.0
dtm.exe is proud to introduce the latest version version of the PJIRC Integrated Chat Mod for SMF that was unveiled over six months ago. Quite a few changes and improvements have been made since the release of version 1.0. Some of the more notable changes include:
- Fully integrated with SMF's templating system.
- Easier to use and customize.
- Updated version of the PJIRC applet.
- Numerous bug fixes.
Might I also add that there is now a website dedicated to helping you (http://pjirc.dtmdotexe.com/forum/) install, configure, or upgrade your mod.
Features
Version 2.0 of my PJIRC Integrated Chat Mod includes all of the following features, and then some:
- Easy to customize IRC layout.
- Clean source code.
- No commercial advertisements.
- A remote chat that can be accessed via an IRC program.
- Stable Java applet.
- No configuration required.
- Default skin matches all stock SMF themes.
- User-friendly graphical user interface.
- Highly configurable.
- Works with all versions of SMF, 1.1 RC2 and up.
- Does not interfere with your current mods.
- Powered by PJIRC, an extremely stable IRC java applet.
Compatibility
Version 2.0 of the PJIRC Integrated Chat Mod is fully compatible with all versions of SMF versions 1.1 RC2 and higher. If you are using a lesser version, I highly recommend you upgrade for full mod compatibility. Should you decide to not upgrade to SMF 1.1 RC2 or higher, I will personally install the mod for you at no charge. This mod is fully compatible with the Core, Babylon, and Classic themes. I am also willing to make this mod work with any theme (http://pjirc.dtmdotexe.com/forum/index.php?topic=3.0) on an individual basis, free of charge.
Installation
To install the mod, simply download the compressed archive to your local computer and upload it to your forum via SMF's Package Manager. Unless you would rather configure the mod yourself to connect to a certain IRC server or a certain channel, there is no need to make any changes to any settings, unless desired. After you install the mod, your members will immediately be able to chat via the forum. If you need assistance with either installing or configuring the mod, please do not hesitate to ask for help (http://pjirc.dtmdotexe.com/forum/index.php?topic=3.0).
Upgrading
Unless you completely familiarize with the source code of both versions of this mod, I highly recommend you perform a clean uninstall of version 1.0 and a clean install of version 2.0. If you would like for me to upgrade your mod, I would be more than happy to assist you (http://pjirc.dtmdotexe.com/forum/index.php?topic=3.0) with that on an individual basis.
Preview
I would not encourage anyone to install any of my mods without trying them out first. If you are interested in installing this mod, I highly recommend that you view the screenshots and check out the live demo (http://pjirc.dtmdotexe.com/forum/index.php?action=chat) on our website.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fgallery.dtmdotexe.com%2Falbums%2Fuserpics%2Fnormal_Untitled-1%257E1.jpg&hash=02b2498289dbf98f6efa8dee582ef0cd4d7d2db4) (http://gallery.dtmdotexe.com/albums/userpics/Untitled-1%7E1.jpg)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fgallery.dtmdotexe.com%2Falbums%2Fuserpics%2Fnormal_Untitled-2.jpg&hash=1d6bb91703c1d3248037713077531853b638660f) (http://gallery.dtmdotexe.com/albums/userpics/Untitled-2.jpg)
Download
Ready to give the mod a chance to prove itself? Just remember that if you end up disliking the mod, you can always just uninstall it. Please select from a mirror below.
- Download Mirror 1 (http://pjirc.dtmdotexe.com/forum/index.php?topic=2.0)
- Download Mirror 2 (http://mods.simplemachines.org/index.php?mod=180)
FIRST! beta test time. thank you.
Quote from: d3v on February 08, 2006, 01:46:14 PM
FIRST! beta test time. thank you.
You're very welcome; and yes, it does appear that you're the first :P.
Thank you dtm! :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :)
Quote from: vibez on February 09, 2006, 03:45:34 AM
Thank you dtm! :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :)
You're most welcome; enjoy :).
Hi
I used to have chat mod before I upgraded to RC2. that one had settings to configure via admin panel. I downloaded this one yesterday and it installed ok, but I dont see any 'chat' option in the admin panel, should there be one?
Example I was able to set member name extensions and name my room that way
thanks for your help
No, you edit the options in Chat.template.php (Themes/default/)
hello,
thanks for the mod, i can use it at work but not at home, is it because od firewall or a lack of a tool?
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg101.imageshack.us%2Fimg101%2F8675%2Funtitled17dc.th.png&hash=fb71315b2fe592b344999c8b92c65e3e104878c1) (http://img101.imageshack.us/my.php?image=untitled17dc.png)
Quote from: definitive on February 12, 2006, 01:25:25 PM
hello,
thanks for the mod, i can use it at work but not at home, is it because od firewall or a lack of a tool?
definitive, I would imagine that this is because of the fact that Java is not installed. It could also be that your network at work does not allow a connection to a Java applet. Sorry about that :).
Quote from: perplexed on February 12, 2006, 07:05:14 AM
Hi
I used to have chat mod before I upgraded to RC2. that one had settings to configure via admin panel. I downloaded this one yesterday and it installed ok, but I dont see any 'chat' option in the admin panel, should there be one?
Example I was able to set member name extensions and name my room that way
thanks for your help
perplexed, though it is extremely user-friendly to have chat options added via SMF's admin panel, it does have it's downsides. For one, adding chat settings via the SMF admin panel eliminates mod compatibility with other versions of SMF. Because the admin panel is not modified by my mod, it becomes fully compatible with all versions of SMF, version 1.1 RC2 and higher. I hope this clears things up for you :).
thanks :) it seems to be working now, thanks for the info... the only problem is that a lot of people dont have java installed or arent able to due to restrictions on work computers etc, but I cant do anything about that
~thanks again
Hi...How can i make it when someone connects to server then automatically connect to my room?
pls be specific!
thnx!
P.S. Very nice mod!
Can this work with 1.0.6?
Quote from: jonakis on February 18, 2006, 06:38:48 AM
Hi...How can i make it when someone connects to server then automatically connect to my room?
pls be specific!
thnx!
P.S. Very nice mod!
It's in Chat.template.php. It joins the channel on connecting to the server by default.
Quote from: ZhongFu on February 18, 2006, 02:58:01 PM
Can this work with 1.0.6?
With some tinkering around with, yes. I highly recommend you upgrade to SMF 1.1 regardless of whether or not my mod is compatible with 1.0.
Hi, I use SMF 1.1 RC2 and Classic YaBB SE theme. When I was trying to install this mod I got a message that I had to CHMOD files via ftp. I have not installed ftp on my server and I really dont want to. Do you know what files I have to chmod to 777 to get this mod installed via package manager? I can do this manually as I run the forums on my own webserver.
Quote from: Memnon on February 19, 2006, 02:46:24 PM
Hi, I use SMF 1.1 RC2 and Classic YaBB SE theme. When I was trying to install this mod I got a message that I had to CHMOD files via ftp. I have not installed ftp on my server and I really dont want to. Do you know what files I have to chmod to 777 to get this mod installed via package manager? I can do this manually as I run the forums on my own webserver.
Although you should CHMOD
all SMF files to 777, you can simply CHMOD the files that are affected by this mod. Even so, it would just be easier to CHMOD every file.
Quote from: dtm.exe on February 20, 2006, 02:17:12 PM
Quote from: Memnon on February 19, 2006, 02:46:24 PM
Hi, I use SMF 1.1 RC2 and Classic YaBB SE theme. When I was trying to install this mod I got a message that I had to CHMOD files via ftp. I have not installed ftp on my server and I really dont want to. Do you know what files I have to chmod to 777 to get this mod installed via package manager? I can do this manually as I run the forums on my own webserver.
Although you should CHMOD all SMF files to 777, you can simply CHMOD the files that are affected by this mod. Even so, it would just be easier to CHMOD every file.
I saw a discussion about chmod all files to 777, if I do that, should I let them stay to 777 forever? I cant see how this is no security risc.
How do I find out which files that are affected by this mod?
Quote from: Memnon on February 20, 2006, 02:36:49 PM
I saw a discussion about chmod all files to 777, if I do that, should I let them stay to 777 forever? I cant see how this is no security risc.
How do I find out which files that are affected by this mod?
To make things simple, just CHMOD everything.
Why chmod 777 is NOT a security risk (http://www.simplemachines.org/community/index.php?topic=2987.0)
Can this work with 1.0.6?
Quote from: ltdeta on February 23, 2006, 06:43:42 AM
Can this work with 1.0.6?
That was answered a few posts up. I purposely made this mod only compatible with SMF 1.1 RC2 and above because I
want people to upgrade. Think of it as a bribe ;).
Version 2.1 (http://pjirc.dtmdotexe.com/index.php?option=com_smf&Itemid=26&topic=20.0) coming soon! ;)
This is truly awesome. Using it now. Thanks! :)
Just one question: wheres the irc server on which this runs based?
can i run an irc server?
secondly am i allowed to remove the simple machines logo ?
cuz i dont want anything to be in the chat window
i prefer a plain background .
The default is villageirc AFAIK. It can connect to any server. You could run one, but I think you personally would have difficultly installing one.
Btw, there's a thumbs.db
and what abt that logo ?
Quote from: eldacar on March 07, 2006, 03:28:24 AM
Btw, there's a thumbs.db
Oh, I had no idea :P. Thanks for reporting that :).
Quote from: Prasad007 on March 07, 2006, 03:29:21 AM
and what abt that logo ?
Which logo? The SMF one? Check Chat.template.php if you feel the need to remove it.
thanks!
<uninstall>
<modification reverse="true">setup.mod</modification>
</uninstall>
Needs to be changed to setup.xml
$boarddir/Themes/babylon/images/english
Would be better to be
$themedir/../babylon/images/english
When I installed this mod I ended up with 2 chat buttons on the top of the forum. What's up with that and how do I get rid of it. I tried uninstalling the mod and the package refuses to uninstall. I tried manually deleting it from my server and I am getting a permissions error. No matter what I do I can't get rid of it. Please help. Thanks!
This mod destroyed my Whole Board.
I can't freakin remove it and it's pissing me off. >:(
How does one delete this mod from the server? There seems to be a permissions issue that I can't get around. Thanks!
Open up the zip file locally and change setup.mod to setup.xml
Zip it up again, and then replace the one in your server with the new one, it should be uninstallable.
Is there a way to specify who is Operators on the channel. Just installed it, but the first person to enter the room becomes OP. How can i make sure the forum admins are always op's? Do I have to run a bot somehow?
Not to worry. Dotster deleted the folder. In fact, they inadvertantly deleted the entire directory. Now they are telling me I'm on my own! WTF!!!
DO NOT USE DOTSTER.
how to let the "chat" button open the chat in a new window _blank
First of all thank you dtm.exe for making this mod. It installed fine.
That being said I'm still having a problem.
I keep getting the following error:
[04:43] Connecting...
[04:43] Unable to connect to irc.dal.net : currently trying to connect to irc.dal.net
[04:43] Unable to connect : java.net.ConnectException : Connection timed out: connect
I've tested and I can log onto dal.net just fine with Mirc.
So I was wondering.. Is it possiable to change the timeout, so I'll be able to connect.
Also, as anyone that has used IRC will know, you often won't connect to the server on the first try.
So I'm wondering is it possiable to make the program try to auto reconnect on fail?
Thanks.
Jeremiah.
Quote from: Memnon on March 09, 2006, 12:32:32 PM
Is there a way to specify who is Operators on the channel. Just installed it, but the first person to enter the room becomes OP. How can i make sure the forum admins are always op's? Do I have to run a bot somehow?
That depends on your server, but most will allow you to register accounts and set aOps.
Quote from: eldacar on March 08, 2006, 02:23:02 AM
<uninstall>
<modification reverse="true">setup.mod</modification>
</uninstall>
Needs to be changed to setup.xml
$boarddir/Themes/babylon/images/english
Would be better to be
$themedir/../babylon/images/english
I noticed both of those about a week ago. Thanks for the confirmation :).
Quote from: ArkServer on March 09, 2006, 03:35:21 PM
how to let the "chat" button open the chat in a new window _blank
Open Chat.template.php, find the code for the button, and add
target="_blank" to the
<a> tag.
I dont find any <a> tag in Chat.template.php ?
And I have another question: Why does only the first smiley work? -- the one that makes a face like this :)
Quote from: Memnon on March 14, 2006, 12:03:53 PM
I dont find any <a> tag in Chat.template.php ?
Search for "chat" in index.template.php and you'll find it.
Quote from: Memnon on March 14, 2006, 12:12:30 PM
And I have another question: Why does only the first smiley work? -- the one that makes a face like this :)
! Smileys were not in numbered order, causing them to not be parsed by the applet.
! The smiley "embarrassed.gif" was not spelled correctly in Chat.template.php.
! Typo in Chat.template.php caused the kissing smiley to be parsed as the crying smiley.
http://pjirc.dtmdotexe.com/index.php?option=com_smf&Itemid=26&topic=7.0
Quote from: dtm.exe on March 17, 2006, 11:03:04 AM
! Smileys were not in numbered order, causing them to not be parsed by the applet.
! The smiley "embarrassed.gif" was not spelled correctly in Chat.template.php.
! Typo in Chat.template.php caused the kissing smiley to be parsed as the crying smiley.
Fixed this in my Chat.template.php last night -- works fine now. I even added some extra smileys.
I will try to look for the chat button code in index.template.php this weekend. My logic told me it had to be in this file, but I am not skilled php-coding so i searched Chat.template.php instead after reading in this thread. Thats how i discovered the smiley bugs :) Thanks for all your help and a great chat-client :)
Brilliant mod - my members are going to love it, just one query
How can I set it to be a "loyalty reward" for posters reaching 10 posts or more - I can't see it in the permissions. Is it something I have missed?
Also, apologies if this has been covered before - a link would be cool in that situation
Sometimes the mod just doesnt connect to the server and chat never starts.
Actually, I had an even better idea (well for what I want anyways) - how can I remove the button - and make the link via a board that can be only accessed when a poster reaches 10 posts
IRC is a completely separated system from SMF, php and even HTTP. There isn't really any way to easily restrict it, because they could easily just connect to the server directly.
(You could password lock the channel and give that out to people only once they've reached a certain post count, but that's just getting messy).
Also, there is no permission for this mod.
However if you really want to, it wouldn't be hard to simply hide the button until they reach a certain post count.
Quote from: eldacar on March 22, 2006, 11:53:23 PM
IRC is a completely separated system from SMF, php and even HTTP. There isn't really any way to easily restrict it, because they could easily just connect to the server directly.
(You could password lock the channel and give that out to people only once they've reached a certain post count, but that's just getting messy).
Also, there is no permission for this mod.
However if you really want to, it wouldn't be hard to simply hide the button until they reach a certain post count.
That sounds good - any suggestions how?
btw, probably a real dumb question (be gentle, I am an amateur) - will this chat cause much load on my host's server?
Aside from downloading the java files, it won't cause any load because its not actually on your host.
Change your template file, and put this around the lines that display the chat button:
if ($user_info['posts'] > postcount) {
echo 'chat button here';
}
Quote from: eldacar on March 23, 2006, 12:05:14 AM
Aside from downloading the java files, it won't cause any load because its not actually on your host.
Change your template file, and put this around the lines that display the chat button:
if ($user_info['posts'] > postcount) {
echo 'chat button here';
}
Another dumb question :P so if I were to make it for say 10 posts, I would write in:
if ($user_info['posts'] > 10) {
echo 'chat button here';
}
?
yep ;)
Well that would actually mean they had to have 11 posts. change 10 to 9, or > to >=
Quote from: eldacar on March 23, 2006, 12:15:50 AM
yep ;)
Well that would actually mean they had to have 11 posts. change 10 to 9, or > to >=
oh yeah! LOL as a maths teacher I should have known that LOL good thing I am "off duty"
Okay, REAL dumb question (getting close to my quota for the day)
I think I am in the right area:
Would I take this code:
// Show the [chat] button.
if ($context['user']['is_logged'])
echo ($current_action=='chat' || $context['browser']['is_ie4']) ? '' : '' , '
' , $current_action == 'chat' ? '' : '';
and replace with:
// Show the [chat] button.
if ($context['user']['posts']>9)
echo ($current_action=='chat' || $context['browser']['is_ie4']) ? '' : '' , '
' , $current_action == 'chat' ? '' : '';
?
Admittedly I am not entirely certain what all the code means
Replace with this:
if ($user_info['posts'] > 9) {
// Show the [chat] button.
if ($context['user']['is_logged'])
echo ($current_action=='chat' || $context['browser']['is_ie4']) ? '' : '' , '
' , $current_action == 'chat' ? '' : '';
}
done, but now the button does not appear for anyone
Hmm. try this maybe:
if ($context['user']['posts'] > 9) {
// Show the [chat] button.
if ($context['user']['is_logged'])
echo ($current_action=='chat' || $context['browser']['is_ie4']) ? '' : '' , '
' , $current_action == 'chat' ? '' : '';
}
If that doesn't work you can do it based on groups (You'll have to make a post count group for 10 posts). There are lots of topics here about that, search for user_info groups inarray
hmm did not work, but I will look in the area that you suggested :)
Thank you for the advice! I have opted to allow all members to use it - no harm just as long as they know the rules.
I learnt a fair bit more about php through this.
Thank you
mayb if the post limit requirement came after the log in check?
Looks to me lik it is asking if this user has a certain post limit and then if they do are they logged in.
Guest user would have 0 posts.
Logically this may work. 1st it looks to see if you are logged in then it looks to see if you have the right post count. I am not a php wiz but logic tells me this might work. I have issues like this with rules matching in a piece of software I use at work if you don't follow a logical order.... forget about it. Let me know if it works I may use it :)
{
// Show the [chat] button.
if ($context['user']['is_logged'])
if ($context['user']['posts'] > 9)
echo ($current_action=='chat' || $context['browser']['is_ie4']) ? '' : '' , '
' , $current_action == 'chat' ? '' : '';
}
Quote from: eldacar on March 09, 2006, 01:32:51 AM
Open up the zip file locally and change setup.mod to setup.xml
Zip it up again, and then replace the one in your server with the new one, it should be uninstallable.
I have the same problem as the other guy -- two chat buttons and can't uninstall. I tried modifying the zip changing setup.mod to setup.xml but that didn't work. Now it just says "This package was either never installed or was already uninstalled - you can't uninstall it now." when I try to uninstall it.
Help?
i installed this mod on my forum but can't find it anywhere to launch the chat .. wher is it ? ::)
WELDONE :)
I'VE REGISTERED A NICK AND A CHANNEL/ROOM and MODIFIED THE TEMPLATE FILE IN THEME/DEFAULT DIR.
NOW WHEN I ENTER TO CHAT, IT TAKES ME TO MY ROOM BUT WITH ID "Guest" + some digits e.g. Guest12322. MY AND MY FORUM'S USERS' NICK DON'T APPEAR.
ANY SOLUTION FOR THIS ???
THANKS IN ADVANCE.
I cannot uninstall your mod! Please help... I now have two chat buttons. Fails to uninstall with the following noifications:
!!Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.
Uninstall Actions
Uninstall Actions "PJIRC Integrated Chat Mod":
Installing this package will perform the following actions: Type Action Description
1. Execute Modification setup.mod Modification parse error
2. Execute Modification - Modification parse error
Please help me totally uninstall this mod. I would like to know I can turn these mods on and off and not get stuck.
everything worked great with the chat room. I would like the ability to change the color theme of the window, and I would like the ability to place an intro message at login. I don't know at what level I would like this implimented, if at all, and I would like it turned off.
TIA,
Bump! Please Help!
The only way I was able to get rid of the chat buttons was to edit my index.template.php and search for "chat". I found the spot that it displays the chat buttons, deleted those lines and saved. Make a backup of your index.template.php file first if you try that route.
Thanks DJP!
I got rid of the buttons, and uninstalled the mod through the errors, then deleted the PJIRC directory.
Going to try a different chat mod now, cuz that experience sucked!
I hope this mod didn't create any hidden issues.
Disgruntled,
BM
what do i edit to chnage the color of my chat
Quote from: webmoney on April 04, 2006, 12:34:46 PM
i installed this mod on my forum but can't find it anywhere to launch the chat .. wher is it ? ::)
Same problem, any solution?
www.adventistsam.com
Thanks
You might have to add the chat button if you are using a custom theme.
hmmm ok How do I do that??
Thanks
Stan
The code for it should be in the .xml file of the modification. It will go in your "theme/index.template.php" (where "theme" is the name of the theme you want to modify) There is a post around somewhere for how to add buttons to custom themes.