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
  #42  
Old 02-02-2010, 10:32 PM
multiplex multiplex is offline
 
Join Date: Jun 2009
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so far so good. i'll let you know if the game populates tonight
Reply With Quote
  #43  
Old 02-03-2010, 06:14 AM
DailyGame DailyGame is offline
 
Join Date: Jan 2010
Posts: 87
Благодарил(а): 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?
You actually should not have to reinstall if it worked for you before
Tell us if the problem persists...
Reply With Quote
  #44  
Old 02-03-2010, 12:34 PM
chris&barb chris&barb is offline
 
Join Date: Sep 2009
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Still no new games. Last one received on Jan 31
Reply With Quote
  #45  
Old 02-03-2010, 01:41 PM
DailyGame DailyGame is offline
 
Join Date: Jan 2010
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by chris&barb View Post
Still no new games. Last one received on Jan 31
You are right, there was an error on our side. It was fixed and you'll be getting the games as usual from tomorrow.

Thanks for letting us know!
Reply With Quote
  #46  
Old 02-03-2010, 01:45 PM
multiplex multiplex is offline
 
Join Date: Jun 2009
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok i installed this and so far its working but i'm noticing one issue. when i reply to the thread that it auto-creates, if i use any smilies in the reply, they disappear after you submit your reply and are replaced by there short form i.e. ::surprised::

i tested this in other forums and created new threads (without the game) and it seems to only be happening in that specific thread that was auto-created. it also happened in the test game thread that was created from the link that was sent in my email from your site. can the author and others confirm this is the case? or is it just my board

i am on 3.8.4 PL2

EDIT: sorry i need to add one more thing. i decided to create a new thread in the forum i chose to have the auto-created threads be placed in. just a basic thread, with no game in it. well the smilies did not work in that thread too.
Reply With Quote
  #47  
Old 02-03-2010, 01:54 PM
DailyGame DailyGame is offline
 
Join Date: Jan 2010
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can work around that problem by using a dedicated account to post the games
Reply With Quote
  #48  
Old 02-03-2010, 03:42 PM
weindians weindians is offline
 
Join Date: Sep 2006
Posts: 130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ukindian View Post
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..
any answer for the above dailygame??
still no game appeared on my site.. does this need to be guest accessible forum even if u given a userid for posting games??
Reply With Quote
  #49  
Old 02-04-2010, 06:45 AM
DailyGame DailyGame is offline
 
Join Date: Jan 2010
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ukindian View Post
any answer for the above dailygame??
still no game appeared on my site.. does this need to be guest accessible forum even if u given a userid for posting games??
PM the url of your forum, I'll take a closer look
Reply With Quote
  #50  
Old 02-04-2010, 04:46 PM
multiplex multiplex is offline
 
Join Date: Jun 2009
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DailyGame View Post
You can work around that problem by using a dedicated account to post the games
thanks worked like a charm
Reply With Quote
  #51  
Old 02-05-2010, 01:48 PM
multiplex multiplex is offline
 
Join Date: Jun 2009
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there anyway to manually run the script ad hoc?
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 05:31 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.05795 seconds
  • Memory Usage 2,349KB
  • 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
  • (5)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