Перейти к содержанию

Sticky Notes


Ryo

Рекомендуемые сообщения

Sticky Notes


Приложение, позволяющее вам или указанным пользователям создавать закреплённые заметки для других пользователей сайта. Пользователи могут отключать заметки, а так же перемещать из по экрану.

PASSWORD PROTECTION

Global Sticky Notes ( ACP )

  • Create and display unlimited global Sticky Notes to your members
  • Choose what user groups can see each Sticky Note
  • Add a signature ( username and avatar ) to the bottom of each Sticky Note allowing members to see who wrote it, as a clickable link to said profile
  • Choose the colour of each Sticky Note
  • Choose from 9 different positions to show each individual Sticky Note
  • Set a expiry time and date for each Sticky Note with a option to just show it until the user dismisses it
  • Select where to show each Sticky Note from a list of your installed applications or to just show it everywhere ( Example only show the Sticky Note when users are browsing the forums or the downloads section etc )
  • Use a wide range of tags to engage your members more personally

Global Sticky Notes Front End Admin

  • The admin/s can create new global Sticky Notes from the front end via the create menu ( Only admins can use this feature )

Personal Sticky Notes ( MEMBERS )

  • Allow chosen user groups to send personal Sticky Notes to other members
  • Members can receive a unlimited amount of Sticky Notes
  • All Sticky Notes are dismissable
  • All personal Sticky Notes will automatically add the username and avatar, unless you have selected in the ACP to allow anonymous Sticky Notes (read ACP Menu below)
  • Personal Sticky Notes will display the time the note was sent to the member for example "just now", " 5 minutes ago", "4 hours ago", "16th July" and so on
  • Members can either send Personal Sticky notes to members by their hover card or via their forums topics and you can also send them via the users create menu
  • Each ( Non anonymous ) personal Sticky Note has a reply icon on allowing users to easily reply to other members notes

Front End ( PERSONAL STICKY NOTES )

  • Added a link to the users drop down menu linking to the new tables listed below
  • Shows a table listing all the members received Sticky Notes with the ability to restore the note bringing it back to life
  • Shows a table listing all the members sent Sticky Notes with the ability to edit and resend or just resend the Sticky Note, it also shows if the user has dismissed the Sticky Note
  • Members can view all their sent and received Sticky Notes between them and X member
  • All tables can be sorted by time and date and also have a advanced search for members or a time and date stamp

Widgets

Show a widget with a list of members who have sent the most Sticky notes

Show a widget with a list of members who have received the most Sticky Notes

ACP Menu

  • Sticky Notes (Global including personal)
    • Choose to use either a pin or a bit of sticky tape to hold the Sticky Note
    • Choose to show or hide Sticky Notes on mobile or tablet devices
    • Change the z-index of the Sticky Notes ( This is only needed for some custom themes you might have installed )
    • Allow users to drag and drop the Sticky Notes around their screen by hovering over the pin and dragging the Sticky Note
  • Personal Sticky Notes
    • Allow members to send anonymous Sticky Notes to other members (admin can view all Sticky Notes in the ACP read below)
    • Read all the Sticky Notes send by members in a nice and tidy table and you (being the admin) can even view the sender if they sent it anoymous
    • Select what member groups can use personal Sticky Notes
    • Choose from 9 different positions to place the Sticky Notes
    • Mass delete Sticky Notes by either "ALL", "READ", "UNREAD", by individual members or by chosen user groups
    • Choose the colour of personal Sticky Notes

Member Group ACP Menu

  • Choose how many personal Sticky Notes each member group can send per day, with a unlimited option

Members Settings ACP Menu

  • Block individual members from using personal Sticky Notes
  • Block individual members from receiving Sticky Notes

 

Ссылка на комментарий
Поделиться на другие сайты

ЭТО ПРИЛОЖЕНИЕ ТРЕБУЕТ ЛИЦЕНЗИОННОГО КЛЮЧА!!! 

Ссылка на комментарий
Поделиться на другие сайты

Открываем файл applications/stickynotes/modules/admin/stickynotes/license.php

Найти:

$data = $response->decodeJson();

Ниже добавить:

