Thread Rating:
  • 9 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] Miuna News 3.2.0 [Real time notifier if has new post, thread and alert]
#1
Miuna News

About of Miuna News:

Secound product of Miuna series project.

This is one is very useful... And i willl explain why.

You tired refresh page all time to check if has new post, new thread or new alert?
But use Ajax to avoid refresh page increase resource usage of server?
So Miuna News is solution of your problems!!

Miuna series uses Websocket (Node.js, Socket.io etc...) yes new technology based in HTML5.
So worry that Ajax use hight resource no problem to Miuna News.

Miuna News alert user when:

- Has new post
- Has new thread
- Has new alert (myalert 2.0.2)

Some images:

[Image: pXR4pZ5.png]
[Image: OpgJVbZ.png]
[Image: vc6z0sv.png]
[Image: W0jNFko.png]

Requirement:

- Nodejs server to install Miuna News server (you can use Openshift (free))
- Mybb 1.8
- PluginLibrary 12

Download:

https://github.com/martec/Miuna-News-Cli...ses/latest
http://community.mybb.com/mods.php?action=view&pid=390

Support and Bug Report:

- This product in development.
- Bug in mobilephone, IE and safari has low priority.
- Only bug reported in github (https://github.com/martec/Miuna-News-Client/issues) i will see, if posted in other place like here, will be ignored.

How install Miuna News Server in Openshift v3:

1 - Create account in Openshift
2 - Choice Starter plan
3 - Click in "Open Web Console"
4 - Click in "Create Project"
5 - Will open new page, so add information as image below:
5.1 - Name: whatever you want
5.2 - Other fields: Leave empty
6 - Click in "Create"
7 - Click in "Data Stores"
8 - Find "MongoDB (Persistent)" and click "Select"
9 - Will open new page, but doesn't need change anything
10 - Click in "Create"
11 - Will open new page
11.1 - Copy the "Connection URL" information in note pad.
12 - Click in "Go to overview"
13 - Click in "Add to Project"
14 - Click in "Browse Catalog"
15 - Click in "Javascript"
15 - Find Node.js
16 - Change the "Version" to "6-latest" and click "Select"
17 - Will open new page, so add information as image below:
17.1 - Name: whatever you want
17.2 - Git Repository URL: Past here link below:
https://github.com/martec/Miuna-News-Server-Openshift-
18 - Click in "Create"
19 - Click in "Continue to overview"
20 - In "Overview" click in last application that you added (not the first (first is mongodb))
20.1 - Click in "Action"
20.2 - Click in "Pause Rollouts"
21 - Now click in "Environment"
22.1 - In Name put: url
22.2 - In Value past here information of step 11.1 (start with "mongodb://")
23 - Click in "Add Environment Variable"
24.1 - In new Name field put: origin
24.2 - In new Value field put: your forum link (something like https://myforum.info) (this information is important, if you put fake information the application won't work)
25 - Click in "Add Environment Variable" again
26.1 - In new Name field put: name
26.2 - In new Value field put: whatever you want (this is user account name used to communicate between the forum and the node server. You need put this information in ACP of forum too, so copy this information in note pad.)
27 - Click in "Add Environment Variable" again
28.1 - In new Name field put: pass
28.2 - In new Value field put: whatever you want (this is password of user account used to communicate between the forum and the node server. You need put this information in ACP of forum too, so copy this information in note pad.)
29 - Click in "Save"
30.1 - Click in "Action"
31.2 - Click in "Resume Rollouts"
32 - Click in "Application"
33 - Click in "Routes"
[Image: 3uQLnk6.png]
34 - Click in your application name
35 - Will open new page
36.1 - Find "TLS is not enabled. Edit this route to enable secure network traffic." phrase
36.2 - Click in "Edit" part of phrase above
37 - Will open new page
38.1 - Check  "Secure route"
38.2 - Select "Allow" in Insecure Traffic
38.3 - Click in "Save"
39 - Click in "Overview"
40 - Copy the link of your application that appear in Overview page (need this information later)
41 - It's all

Install Miuna News client:

https://github.com/martec/Miuna-News-Cli...ses/latest
http://community.mybb.com/mods.php?action=view&pid=390

Install plugin:

In configuration of plugin:

Yes in "Enable Miuna News?"

Link to Miuna News server: past here address that you copied in step 36 and remove last slash.
Check if doesn't has white space before and after the address

Socket.io address:
Same of above, but you need change https to wss. In V3 of openshift, you can't add :8443 after address.

Miuna Shoutbox Server Username: Samething of you puted in step 26.2
Miuna Shoutbox Server Passsword: Samething of you puted in step 28.2

It´s all.

Donate:

[Image: btn_donateCC_LG.gif]

Thanks.
Reply
#2
Will this work for mentions and reputation?
Reply
#3
(2015-02-12, 02:40 AM)user25 Wrote: Will this work for mentions and reputation?

i not check yet...
i need made some test here...

(2015-02-12, 02:40 AM)user25 Wrote: Will this work for mentions and reputation?

core of myalert work, so reputatio work...
mention work if you edit mention_alerts.php and replace
require_once MYALERTS_PLUGIN_PATH . 'Alerts.class.php';

with

require_once MYALERTS_PLUGIN_PATH . 'miunanews_Alerts.class.php';


check version 1.0.2

1.0.2 Released:

Now third party products of myalert supported by Miuna News

[Image: sAjYA8v.png]

Upgrade steps:

unistall 1.0.0 or 1.0.1 before.
Download 1.0.2
Install 1.0.2
Reply
#4
Hi,
Thank you for this nice addon but when i want to activate it, i have this error:
Fatal error: Call to undefined function myalerts_is_installed() in /home/abstract/public_html/forum/inc/plugins/miunanews.php on line 337
Reply
#5
(2015-02-12, 06:04 PM)molipa Wrote: Hi,
Thank you for this nice addon but when i want to activate it, i have this error:
Fatal error: Call to undefined function myalerts_is_installed() in /home/abstract/public_html/forum/inc/plugins/miunanews.php on line 337

thanks for report bug...
i will fix in next version...

for now... open miunanews.php
find "myalerts_is_installed() && "
and remove...

you find twice... so remove twice "myalerts_is_installed() && " in line 47 and line 337
Reply
#6
V 1.0.3 released

Fix two issues:
1 - Issue with installation: http://community.mybb.com/thread-166924-...pid1139244

2- Issue with jump buttom (reported by user of my forum)

Upgrade from 1.0.2:

No need unistall or desactive plugin. Only replace files with new one.
Reply
#7
V 2.0.0 released

- Fix conflict with lang variable of mybb
- Code Optimization

-New feature:

With this feature make your forum more fluid and dynamic. If you reading thread, and if this thread that you reading has new post, automatically new posts will loaded for you.

[Image: 8MHyhY6.png]

Upgrade from 1.0.3:

- Unistall old version.
- Upload new version.
- And install new version.
Reply
#8
It is doesn't work:

http://prntscr.com/66o4aj

I've double checked and I've uploaded all files correctly.
Reply
#9
V 2.0.1 released

sorry for release several version in short time...
but i can´t leave my products with bugs.

Improvement and fix parser issue...

Upgrade from older:

- Unistall old version.
- Upload new version.
- And install new version.

(2015-02-18, 11:27 AM)Redcap Wrote: It is doesn't work:

http://prntscr.com/66o4aj

I've double checked and I've uploaded all files correctly.

you created Miuna News Server correctly?

some common mistakes:
Checks again:

1 - If your forum link is like http://xxxx.com/yyyy (yyyy = forum = community etc...)
so correct only use "xxxx.com" part... you never can put "/yyyy" part.

2 - this part var origin = 'xxxx.com:80,www.xxxx.com:80';
order is important... if you puted var origin = 'www.xxxx.com:80,xxxx.com:80'; (not will work)

about port 80 you need put in without www and with www
so something like below not will work

var origin = 'xxxx.com:80,www.xxxx.com'; (incorrect)
var origin = 'xxxx.com,www.xxxx.com:80'; (incorrect)

Correct is var origin = 'xxxx.com:80,www.xxxx.com:80';

3 - if you made some above mistake... Need recreate Miuna Server...
First you need delet application from Openshift (make changes only in github not solve issue because openshift create clone of your repository)...
So need click in buttom below in openshift and create again Miuna News Server (of course first you need edit again file in github) [Image: 2FxRAt7.png]

4 - In step 11 puted something different of miunanews (if you puted something differente never will work)

And can test in my test forum

http://martec.ml/test/index.php

user: test
pass: test123

need create two account to simulate two user using...
Not need activate accont to use.
Reply
#10
I do not understand is that I placed in var origin if I put the address that you submit or should I place my address forum that eh I tried to install as 4 times and I get an error that the panel lower binds news and alert and While not seen either

Sorry for my bad English use a translator
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)