MyBB Community Forums
[For 1.8] [Firebase] - Rin Shoutbox 0.4.0 - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Plugins (https://community.mybb.com/forum-73.html)
+---- Forum: Plugin Releases (https://community.mybb.com/forum-102.html)
+---- Thread: [For 1.8] [Firebase] - Rin Shoutbox 0.4.0 (/thread-183528.html)

Pages: 1 2 3 4 5 6 7 8


[Firebase] - Rin Shoutbox 0.4.0 - martec - 10-08-2015

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.

Demo:

https://martyan.info/1812/

User: test
pass: test123

You need create account, but activation not required.

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/martec/911b68013cb37a6e7292363d1e87504b/raw/b501fbfbe9028b0bc5257433397319ee56cb19d3/Firebase_Rules.json and copy all content and replace in Rules https://console.firebase.google.com/project/_/database/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/project/_/settings/serviceaccounts/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/project/_/settings/serviceaccounts/databasesecrets (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.


RE: [Firebase] - Rin Shoutbox 0.3.0 - Kolakocide - 10-09-2015

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


RE: [Firebase] - Rin Shoutbox 0.3.0 - martec - 10-09-2015

(10-09-2015, 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.


RE: [Firebase] - Rin Shoutbox 0.3.0 - Trosty - 10-09-2015

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.


RE: [Firebase] - Rin Shoutbox 0.3.0 - martec - 10-09-2015

(10-09-2015, 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_Browser_to_Diagnose_JavaScript_Errors (how Diagnose JavaScript Errors) (only step 3)


RE: [Firebase] - Rin Shoutbox 0.3.0 - martec - 10-13-2015

v 0.3.1 Released:

- Fix conflict with Rin News

Upgrade:

- Not need unistall or desactive, replace with new version, it's all.


RE: [Firebase] - Rin Shoutbox 0.3.1 - niere8 - 10-13-2015

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..


RE: [Firebase] - Rin Shoutbox 0.3.1 - Trosty - 10-13-2015

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'



RE: [Firebase] - Rin Shoutbox 0.3.1 - niere8 - 10-13-2015

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]


RE: [Firebase] - Rin Shoutbox 0.3.1 - martec - 10-13-2015

(10-13-2015, 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'

(10-13-2015, 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.