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
  #32  
Old 01-26-2010, 12:56 AM
TheInsaneManiac TheInsaneManiac is offline
 
Join Date: Feb 2008
Posts: 1,360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will google adsense work in the advertisement area?
Reply With Quote
  #33  
Old 01-26-2010, 02:51 PM
DailyGame DailyGame is offline
 
Join Date: Jan 2010
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes definitely, just make sure you comply Google's terms of service
Reply With Quote
  #34  
Old 01-27-2010, 05:28 AM
Koroku Koroku is offline
 
Join Date: Oct 2006
Location: Minnesota, USA
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I added it, and we're having fun with it

http://forums.dats.us/forumdisplay.php?f=222
Reply With Quote
  #35  
Old 02-01-2010, 08:29 AM
DailyGame DailyGame is offline
 
Join Date: Jan 2010
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A new version is released - with more customization options and several fixes for the installation
Make sure to check it!
Reply With Quote
  #36  
Old 02-01-2010, 08:19 PM
Prettyeyes4you Prettyeyes4you is offline
 
Join Date: Feb 2009
Location: Phoenix, AZ
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Trying this now on our test forum, very interested to see this

Thanks:up:
Reply With Quote
  #37  
Old 02-02-2010, 11:15 AM
Itchy Nips's Avatar
Itchy Nips Itchy Nips is offline
 
Join Date: Jun 2009
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I noticed I didnt get a flash game today. We'll see if tomorrow its back to normal.
Reply With Quote
  #38  
Old 02-02-2010, 12:06 PM
chris&barb chris&barb is offline
 
Join Date: Sep 2009
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I havent gotten one for two days now. I guess we have to do the updates to start getting them again? Can you tell us what we are supposed to do with the update, just overwrite i guess?
Reply With Quote
  #39  
Old 02-02-2010, 06:22 PM
Ski-Whiz's Avatar
Ski-Whiz Ski-Whiz is offline
 
Join Date: May 2003
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm using Akismet spam management and it keeps moderating my daily thread.

I have set the threshold which should be bypassing the spam scanning (per the spam settings), however it's still being scanned and moderated..

Reply With Quote
  #40  
Old 02-02-2010, 07:57 PM
iMageREAL iMageREAL is offline
 
Join Date: May 2009
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by chris&barb View Post
I havent gotten one for two days now. I guess we have to do the updates to start getting them again? Can you tell us what we are supposed to do with the update, just overwrite i guess?
Ya i hadnt recieved a game in a couple days either,i just upgraded now to the new release,see if i get one tonight now, i will post more feedback tomorow if i did

and thats all i did was overwrite the .php and .xml
Reply With Quote
  #41  
Old 02-02-2010, 08:36 PM
weindians weindians is offline
 
Join Date: Sep 2006
Posts: 130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i installed this... everything according to given steps... test link said "The test game should now appear in your forum".. but test games didnt appear... i given a suboforum in one of main forum sections.. i have root @ www.sitedomain.com and forum home @ www.sitedomain.com/forum/index.php.... i have the php file @ /forum/....will see in 24 hours..
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 12:17 AM.


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.05458 seconds
  • Memory Usage 2,342KB
  • Queries Executed 26 (?)
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
  • (1)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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (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_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