1. This forum is ARCHIVED! Visit the new Cloud Sixteen forums, codename Eden, at https://eden.cloudsixteen.com. These forums will remain archived for a few months before being closed down, so try to encourage plugin developers to begin moving their content across to the new forums.
Dismiss Notice
Hi Guest, you need a Steam account to register and post on these forums. Login with Steam at the top of the forums to get started!
Dismiss Notice
Hi Guest, do you want to buy HL2RP or another Clockwork schema? Visit the Cloud Sixteen Store to get started!

Xenforo Integration

Discussion in 'Development' started by alexanderk, Apr 7, 2015.

  1. alexanderk

    alexanderk a Legend

    Yo

    Been working on a Clockwork Xenforo integration for my own community™. Decided to open source it and share it with the world. Source code can be found at http://tracker.lighthouse.network/diffusion/XFL/ and you can report issues/ask for help at http://tracker.lighthouse.network.

    Can also be grabbed here: https://github.com/LHNet/XF-Lighthouse - it should be up to date with the one above at all times.

    This is not an official Cloud Sixteen product, this is something I have been working on. Suggest features or whatever but I don't guarantee it'll be implemented. This is mostly for my stuff. Just thought I'd share it with people so they can see how to get started. Hint: Make a page node in Xenforo with the PHP callback "Lighthouse_Pages_StaffPage"::"respond". May not work with your Xenforo, it's hardcoded for my community ranks at the moment.

    Support is not guaranteed and you'll have to make the templates yourself. Plop the Lighthouse folder into "library" and make a game_config.php in library with contents like this:

    <?php
    return array(
    'host' => "localhost",
    'port' => 3306,
    'username' => "asdf",
    'password' => "asdf",
    'dbname' => "asdf",
    'adapterNamespace' => "Zend_Db_Adapter",
    'charset' => 'utf8');
     
    • Like Like x 1
    • Winner Winner x 1
    Last edited: Apr 7, 2015
  2. How exactly does it work or what does it do..? Just when you say 'integrated' i'm not sure what you mean.
     
  3. alexanderk

    alexanderk a Legend

    I'll put it this way: if you don't know how to develop or don't have the interest in figuring out how this works, it is not for you. It does not work out of the box. Give it some time and love however and you can make something like this (simple example):

    [​IMG]
     
    • Winner Winner x 2
    • Funny Funny x 1

  4. Oh neat, no worries. I know XF better than i know my own family, so i should have no prob.
    yeah was just asking cause at work and can't check it out yet.

    Awesome thanks.
     
    • Funny Funny x 1
  5. alexanderk

    alexanderk a Legend

    Note that you have to make all the templates yourself etc. I'll keep updating as I add more features that I need -- make an issue on the tracker I posted if you have any requests or concerns. I won't reply to issues / requests here.
     
  6. alexanderk

    alexanderk a Legend

  7. Sweet. Thanks man.
     

Previous Readers (Total: 0)