That's how you can add tabs withtout nodes:
- Hook to \IPS\Member\Club:
* Get Node names and URLs
*
* @return array
*/
public function nodes()
{
$return = call_user_func_array( 'parent::nodes', func_get_args() );
$return[] = array(
'name' => "Something",
'url' => \IPS\Http\Url::internal( 'app=core&module=system&controller=settings', 'front', 'settings' ),
'node_class' => NULL,
'node_id' => '',
);
return $return;
}
As you can see, you can send the user to any URL you want. In this case, I'm using Account Settings. You just need to add your own URL there and a template with the club header and bottom divs.
\IPS\Member\Clubs::nodes() will return nodes from the "open" club, so the permission is alredy checked.
I was planning a new version for today or tomorrow, according to this and this posts. Due to that, I will need, at least, more 7 days to refactor this specific part of my resource.