vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Mini Mods - Daily Game - Posts a new flash game to your vBulletin every day (https://vborg.vbsupport.ru/showthread.php?t=232862)

DailyGame 01-11-2010 10:00 PM

Daily Game - Posts a new flash game to your vBulletin every day
 
1 Attachment(s)
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')) 


MrRem 01-12-2010 08:15 AM

Tagged. Looks promising.
Will wait on feedback though first :)

cykelmyggen 01-12-2010 02:57 PM

Looks real nice - any chance for a vB 4 release for this one?

scottct1 01-12-2010 03:14 PM

Installed, can't wait for my first game.

lazydesis 01-12-2010 04:05 PM

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?

DailyGame 01-12-2010 06:51 PM

Quote:

Originally Posted by cykelmyggen (Post 1953602)
Looks real nice - any chance for a vB 4 release for this one?

Yes, soon.

Quote:

Originally Posted by lazyindian (Post 1953662)
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.

Hornstar 01-12-2010 09:07 PM

Interesting, Might give this a go. Thanks.

kokoboten 01-13-2010 09:43 AM

Could someone who tried the plugin give some feedback?

Itchy Nips 01-13-2010 10:59 AM

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)?

DailyGame 01-13-2010 11:29 AM

Quote:

Originally Posted by Itchy Nips (Post 1954308)
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.


All times are GMT. The time now is 10:46 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.06041 seconds
  • Memory Usage 1,747KB
  • 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
  • (3)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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