JazzJackrabbit Community Forums

JazzJackrabbit Community Forums (http://www.jazz2online.com/jcf/index.php)
-   General Jazz Jackrabbit Talk (http://www.jazz2online.com/jcf/forumdisplay.php?f=4)
-   -   Placing the GIP Script used on J2ov2/Hazes Hideout/JJ.net onto your site. (http://www.jazz2online.com/jcf/showthread.php?t=11157)

Nimrod Aug 14, 2004 03:13 AM

Placing the GIP Script used on J2ov2/Hazes Hideout/JJ.net onto your site.
 
Edit: Now out of date, please refer to: http://digiex.net/showthread.php?t=129

Haze Aug 14, 2004 07:33 AM

"Hi, my name is XXXXX and I have been a proud user of this product for many days now. It has significantly improved not only my website but also my lifestyle. I never used to be the center of attention but now... that doesn't matter anymore! As I can check the current games-in-progress at any time I want!
Usage is so simple and it adds so much to your website life everybody should give it a try!" :p

Usage indeed has been simple, and it was quick and easy to set up. Efforts like these really help to keep the community together. I'd recommend everybody who has had a similar thought to check this out. Really nifty stuff. :)

Link Aug 14, 2004 11:55 AM

I should note that you don't need a PHP script to use this GIP script. Simply include it as an object or inline frame:

<object type="text/html" data="http://digiex.net/jj2gip/sl.php?lightcolor=EEEEEE&darkcolor=DDDDDD&fontcolor=000000&backgroundcolor=FFFFFF&bordercolor=0000DD" width="500" height="350">Your browser does not support embedded pages.</object>

That will give you something like this:

Your browser does not support embedded pages.

Change the height, width, and colors to suit your site.

Electric Ir Aug 15, 2004 10:43 AM

You can also include it in a DIV file using PHP, or with a (stupid and dumb) IFRAME.

Tmansdc Sep 23, 2004 03:31 PM

Quote:

Originally Posted by Nimrod
You may have noticed the lovely new Games in progress script used on Jazz2onlinev2, Hazes Hideout and also in a couple of days, jazzjackrabbit.net. If you havent seen it yet, on J2ov2 click Games in Progress on the top bar and see. :7

You may be suprised to know that you can in actual fact place it on your own site free of charge.

Although we wont hand out the source code to our GIP script, we will provide you with the means to place it on your site. You can completely customize the colour scheme to fit in with your site.

You can download an example script at: http://digiex.net/jj2gip/gip.zip

You can use the gip.php and just change the html colour codes in it and place it on your site.
Or you can see how you include it, and write your own script for including it to fit into your sites layout (Depending on your level of PHP knowledge)

Here are some examples of sites that have used the GIP script:
http://www.jazz2online.com/J2Ov2/gip.php
http://digiex.net/jj2gip/
http://www.dutchfurs.com/~haze/?cat=news&event=gip

Benefits of using this GIP:
* Maintance can take place on the Digiex Server should any changes need to be made, meaning you dont have to do anywork as the updates will automatically show on your site.
* Supports the new "Message of the Day" feature of the List Server Network. (The Jazz 2 List Servers now give out a MOTD changeable via a List Server Admin, future use can include important information/news/updates, or Traftons latest humour)
* Allows colour scheme to be changed to suit any site in question.
* Can collect ingame information and output it into a nicely designed box.
* Script runs within the same internal network as the List Server, allowing a lighting fast 1ms> response to request games in progress.
* Can provide a instant link by clicking "Go" to get into the game without having to load up the old fashioned way of using Jazz2 to get games in progress.

I hope this is useful to some of you, and happy jazz'ing :)


Heh. sure. go ahead. charge for the source code.

White [VS] Dec 17, 2004 05:43 AM

Can I use it in Jazz Center?
Of course I add informations about authors and copyrights...

Torkell Dec 18, 2004 04:16 AM

(edited as I realised something else)

Note that if you use an IFRAME or OBJECT to directly include sl.php, IE will (with good reason) warn the user about it under default security settings. This is because there are cross-site scripting issues involved (similar tricks are used to steal login information).

This has only been tested with IE here, YMMV.

Nimrod Dec 18, 2004 04:48 AM

Quote:

Originally Posted by White [VS]
Can I use it in Jazz Center?
Of course I add informations about authors and copyrights...


Yep, its free to use and you dont need to add credit, as the script automatically does that.

Slaz Dec 18, 2004 05:16 AM

When i finished my JJ site, i will ad this, really nice that it's downloadable, THANKS!! :eek:

White [VS] Jan 5, 2005 04:49 AM

THX
Look at JC in 2-3 weeks ;) It'll be in english :P

Slaz Jan 6, 2005 09:10 AM

Your JC site is cool, but i sadly don't know polish...

!Tman! Jan 6, 2005 09:17 AM

Only if i had a website nim I would use it ;)

Jerrythabest Apr 22, 2005 10:27 AM

Hmmm the object tag works better.
 
The whole script doesn't work on my computer:H but the object tag from Link (thanks a lot:lol:) works:lol:

White Rabbit Apr 22, 2005 12:30 PM

:) I remember that Newspaz coded a brand new GIP especially for the TF forums. Unfortunately, both the GIP and he is gone now. :(

EDIT: Gone from TF. :p

fiendmm++ Apr 26, 2005 04:08 PM

Quote:

Originally Posted by Jerrythabest
The whole script doesn't work on my computer:H but the object tag from Link (thanks a lot:lol:) works:lol:

Wow you just ressurected a horribly old post! Post anything about this in the technical forums "Jerrythabest"!

Newspaz Apr 27, 2005 01:56 PM

Quote:

Originally Posted by White Rabbit
:) I remember that Newspaz coded a brand new GIP especially for the TF forums. Unfortunately, both the GIP and he is gone now. :(

EDIT: Gone from TF. :p

I'll do a new one next summer. :) I have nothing to do anyway :)

White Rabbit Apr 28, 2005 07:07 AM

*waits patiently*

WvA Jul 11, 2005 03:39 AM

Quote:

Originally Posted by Haze
"Hi, my name is XXXXX and I have been a proud user of this product for many days now. It has significantly improved not only my website but also my lifestyle. I never used to be the center of attention but now... that doesn't matter anymore! As I can check the current games-in-progress at any time I want!
Usage is so simple and it adds so much to your website life everybody should give it a try!" :p

Usage indeed has been simple, and it was quick and easy to set up. Efforts like these really help to keep the community together. I'd recommend everybody who has had a similar thought to check this out. Really nifty stuff. :)

dude... that sounds like tell sell

cooba Jul 11, 2005 03:58 AM

Quote:

Originally Posted by CelL
Beware! Topic necromancy alert!

 

UNKNOWNFILE Sep 19, 2005 01:19 PM

[QUOTE=Nimrod]You may have noticed the lovely new Games in progress script used on Jazz2onlinev2, Hazes Hideout and also in a couple of days, jazzjackrabbit.net. If you havent seen it yet, on J2ov2 click Games in Progress on the top bar and see. :7

You may be suprised to know that you can in actual fact place it on your own site free of charge.

Although we wont hand out the source code to our GIP script, we will provide you with the means to place it on your site. You can completely customize the colour scheme to fit in with your site./QUOTE]

Whatever happened to Nebula's gip script?

Link Sep 19, 2005 02:22 PM

Nebula's script is still available, but it does not include newer features such as the MOTD. Using an external script also reduces strain on the J2O web server.

anssik Nov 26, 2005 12:04 AM

Quote:

Originally Posted by Nimrod
Y
Although we wont hand out the source code to our GIP script, we will provide you with the means to place it on your site. You can completely customize the colour scheme to fit in with your site.

How come then, that I have the source code?
I got it here from main page or something.

Was the source code released one time or why I do have it?

I'm confused. Lol.

BadBunny Mar 2, 2006 02:31 AM

I have a problem. :confused:

My server isn't listed on this list. So I searched and searched and found this :

“If you find your games not listed here, or these games not showing up in your client,
Install the following patch: http://jazzjackrabbit.net/JJ2List.zip“

I went to the link and downloaded the file, and I noticed, this is for windows.(I have a mac)

Do you have a mac version of this, or can you tell me what I must do, that my server is able to be seen on the list. Sometimes you even can't see it on the listserver... :eek:

Neobeo Mar 2, 2006 03:47 AM

You should have posted on Technical Help instead of reviving an old topic. Anyway, you can find what you need at the Party Mode Downloads.

Jerrythabest Apr 30, 2006 02:28 AM

