Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

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
  #132  
Old 01-02-2013, 07:27 PM
Cindyl10's Avatar
Cindyl10 Cindyl10 is offline
 
Join Date: Oct 2008
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not sure.... I entered the shared key, went to the url to check it and at first I thought it might have worked but then saw this error:
Quote:
Exception : undefined method `string' for #
not sure what that means or what to do about it.... does anyone else know?
Reply With Quote
  #133  
Old 01-03-2013, 08:17 PM
Cindyl10's Avatar
Cindyl10 Cindyl10 is offline
 
Join Date: Oct 2008
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nope. Not working. But when I went back on this thread and read it again, I remembered that the same thing happened when I first got this and I posted it here. Exact same post I posted yesterday. But as I recall, they answered the email I replied to telling them of the problem and it was something on their end. They fixed it and the next morning I had a new game. So, I'll try replying to the email with the key in it again and see if I get an answer this time. The last dozen times I haven't.

Quote:
Originally Posted by Cindyl10 View Post
I must have done something wrong...my test didn't work... I got this error message:

Quote:
Exception : undefined method `string' for #
When I registered, it asked for the link to the forum which I assumed meant to the forum I wanted the games posted in, so I gave it that link which is:
http://www.fresh-hope.com/forums/forumdisplay.php?f=86

Other then that, I've uploaded everything to where it belongs and configured everything so I'm not sure what could have gone wrong...

Oh, I didn't put in an Adsense Code as I don't have one yet and am not sure I want ads on the board...that didn't appear to be mandatory though... I really don't know anything about adsense so I'm a little concerned about signing up for it... If you have to have it for this, will they only put ads in that one forum or will they put them everywhere?

Can someone help me? Thanks
Quote:
Originally Posted by Cindyl10 View Post
Not sure.... I entered the shared key, went to the url to check it and at first I thought it might have worked but then saw this error:

Quote:
Exception : undefined method `string' for #
not sure what that means or what to do about it.... does anyone else know?
Reply With Quote
  #134  
Old 01-29-2013, 10:10 PM
Rap-royalty.com Rap-royalty.com is offline
 
Join Date: Jul 2008
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What version is your board? Mine is still working as of this post. Link to your forum?
Reply With Quote
  #135  
Old 01-30-2013, 01:17 AM
Cindyl10's Avatar
Cindyl10 Cindyl10 is offline
 
Join Date: Oct 2008
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've got vBulletin 3.8.6; here's a link...the game forum is near the middle of the board...
http://www.fresh-hope.com/forums/index.php
Reply With Quote
  #136  
Old 01-31-2013, 02:29 AM
Rap-royalty.com Rap-royalty.com is offline
 
Join Date: Jul 2008
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you tried disabling other mods and seeing if this works without them on?

Nice clean site by the way.
Reply With Quote
  #137  
Old 02-01-2013, 08:41 AM
Cindyl10's Avatar
Cindyl10 Cindyl10 is offline
 
Join Date: Oct 2008
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you! Yes, I looked and although nothing had been added since I added this mod, I went ahead and disabled a bunch of them just to see if that would make a difference, but it didn't, so I re-enabled them again. If I recall correctly from when I first got this mod, it is something simple that they have to do on their end as the same thing happened then as has this time. Only difference is that no one ever replies to the email now when I tell them about the problem.
Reply With Quote
  #138  
Old 02-01-2013, 02:47 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you notice, their forum is flooded with thousands of pages of automated spam posts. That means they haven't been on their forum in quite some time. I'm actually hoping it's just negligence, and not that anything happened to the developer. Always concerns me when all web presence abruptly ceases like that.
Reply With Quote
  #139  
Old 02-01-2013, 07:59 PM
Cindyl10's Avatar
Cindyl10 Cindyl10 is offline
 
Join Date: Oct 2008
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

true, I certainly hope nothing's happened to them. I sure wish there was someone that could take it over for them though if they can't be there. Oh well, what will be, will be, I suppose...
Reply With Quote
  #140  
Old 08-14-2013, 12:33 PM
trotskid trotskid is offline
 
Join Date: Feb 2009
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No more new games on my forum since May. What happen?
Reply With Quote
Reply

Thread Tools

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:49 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.07269 seconds
  • Memory Usage 2,339KB
  • Queries Executed 27 (?)
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
  • (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_postinfo_query
  • fetch_postinfo
  • 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