$response->httpResponseCode = 200;

После этого будет принят любой ключ.

Ссылка на комментарий
Поделиться на другие сайты

  • 2 месяца спустя...

Я еще правил в файле GlobalNotes.php , так как при добавлении заметки, система отвечала, что лицензионный ключ - не верный.

В общем повторил тоже самое, что и Respected 

Открываем файл applications/stickynotes/sources/GlobalNote/GlobalNotes.php

Находим:

$data = $response->decodeJson();

Ниже добавляем:

$response->httpResponseCode = 200;

 

Ссылка на комментарий
Поделиться на другие сайты

  • 2 года спустя...

Есть надежда загрузить версию 2.3.2?

Ссылка на комментарий
Поделиться на другие сайты

  • 1 месяц спустя...

есть у кого рабочая версия для 4.6.х?

Ссылка на комментарий
Поделиться на другие сайты

В этой можно всё исправить, добавив строку

    public static $csrfProtected = TRUE;

в каждый файл в папке sources/admin следующей строкой после class ... {

Должно получится так:

class _xxxxxxx extends \IPS\Node\Controller
{
    public static $csrfProtected = TRUE;

В 4.6.12 вроде после этого работает нормально.

Ссылка на комментарий
Поделиться на другие сайты

  • 2 недели спустя...
On 4/17/2022 at 6:58 PM, Desti said:

В этой можно всё исправить, добавив строку

    public static $csrfProtected = TRUE;

в каждый файл в папке sources/admin следующей строкой после class ... {

Должно получится так:

class _xxxxxxx extends \IPS\Node\Controller
{
    public static $csrfProtected = TRUE;

В 4.6.12 вроде после этого работает нормально.

Anyone tested this?

Ссылка на комментарий
Поделиться на другие сайты

1 час назад, lanc3lot сказал:

Anyone tested this?

It's standard upgrade for apps, written for early ips version.

Ссылка на комментарий
Поделиться на другие сайты

On 4/17/2022 at 6:58 PM, Desti said:

В этой можно всё исправить, добавив строку

    public static $csrfProtected = TRUE;

в каждый файл в папке sources/admin следующей строкой после class ... {

Должно получится так:

class _xxxxxxx extends \IPS\Node\Controller
{
    public static $csrfProtected = TRUE;

В 4.6.12 вроде после этого работает нормально.

Just to be sure. The zip file, have a sources folder where inside are these ones:

Screenshot_131.jpg.69be4bc4b3a7b5ed0762e986cf96291b.jpg

Need to each of these files, add after class xxxx, for example on dismissed it says:

class _Dismissed extends \IPS\Patterns\ActiveRecord

the code:

public static $csrfProtected = TRUE;

And it will work with 4.6? 

Ссылка на комментарий
Поделиться на другие сайты

sorry, modules/admin/, not sources/admin/

Изменено пользователем Desti
Ссылка на комментарий
Поделиться на другие сайты

2 hours ago, Desti said:

sorry, modules/admin/, not sources/admin/

Ty, though when u install it, it asks for a license key and u can't practically use it without it

Ссылка на комментарий
Поделиться на другие сайты

third  and fourth messages in this topic

Изменено пользователем Desti
Ссылка на комментарий
Поделиться на другие сайты

Just now, Desti said:

third message in this topic

I did that, but still it says 

 

Screenshot_132.jpg

So the license.php is as follows:

<?php


namespace IPS\stickynotes\modules\admin\stickynotes;

/* To prevent PHP errors (extending class does not exist) revealing path */
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
{
	header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
	exit;
}

/**
 * license
 */
class _license extends \IPS\Dispatcher\Controller
{
	public static $csrfProtected = TRUE;
	/**
	 * Execute
	 *
	 * @return	void
	 */
	public function execute()
	{
		parent::execute();
	}

	/**
	 * ...
	 *
	 * @return	void
	 */
	protected function manage()
	{
		$form = new \IPS\Helpers\Form;		
		
		$form->add( new \IPS\Helpers\Form\Text( "SN_license_key", \IPS\Settings::i()->SN_license_key, TRUE, array(), function( $val ) {
		if ( $val )
		{
		    $baseKey = base64_encode( $val );
		    $domain = \IPS\Settings::i()->base_url;
		    $product = 1531912419;
		    try
		    {
		        $response = \IPS\Http\Url::external( "https://ipsdev.org/applications/licensingsystem/interface/main/licenses.php?key={$baseKey}&domain={$domain}&product={$product}&activate=1" )->request()->get();
		    }
		    catch ( \Exception $e )
		    {
		        throw new \DomainException("error");
		    }
		    $data = $response->decodeJson();
			$response->httpResponseCode = 200;
		    if ( $response->httpResponseCode != 200 )
		    {
		        throw new \DomainException( $data["message"] );
		    }
		}
		} ) );
		
		if ( $values = $form->values() )
        {
			$form->saveAsSettings();
		    \IPS\Output::i()->redirect( \IPS\Http\Url::internal( 'app=stickynotes&module=stickynotes&controller=license' ), 'License Key Accepted' );
	        return TRUE;
        }
		
		\IPS\Output::i()->title = \IPS\Member::loggedIn()->language()->addToStack( 'SN_license_key' );
		\IPS\Output::i()->output = $form;
	}
}

 

Ссылка на комментарий
Поделиться на другие сайты

I looked in my sources, I cleared the manage () function in license.php and cleared the storeNote() function in sources/GlobalNote/GlobalNotes.php.

I also removed the license {} block from the data/acpmenu.json

Ссылка на комментарий
Поделиться на другие сайты

Прошел по шагам, лицензия все равно выдает ошибку

Ссылка на комментарий
Поделиться на другие сайты

if ( !\IPS\Settings::i()->SN_license_key )
        {
            \IPS\Output::i()->redirect( \IPS\Http\Url::internal( 'app=stickynotes&module=stickynotes&controller=license' ), 'License Key Required' );
        }

Remove it from all modules in admin/

Ссылка на комментарий
Поделиться на другие сайты

Yes the License stop appearing after do all the changes that Desti suggested but i can't get it to work. It doesn't appear at all on my theme, i don't know if it needs any extra code for it or it's just the older version which doesn't work on the latest one

Ссылка на комментарий
Поделиться на другие сайты

Thank you for the upload @by_ix - I still thought can't make the sticky note to appear. I searched the support thread on official, and somewhere Jackal, the original creator, said this: https://invisioncommunity.com/forums/topic/438959-sticky-notes-support-topic/page/10/#comment-2727869 

I use Taman's theme, specifically Magnum, so it may this the problem, although i can't understand what's custom edit i have to create for it. Anyone with some knowledge and some spare time, tell me to pm him my forum's url :) ty in advance, i believe Sticky Notes will be a very nice app to have, for guest users, to make them register or for specific members to reply to a thread / follow some procedure. 

Ссылка на комментарий
Поделиться на другие сайты

  • 4 месяца спустя...
Ссылка на комментарий
Поделиться на другие сайты

  • 9 месяцев спустя...

Работает на 4.7. Лицензию не просит (что я делаю не так?!). Но нельзя отправлять sticky note самому себе. Как отправить самому себе? Другим я вообще не планировал отправлять, так как я высокоактивный социопат.

Изменено пользователем Zero108
Ссылка на комментарий
Поделиться на другие сайты

Присоединяйтесь к обсуждению

Вы можете написать сейчас и зарегистрироваться позже. Если у вас есть аккаунт, авторизуйтесь, чтобы опубликовать от имени своего аккаунта.
Примечание: Ваш пост будет проверен модератором, прежде чем станет видимым.

Гость
Ответить в этой теме...

×   Вставлено с форматированием.   Вставить как обычный текст

  Разрешено использовать не более 75 эмодзи.

×   Ваша ссылка была автоматически встроена.   Отображать как обычную ссылку

×   Ваш предыдущий контент был восстановлен.   Очистить редактор

×   Вы не можете вставлять изображения напрямую. Загружайте или вставляйте изображения по ссылке.

  • Последние посетители   0 пользователей онлайн

    • Ни одного зарегистрированного пользователя не просматривает данную страницу
×
×
  • Создать...