Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Please help: How to get a Social Connect plugin to to set user role as Confirm Email

GaryFunkGaryFunk Senior Application Developer ✭✭

In Vanilla 2.1a33 the Social Connect plugins for Facebook and Twitter register new users as members. I have been searching and looking at the code but cannot find the method to set the user role as Confirm Email. I think it has something to do with ValidateEmail and NoConfirmEmail.

Can someone point me in the right direction?

Thanks.

Comments

  • GaryFunkGaryFunk Senior Application Developer ✭✭

    Geez, may I please get a little help from someone?

  • peregrineperegrine MVP
    edited December 2012

    Your expectations are quite high. you want help from forum members on an alpha version that has been released recently with a complex question. Personally, I don't touch facebook or twitter related stuff.

    maybe todd or lincoln can help you.

    see if you can use the same process debugging and troubleshooting as this method and report back when you have solved it

    http://vanillaforums.org/discussion/comment/171263/#Comment_171263

    look at folders that contain social in vanilla and related controllers and js.


    now - if you asked a question. "I got a bonk, what do I do" or one of the other common questions that are asked ad nauseum because the person asking the questions is "search-box" challenged - you might have gotten an answer :).

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • GaryFunkGaryFunk Senior Application Developer ✭✭

    So true.

    I do search. I look at the code. I do what I can to figure it out on my own. But there are times, I just can't understand what is going on.

    Thanks for your replay.

  • peregrineperegrine MVP
    edited December 2012

    .oops wrong discussion - please delete.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • GaryFunkGaryFunk Senior Application Developer ✭✭

    Even if you did post in the wrong discussion, you can always just come say Hi to me. And I am going to figure this out. I need to learn how to Trace in PHP.

  • peregrineperegrine MVP
    edited December 2012

    came back here to say "hi"

    never had much luck with eclipse, but will try again some time.
    I found netbeans is partially useful (but it crashes with watch variables). and the @businessdad 's logger plugin is quite good.

    http://vanillaforums.org/addon/logger-plugin

    or you could just add messages to your log via without plugin.

    in your program

    LogMessage(__FILE__,__LINE__,'Object','Method', 'Message');   
    
    in config.php
    
    $Configuration['Garden']['Errors']['LogEnabled'] = TRUE;   
    $Configuration['Garden']['Errors']['LogFile'] = 'log/error_log';   
    
    and debugger
    $Configuration['Garden']['Debug'] = TRUE;
    
    

    http://vanillaforums.org/discussion/comment/155625/#Comment_155625

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • GaryFunkGaryFunk Senior Application Developer ✭✭

    @peregrine Hey Thanks. That will go along way in helping me track what and when something is being called. I appreciate you guidence.

Sign In or Register to comment.