Go Back   Tactical Gamer > Simulation > Armed Assault > Armed Assault - General Discussion


Armed Assault - General Discussion Armed Assault discussion

Reply
 
Thread Tools
Old 04-07-2008, 11:06 PM   #1 (permalink)
 
jmaker's Avatar
 
Join Date: Jan 2006
Location: Warren, OH
Age: 28
Posts: 2,618
Server banners inside forum (Greasemonkey script)

http://www.tacticalgamer.com/armed-a...te-server.html

It looks this idea started right here, so here I am just trying to help.

I'm posting this for every game that Gametracker tracks that we have here so apologies if you see this in every forum. I don't know how you guys check the server status, but I thought it might be easier to just have the Gametracker banners right inside the forum for easy viewing. Here's a screenshot to show what I'm talking about.



You'll need Firefox along with the Greasemonkey extension which you can download here.
https://addons.mozilla.org/en-US/firefox/addon/748

And here's the script - serverBannerArma.user.js

Alternatively you may position the banners either on the left side or right side or just keep it centered. To do that you need to edit the script on line 10 and type in either left, center or right. Let me know if this helps at all.
__________________

jmaker is offline   Reply With Quote
Old 04-12-2008, 07:12 AM   #2 (permalink)
 
Shafik's Avatar
 
Join Date: Nov 2005
Location: Israel
Age: 27
Posts: 1,556
Re: Server banners inside forum (Greasemonkey script)

Excellent job, Jmaker. This is very handy. +rep.
__________________



Shafik is offline   Reply With Quote
Sponsored links
Old 04-12-2008, 01:17 PM   #3 (permalink)
 
NippleCorn's Avatar
 
Join Date: May 2003
Posts: 79
Re: Server banners inside forum (Greasemonkey script)

I have no idea what this post is about. Could you elaborate, please? :-)
NippleCorn is offline   Reply With Quote
Old 04-12-2008, 06:21 PM   #4 (permalink)
 
jmaker's Avatar
 
Join Date: Jan 2006
Location: Warren, OH
Age: 28
Posts: 2,618
Re: Server banners inside forum (Greasemonkey script)

Sure I'll try. You need the Firefox web browser for this to work.

Next you will need the Greasemonkey extension. Greasemonkey is an addon that "allows you to customize the way a webpage displays using small bits of JavaScript."

But this will only be seen on the client end, meaning your browser only. So basically we can add, delete, or modify anything within the webpage we want. These are called scripts. If you can click on the script above (assuming you've already installed Greasemonkey) there will be a popup asking you to install the script. After you've done that, refresh any page within the forums here, and you should see the TG Armed Assault Gametracker banners, like I've shown in the screenshot. (the screenshot shows our BF2 servers, but the ArmA ones will appear for you).

Let me know if you need any more help.
__________________

jmaker is offline   Reply With Quote
Old 04-12-2008, 06:53 PM   #5 (permalink)
 
GinSoakedBoy's Avatar
 
Join Date: Jun 2007
Posts: 132
Re: Server banners inside forum (Greasemonkey script)

For anyone using Firefox 3 Beta 5 this plugin does not currently work with it, but the maker is in the process of updating it.
__________________
"I have nothing to offer but blood, toil, sweat and tears"


GinSoakedBoy is offline   Reply With Quote
Old 04-13-2008, 12:23 AM   #6 (permalink)

 
Bamboo's Avatar
 
Join Date: Nov 2006
Location: On the beach north of Jacksonville, NC
Posts: 3,051
Re: Server banners inside forum (Greasemonkey script)

I got these, and where can I find the BF PR one?? And can I use both at the same time?
__________________



Stoop and you'll be stepped on; stand tall and you'll be shot at.

-Carlos A. Urbizo-

Bamboo is offline   Reply With Quote
Sponsored links
Old 04-13-2008, 04:51 AM   #7 (permalink)
 
Shafik's Avatar
 
Join Date: Nov 2005
Location: Israel
Age: 27
Posts: 1,556
Re: Server banners inside forum (Greasemonkey script)

Just edit the script file. Find these lines:

// add any server from the list above
div.innerHTML = armapub + armapriv;

and change armapub + armapriv to bf2pr + bf2poe. All server have a var entry for them, making it quite easy to customize.

I haven't actually tested it, but I assume it should work.
__________________




Last edited by Shafik; 05-16-2008 at 07:11 AM.
Shafik is offline   Reply With Quote
Old 04-13-2008, 12:59 PM   #8 (permalink)
 
jmaker's Avatar
 
Join Date: Jan 2006
Location: Warren, OH
Age: 28
Posts: 2,618
Re: Server banners inside forum (Greasemonkey script)

Yes Shafik is correct. Look for that line, which is line 48. So for example, if you wanted both Armed Assault servers and the BF2 PR server to show up just edit the line to this. To add more servers, just find the variable name up above. I tried to make them clear.

Code:
div.innerHTML = armapub + armapriv + bf2pr;
On mine, having more than 4 banners up top doesn't wrap too neatly to the next line, so keep that in mind since I didn't account for that.
__________________

jmaker is offline   Reply With Quote
Old 07-19-2008, 12:16 AM   #9 (permalink)

 
Bamboo's Avatar
 
Join Date: Nov 2006
Location: On the beach north of Jacksonville, NC
Posts: 3,051
Re: Server banners inside forum (Greasemonkey script)

I wanted to bump this thread for a bunch of the new guys and people that have been AFK for a bit. I use this to check the server constantly and see who and how many are on. It really works well. I think if more people had it installed and therefor had a quick way to see if people were playing without loading up, more would jump on.

If you have any questions about it or getting it working, there are a lot of very smart guys that would be glad to help. Please ask for help, cause only a noob sits there quietly and doesn't say so when he needs help trying something new.

And if you aren't using firefox, what on earth is wrong with you?
__________________



Stoop and you'll be stepped on; stand tall and you'll be shot at.

-Carlos A. Urbizo-

Bamboo is offline   Reply With Quote
Old 07-19-2008, 10:59 AM   #10 (permalink)
 
Xmaster's Avatar
 
Join Date: Apr 2008
Location: Quebec, Canada
Posts: 271
Re: Server banners inside forum (Greasemonkey script)

exactly what I needed! Thanks! <3
have some rep sexy lad
__________________

PR Ingame Name: -=**Xm4st3r**=-[Qc]
ArmA Ingame Name: |TG|Xmaster
Xmaster is offline   Reply With Quote
Sponsored links
Reply

Bookmarks

Tags
arma, banner, greasemonkey, script, server


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


All times are GMT -4. The time now is 01:58 AM.


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