Skip to:
Content
Pages
Categories
Search
Top
Bottom

BuddyPress Variable Help


  • godrob
    Participant

    @godrob

    Hi guys, I’m new to all this and could really do with some help…

    I’m trying to integrate a 3rd party chat room script into BuddyPress. In order for existing members to be able to automatically login, I need to know what to change in the following lines of code:

    define(‘C_CUSTOM_USERNAME’,$_FOO); // username
    define(‘C_CUSTOM_USERID’,$_FOO); // userid

    Thanks for any help?

    Rob

Viewing 1 replies (of 1 total)

  • godrob
    Participant

    @godrob

    I’m still having real trouble with this, can anybody please help me?

    // INTEGRATION NOTES FOR CUSTOM DEVELOPERS

    // You can insert your existing CMS user Global values into the
    // login procedure. Simply replace the values $_FOO
    // and $_FOO with your SESSION, COOKIE or MySQL results.

    // Example:

    // define(‘C_CUSTOM_LOGIN’,’1′); // 0 OFF, 1 ON
    // define(‘C_CUSTOM_USERNAME’,$_FOO); // username
    // define(‘C_CUSTOM_USERID’,$_FOO); // userid

    Please can somebody tell me what I should change the following to:

    define(‘C_CUSTOM_USERNAME’,$_FOO); // username
    define(‘C_CUSTOM_USERID’,$_FOO); // userid

    Apprecaite any help here
    Rob

Viewing 1 replies (of 1 total)
  • The topic ‘BuddyPress Variable Help’ is closed to new replies.
Skip to toolbar