Addonchat Integration script

Started by Suki, November 20, 2012, 11:15:19 AM

Previous topic - Next topic

Suki

I've been working on a mod to integrate an AddonChat script with an SMF installation, folks at AddonChat has been very kind in providing me with all the necessary tools and resources.

The mod is open source and it's licensed under the Mozilla Public License Version 2.0

Right now it needs tons of beta testing and bug hunting so if anyone is interested and has an active account at AddonChat please do give it a shot.

Features included:

- Uses hooks for most of the features, reducing installation problems and incompatibilities with other mods.
- Avatar integration, the chat window will show the user avatar if they had one.
- Permissions, all the permissions from the chat are ported and converted to the SMF permission system, allowing you to take full control over what your users can and cannot do on the chat.
- Who is chatting, the mod will display the count on the chat button as well as on the BoardIndex.
- Automatic authentication, your users won't need to sign up on the chat, they just need to enter the page and they will be automatically signed up and able to use the chat with the permissions you assign to them.

You will need at least the Professional PLUS edition and PHP 5.2 or greater in order to be able to fully use this integration script.

You can download the script at https://github.com/MissAllSunday/AddonChat-SMFIntegration just click on the ZIP button.

The script is ready to be installed via the Package Manager and will work on nearly all themes.

So, if someone is interested please do contact me and report back any issue you might found, either here, at my site or open a new issue at github.


Edit, updated the github link.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Hj Ahmad Rasyid Hj Ismail

Surprise to see this new development I am. However, nice to know that the smiles are back. ;) Will certainly test and use all your good mods Suki.

tommytoxen

Any news on this? Does it work? I'm not going to pay $125 to test something if it doesn't work.. I am looking at Addonchat..

Arantor

I couldn't recommend it. It uses Java by its own admission and Java is increasingly being disabled.

tommytoxen

Well, personally I think HTML5 is the way forwards.. eventually.

But Java is still the most used not only on computers, but mostly on mobile devices is all java and with mobile devices over-taking PC's by 2015 Java seems the most sensible option unless you're someone who hates making money  :P

Also with Windows dying and Linux becoming more popular, with big companies such as Valve making the switch, which means companies such as Creative, ATI etc will follow Valve for the money, flash is very, very, very finnicky and unreliable on Linux, whereas it does already have a stable Java platform so again even for PC's Java makes sense until HTML5 makes a full break through.

I'm very weary of going Flash because you're locking out your two biggest growing markets and essentially cutting off your own revenue.

Arantor

QuoteWell, personally I think HTML5 is the way forwards.. eventually.

AJAX Chat is written in HTML5.

QuoteBut Java is still the most used not only on computers, but mostly on mobile devices is all java and with mobile devices over-taking PC's by 2015 Java seems the most sensible option unless you're someone who hates making money

Oh, please, dear god, NO.

Yes, a lot of stuff on mobile is Java. Except that it's not the same Java. It is a very different Java and that chat thing you looked at won't work on a website browsing from mobile because they don't allow Java applets to run in the browser.

That and the fact that Java, routinely, regularly, has major vulnerabilities in the desktop environment... it has even overtaken Flash AND Acrobat for poor security. That's saying something.

QuoteAlso with Windows dying and Linux becoming more popular, with big companies such as Valve making the switch, which means companies such as Creative, ATI etc will follow Valve for the money, flash is very, very, very finnicky and unreliable on Linux

And Java ISN'T? Which Java engine?

* Arantor speaks as someone who has actually worked with Java code. It's not pretty.

QuoteHTML5 makes a full break through.

Please, stop spouting nonsense that you don't understand.

QuoteI'm very weary of going Flash because you're locking out your two biggest growing markets and essentially cutting off your own revenue.

And adopting a Java applet will cut BOTH of them off entirely. At least using Flash you only lock yourself out of one of the biggest growing markets.

Mind you, every year since 2000, I've heard will be the 'year of Linux on the desktop' and it's only really because of repeated mistakes by Microsoft that it's even remotely happening.

Suki

I cannot speak for AddonChat, I can only speak for my work.
Quote from: tommytoxen on February 24, 2013, 09:24:57 PM
Any news on this? Does it work? I'm not going to pay $125 to test something if it doesn't work.. I am looking at Addonchat..

There is no "new" news, the script is done, it needs testing but it is done.

Does it work?

It's been running on a community for at least 2 months without any issues.

You shouldn't buy Addonchat just because you want to test this...  this is for people that are already AddonChat clients and want to integrate their chat with SMF.

Lastly, this is not a place to ask for any AddonChar questions you may have,  AddonChat has its own support forum where you can ask any pre-sale stuff.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

tommytoxen

Quote from: Arantor on February 24, 2013, 09:42:51 PM
QuoteWell, personally I think HTML5 is the way forwards.. eventually.

AJAX Chat is written in HTML5.

QuoteBut Java is still the most used not only on computers, but mostly on mobile devices is all java and with mobile devices over-taking PC's by 2015 Java seems the most sensible option unless you're someone who hates making money

