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.


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

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.01038 seconds
  • Memory Usage 1,739KB
  • 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
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete