Go Back   Tactical Gamer > General Forums > Hardware & Software Discussion

Hardware & Software Discussion Hardware and Software discussion and troubleshooting. Tweakers and Overclockers welcome!
Don't forget to check out our Video Production sub-forum!

Reply
 
Thread Tools
Old 06-05-2007, 06:23 PM   #1 (permalink)
OFP Officer
OFP Admin

 
WhiskeySix's Avatar
 
Join Date: Oct 2005
Posts: 10,299
Tournaments Joined: 0
Tournaments Won: 0
PM Reply-All Button (Greasemonkey Script)

When reading a Private Message with multiple recipients, privatemessagereplyall.user.js adds "Reply All" functionality via a new button at the bottom of the PM:
Comments, suggestions, and bug-reports welcome.




[ This is a script that requires the (free) FireFox browser and the GreaseMonkey plugin for Firefox. When both are installed, just click the script-link above to start using this. ]
__________________




Reflexes are for mistakes only. Reaction implies surprise. Be surprised less.
WhiskeySix is offline   Reply With Quote
Old 06-05-2007, 06:32 PM   #2 (permalink)
 
Wimpinator's Avatar
 
Join Date: Jan 2006
Location: United states, TN
Age: 37
Posts: 3,072
Tournaments Joined: 0
Tournaments Won: 0
Re: PM Reply-All Button (Greasemonkey Script)

Really? Tell me this doesn't add a "Reply to all" button. If it does then I might have to kiss you.

edit: OMG it works. I really can't thank you enough for this one. It's something TG has been needing for a long time.
__________________
|TG-6th|Wimpinator


Wimpinator is offline   Reply With Quote
Old 06-05-2007, 06:38 PM   #3 (permalink)
On Vacation


 
Tempus's Avatar
 
Join Date: May 2003
Location: Miami, FL
Age: 39
Posts: 8,308
Tournaments Joined: 0
Tournaments Won: 0
Re: PM Reply-All Button (Greasemonkey Script)

I need a plugin that lets me Add to Whiskey's Reputation every time I want to without having to spread it around.
__________________



-- Suits are what you wear when doing things you shouldn’t want to do anyway.

FROM THE TACTICAL GAMER PRIMER.
3) Support game play in a near-simulation environment. Where the focus of play would not be solely on doing what it takes to win, but doing so utilizing real-world combat strategy and tactics rather than leveraging exploits provided to players by the design of the game engine.
Tempus is offline   Reply With Quote
Old 06-05-2007, 06:44 PM   #4 (permalink)
 
Wimpinator's Avatar
 
Join Date: Jan 2006
Location: United states, TN
Age: 37
Posts: 3,072
Tournaments Joined: 0
Tournaments Won: 0
Re: PM Reply-All Button (Greasemonkey Script)

I think I found a bug. Say I receive an email from eGoatboy that goes to me and Mister_X. If I hit your "Reply to all" button then it sends a PM to me and Mister_X but not to the original sender. It looks like the original senders name appears momentarily but gets over written by the other names.

I am using FireFox 2.0.0.4. I don't know what version of script Monkey (if there are separate versions).
__________________
|TG-6th|Wimpinator


Wimpinator is offline   Reply With Quote
Old 06-05-2007, 07:00 PM   #5 (permalink)
OFP Officer
OFP Admin

 
WhiskeySix's Avatar
 
Join Date: Oct 2005
Posts: 10,299
Tournaments Joined: 0
Tournaments Won: 0
Re: PM Reply-All Button (Greasemonkey Script)

good catch.. that's an easy fix... brb...

oh.. hmm.. I suppose it shouldn't CC yourself on the reply, huh? ok - that'll take a little different fix.
__________________




Reflexes are for mistakes only. Reaction implies surprise. Be surprised less.
WhiskeySix is offline   Reply With Quote
Old 06-05-2007, 07:19 PM   #6 (permalink)
 
jmaker's Avatar
 
Join Date: Jan 2006
Location: Warren, OH
Age: 29
Posts: 2,810
Tournaments Joined: 0
Tournaments Won: 0
Lightbulb Re: PM Reply-All Button (Greasemonkey Script)

I don't know the exact fix or even code but the pseudo code would be something like this in this section would it not?

Code:
//--- generate recipient List --------
        var thisName = ""
        var nameList = ""
        nameSpans = namesCell.getElementsByTagName('span');
        for(i=1; i<nameSpans.length; i++)
        {
            (Pseudo code) //Skip my own name here, I don't need a reply to myself
            (Pseudo code) //Find the name of original sender and add his name here
            thisName = nameSpans[i].innerHTML
            nameList = nameList + ''+thisName+'' + '\; ';
        }
__________________
jmaker is offline   Reply With Quote
Old 06-05-2007, 08:11 PM   #7 (permalink)
 
Beatnik's Avatar
 
Join Date: Jun 2005
Location: Austin, TX
Age: 34
Posts: 4,338
Tournaments Joined: 0
Tournaments Won: 0
Re: PM Reply-All Button (Greasemonkey Script)

Killer. Thanks for writing these scripts, Whiskey.
__________________
-F- Beatnik
Beatnik is offline   Reply With Quote
Old 06-05-2007, 08:12 PM   #8 (permalink)
 
jmaker's Avatar
 
Join Date: Jan 2006
Location: Warren, OH
Age: 29
Posts: 2,810
Tournaments Joined: 0
Tournaments Won: 0
Re: PM Reply-All Button (Greasemonkey Script)

Quote:
Originally Posted by Tempus View Post
I need a plugin that lets me Add to Whiskey's Reputation every time I want to without having to spread it around.
Whiskey, get to work on this script next.
__________________
jmaker is offline   Reply With Quote
Old 06-05-2007, 09:21 PM   #9 (permalink)
OFP Officer
OFP Admin

 
WhiskeySix's Avatar
 
Join Date: Oct 2005
Posts: 10,299
Tournaments Joined: 0
Tournaments Won: 0
Re: PM Reply-All Button (Greasemonkey Script)

first post updated - reinstall and let me know if it works...
__________________




Reflexes are for mistakes only. Reaction implies surprise. Be surprised less.
WhiskeySix is offline   Reply With Quote
Old 06-05-2007, 09:35 PM   #10 (permalink)
 
jmaker's Avatar
 
Join Date: Jan 2006
Location: Warren, OH
Age: 29
Posts: 2,810
Tournaments Joined: 0
Tournaments Won: 0
Re: PM Reply-All Button (Greasemonkey Script)

Ok it now adds the original sender but still has 'my name' in the list.
__________________
jmaker is offline   Reply With Quote
Old 06-05-2007, 11:49 PM   #11 (permalink)
OFP Officer
OFP Admin

 
WhiskeySix's Avatar
 
Join Date: Oct 2005
Posts: 10,299
Tournaments Joined: 0
Tournaments Won: 0
Re: PM Reply-All Button (Greasemonkey Script)

Thanks for the feedback guys! The original thread is updated with what I think is the "final" version. Let me know if you find any other goof ups!
__________________




Reflexes are for mistakes only. Reaction implies surprise. Be surprised less.
WhiskeySix is offline   Reply With Quote
Old 06-06-2007, 12:10 AM   #12 (permalink)
 
Wimpinator's Avatar
 
Join Date: Jan 2006
Location: United states, TN
Age: 37
Posts: 3,072
Tournaments Joined: 0
Tournaments Won: 0
Re: PM Reply-All Button (Greasemonkey Script)

This version seems to work perfectly for me. Thanks again man! Now I have to go delete about 75 PM's...
__________________
|TG-6th|Wimpinator


Wimpinator is offline   Reply With Quote
Old 06-06-2007, 12:42 AM   #13 (permalink)
 
jmaker's Avatar
 
Join Date: Jan 2006
Location: Warren, OH
Age: 29
Posts: 2,810
Tournaments Joined: 0
Tournaments Won: 0
Re: PM Reply-All Button (Greasemonkey Script)

Looks good my man!
__________________
jmaker is offline   Reply With Quote
Old 06-06-2007, 08:57 AM   #14 (permalink)
 
icky's Avatar
 
Join Date: Jul 2005
Location: Ottawa Valley
Posts: 6,154
Tournaments Joined: 0
Tournaments Won: 0
Re: PM Reply-All Button (Greasemonkey Script)

Ok, many scripts have come and gone without me checking them out, but this one I must run.

So, as a greasemonkey newbie, I got it installed and then clicked on the script, but it comes up with a screen of script and gives me an install button. When I click install on that page, I get nothing. I can't see how to get anything. Ideas?
__________________
Peace through fear... since 1947!
icky is offline   Reply With Quote
Old 06-06-2007, 10:00 AM   #15 (permalink)
 
icky's Avatar
 
Join Date: Jul 2005
Location: Ottawa Valley
Posts: 6,154
Tournaments Joined: 0
Tournaments Won: 0
Re: PM Reply-All Button (Greasemonkey Script)

Searched and found that disabling and then re-enabling greasemonkey fixes the problem.
__________________
Peace through fear... since 1947!
icky is offline   Reply With Quote
Reply

Bookmarks

Tags
addon, firefox, greasemonkey, mozilla, plugin


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

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
Trackbacks are On
Pingbacks are On
Refbacks are Off




» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Advertisement



All times are GMT -4. The time now is 10:57 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
©2004-2008 - Tactical Gamer - All Rights Reserved