
Best
-
Регистрация
-
В сети
Posts posted by Best
-
-
-
-
-
-
-
-
-
-
Edited by Respected
/**
* Product Title: Shoutbox
* Author: IPB Works
* Website URL:
* Copyrightɺ IPB Works All rights Reserved 2011-2012
*/
if (!defined('IN_IPB'))
{
print "Incorrect access
You cannot access this file directly. If you have recently upgraded, make sure you upgraded all the relevant files.";
exit();
}
class profile_shoutbox extends profile_plugin_parent
{
public function return_html_block( $member=array() )
{
// Fiddle these settings so we can use the standard shout formatter
$this->settings['shoutbox_at_tag'] = 0;
$this->settings['shoutbox_format_colon'] = 0;
$this->settings['shoutbox_format_extra'] = '';
$this->settings['shoutbox_format_names'] = 0;
$this->settings['shoutbox_show_photos'] = 0;
/* Our library is loaded? */
if ( !class_exists('app_class_shoutbox') || !$this->registry->isClassLoaded('shoutboxLibrary') )
{
ipsRegistry::getAppClass( 'shoutbox' );
}
/* Start me up */
$this->registry->shoutboxLibrary->_startup();
$this->registry->shoutboxLibrary->_loadParserAndEditor();
$this->registry->shoutboxLibrary->parser->parsing_mgroup = $this->memberData['member_group_id'];
$this->registry->shoutboxLibrary->parser->parsing_mgroup_others = $this->memberData['mgroup_others'];
$data = array();
$data['shouts'] = '';
// Next we need to grab all shouts belonging to this user
$shout = $this->DB->build( array( 'select' => 's.*',
'from' => array( 'shoutbox_shouts' => 's' ),
'order' => 's_date ' . $this->settings['shoutbox_shout_ordering'],
'where' => 's.s_mid=' . $member['member_id'],
) );
$result = $this->DB->execute();
if( $this->DB->getTotalRows( $result ) )
{
while( $r = $this->DB->fetch( $result ) )
{
$r['s_message'] = $this->registry->shoutboxLibrary->parser->preDisplayParse( $r['s_message'] );
$data['shouts'] .= $this->registry->shoutboxLibrary->parse_shout( $r );
}
}
else
{
$data['shouts'] = 'no Shouts';
}
return( $this->registry->output->getTemplate('shoutbox')->shoutboxProfile( $member, $data ) );
return( $content );
}
}Нет в 62 строчки этого
-
-
Steam Login Method 3.0.0
in Interface
Приветствую, а можно сделать регистрацию только через стим?
И можно как то заставить уже зарегистрированных, привязать стим. А пока не привяжут форум будет закрыт.