PDA

View Full Version : Mini Mods - Zynga Facebook Games for WebTemplates


8thos
09-25-2011, 10:00 PM
This puts Zynga Facebook Games on your site.

https://vborg.vbsupport.ru/external/2011/09/15.jpg

You can take the code and use it to create a page
https://vborg.vbsupport.ru/showthread.php?t=228112

or just add it to something like WebTemplates.

WebTemplates: https://vborg.vbsupport.ru/showthread.php?t=250202
Requested here: https://vborg.vbsupport.ru/showthread.php?t=269420
WebTemplate Name: zynga-facebook-games
User Friendly Name: Zynga Facebook Games
Category: Your Custom Pages
Parse Method: HTML
Using A Theme? Default Basic Theme
Template:
<strong>What's up {vb:raw bbuserinfo.username}? You can play Facebook Games Here </strong>



<center>

<iframe src="http://www.farmville.com" width="1024" height="686" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="yes" allowtransparency="true" background-color="transparent"></iframe>
<br>
<br>

<A HREF="javascript:void(0)"onclick="window.open('http://apps.facebook.com/farmville/tracks.php?src=bookmark&ref=bookmarks&count=25','linkname','height=850, width=1000, resizable=1, scrollbars=1')"><img src="http://www.zynga.com/img/thumb-farmville.png"</a> <A HREF="javascript:void(0)"onclick="window.open('http://apps.facebook.com/yoville/index.php?appRef=bookmark&ref=bookmarkssrc=bookmark&ref=bookmarks','linkname','height=850, width=1000, resizable=1, scrollbars=1')"><img src="http://www.zynga.com/img/thumb-yoville.png"</a> <A HREF="javascript:void(0)"onclick="window.open('http://apps.facebook.com/vampirewars/index.php?appRef=bookmark&ref=bookmarkssrc=bookmark&ref=bookmarks','linkname','height=850, width=1000, resizable=1, scrollbars=1')"><img src="http://www.zynga.com/img/thumb-vampirewars.png"</a> <A HREF="javascript:void(0)"onclick="window.open('http://apps.facebook.com/petville/index.php?appRef=bookmark&ref=bookmarkssrc=bookmark&ref=bookmarks','linkname','height=850, width=1000, resizable=1, scrollbars=1')"><img src="http://www.zynga.com/img/thumb-petville.png"</a> <A HREF="javascript:void(0)"onclick="window.open('http://apps.facebook.com/wordswithfriends/index.php?appRef=bookmark&ref=bookmarkssrc=bookmark&ref=bookmarks','linkname','height=850, width=1000, resizable=1, scrollbars=1')"><img src="http://www.zynga.com/img/thumb-wwf.png"</a> </center>

Digital Jedi
09-26-2011, 02:05 AM
For whatever reason, the word "mafia" is blocked by vBulletin.org's censor. You've just got +++++ in the URL.

Robru
09-26-2011, 12:49 PM
Thanks!! :)

8thos
09-26-2011, 04:08 PM
Since the word m-a-f-i-a is blocked on vbulletin, replace the +++++ with that word.

Someone just pmd me asking 'what is this'

You know how facebook has games right? Games that you have to be logged in to play? Well you can play those facebook games on your site. A window pops open asking you to log into facebook but you'll still be on your site. You can also choose to make it so that your Zynga Games Page is viewable to members-only.

HMBeaty
09-26-2011, 05:32 PM
Interesting! Tagged for later use :)

frupunch
09-26-2011, 07:32 PM
hope someone can code it on vb3 and play be able to zinga poker...

Digital Jedi
09-26-2011, 08:04 PM
hope someone can code it on vb3 and play be able to zinga poker...
You could just use the same tutorial from the vB3 articles section and just drop an iframe in there with ZyngaPoker's URL in the src="" element. But I'm not sure if it will work. Every time I go to zyngapoker.com it redirects me to Facebook, where I have the game blocked.

8thos
09-26-2011, 10:16 PM
If any of you wants to create a modification out of this, be my guest. Don't even credit me, I don't care.