Oh, please, dear god, NO.

Yes, a lot of stuff on mobile is Java. Except that it's not the same Java. It is a very different Java and that chat thing you looked at won't work on a website browsing from mobile because they don't allow Java applets to run in the browser.

That and the fact that Java, routinely, regularly, has major vulnerabilities in the desktop environment... it has even overtaken Flash AND Acrobat for poor security. That's saying something.

QuoteAlso with Windows dying and Linux becoming more popular, with big companies such as Valve making the switch, which means companies such as Creative, ATI etc will follow Valve for the money, flash is very, very, very finnicky and unreliable on Linux

And Java ISN'T? Which Java engine?

* Arantor speaks as someone who has actually worked with Java code. It's not pretty.

QuoteHTML5 makes a full break through.

Please, stop spouting nonsense that you don't understand.

QuoteI'm very weary of going Flash because you're locking out your two biggest growing markets and essentially cutting off your own revenue.

And adopting a Java applet will cut BOTH of them off entirely. At least using Flash you only lock yourself out of one of the biggest growing markets.

Mind you, every year since 2000, I've heard will be the 'year of Linux on the desktop' and it's only really because of repeated mistakes by Microsoft that it's even remotely happening.

I do know. HTML5 is still buggy, face it. Especially HTML5's websocket.

Well to be fair the last HTML5 app I used was FCChat a whole year ago so perhaps its improved since then, but when I used it the web socket didn't half life throwing a wobbly and randomly disconnect people.

Anyway, you are quite right about Java - in the end I've decided to go with 123flashchat, which has full android and iOS integration & functionality. Even have an optional HTML5 client now too. Paid for it a few hours ago, just waiting for their developer to integrate it with SMF 2.0.4 now :)

Cheers for the replies.

I wasn't asking addonchat questions, I was asking you if your addonchat mod worked or not, thanks for the reply at least I know integration is possible, decided addonchat was a little too basic for my needs in the end anyway :P

Suki

It would be pretty stupid on my part to release an integration script that doesnt work....
Now please take your offtopic talk elsewhere
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Itch™

Well Suki, I for one am curious to see and try this. :)

Suki

Thing is, you need to be a AddonChat client because most if not all the features this script provides are only accessible if you purchased some plan already and even if you do, some features like avatar integration are only available if you have the complete full package.

This is true for all forum softwares they provide integrations to, marketing strategy I suppose.

This integration won't work with the free packages they provide, this is because this script needs access to AddonChat servers via what they call RAS (Remote Authentication System) to be able to retrieve data from the server, data such as the number of people in a chat, the chat settings, permissions, rooms, etc.

So, this script is for AddonChat users who already have a working chat and want to integrate it with SMF. This script will not install the chat for you.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

tommytoxen

So asking about addonchat integration script.. on an addonchat integration script = off-topic.

Were you just born without IQ or did your father batter it out of you?

Itch™

Quote from: tommytoxen on February 27, 2013, 03:28:56 AM
So asking about addonchat integration script.. on an addonchat integration script = off-topic.

Were you just born without IQ or did your father batter it out of you?

Were you just born rude or does it come natural?

Suki

Quote from: tommytoxen on February 27, 2013, 03:28:56 AM
So asking about addonchat integration script.. on an addonchat integration script = off-topic.

Were you just born without IQ or did your father batter it out of you?

If you want to talk about my IQ or my father, please do so elsewhere, this is a topic for AddonChat integration.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Cutter65

I have been looking for a Addonchat Integration script that will work with SMF 2.0.4 but haven't found anything that will work. I tried to download the script listed in the first post here but the link no longer works. Dose anyone have a working integration script that works with SMF 2.0.4?

Thanks

Suki

Oh, sorry the link got broken heres the new direct link to github:  https://github.com/MissAllSunday/AddonChat-SMFIntegration or just go to my github profile and go from there as it might get broken again.

Theres also a direct download: h++p://missallsunday.com/modsite/sa.single/mid.8/

Keep in mind that you need to have at least the Professional PLUS edition and PHP 5.2 or greater, it simply won't work with any lower edition of AddonChat.

Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Cutter65

Thanks for the quick reply.

I got the mod installed. It says everything is working. But when I try to login I keep getting Invalid user name or password. Any ideal as to what might be causing this? I tried both my admin user account on the forum and a regular member account I use for testing. Neither one will log in.

Suki

Did you correctly set up your callback url in your Addonchat settings page?   I included some info on how you can set the appropriate callback on your addonchat admin page.  Does your addonchat edition includes RAS feature?  RAS is the way they call their API methods and not all editions of addonchat has this feature enable.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Cutter65

Yes I have the Professional PLUS edition. I added the http://www.mysiteurl.com/forum/ChatAuth.php link to my remote authentication script link location in my Chat CP.

Cutter65

Suki I found the problem. It was the file permissions. The ChatAuth.php was set 666 I changed it to 644 and it works now.

Thank you for the great script/mod and the support!

Advertisement: