Jump to content
WebFlake
  • 0

Recent Status Update Help


nomorekillz

Question

8 answers to this question

Recommended Posts

  • 0

You should have told me that to start ..  :D   Try this one.

<?php

if ( ! $this->registry->isClassLoaded( 'members_hookGateway' ) )
{
		$classToLoad       = IPSLib::loadLibrary( IPSLib::getAppDir( 'members' ) . '/sources/classes/hooks/gateway.php', 'members_hookGateway', 'members' );
		$this->hookGateway = new $classToLoad( $registry );
}
	
		print $this->hookGateway->statusUpdates();
?>
  • Upvote 1
Link to comment
Share on other sites

  • 0

Im not using IP.Content as Portal.

Im using Portal 1.4.1 

And I need to add a code like this:

<?php

if ( ! $this->registry->isClassLoaded( 'portalBlocks' ) )
{
	$classToLoad =  IPSLib::loadLibrary( IPSLib::getAppDir( 'portal' ) . "/sources/blocks.php", 'portalBlockGateway' );
	$this->registry->setClass( 'portalBlocks', new $classToLoad( ipsRegistry::instance() ) );
}

print $this->registry->getClass('portalBlocks')->latest_topics_sidebar();

?>

That is "Lastest Topics"

:D

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...