Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Zynga Facebook Games for WebTemplates Details »»
Zynga Facebook Games for WebTemplates
Version: 1.00, by 8thos 8thos is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.1.6 Rating:
Released: 09-25-2011 Last Update: Never Installs: 8
Re-useable Code Additional Files Translations  
No support by the author.

This puts Zynga Facebook Games on your site.



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>

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 09-26-2011, 11:32 PM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Octavius. View Post
Cool and if you can create a modification out of it
Already working on it lol
Reply With Quote
  #13  
Old 09-26-2011, 11:37 PM
8thos's Avatar
8thos 8thos is offline
 
Join Date: Aug 2010
Location: Pensacola, FL
Posts: 772
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HMBeaty View Post
Already working on it lol
That's what's up.

I actually started on it today then realized I don't have the time to mess with it.
Reply With Quote
  #14  
Old 09-27-2011, 01:55 AM
final kaoss final kaoss is offline
 
Join Date: Apr 2006
Posts: 1,314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #15  
Old 09-27-2011, 01:58 AM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by extreme-gaming View Post
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.
Reply With Quote
  #16  
Old 09-27-2011, 03:09 AM
8thos's Avatar
8thos 8thos is offline
 
Join Date: Aug 2010
Location: Pensacola, FL
Posts: 772
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by extreme-gaming View Post
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.
Reply With Quote
  #17  
Old 09-27-2011, 06:38 PM
frupunch frupunch is offline
 
Join Date: Dec 2006
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Digital Jedi View Post
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..
Reply With Quote
  #18  
Old 09-27-2011, 07:08 PM
8thos's Avatar
8thos 8thos is offline
 
Join Date: Aug 2010
Location: Pensacola, FL
Posts: 772
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by frupunch View Post
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.
Reply With Quote
2 благодарности(ей) от:
Digital Jedi, HMBeaty
  #19  
Old 09-28-2011, 01:44 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by frupunch View Post
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"
Reply With Quote
  #20  
Old 09-28-2011, 02:12 AM
8thos's Avatar
8thos 8thos is offline
 
Join Date: Aug 2010
Location: Pensacola, FL
Posts: 772
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Reply With Quote
  #21  
Old 09-28-2011, 02:39 AM
8thos's Avatar
8thos 8thos is offline
 
Join Date: Aug 2010
Location: Pensacola, FL
Posts: 772
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 10:59 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.07947 seconds
  • Memory Usage 2,344KB
  • Queries Executed 28 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete