Jump to content
View in the app

A better way to browse. Learn more.

Дизайн и модификация 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.

Не работают "обьявления"

В панели модератора когда создаешь обьявление,выбивает ошибка post-51084-0-41733200-1342034330_thumb.png

 

Я не знаю как исправить данную ошибку,поэтому прошу помочь.

 

 

 

Зарание благодарен.

Featured Replies

Проверил скрипты от IPS и IBR, нигде нет ошибки с кодом #10311903.

Сдается мне, перекачивание того же нуля ничего не даст))

 

А у меня дистрибутивы уже без этой ошибки, выходит.

Проверил скрипты от IPS и IBR, нигде нет ошибки с кодом #10311903.

А она есть. :)

/**
 * Add or update an announcement
 *
 * @param	string	$type	add|edit
 * @return	@e void
 */
protected function _save( $type='add' )
{

	if ( $this->request['secure_key'] != $this->member->form_hash )
	{
		$this->registry->output->showError( 'no_permission', 10311903, null, null, 403 );
	}

admin/applications/forums/extensions/modcp/plugin_announcements.php

В 3.3.2 такого условия нет в функции.

 

А проблема в старом стиле.

В том же 3.3.2 в шаблоне modAnnounceForm нет строки

<input type="hidden" name="secure_key" value="{$this->member->form_hash}" />

Понял. Искал по невнимательности в скриптах версии 3.3.1. Там - нет :)

  • 2 months later...

а строку куда точно написать нужно?

решим проблему другим путем, кому надо: plugin_announcements.php

а строку куда точно написать нужно?

Решение

решим проблему другим путем, кому надо:

Если вырезать из скриптов, как это сделали Вы, все то, что "мешает/не дает нужного для Вас результата", так ничего и не останется.

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

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.