HMBeaty
09-26-2011, 11:04 PM
If any of you wants to create a modification out of this, be my guest. Don't even credit me, I don't care.
Thanks lol. I've got a couple ideas for this ;)

8thos
09-26-2011, 11:24 PM
Thanks lol. I've got a couple ideas for this ;)
Cool and if you can create a modification out of it, you can delete this thread if you like that way people don't get confused. I'd rather just download and use yours personally. You make great modifications.

Edit nvm I just realized I linked this in the web templates thread. This is still useful for peeps who want to add pages with that. I'll just retitle the thread. This way your mod can be separate with no confusion from this one.

HMBeaty
09-26-2011, 11:32 PM
Cool and if you can create a modification out of it
Already working on it :p lol

8thos
09-26-2011, 11:37 PM
Already working on it :p lol
That's what's up. :cool:

I actually started on it today then realized I don't have the time to mess with it.

final kaoss
09-27-2011, 01:55 AM
This needs a little more work, how about adding a share option somewhere on the page for our traditional sharing methods? Also when we click a game at the bottom, it should redirect to another page on our vbulletin, not to a facebook popunder.

HMBeaty
09-27-2011, 01:58 AM
Also when we click a game at the bottom, it should redirect to another page on our vbulletin, not to a facebook popunder.
I'm actually not sure that's possible at the moment (other than with FarmVille and M-a-f-i-a Wars). I've emailed Zynga with a few questions, and hopefully I get a response back and I can move forward with this modification.

8thos
09-27-2011, 03:09 AM
This needs a little more work, how about adding a share option somewhere on the page for our traditional sharing methods? Also when we click a game at the bottom, it should redirect to another page on our vbulletin, not to a facebook popunder.
I agree, that's why I wanted to make it as a modification. BUT THEN I'd have to email Zynga to see if that's okay and I don't time for all of that. I have more important stuff to do like photoshopping white smileys to look like black people.

frupunch
09-27-2011, 06:38 PM
You could just use the same tutorial from the vB3 articles section and just drop an iframe in there with ZyngaPoker's URL in the src="" element. But I'm not sure if it will work. Every time I go to zyngapoker.com it redirects me to Facebook, where I have the game blocked.

how do i suppose to do that? hope you could provide us the iframe code..

8thos
09-27-2011, 07:08 PM
how do i suppose to do that? hope you could provide us the iframe code..

The iframe code is already provided in the first post. You just have to switch out the game urls. http://www.blackgamer.net/wp-content/uploads/2011/09/awesome.png

Digital Jedi
09-28-2011, 01:44 AM
how do i suppose to do that? hope you could provide us the iframe code..
Right, you just change the source URL to whatever website you want showing in the iframe.

src="http://whatverwebsite.com"

8thos
09-28-2011, 02:12 AM
Uh guys.. go ahead and make your zynga games private to members only if you don't know if it's allowed.

You can get the full list of games here: http://www.zynga.com/games/facebook.php

8thos
09-28-2011, 02:39 AM
Games you can embed by url:

Farmville
+++++ Wars
Worlds With Friends
Vampire Wars
YoVille
Petville

The Pioneer Trail goes to frontierville on facebook
Empires and Allies goes to facebook
Cityville goes to facebook

Zynga Poker doesn't work
Fishville doesn't work
Treasure Isle doesn't work
Adventure World doesn't work
Café World doesn't work

as far as embedding goes.

Lostboyfan
09-28-2011, 06:27 PM
Tagged For Later. What a great idea.

Lairston
10-27-2011, 03:02 AM
I'm actually not sure that's possible at the moment (other than with FarmVille and M-a-f-i-a Wars). I've emailed Zynga with a few questions, and hopefully I get a response back and I can move forward with this modification.
Have you heard from them by chance?

HMBeaty
10-27-2011, 03:14 AM
Have you heard from them by chance?
Nope :(

Akelorian
04-20-2015, 04:32 PM
HMBeauty I'm guessing you gave up on making a mod for this?