What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » General » Forum & Website » [0.3.3] Some client-side Shoutbox improvements. (Firefox only!)

Pages: (7): « First « 1 2 3 [ 4 ] 5 6 7 » Last »
[0.3.3] Some client-side Shoutbox improvements. (Firefox only!)
Author: Message:
the DtTvB
Junior Member
**


Posts: 47
Reputation: 10
– / Male / –
Joined: Mar 2007
Status: Away
O.P. RE: [0.2.1] Some client-side Shoutbox improvements. (Firefox only!)
quote:
Originally posted by -dt-
simple, mine hooks a bunch of things like the sbRefresh function and can disable/enable its self depending on if the refresh is enabled :P

In my script, it completely disable the sbRefresh function, but edit the behavior of rfSwitch to call my reload function.

quote:
Originally posted by -dt-
wow thats messy :-/, why dont you use xpaths to find the table and just replace the shout table + online users :-/

That code was removed since 0.1.2! :P
Since 0.1.2, the script will kist replace the shout+online users.

And I am not good at XPaths. ;)

quote:
Originally posted by -dt-
mine creates an iframe, forces it to load the shoutbox (with protections against infinite loops) then once the iframe has fully rendered it uses an xpath to find the table + online users and copies the node from the iframe document to main one.

less jumpyness and a more natural look : >

Since 0.2.0, it uses DocumentFragment to parse the HTML.

code:
var range = document.createRange();
range.selectNode (node);
var documentFragmentObject = range.createContextualFragment(htmlCode);

And it works really fine!

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Off-Topic!

I made another userscript for the forum.
This script improves the BBCode function.

- You won't lose your selection when you click on a button, so you can click B, I, U, Center without re-select the text everytime.
- The textarea won't scroll up anymore so you don't have to scroll down if you have typed long.
- Some hotkeys. ;)
    - Ctrl+B - Bold
    - Ctrl+I - Italic
    - Ctrl+U - Underline
    - Ctrl+L - Left
    - Ctrl+E - Center
    - Ctrl+R - Right

URL: http://dttvb.yi.org/msg-edit.user.js
the DtTvB - My name has no meaning, but it's unique at least!
[Image: asj.gif]
03-14-2007 02:36 PM
Profile E-Mail PM Web Find Quote Report
Jimbo
Veteran Member
*****

Avatar

Posts: 1650
Reputation: 18
31 / Male / Flag
Joined: Jul 2006
RE: [0.2.1] Some client-side Shoutbox improvements. (Firefox only!)
quote:
Originally posted by the DtTvB

Off-Topic!

I made another userscript for the forum.
This script improves the BBCode function.

- You won't lose your selection when you click on a button, so you can click B, I, U, Center without re-select the text everytime.
- The textarea won't scroll up anymore so you don't have to scroll down if you have typed long.
- Some hotkeys. ;)
    - Ctrl+B - Bold
    - Ctrl+I - Italic
    - Ctrl+U - Underline
    - Ctrl+L - Left
    - Ctrl+E - Center
    - Ctrl+R - Right

URL: http://dttvb.yi.org/msg-edit.user.js
Thanks, thats actually really helpful!
Maybe make the hotkeys work when doing a quick reply? that would be even better

You may have to use Ctrl=Alt+__ because ctrl and b, when doing a quick reply, displays the bookmark thing in firefox.
03-14-2007 04:23 PM
Profile E-Mail PM Find Quote Report
Thor
Veteran Member
*****

Avatar
Awwwwwwww.

Posts: 1118
Reputation: 42
31 / – / Flag
Joined: May 2006
RE: [0.2.1] Some client-side Shoutbox improvements. (Firefox only!)
Oh well, here's a request. :p

Is it possible to hook the userlinks, so that when you click the user name of a shout, a menu popps out asking whether you want to quote the person, send a pm or just visit the profile page?
:)
:plus4: Translation guidelines for Messenger Plus! Live
I'm no longer around this town, but I miss the community dearly. You can always find me lurking in #banana, or at
nitrolinken.net.
03-14-2007 05:55 PM
Profile PM Web Find Quote Report
WDZ
Former Admin
*****

Avatar

Posts: 7106
Reputation: 107
– / Male / Flag
Joined: Mar 2002
RE: RE: [0.2.1] Some client-side Shoutbox improvements. (Firefox only!)
quote:
Originally posted by markee
Could someone correct me if I'm wrong but doesn't the who's online section of the shoutbox rely on a timer before the person's name disappears which means that the toast style message could be up to 15 minutes slow?  I would like to know that I'm wrong.
Yeah, due to the way the Users Online system works, these toasts can't possibly work very well. :-/

