Released Combu 2.0.5

Combu 2.0.5 has been just released on our website and will be sent to Asset Store in the following days.

It brings new cool features and sample code:

  • Server Settings: you can now store server settings in the new section of Admin Console and load them in Unity with CombuManager.instance.serverInfo.settings
  • Newsletters: added the possibility to send the newsletter to a test email address before send to everyone
  • Pages: the sample scripts in /pages showing off how to use Combu server API in your website have been updated and fixed
  • Integrate with WordPress: added new web script to authenticate credentials against Wordpress users table and automatically create Combu account if needed

Read here the complete release notes.

If you purchased Combu on Asset Store you can redeem your invoice here and get access to the download on our website for free.

WordPress integration sample script

The sample script /extra/login_wordpress.php shows how you can integrate Combu with your WordPress website accounts, you will need to edit the constants define in this file:

define (“WORDPRESS_SERVER”, “localhost”);
define (“WORDPRESS_NAME”, “wordpress”);
define (“WORDPRESS_USERNAME”, “root”);
define (“WORDPRESS_PASSWORD”, “”);
define (“WORDPRESS_ROOT”, “../../../wp/”);

The first 4 constants are the connection settings (similar to the constants GAME_DB_* in config.php), while WORDPRESS_ROOT must be set to the relative path to your wordpress installation (the sample value you see here assumes that wordpress is installed 3 directories up from the location of login_wordpress.php, you will need to fix this to yours).

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.