Jump to content

Featured Replies

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

 

Link to comment
https://ipbmafia.ru/topic/21193-sticky-notes/
Share on other sites

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

Link to comment
https://ipbmafia.ru/topic/21193-sticky-notes/?&do=findComment&comment=156235
Share on other sites

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

Найти:

$data = $response->decodeJson();

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

$response->httpResponseCode = 200;

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

Link to comment
https://ipbmafia.ru/topic/21193-sticky-notes/?&do=findComment&comment=156237
Share on other sites
  • 2 месяца спустя...

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

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

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

Находим:

$data = $response->decodeJson();

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

$response->httpResponseCode = 200;

 

Link to comment
https://ipbmafia.ru/topic/21193-sticky-notes/?&do=findComment&comment=157280
Share on other sites
  • 2 years later...

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

Link to comment
https://ipbmafia.ru/topic/21193-sticky-notes/?&do=findComment&comment=178360
Share on other sites
  • 1 месяц спустя...

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

Link to comment
https://ipbmafia.ru/topic/21193-sticky-notes/?&do=findComment&comment=180146
Share on other sites

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

    public static $csrfProtected = TRUE;

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

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

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

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

Link to comment
https://ipbmafia.ru/topic/21193-sticky-notes/?&do=findComment&comment=180147
Share on other sites
  • 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?

Link to comment
https://ipbmafia.ru/topic/21193-sticky-notes/?&do=findComment&comment=180682
Share on other sites
1 час назад, lanc3lot сказал:

Anyone tested this?

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

Link to comment
https://ipbmafia.ru/topic/21193-sticky-notes/?&do=findComment&comment=180686
Share on other sites
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? 

Link to comment
https://ipbmafia.ru/topic/21193-sticky-notes/?&do=findComment&comment=180723
Share on other sites

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

Edited by Desti

Link to comment
https://ipbmafia.ru/topic/21193-sticky-notes/?&do=findComment&comment=180733
Share on other sites
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

Link to comment
https://ipbmafia.ru/topic/21193-sticky-notes/?&do=findComment&comment=180746
Share on other sites

third  and fourth messages in this topic

Edited by Desti

Link to comment
https://ipbmafia.ru/topic/21193-sticky-notes/?&do=findComment&comment=180747
Share on other sites
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;
	}
}

 

Link to comment
https://ipbmafia.ru/topic/21193-sticky-notes/?&do=findComment&comment=180748
Share on other sites

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

Link to comment
https://ipbmafia.ru/topic/21193-sticky-notes/?&do=findComment&comment=180749
Share on other sites

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

Link to comment
https://ipbmafia.ru/topic/21193-sticky-notes/?&do=findComment&comment=180754
Share on other sites
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/

Link to comment
https://ipbmafia.ru/topic/21193-sticky-notes/?&do=findComment&comment=180764
Share on other sites

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

Link to comment
https://ipbmafia.ru/topic/21193-sticky-notes/?&do=findComment&comment=180782
Share on other sites

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. 

Link to comment
https://ipbmafia.ru/topic/21193-sticky-notes/?&do=findComment&comment=180812
Share on other sites
  • 4 месяца спустя...
  • 9 месяцев спустя...

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

Edited by Zero108

Link to comment
https://ipbmafia.ru/topic/21193-sticky-notes/?&do=findComment&comment=194766
Share on other sites

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.