Users can stay on the online list for up to 15 minutes after they leave.

Also, users disappear from the list whenever their current board location changes. So refreshing the Latest Posts page, for example, would cause you to "leave" the shoutbox.
03-14-2007 07:26 PM
Profile PM Web Find Quote Report
Oxy
Veteran Member
*****

Avatar

Posts: 1368
Reputation: 24
30 / Male / Flag
Joined: Jul 2006
RE: [0.2.1] Some client-side Shoutbox improvements. (Firefox only!)
quote:
Originally posted by WDZ
Also, users disappear from the list whenever their current board location changes. So refreshing the Latest Posts page, for example, would cause you to "leave" the shoutbox.
ahh, that explains alot :P
[Image: dotlukas.gif]
03-14-2007 08:10 PM
Profile E-Mail PM Find Quote Report
the DtTvB
Junior Member
**


Posts: 47
Reputation: 10
– / Male / –
Joined: Mar 2007
Status: Away
O.P. RE: [0.2.1] Some client-side Shoutbox improvements. (Firefox only!)
quote:
Nitro:
Is it possible to hook the userlinks, so that blah blah blah....
Sure! It is possible, I am developing on it!

quote:
From a PM:
...... ..... .....
I am also implementing quick texts, that allows you to type in texts quickly... For example /bye /insult /test

quote:
Jimbodude:
Maybe make the hotkeys work when doing a quick reply? that would be even better
Updated.
New version URL: http://dttvb.yi.org/msg-edit2.user.js
Also, the new version also supports the resizing of the message entry.

quote:
Jimbodude:
You may have to use Ctrl=Alt+__ because ctrl and b, when doing a quick reply, displays the bookmark thing in firefox.
Ctrl+B will not display the bookmarks... (Like in vBulletin!)
the DtTvB - My name has no meaning, but it's unique at least!
[Image: asj.gif]
03-15-2007 09:36 AM
Profile E-Mail PM Web Find Quote Report
prashker
Veteran Member
*****


Posts: 5109
Reputation: 104
– / Male / –
Joined: Mar 2005
Status: Away
RE: [0.2.1] Some client-side Shoutbox improvements. (Firefox only!)
quote:
Originally posted by the DtTvB
I am also implementing quick texts, that allows you to type in texts quickly... For example /bye /insult /test

My pm :cheesy: <3.
03-15-2007 10:27 AM
Profile PM Find Quote Report
the DtTvB
Junior Member
**


Posts: 47
Reputation: 10
– / Male / –
Joined: Mar 2007
Status: Away
O.P. RE: [0.3.0] Some client-side Shoutbox improvements. (Firefox only!)
I've finished the quick message system and userlinks hooking system.

Version 0.3.0 is out!
Please see the top post.

Note: Please uninstall the older versions first before installing 0.3.0.
the DtTvB - My name has no meaning, but it's unique at least!
[Image: asj.gif]
03-15-2007 11:44 AM
Profile E-Mail PM Web Find Quote Report
prashker
Veteran Member
*****


Posts: 5109
Reputation: 104
– / Male / –
Joined: Mar 2005
Status: Away
RE: [0.3.0] Some client-side Shoutbox improvements. (Firefox only!)
Thats really good :).

But what about Quick Texts for forum posts :O?
03-15-2007 06:14 PM
Profile PM Find Quote Report
Thor
Veteran Member
*****

Avatar
Awwwwwwww.

Posts: 1118
Reputation: 42
31 / – / Flag
Joined: May 2006
RE: [0.3.0] Some client-side Shoutbox improvements. (Firefox only!)
quote:
Originally posted by the DtTvB
I've finished the quick message system and userlinks hooking system.

Version 0.3.0 is out!
Please see the top post.

Note: Please uninstall the older versions first before installing 0.3.0.
Works really sweetly!

One thing. :)
After you've clicked a username, the menu pops up. But, can you make it so if you click anywhere else it disappears?
:plus4: Translation guidelines for Messenger Plus! Live
I'm no longer around this town, but I miss the community dearly. You can always find me lurking in #banana, or at
nitrolinken.net.
03-15-2007 06:39 PM
Profile PM Web Find Quote Report
Pages: (7): « First « 1 2 3 [ 4 ] 5 6 7 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On