Jump to content

rick.dangerous

Clients
  • Posts

    4
  • Joined

  • Last visited

Reputation Activity

  1. Like
    rick.dangerous got a reaction from Chris Anderson in Clubs Enhancements   
    Hi, i have a question about a feature request as mentioned above in the topic.
    Is it planned in a future release, that club enhancements support subforums in clubs as well import function from existing forums included subforums? That would be awesome to use clubs for a proper replacement to manual forum management. Special in the context of management a multi gaming community. Also if it's possible that these subforums show in the forum overview like regular categories and forums.
    I managed already the placement of each individual club inside the forum tree by editing regular templates. But the missing of forum childs inside clubs stop me from the replacement of normal ips4 forums, with the clubs functionality.
  2. Like
    rick.dangerous got a reaction from Josiah Wallingford in Clubs Enhancements   
    Hi, i have a question about a feature request as mentioned above in the topic.
    Is it planned in a future release, that club enhancements support subforums in clubs as well import function from existing forums included subforums? That would be awesome to use clubs for a proper replacement to manual forum management. Special in the context of management a multi gaming community. Also if it's possible that these subforums show in the forum overview like regular categories and forums.
    I managed already the placement of each individual club inside the forum tree by editing regular templates. But the missing of forum childs inside clubs stop me from the replacement of normal ips4 forums, with the clubs functionality.
  3. Like
    rick.dangerous reacted to Kevin Carwile in Group Collaboration   
    There is not an API per se. Collab is designed in a way that affects all the existing core API methods such as \IPS\Content\Item::getItemsWithPermission() and \IPS\Node\Model::roots().
    With GC installed, those api methods will only return results in the context of a specific collaboration, or lack thereof.
    So if you want to pull topics from a specific collaboration using \IPS\forums\Topic::getItemsWithPermission(), you simply need to switch to that collab context first before pulling the topics.
    Switching context is easy. I'll follow up with a code example here shortly.
  4. Like
    rick.dangerous reacted to Kevin Carwile in Group Collaboration   
    /* Load a specific collab */ $tempCollab = \IPS\collab\Collab::load( collab_id ); /* Switch to the new collab temporarily ( current collab, if any, is returned from this method ) */ $activeCollab = \IPS\collab\Application::switchCollab( $tempCollab ); /* Pull topics from our selected collab */ $topics = \IPS\forums\Topic::getItemsWithPermission( ... ); /* Switch the collab back to whatever it was before (very important!) */ \IPS\collab\Application::switchCollab( $activeCollab );  
×
×
  • Create New...