Jump to content

Название в Профиле

Featured Replies

Posted
comment_43965

post-12485-0-76333600-1379472817.png

Здравствуйте скажите как переименовать эти вкладки. А именно Shoutbox и Arcade. Публичное название изменено а тут не хочет меняться, И в управление языками их там нет! Где это можно поменять?

Edited by Best

comment_43968
admin/applications_addon/other/shoutbox/extensions/profileTabs/shoutbox.php

62 строка

 

находите переводите

  • Author
comment_43969
admin/applications_addon/other/shoutbox/extensions/profileTabs/shoutbox.php

62 строка

 

находите переводите

 

А Arcade  Не подскажиш где?

  • Author
comment_43971


/**
* 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 строчки этого

Edited by Respected

  • Author
comment_44000

Версию чата для начала укажи

Чат  v1.4.1 

а Аркады отсюда ibProArcade  v4.0.5 

Edited by Best

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.


Guest
Ответить в этой теме...

Последние посетители 0

  • No registered users viewing this page.