Graalians

Graalians (https://www.graalians.com/forums/index.php)
-   General Graal Discussion (https://www.graalians.com/forums/forumdisplay.php?f=2)
-   -   Graal Facebook Friends Bar Removed (https://www.graalians.com/forums/showthread.php?t=25175)

The Doctor 07-11-2014 08:07 PM

Graal Facebook Friends Bar Removed
 
Hello,

I've decided to implement a simple CSS hack that allows the Graal Facebook Friends Bar to be removed. I've also added a way to make the flash player fullscreen, giving the benefit of a larger gaming experience.

Feel free to check out the links.
GraalOnline Classic
GraalOnline Era
GraalOnline Zone
All Three

http://puu.sh/a6ZqC/efacfa3873.png

Limitations: I haven't tried this on all browsers, but for Internet Explorer, you cannot open the fullscreen mode. You have to figure out a way to somehow open fullscreen mode.

Please post any bugs, or future suggestions. I'll be sure to implement them!

fp4 Edit: You can disable the bar on Classic now by going through options.

Phantos 07-11-2014 09:10 PM

This works amazingly well, thank you so much for sharing. I vastly prefer this UI to the stock Facebook one!

The Doctor 07-11-2014 09:22 PM

Quote:

Posted by Phantos (Post 488544)
This works amazingly well, thank you so much for sharing. I vastly prefer this UI to the stock Facebook one!

Thank you. I am glad that you enjoy it :).

Toxic 07-12-2014 04:31 AM

Nice Job I love it!

Aaron 07-12-2014 05:07 AM

....

I'm simply speechless.

Thank you.

I can share these links around on the Facebook I use for Graal, right?

The Doctor 07-12-2014 05:35 AM

Quote:

Posted by Aaron (Post 488779)
....

I'm simply speechless.

Thank you.

I can share these links around on the Facebook I use for Graal, right?

Yeah, of course! Feel free to spread it around :)

Toxic 07-12-2014 05:48 AM

Do you mind me asking how you made this :D?

The Doctor 07-12-2014 05:55 AM

I'll post the source code tomorrow. It's late tonight :P. It was quite simple once I figured out how to generate my own qplay cookie.

Toxic 07-12-2014 06:06 AM

Quote:

Posted by The Doctor (Post 488821)
I'll post the source code tomorrow. It's late tonight :P. It was quite simple once I figured out how to generate my own qplay cookie.

Thanks!

The Doctor 07-12-2014 06:04 PM

Here's the source code for graalera.php

http://pastebin.com/hzQ4GxaY

Basically, what I did was I used PHP get get the qplay cookie from the GraalOnline Era website. This changes upon every refresh, so I don't have to worry about clients connecting to each other.

Using the qplaycookie, I then initialize the flash object as the size of the website. I also make it a bit bigger so that the friends bar is cropped off the end of the page. The CSS for that would be overflow: hidden;

Next, I just added a button to make it fullscreen.

Ash Ketchum 07-19-2014 11:18 PM

nice

Lipton 08-01-2014 08:27 AM

I feel a slight movement delay on this compared to the Facebook Version, any ideas to fix it?

Fysez 08-02-2014 03:11 AM

Quote:

Posted by Lipton (Post 495292)
I feel a slight movement delay on this compared to the Facebook Version, any ideas to fix it?

Don't use this, just use the original Facebook version.:)

Aaron 08-02-2014 05:02 AM

Quote:

Posted by Lipton (Post 495292)
I feel a slight movement delay on this compared to the Facebook Version, any ideas to fix it?

Works perfectly for me man, I'll have to try again and see if there's a delay since I haven't logged on in a few days.

Thallen 08-02-2014 06:01 AM

Quote:

Posted by Lipton (Post 495292)
I feel a slight movement delay on this compared to the Facebook Version, any ideas to fix it?

it resizes the Flash embed to fit the size of your window, so if you actually do feel that and it isn't all in your head then that is probably why


All times are GMT. The time now is 02:59 PM.

Powered by vBulletin/Copyright ©2000 - 2026, vBulletin Solutions Inc.