how to make your own gip then? with this, I can't make it fit in with my site :(

Birdie Apr 30, 2006 08:04 AM

Quote:

Originally Posted by Jerrythabest
how to make your own gip then? with this, I can't make it fit in with my site :(

You would have to make your own, and script it and stuff.

R3ptile Apr 30, 2006 08:11 AM

STOP REVIVING OLD THREADS

Birdie Apr 30, 2006 08:13 AM

I didn't r3p. :\

Odin Apr 30, 2006 08:39 AM

I think he was talking to Jerrytha(Best)

Stijn: Come on, behave.

Marijn Apr 30, 2006 08:42 AM

Quote:

Originally Posted by Odin
I think he was talking to Jerrytha(Best)

I agree..
No, You don't have to read this line 2 times :D

[Previous quotation edit - FQuist]

Jerrythabest Apr 30, 2006 09:12 AM

script one isnt the problem, it's the problem how I can make nice list:)

just tell me, how can I make something nice of this (current list as shown by FSLE, IP's replaced by Xes)

Code:

XXX.XX.XX.XX:10052 local public battle 1.24  38 [4/32] polska
XX.XXX.XX.XXX:10052 local public treasure 1.21  1275 [11/32] CookieCrisps
XX.XXX.XX.XXX:10052 local public ctf 1.21  177 [3/32] CM
XX.XX.XX.XXX:10052 local private ctf 1.21  737 [3/4] C C and friends
XXX.XX.XXX.XX:10052 local public ctf 1.20 s 1744 [2/32] edu
XX.XX.XX.XX:10052 local private battle 1. 24511 [9/0] Get latest patch jazz2online.com


Stijn Apr 30, 2006 09:28 AM

http://www.php.net/explode

Black Ninja Apr 30, 2006 10:14 AM

We'll probably add this on Foo Products soon.

Jerrythabest Apr 30, 2006 10:57 AM

you mean a 'Make your own GIP script mini-manual'? good good :D:D
if not, still kay then :)

I'll try to find out what about the explode fuction:) thanks for giving me at least something to look at :lol:

Monolith Apr 30, 2006 11:05 AM

Step 1: Learn to write in the scripting/programming language of your choice.
Step 2: Learn how to get text data from a socket as for the list server protocol.
Step 3: Use your knowledge of programming/scripting from step 1 to process the data you got in step 2.
Step 4: Output the processed data in your choice format.

Jerrythabest Apr 30, 2006 11:09 AM

1. I know *some* PHP but learning fast
2. like from http://*listserver address*:10057/ ? yes I know how
3. Theres the problem, I don't know enaugh PHP to process it, I can make it show up as it does now and build something around, but I dont know how to get a given part shown on a given place and how to hide given things
4. Well that really isnt a problem

Stijn Apr 30, 2006 11:17 AM

Quote:

Originally Posted by Jerrythabest
Theres the problem, I don't know enaugh PHP to process it, I can make it show up as it does now and build something around, but I dont know how to get a given part shown on a given place and how to hide given things

http://www.php.net/manual/en/index.php

and

http://www.jazz2online.com/J2Ov2/dow...p?levelID=1847

Jerrythabest Apr 30, 2006 11:20 AM

str_replace()? whee that was just what I have needed a whole time, thanks so much :O :O

and thanks for giving enaugh information for me to make this =D:D

EDIT: hmm some way it only shows the first server :S

Marijn Apr 30, 2006 12:04 PM

Just start a new line after 8 words..

Jerrythabest Apr 30, 2006 12:34 PM

I dunno what caused that, but I found out that if I make a second list that one will list all servers except the first one. very weird, but putting those two under each other made it look ok:)

okay, no one understood this:)


EDIT: however, sometimes the second list DOES show the first server too.. this is more confusing than I imagined:|

EDIT2: and some way it shows an empty line at the bottom of the list


All times are GMT -8. The time now is 11:12 AM.

Powered by vBulletin® Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
JCF © 2001-Infinity Jazz2Online