vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - Zynga Facebook Games for WebTemplates (https://vborg.vbsupport.ru/showthread.php?t=270914)

8thos 09-25-2011 10:00 PM

Zynga Facebook Games for WebTemplates
 
1 Attachment(s)
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:
Code:

<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

Quote:

Originally Posted by frupunch (Post 2250320)
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

Quote:

Originally Posted by Octavius. (Post 2250366)
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

Quote:

Originally Posted by HMBeaty (Post 2250381)
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

Quote:

Originally Posted by Octavius. (Post 2250388)
Cool and if you can create a modification out of it

Already working on it :p lol

8thos 09-26-2011 11:37 PM

Quote:

Originally Posted by HMBeaty (Post 2250391)
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

Quote:

Originally Posted by extreme-gaming (Post 2250428)
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

Quote:

Originally Posted by extreme-gaming (Post 2250428)
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

Quote:

Originally Posted by Digital Jedi (Post 2250332)
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

Quote:

Originally Posted by frupunch (Post 2250630)
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...09/awesome.png

Digital Jedi 09-28-2011 01:44 AM

Quote:

Originally Posted by frupunch (Post 2250630)
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.

Code:

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

Quote:

Originally Posted by HMBeaty (Post 2250429)
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

Quote:

Originally Posted by Lairston (Post 2261915)
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?


All times are GMT. The time now is 04:14 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01175 seconds
  • Memory Usage 1,774KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (24)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete