iHarrison
Member
- Mar 11, 2012
- 321
- 131
Do donators still get to test before anyone esle?
I think so. I don't think they'd break their promise :-P
Do donators still get to test before anyone esle?
I PM'ed Kryptos about that, Here was his reply:Do donators still get to test before anyone esle?
Sep15, I cannot afford another 'leak' you see.. I hope you guys can understand, nonetheless we will give you guys something before anyone else.. You shall see.
When he clicks upload.When is this being released again? I forgot.
Nice! Can't wait! What about leaks though?I have invested a lot of time into putting sometime totally awesome for Rev3, it's something more of an addon that I will put in in 3.1 which will be given to donators for testing and then released. I swear it is extremely awesome, I will give full details on this Sep15 to avoid faggots stealing TeamRev's ideas.
Havent you heard?Nice! Can't wait! What about leaks though?
Havent you heard?
RevCMS 4.0
Someone leaked 3.0
"RevCMS 4.0" is a very bad leak and "Fix" from nobrain (name says enough), thus it isn't an official release, and is NOT stable to use. You need to wait for Sep15 or use RevCMS 1.9.9.9.
So for the people who didn't know, don't use the fake-unstable-shit-release from nobrain.
Your right. I've got it and the code is shit. "Dwight" made a 5.0 that fixed an error but then the mod deleted it. Plus I hate how revcms dosent work on wamp.I don't think the leaked version has many features compared to the legit version either
Your right. I've got it and the code is shit. "Dwight" made a 5.0 that fixed an error but then the mod deleted it. Plus I hate how revcms dosent work on wamp.
I had them but I just like wamp.WAMP isn't designed for production use and shouldn't be used for such things either.
Head for something like Apache, nginx, or IIS ;p
<?php
/**
* Description of Staff
*
* @author Joopie
*/
/**
* Deny direct file access
*/
defined('IN_INDEX') or die('Sorry, you cannot access this file :(');
class Controller_PageData_Habbo_Community_Staff extends Controller
{
public function __construct()
{
parent::__construct();
$this->load->Controller_User()->access(true, false, 'index');
$this->getStaff();
}
private function getStaff()
{
$staff = $this->cUser->mUser->getStaff();
if (empty($staff))
{
//no staffs yet
}
//get ranks and parse it
$ranks = array();
$temp = $this->cUser->mUser->getRanks();
foreach ($temp as $value)
{
$ranks[$value['id']] = $value['name'];
}
unset($temp);
//parse data
$content = '';
$oddeven = 'even';
$last_rank = null;
foreach($staff as $key => $value)
{
$oddeven = ($oddeven == 'even') ? 'odd' : 'even';
if ($value['rank'] != $last_rank || empty($last_rank))
{
if (!empty($last_rank))
{
$content .= $this->vView->driver->getFile("Widgets/Community/Staff/end");
}
$this->vView->driver->assign('widget->staff->title', $ranks[$value['rank']], true);
$content .= $this->vView->driver->filterParams($this->vView->driver->getFile("Widgets/Community/Staff/start"));
$oddeven = 'odd';
$rank = current($ranks);
$last_rank = $value['rank'];
}
$this->vView->driver->assign('staff->oddeven', $oddeven, true);
$this->vView->driver->assign('staff->username', $value['username'], true);
$this->vView->driver->assign('staff->motto', $value['motto'], true);
$this->vView->driver->assign('staff->look', $value['look'], true);
$this->vView->driver->assign('staff->online', ($value['online'] == 1 ? 'Online' : 'Offline'), true);
$this->vView->driver->assign('staff->last_online', date('M j, Y g:i:s A', $value['last_online']), true);
$content .= $this->vView->driver->filterParams($this->vView->driver->getFile("Widgets/Community/Staff/item"));
}
$content .= $this->vView->driver->getFile("Widgets/Community/Staff/end");
$this->vView->driver->assign('widget->staff->container', $content);
}
}
?>
Update:
Basicly finished the staff page.
Someone know what to put in the empty space?
Snippet:
PHP:<?php /** * Description of Staff * * @author Joopie */ /** * Deny direct file access */ defined('IN_INDEX') or die('Sorry, you cannot access this file :('); class Controller_PageData_Habbo_Community_Staff extends Controller { public function __construct() { parent::__construct(); $this->load->Controller_User()->access(true, false, 'index'); $this->getStaff(); } private function getStaff() { $staff = $this->cUser->mUser->getStaff(); if (empty($staff)) { //no staffs yet } //get ranks and parse it $ranks = array(); $temp = $this->cUser->mUser->getRanks(); foreach ($temp as $value) { $ranks[$value['id']] = $value['name']; } unset($temp); //parse data $content = ''; $oddeven = 'even'; $last_rank = null; foreach($staff as $key => $value) { $oddeven = ($oddeven == 'even') ? 'odd' : 'even'; if ($value['rank'] != $last_rank || empty($last_rank)) { if (!empty($last_rank)) { $content .= $this->vView->driver->getFile("Widgets/Community/Staff/end"); } $this->vView->driver->assign('widget->staff->title', $ranks[$value['rank']], true); $content .= $this->vView->driver->filterParams($this->vView->driver->getFile("Widgets/Community/Staff/start")); $oddeven = 'odd'; $rank = current($ranks); $last_rank = $value['rank']; } $this->vView->driver->assign('staff->oddeven', $oddeven, true); $this->vView->driver->assign('staff->username', $value['username'], true); $this->vView->driver->assign('staff->motto', $value['motto'], true); $this->vView->driver->assign('staff->look', $value['look'], true); $this->vView->driver->assign('staff->online', ($value['online'] == 1 ? 'Online' : 'Offline'), true); $this->vView->driver->assign('staff->last_online', date('M j, Y g:i:s A', $value['last_online']), true); $content .= $this->vView->driver->filterParams($this->vView->driver->getFile("Widgets/Community/Staff/item")); } $content .= $this->vView->driver->getFile("Widgets/Community/Staff/end"); $this->vView->driver->assign('widget->staff->container', $content); } } ?>
- Joopie
Nice! Could put a content box about each rank, or how staff are hired, and when?