Jump to content
View in the app

A better way to browse. Learn more.

IPBMafia.ru - поддержка Invision Community, релизы, темы, плагины и приложения

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Название: [EN33] Ajax Thanks v1.0.7 Rus

Добавил: Respected

Добавлен: 27 Apr 2012

Обновлен: 27 Apr 2012

Категория: Русские хуки и моды IP.Board 3.3.x

Русская версия хук [EN33] Ajax Thanks v1.0.7, добавляющего на форум к каждому сообщению кнопку Спасибо!

Перевод: Respected

  • Replies 57
  • Views 10.4k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Добавил класс, код полностью: <if test="ajaxThanksButton:|:$post['post']['thanks']['button'] == 'thank'"> <li class='ajax_thanks' id='ajaxThanks_{$post['post']['pid']}'> <a class='ips

  • Если я правильно помню, нужно класс у кнопки сменить. Шаблоны - Темы - ajaxThanksButton Класс ipsButton_secondary. За работоспособность метода не ручаюсь, ибо делал еще на версии 3.1, может изменилос

  • Respected
    Respected

    Сейчас обновлю файл

  • 2 months later...

Вопросик, а как сделать, чтобы отображалось Благодарностей: 11, а сейчас 11 благодарностей, где править?

  • 3 weeks later...

Написано вот так,зачем что то изменять! Поблагодарили 1раз!

rus, я думаю, что вопрос Caius не был актуален.

Я имел ввиду про версию 33, там в архиве 3 файла хука 31, 32, 33, 31 - английская версия, 32 - после её установки у меня выскакивает ошибка, 33 - все норм но в инфо панели пишется например: 12 благодарностей, а мне бы хотелось Благодарностей: 12 или Поблагодарили: 12 раз

Так если быть правильным каждые версии,идут под версии ipb!

Я поставил себе на форум версию 3.3.x и поставил хук СПАСИБКИ,версии 33 у меня написанно Поблагодарили 1раз!

Я если найду как это изменить то напишу!

  • 2 weeks later...
  • 3 months later...

Я вот задумался, а можно как то выдавать определенное кол-во спасибок или отнимать за нарушения? Или это так для красоты они?

  • 3 months later...

Можно ли сделать чтобы отображалось не только сколько тебя поблагодарили, но и сколько раз ты поблагодарил?? 

  • 4 weeks later...

Если я правильно помню, нужно класс у кнопки сменить. Шаблоны - Темы - ajaxThanksButton
Класс ipsButton_secondary. За работоспособность метода не ручаюсь, ибо делал еще на версии 3.1, может изменилось чего

Шаблоны - Темы - ajaxThanksButton

вот данный код

<if test="ajaxThanksEnabled:|:$this->settings['en30_ajaxthanks']">

<li class="post_count desc lighter">
{$author['thanked']} {$this->lang->words['en30_thanks']}
</li>
</if>

У меня почему-то он вот такой. Правда версия посвежее, 1.0.8, но почему-то думаю что не должно отличаться так сильно

<if test="ajaxThanksButton:|:$post['post']['thanks']['button'] == 'thank'">
						<li class='ajax_thanks' id='ajaxThanks_{$post['post']['pid']}'>
							<a href="javascript: ajaxThanks( '{$post['post']['pid']}' );" title='{$this->lang->words['en30_thank_author']}' class='ipsButton_secondary'>{$this->lang->words['en30_thank']}</a>
						</li>
					</if>
					<if test="ajaxThanksButton:|:$post['post']['thanks']['button'] == 'remove' && $this->settings['en31_remove_thanks']">
						<li class='ajax_thanks' id='ajaxRemoveThanks_{$post['post']['pid']}'>
							<a href="javascript: ajaxRemoveThanks( '{$post['post']['pid']}' );" title='{$this->lang->words['en30_unthank_author']}' class='ipsButton_secondary'>{$this->lang->words['en30_unthank']}</a>
						</li>
					</if>

Тут используется класс ipsButton_secondary

Прошу прошения не туда смотрел :$  в ajaxThankedCoun смотрел.

<if test="ajaxThanksButton:|:$post['post']['thanks']['button'] == 'thank'">

<li class='ajax_thanks' id='ajaxThanks_{$post['post']['pid']}'>
<a href="javascript: ajaxThanks( '{$post['post']['pid']}' );" title='{$this->lang->words['en30_thank_author']}' class='ipsButton_secondary'>{$this->lang->words['en30_thank']}</a>
</li>
</if>
<if test="ajaxThanksButton:|:$post['post']['thanks']['button'] == 'remove' && $this->settings['en31_remove_thanks']">
<li class='ajax_thanks' id='ajaxRemoveThanks_{$post['post']['pid']}'>
<a href="javascript: ajaxRemoveThanks( '{$post['post']['pid']}' );" title='{$this->lang->words['en30_unthank_author']}' class='ipsButton_secondary'>{$this->lang->words['en30_unthank']}</a>
</li>
</if>

  • Author

Добавил класс, код полностью:

<if test="ajaxThanksButton:|:$post['post']['thanks']['button'] == 'thank'">
<li class='ajax_thanks' id='ajaxThanks_{$post['post']['pid']}'>
<a class='ipsButton_secondary' href="javascript: ajaxThanks( '{$post['post']['pid']}' );" title='{$this->lang->words['en30_thank_author']}' class='ipsButton_secondary'>{$this->lang->words['en30_thank']}</a>
</li>
</if>
<if test="ajaxThanksButton:|:$post['post']['thanks']['button'] == 'remove' && $this->settings['en31_remove_thanks']">
<li class='ajax_thanks' id='ajaxRemoveThanks_{$post['post']['pid']}'>
<a class='ipsButton_secondary' href="javascript: ajaxRemoveThanks( '{$post['post']['pid']}' );" title='{$this->lang->words['en30_unthank_author']}' class='ipsButton_secondary'>{$this->lang->words['en30_unthank']}</a>
</li>
</if>

Скажите, а как добавить показ количество благодарностей в профиль? Понятно, что править шаблон, но хотелось бы узнать каким ключом..

  • 1 month later...

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
Reply to this topic...

Recently Browsing 0

  • No registered users viewing this page.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.