Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Duckways: Shoutbox | Realtime using NodeJS & Socket.io Details »
Duckways: Shoutbox | Realtime using NodeJS & Socket.io
Mod Version: 1.0.1, by Jorandh (Coder) Jorandh is offline
Developer Last Online: Aug 2018 I like it Show Printable Version Email this Page

vB Version: 5.4.x Rating: (1 vote - 5.00 average) Installs: 3
Released: 08 Aug 2018 Last Update: 10 Aug 2018 Downloads: 12
Supported DB Changes Uses Plugins Auto-Template Additional Files Is in Beta Stage  


Duckways: Shoutbox | Realtime using NodeJS & Socket.io



What is this mod all about?

A lot of forums come with a shoutbox. However, we've seen so many resource eating shoutbox versions that we thought it would be cool to release one based on NodeJS and Socket.io.
This shoutbox does not refresh it's content every X seconds for every user. Instead, it pushes the new message to all users using a websocket. Blazing fast with less resource consumption.

(!!) To use this plugin you need to have NodeJS/NPM installed on your webserver. This requires some server knowledge, so if you can't do it yourself please contact your hosting company or use our installation service (Email us at quack@duckways.com).(!!)

(!!) We now also offer a hosted node version, which you can run right away without installing anything server-side. This comes at the price of $4,95 a month. Contact us on quack@duckways.com for more info or to buy.(!!)



Features free version
- Parses bbcode/smiley's
- Set usergroup permissions to view the shoutbox
- Set usergroup permissions to post in the shoutbox
- Users can edit their own shouts

Features pro version
- Parses bbcode/smiley's
- Set amount of shouts to display
- Set usergroup permissions to view the shoutbox
- Set usergroup permissions to post in the shoutbox
- Set usergroup permissions to edit shouts (moderator)
- Set usergroup permissions to delete shouts (moderator)
- Users can edit their own shouts
- Shoutbox archive in AdminCP to read back (including deleted shouts & who deleted them!)



Buy the pro version

About Duckways

We're a company with a team of developers who have been working a lot on a vBulletin 4 system for two of our customers. The largest one with over 200,000 users and 4 million posts.
This one migrated to vBulletin 5 recently and we've faced quite some issues in vBulletin 5 which we'll fix by writing custom modifications. Some of those, which are worth sharing, will be added here on vBulletin.org. If you're missing a feature or add-on, please feel free to contact us.



How to install:
  1. Upload all files from the "upload" folder to your forums directory.
  2. Log in on SSH and navigate to the folder {forumroot}/core/packages/duckwaysshout/node
  3. Run the command "npm install" (Make sure you have NodeJS / NPM installed on your server!
  4. Start your node server using the command "node server.js", it should now start listening on the port that is set in the server.js file. Please make sure your firewall doesn't block this port. If you want to keep the server running while you leave the terminal, please use one of the many solutions written on StackOverflow:
  5. In AdminCP -> Plugins & Products -> Manage Products -> Add/Import Product in the "OR import the XML file from your server" and fill in: ./core/packages/duckwaysshout/xml/product_duckwaysshout.xml
  6. Go change every usergroup you have and set the permissions for the shoutbox.
  7. Final step: Go to your homepage and open de website editor. You'll find a new widget you can drag onto your page: Duckways Shoutbox. Save the page after you gave the shoutbox a nice spot and you're ready to go!



Version history
  • 1.0.0 - BETA release
  • 1.0.1 - Fixed a few bugs, updated node and changed ports. Added setting for socket URL. Added new features in PRO version.



Support

Please use this thread to ask questions or to report bugs. PRO version users can email us at quack@duckways.com for quick support.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #16  
Old 11 Aug 2018, 11:27
Jorandh's Avatar
Jorandh Jorandh is offline
 
Join Date: Jan 2015
Real name: Joran den Houting
Originally Posted by Fleiding View Post
I have to click Refresh every time I posted, edited, and deleted a message.

Safari is showing the following errors in the console:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I'm still working with my host to get all the required items installed at my web server, because the same thing is happening now on my forum at the moment.

Edit: Is it possible to display new messages on top?
Sorry, our server.js wasn't running. I just set it to permanent run using screen. It should now work as aspected.


You should go to the folder "core/packages/duckwaysshout/node/", run "npm install" and then run "node server.js". If you run your website using ssl, please edit server.js to use the SSL certs.
Reply With Quote
  #17  
Old 11 Aug 2018, 11:59
Fleiding's Avatar
Fleiding Fleiding is offline
 
Join Date: Jan 2012
Real name: Rob
After running the command "npm install" I get the following in my terminal:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Originally Posted by Jorandh View Post
Sorry, our server.js wasn't running. I just set it to permanent run using screen. It should now work as aspected.
It does!

Originally Posted by Jorandh View Post
If you run your website using ssl, please edit server.js to use the SSL certs.
I edited server.js and have it running successfully but my console is telling me:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Last edited by Fleiding; 11 Aug 2018 at 16:49.
Reply With Quote
  #18  
Old 11 Aug 2018, 19:14
Jorandh's Avatar
Jorandh Jorandh is offline
 
Join Date: Jan 2015
Real name: Joran den Houting
Originally Posted by Fleiding View Post
After running the command "npm install" I get the following in my terminal:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


It does!


I edited server.js and have it running successfully but my console is telling me:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
The last error in your console basically tells you that it wasn't able to connect to socketio. Please make sure you're using the plugin version 1.0.1 which has been added to the first post AND that the port (default now is 2096) is allowed in your firewall If not, make sure to add it!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 00:09.

Layout Options | Width: Wide Color: