Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Combu: online features for your game/app

Discussion in 'Assets and Asset Store' started by SkaredCreations, Apr 16, 2013.

  1. lavz24

    lavz24

    Joined:
    Mar 14, 2013
    Posts:
    45
    Hi,

    Combu have user authentication using the device? I don't want the user log with username and password
     
  2. geekchau

    geekchau

    Joined:
    Jun 13, 2013
    Posts:
    16
    Hi, I require the following features and was wondering whether Combu is appropriate for my needs:

    - I would like to implement a 'level' (likely to be text file i.e xml) sharing feature where users can upload and also browse other people's creation
    - Rate other's creations
    - Sorting ability

    Thanks in advance.
     
  3. SkaredCreations

    SkaredCreations

    Joined:
    Sep 29, 2010
    Posts:
    296
    You can authenticate on external platforms and link it to a Combu account (read the API reference here), passing any platform name and its own Id (download the Facebook or GameCenter samples just to see the code).
     
  4. SkaredCreations

    SkaredCreations

    Joined:
    Sep 29, 2010
    Posts:
    296
    It seems that UserFile is what you're looking for, take a look at the documentation here (and it's cross-platform, so it works also in Webplayer/WebGL).
     
  5. geekchau

    geekchau

    Joined:
    Jun 13, 2013
    Posts:
    16
    Thanks for the prompt reply. Combu looks very promising and I've noticed you have a sale promotion running on your website ;) - very tempting!
     
    Last edited: Jul 27, 2016
  6. SkaredCreations

    SkaredCreations

    Joined:
    Sep 29, 2010
    Posts:
    296
    Today UT has accepted my newest add-on for Combu: the Forum! The topic has been edited with links to all official add-ons for Combu in the Asset Store.
     
  7. AshyB

    AshyB

    Joined:
    Aug 9, 2012
    Posts:
    189
    @SkaredCreations I've always loved combu and find it often a necessary part of my projects. The issue tracker alone I find is more useful than the unity built-in paid error reporting service.

    Do you have any samples of a Google+ Sign in procedure? Not sure if thats even supported.I have the facebook method working fine but would like to offer an alternative.
     
  8. SkaredCreations

    SkaredCreations

    Joined:
    Sep 29, 2010
    Posts:
    296
    Thanks for your appreciation, about Google sign-in the procedure is still the same as GameCenter, Facebook or any other external platform: sign-in with the external platform (https://github.com/playgameservices/play-games-plugin-for-unity) and in the Authenticate callback you call CombuManager.localUser.AuthenticatePlatform (since the above GooglePlayServices code implements the ISocialPlatform interface, you can take a look at the GameCenter sample).
     
  9. zahra123

    zahra123

    Joined:
    Jun 23, 2016
    Posts:
    1
    @SkaredCreations
    Hi,
    I used your combu form registration in my unity game, but when we forgot our password cant logged in, is the way to reset the password or recovery the account that sign in up?
    Thanks in advance.
     
  10. SkaredCreations

    SkaredCreations

    Joined:
    Sep 29, 2010
    Posts:
    296
    If you mean an API then you can load the User and call the method ChangePassword(newPassword,callback)

    There's also a built-in way to reset the password of an account that is by using the static methods User.ResetPassword and User.ChangePassword, but it requires an email address stored in the account data to send the reset code to pass to User.ChangePassword
     
    hopeful likes this.
  11. GXMark

    GXMark

    Joined:
    Oct 13, 2012
    Posts:
    501
    I'm using my development environment and trying to the email verification by setting the EMAIL_SMTP settings in the config.php.

    /*
    * Email
    */
    // Allows emails to be sent through SMTP server
    define ("EMAIL_SMTP", TRUE);
    // Secure authentication type for the SMTP connection (can be: NULL, 'ssl' or 'tls')
    define ("EMAIL_SMTP_SECURE", "tls");
    // Server hostname or IP for the SMTP connection
    define ("EMAIL_SMTP_HOSTNAME", "smtp.gmail.com");
    // server port for the SMTP connection (e.g. 465)
    define ("EMAIL_SMTP_PORT", 587);
    // username for the SMTP connection
    define ("EMAIL_SMTP_USERNAME", "<removed>");
    // password for the SMTP connection
    define ("EMAIL_SMTP_PASSWORD", "<removed>");

    Removed the user name and password here but ive tried ssl and tls for google mail on 465 and 587 and i never receive any email confirmations.

    Please can you help me resolve this issue ?
     
  12. GXMark

    GXMark

    Joined:
    Oct 13, 2012
    Posts:
    501
    In the config.php it says the logs will be directed to app.log

    /*
    * Log
    */
    // Name of the log file (in the folder /_logs/)
    define ("LOG_FILENAME", "app.log");

    But when i go to /_logs/ i never see app.log ?

    Why is that ?
     
  13. GXMark

    GXMark

    Joined:
    Oct 13, 2012
    Posts:
    501
    Oh by the way i restart my WAMP server each time i make a change to config.php
     
  14. GXMark

    GXMark

    Joined:
    Oct 13, 2012
    Posts:
    501
    upload_2018-3-11_16-19-58.png

    Here are my Combu Unity Settings
     
  15. SkaredCreations

    SkaredCreations

    Joined:
    Sep 29, 2010
    Posts:
    296
    Errors in outgoing email are not currently logged in app.log, I will eventually add it in the future updates. Anyway Combu uses the open-source PHPMailer library to send email so you can make your tests with different settings by trying to use the PHPMailer class directly, here is a thread where another user asked the same question and succeeded to fix his configuration settings after doing some tests with PHPMailer: http://skaredcreations.com/wp/support/forum/combu-1/emails-not-going-out/
     
  16. GXMark

    GXMark

    Joined:
    Oct 13, 2012
    Posts:
    501
    Ok i did what you said and tried PHPMailer directly and it worked perfectly. But copying the exact mailer configuration settings back into config.php does not work. Am i doing something wrong trying to invoke this from unity.

    Code (CSharp):
    1.                 VGS_VLRUser user = new VGS_VLRUser();
    2.                 user.userName = _username.text;
    3.                 user.password = _password.text;
    4.                 user.email = _email.text;
    5.                 user.Gender = _male.isOn ? "M" : "F";
    6.                 user.Adult = _adult.isOn ? "T" : "F";
    7.  
    8.                 _statusText.text = "Registering Please Wait ...";
    9.  
    10.                 user.Update((bool success, string error) => {
    11.                     if (success)
    12.                         _statusText.text = "Email Verication Has Been Sent";
    13.                     else
    14.                         _statusText.text = "Registration Failed - Please Try Again";
    15.                 });
     
  17. SkaredCreations

    SkaredCreations

    Joined:
    Sep 29, 2010
    Posts:
    296
    Did you set both REGISTER_EMAIL_REQUIRED and REGISTER_EMAIL_ACTIVATION to TRUE in your config.php?

    Anyway let's continue this in the support forum, please open a topic here ;)
     
  18. GXMark

    GXMark

    Joined:
    Oct 13, 2012
    Posts:
    501
    Success i never had the REGISTER_EMAIL_ACTIVATION set to TRUE!

    However in your documentation you don't mention setting REGISTER_EMAIL_ACTIVATION ! So docs need updating.

    If you set REGISTER_EMAIL_REQUIRED to TRUE in config.php on your server, then you also need to assign the property email of your User object and it is sent an email to the new users with a link to activate their account (this is to prevent spamming registrations).


    Thanks again
    Mark
     
  19. SkaredCreations

    SkaredCreations

    Joined:
    Sep 29, 2010
    Posts:
    296
    Thank you for the suggestion! I've added a new section "Customize your config.php" in the Getting started page.
     
    hopeful likes this.
  20. ScaryRobotGames

    ScaryRobotGames

    Joined:
    May 2, 2007
    Posts:
    57
    The Skared Creations website has been down for a few days. Is everything okay?
     
    hopeful likes this.
  21. SkaredCreations

    SkaredCreations

    Joined:
    Sep 29, 2010
    Posts:
    296
    Yes I'm trasferring the domain to a new provider and we're having issues with DNS, hopefully it should be up again within the current week.
     
    hopeful likes this.
  22. ScaryRobotGames

    ScaryRobotGames

    Joined:
    May 2, 2007
    Posts:
    57
    Ah, that's good news. Good luck!
     
  23. maxray

    maxray

    Joined:
    Aug 26, 2014
    Posts:
    26
    Hi, I have an error message when starting CombuDemo:
    Failed authorization from Combu server: Invalid App
    I think everything of environment are OK except one: Server connection: SSL is not being used
    Does Combu need set database connection with SSL? I'm using xampp
     
  24. SkaredCreations

    SkaredCreations

    Joined:
    Sep 29, 2010
    Posts:
    296
    No, it's not required. Did you follow the steps described at Getting started and create an App?

    PS: you may want to use the official forum for support request: https://www.skaredcreations.com/wp/support/forum/combu-1/
     
  25. maxray

    maxray

    Joined:
    Aug 26, 2014
    Posts:
    26
    I will try it again, thank you, official forum, I remember