shram Опубликовано 23 Сентября 2008 Жалоба Поделиться Опубликовано 23 Сентября 2008 есть мод рекламы (ниже)вот следуя правилам - если его так вставить - сообщение будет вторым всегдаВопрос - как сделать дополнительно такое же сообщение но последнее (для рекламы)куда и что вставить? вот сам мод: =====================Open sources/lib/func_topic_linear.php and find:===================== ======================Add Above:====================== } //----------------------------------------- // Print the footer //----------------------------------------- // Google Adsense banner mod $this->post_count++; if ($this->post_count == 1 ) { $ad = array ( 'name_css' => 'normalname', 'post_css' => ($post_count % 2 ? 'post1' : 'post2'), 'pid' => '0', // Paste your Google ad code inside the single quotes 'post' => ' тут вставляем код '); $bot_poster = array ( 'members_display_name' => '<a href="http://www.domain.com">Googlebot</a>', 'title' => 'Thanks for your support!', 'avatar' => '<img src=http://www.google.com/images/logo_sm.gif>', 'member_group' => $this->ipsclass->lang['m_group'].' Bot', 'member_joined' => $this->ipsclass->lang['m_joined'].' '.$this->ipsclass->get_date( time(), 'JOINED' ), ); $this->post_count++; $ad['post_date'] = $row['post_date']; $this->output .= $this->ipsclass->compiled_templates['skin_topic']->RenderRow( $ad, $bot_poster ); } Цитата Ссылка на комментарий Поделиться на других сайтах Прочее
Вопрос
shram
есть мод рекламы (ниже)
вот следуя правилам - если его так вставить - сообщение будет вторым всегда
Вопрос - как сделать дополнительно такое же сообщение но последнее (для рекламы)
куда и что вставить
?
вот сам мод:
=====================
Open sources/lib/func_topic_linear.php and find:
=====================
======================
Add Above:
======================
}
//-----------------------------------------
// Print the footer
//-----------------------------------------
// Google Adsense banner mod
$this->post_count++;
if ($this->post_count == 1 )
{
$ad = array ( 'name_css' => 'normalname',
'post_css' => ($post_count % 2 ? 'post1' : 'post2'),
'pid' => '0',
// Paste your Google ad code inside the single quotes
'post' => '
тут вставляем код
');
$bot_poster = array (
'members_display_name' => '<a href="http://www.domain.com">Googlebot</a>',
'title' => 'Thanks for your support!',
'avatar' => '<img src=http://www.google.com/images/logo_sm.gif>',
'member_group' => $this->ipsclass->lang['m_group'].' Bot',
'member_joined' => $this->ipsclass->lang['m_joined'].' '.$this->ipsclass->get_date( time(), 'JOINED' ),
);
$this->post_count++;
$ad['post_date'] = $row['post_date'];
$this->output .= $this->ipsclass->compiled_templates['skin_topic']->RenderRow( $ad, $bot_poster );
}
Ссылка на комментарий
Поделиться на других сайтах
0 ответов на этот вопрос
Рекомендуемые сообщения
Присоединиться к обсуждению
Вы можете ответить сейчас, а зарегистрироваться позже. Если у вас уже есть аккаунт, войдите, чтобы ответить от своего имени.