MyBB Community Forums

Full Version: [Firebase] - Rin Shoutbox 0.4.0
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13
Rin Shoutbox

Firebase Shoutbox for Mybb 1.8

Advantages in use Firebase:
  • Real time chat
  • No Ajax request to post and get new message
  • Reduce pratically to zero resource usage.

Feature:
  • Me command (/me)
  • Style of message (bold, font type, font size, font color) (can disable in ACP of setting of plugin)
  • Spoiler button
  • Imgur upload image button (require imgur client ID) (get in https://imgur.com/register/api_anon and choice oauth2 without callback)
  • Ban user button (only mod)
  • Prune shoutbox button (only mod)
  • Sound when someone post new message or only when mentioned in shoutbox
  • Ignore user button
  • Log button
  • Edit and remove message
  • Anti flood (in plugin setting (ACP))
  • BadWord
Requirement:

- Firebase account (you can use free account, but has limitation)
- Mybb 1.8
- PHP curl

Download:

https://github.com/martec/Rin-Shoutbox/releases/latest
http://community.mybb.com/mods.php?action=view&pid=598

Support:

- Only this thread can used to support request.
- I refuse support like problem related with custom theme caused due javascript error.
- I refuse support related with buttons caused by custom theme (Font awesome icons, bootstrap etc). Contact theme creator.

How install Rin Shoutbox:

1 - Install Rin Shoutbox plugin and Create account in Firebase: https://www.firebase.com/
2 - Click in add project
3 - Click in project that you created in step 2
4 - In overview page click in Add Firebase to your web app
5.1 - Copy apiKey value without quote and past in Your Firebase API Key of plugin setting
5.2 - Copy databaseURL value without quote and past in Your Firebase Database URL of plugin setting
5.3 - Copy authDomain value without quote and past in Your Firebase Authentication Domain of plugin setting
6 - Go to https://gist.githubusercontent.com/marte...Rules.json and copy all content and replace in Rules https://console.firebase.google.com/proj...base/rules (click in link and select your project to go in rules page). Do not forget to click in publish button.
7.1 - Click in https://console.firebase.google.com/proj...s/adminsdk (click in link and select your project to go in Firebase Admin SDK page).
7.2 - Click in Generate New Private Key, and save file in your computer
7.3 - Open file saved in 7.2 with Notepad++ (https://notepad-plus-plus.org/)
7.4 - Copy client_email value without quote and past in Your Firebase Client Email of plugin setting
7.5 - Copy private_key value without quote and past in Your Firebase Private Key of plugin setting
8.1 - Click in https://console.firebase.google.com/proj...asesecrets (click in link and select your project to go in Database Secrets SDK page).
8.2 - Click in show secret button [Image: RGc0u9k.png]
8.3 - Copy secret value  and past in Your Firebase Secret of plugin setting
9 - If need change other settings too.
10 - Done.

Donate:

[Image: btn_donateCC_LG.gif]

Thanks.
I have been having troubles adding the plugin.  I am pretty sure it's the headerinclude part.  But here is the pastebin of the code.  N I added your fix to the top and near the bottom to try to fix it.

http://pastebin.com/nwnSQ7Ke
(2015-10-09, 02:34 AM)Kolakocide Wrote: [ -> ]I have been having troubles adding the plugin.  I am pretty sure it's the headerinclude part.  But here is the pastebin of the code.  N I added your fix to the top and near the bottom to try to fix it.

http://pastebin.com/nwnSQ7Ke

you using mybb 1.6. This only work with 1.8.
Hi, i install this plugin and all works fine for like 5 minutes but after when i try to chat something it just don't show on the box. It's like i text and nothing happens.
(2015-10-09, 10:42 AM)Trosty Wrote: [ -> ]Hi, i install this plugin and all works fine for like 5 minutes but after when i try to chat something it just don't show on the box. It's like i text and nothing happens.

hi, possible you post here javascript error message? after this 5 minutes?
https://codex.wordpress.org/Using_Your_B...ipt_Errors (how Diagnose JavaScript Errors) (only step 3)
v 0.3.1 Released:

- Fix conflict with Rin News

Upgrade:

- Not need unistall or desactive, replace with new version, it's all.
No chance to add a private message system? Sad

If for some my users Openshift didn't work (for firewall block etc), also with Firebase will be the same thing?

Thank you

It seems work also with some my users with firewall block (to them Miuna didn't work)...thank you very much, great plugin!! Big Grin

Finally I'll delete that brick of Inferno Shoutbox.

100 connections are maximum 100 users simultaneously chatting?

I hope that the chat will continue to be free and not be blocked by firewalls..
Some of my users still can't type in Opera and Chrome, in Firefox and Vivaldi seems to work fine... this is the js error that i find in consol

firebase.js:129 Uncaught Error: Firebase.push failed: first argument contains undefined in property 'shout.bold'
Now also to me on Chrome doesn't work more Sad On firefox all ok..I tried with bold font-style and now when I type it doesn't appear in chat..

This happens me also on your test forum martec. I typed in bold, refresh maybe the page but now I can't more send new shouts, I type but doesn't appear in chat.

If I clean cookies etc in Chrome it works again, always if I don't use again bold Big Grin


To me in console Chrome:

Uncaught Error: Firebase.push failed: first argument contains undefined in property 'shout.font'

[Image: UtQ8ak0.png]
(2015-10-13, 01:07 PM)Trosty Wrote: [ -> ]Some of my users still can't type in Opera and Chrome, in Firefox and Vivaldi seems to work fine... this is the js error that i find in consol

firebase.js:129 Uncaught Error: Firebase.push failed: first argument contains undefined in property 'shout.bold'

(2015-10-13, 01:31 PM)niere8 Wrote: [ -> ]Now also to me on Chrome doesn't work more Sad On firefox all ok..I tried with bold font-style and now when I type it doesn't appear in chat..

This happens me also on your test forum martec. I typed in bold, refresh maybe the page but now I can't more send new shouts, I type but doesn't appear in chat.

If I clean cookies etc in Chrome it works again, always if I don't use again bold Big Grin


To me in console Chrome:

Uncaught Error: Firebase.push failed: first argument contains undefined in property 'shout.font'

[Image: UtQ8ak0.png]

thanks to report... i willl investigate...

v 0.3.2 Released:

- Fix issue with style

Upgrade:

- Unistall old version, upload new version and install.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13