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

Reply
 
Thread Tools
Daily Game - Posts a new flash game to your vBulletin every day Details »»
Daily Game - Posts a new flash game to your vBulletin every day
Version: 2.1, by DailyGame DailyGame is offline
Developer Last Online: Jan 2011 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.8.x Rating:
Released: 01-11-2010 Last Update: 08-11-2010 Installs: 79
Uses Plugins
Additional Files Translations  
No support by the author.

Daily Game posts a new flash game to your vBulletin once per day in a new thread. Daily Game will help your vBulletin by:
  • Starting up conversations on slow days
  • Increasing retention since users are playing on your forum
  • Help you get links and improve SEO (flash games get a lot of links!)
  • Make you money! Use your own ad code to display an ad while the flash game is loading. These pre-roll ads get very high eCPM!

Install time: 5 minutes
Installation difficulty: Easy
Demo: http://www.playedonline.com/forum/showthread.php?t=40

Updated to version 1.5 : No manual template modifications and title and content customization

Updated to version 2.1 : simple_xml support is no longer required, enabled bbcodes on the game thread, support for switched off boards.

Installation instructions
  1. Upload add_daily_game.php to the vBulletin root directory
  2. Import the product XML file (Plugins & Products -> Manage Products - > [Add/Import Product])
  3. Configure the Daily Game settings under vBulletin Options -> vBulletin Options -> Daily Game:
    • Set ?Enabled? to Yes
    • Visit www.playedonline.com/register_vbulletin to register (input your forum's url and your email) and get a shared key for authentication.
    • Configure which userid will post the daily games (input 0 for guest)
    • Choose a forum for Daily Game
    • Customise the title (useful for non-English forums) or leave blank for default
    • Enable or disable description and instructions
    • Paste ad code (e.g. AdSense) to show a pre-roll ad before the game starts (optional, leave empty to show no ads)
    • Click the Test link you got in the registration e-mail to post a test daily game (you can delete the test post after you verify that it works)
    • You're done! A daily game will be posted on your forum every day at 3am EST.
  4. Optional : if you switch off your vBulletin from time to time you can make sure the games are posted even if the board is off by making those small changes:
    • Add the following code to /includes/functions.php
      PHP Code:
      function endswith($string$test) {
          
      $strlen strlen($string);
          
      $testlen strlen($test);
          if (
      $testlen $strlen) return false;
          return 
      substr_compare($string$test, -$testlen) === 0;

    • In global.php find the line
      PHP Code:
      if (!$vbulletin->options['bbactive'] AND THIS_SCRIPT != 'login'
      and replace with
      PHP Code:
      if (!$vbulletin->options['bbactive'] AND THIS_SCRIPT != 'login' AND !endswith($_SERVER["SCRIPT_NAME"], '/add_daily_game.php')) 

Download Now

File Type: php add_daily_game.php (7.0 KB, 162 views)
File Type: xml product-daily_game.xml (5.1 KB, 158 views)

Screenshots

File Type: jpg sand castle.jpg (96.6 KB, 0 views)
File Type: jpg settings.jpg (82.0 KB, 0 views)

Show Your Support

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

Comments
  #2  
Old 01-12-2010, 08:15 AM
MrRem MrRem is offline
 
Join Date: Jun 2009
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tagged. Looks promising.
Will wait on feedback though first
Reply With Quote
  #3  
Old 01-12-2010, 02:57 PM
cykelmyggen's Avatar
cykelmyggen cykelmyggen is offline
 
Join Date: Oct 2006
Location: Europe
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks real nice - any chance for a vB 4 release for this one?
Reply With Quote
  #4  
Old 01-12-2010, 03:14 PM
scottct1 scottct1 is offline
 
Join Date: Mar 2002
Location: Connecticut
Posts: 391
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed, can't wait for my first game.
Reply With Quote
  #5  
Old 01-12-2010, 04:05 PM
lazydesis lazydesis is offline
 
Join Date: Sep 2006
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks very good.

However one question, where do all those ads come from? Can I put my own ads or are they coming from the actual sponsor of the game?
Reply With Quote
  #6  
Old 01-12-2010, 06:51 PM
DailyGame DailyGame is offline
 
Join Date: Jan 2010
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cykelmyggen View Post
Looks real nice - any chance for a vB 4 release for this one?
Yes, soon.

Quote:
Originally Posted by lazyindian View Post
Looks very good.

However one question, where do all those ads come from? Can I put my own ads or are they coming from the actual sponsor of the game?
In the demo link the first ad that you see before the game loads is up to you to configure. You can put a 300x250 ad code there or you can leave it blank and the game will load straight away with no delay.

The second ad that you see is part of the game itself. Some flash game developers put ads in their games to make money - that's just the price of free content. Both ads together run about 30 seconds and the game loads in the background while they display so normally they don't add any actual wait time for the user.
Reply With Quote
  #7  
Old 01-12-2010, 09:07 PM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Interesting, Might give this a go. Thanks.
Reply With Quote
  #8  
Old 01-13-2010, 09:43 AM
kokoboten kokoboten is offline
 
Join Date: Dec 2009
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could someone who tried the plugin give some feedback?
Reply With Quote
  #9  
Old 01-13-2010, 10:59 AM
Itchy Nips's Avatar
Itchy Nips Itchy Nips is offline
 
Join Date: Jun 2009
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have it installed but haven't gotten a daily game yet, which is my fault. I registered on your site but forgot to put "/forums"at the end of my link, so the daily game will not appear.

should I re-register or can you edit that yourself (on your site)?
Reply With Quote
  #10  
Old 01-13-2010, 11:29 AM
DailyGame DailyGame is offline
 
Join Date: Jan 2010
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Itchy Nips View Post
should I re-register or can you edit that yourself (on your site)?
Re-registering would work but I just fixed it for you so there's no need. You can click the test link from the confirmation e-mail to make sure it works now.
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 06:42 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04828 seconds
  • Memory Usage 2,333KB
  • Queries Executed 24 (?)
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
  • (3)bbcode_php
  • (3)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
  • (1)pagenav_pagelinkrel
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (4)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete