Moderator: Exerladan
$item = item_get( $this->data['member_id'], $item_name );
if( isset($item) and $item != "" )
$output = $item->out();
else
if ( $item_name != "") {
$item = item_get( $this->data['member_id'], $item_name );
if( isset($item) and $item != "" )
$output = $item->out();
}
else
return date($phptimeformat[$roster_lang], $localtime);
return date("Y-m-d H:i:s", $localtime);
return date($phptimeformat[$roster_lang], $localtime);
return date($_GLOBALS['phptimeformat'][$roster_lang], $localtime);
$localtimeoffset = -5;
global $img_url; // Added this global variable to use in the image link
$item = item_get( $this->data['member_id'], $item_name );
global $img_url; // Added this global variable to use in the image link
if ( $item_name != "" )
$item = item_get( $this->data['member_id'], $item_name );
$localtime = mktime($hour+$localtimeoffset,$minute, $second, $month, $day, $year, -1);
return date($phptimeformat[$roster_lang], $localtime);
$localtime = mktime($hour+$roster_conf['localtimeoffset'] ,$minute, $second, $month, $day, $year, -1);
return date($phptimeformat[$roster_conf['roster_lang']], $localtime);
require_once('../lib/item.php');
require_once(ROSTER_LIB.'item.php');
AnthonyB wrote:While you're fixing and posting, could you make the following change which fixes issues in the current Roster betas where the trigger fails on some platforms:
Warning: main(ROSTER_LIBitem.php) [function.main]: failed to open stream: No such file or directory in /homepages/24/d174628148/htdocs/_shadowguard/roster/addons/maxres/trigger.php on line 31
Fatal error: main() [function.require]: Failed opening required 'ROSTER_LIBitem.php' (include_path='.:/usr/local/lib/php') in /homepages/24/d174628148/htdocs/_shadowguard/roster/addons/maxres/trigger.php on line 31
require_once('../lib/item.php');
Users browsing this forum: No registered users and 1 guest