use wcf\data\user\UserProfileList;
use wcf\page\IPage;
use wcf\system\cache\builder\MostActiveMembersCacheBuilder;
+use wcf\system\request\LinkHandler;
use wcf\system\WCF;
/**
protected function render() {
if ($this->userProfileList == null) return '';
+ if (MODULE_MEMBERS_LIST) {
+ $this->titleLink = LinkHandler::getInstance()->getLink('MembersList', array(), 'sortField=activityPoints&sortOrder=DESC');
+ }
WCF::getTPL()->assign(array(
'mostActiveMembers' => $this->userProfileList
));
use wcf\data\user\UserProfileList;
use wcf\page\IPage;
use wcf\system\cache\builder\MostLikedMembersCacheBuilder;
+use wcf\system\request\LinkHandler;
use wcf\system\WCF;
/**
protected function render() {
if ($this->userProfileList == null) return '';
+ if (MODULE_MEMBERS_LIST) {
+ $this->titleLink = LinkHandler::getInstance()->getLink('MembersList', array(), 'sortField=likesReceived&sortOrder=DESC');
+ }
WCF::getTPL()->assign(array(
'mostLikedMembers' => $this->userProfileList
));
use wcf\data\user\UserProfileList;
use wcf\page\IPage;
use wcf\system\cache\builder\NewestMembersCacheBuilder;
+use wcf\system\request\LinkHandler;
use wcf\system\WCF;
/**
protected function render() {
if ($this->userProfileList == null) return '';
+ if (MODULE_MEMBERS_LIST) {
+ $this->titleLink = LinkHandler::getInstance()->getLink('MembersList', array(), 'sortField=registrationDate&sortOrder=DESC');
+ }
WCF::getTPL()->assign(array(
'newestMembers' => $this->userProfileList
));
use wcf\data\user\activity\event\ViewableUserActivityEventList;
use wcf\page\IPage;
use wcf\system\user\activity\event\UserActivityEventHandler;
+use wcf\system\request\LinkHandler;
use wcf\system\WCF;
/**
*/
protected function render() {
if (count($this->eventList)) {
+ $this->titleLink = LinkHandler::getInstance()->getLink('RecentActivityList');
WCF::getTPL()->assign(array(
'eventList' => $this->eventList
));