Jump to content

Member Notes

Featured Replies

  • Author
4 minutes ago, Enigma_RL said:

quite obviously if I can download it from the marketplace .... ..... It's most likely linked to the main account holder.

You may but you didn't download it, that's why I asked as I don't have a crystal ball. Next time you better mention this up front to avoid situations like that.

  • Replies 170
  • Views 15.4k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Bill Edwards
    Bill Edwards

    I love this application and after initial problems (caused by my editing of the post container) it is working well. However, the Latest Notes Block on the index page only appears sometimes - most

  • Adriano Faria
    Adriano Faria

    What's New in Version 2.0.4: Fixes: Exception error on ModeratorCP tab Uninstall routine New Features: New setting to admin choose number of notes to display on ModeratorC

  • Nice, working as expected, and upgraded old notes ! Thank you!

Posted Images

Hi Adriano. 

i get an error message if i click in the modcp on this button. 

image.thumb.png.665c5df66daacc6995fcda0144b4798d.png

image.thumb.png.576634b5f69a072b2a7b52703447134d.png

 

I have run the support tool and switch to the default theme. Nothing works...

 

https://xxxx.xx/index.php?app=membernotes&module=notes&controller=notes&do=view&id=7&csrfKey=ed7392db7abe0037ff39ba75afec7e1

Error: Cannot use object of type IPS\membernotes\Note as array in /var/www/vhosts/xxxx.xx/httpdocs/system/Theme/Theme.php(860) : eval()'d code:332
Stack trace:
#0 /var/www/vhosts/xxxx.xx/httpdocs/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_membernotes_front_modcp->viewContent()
#1 /var/www/vhosts/xxxx.xx/httpdocs/applications/membernotes/modules/front/notes/notes.php(237): IPS\Theme\_SandboxedTemplate->__call()
#2 /var/www/vhosts/xxxx.xx/httpdocs/system/Dispatcher/Controller.php(90): IPS\membernotes\modules\front\notes\_notes->view()
#3 /var/www/vhosts/xxxx.xx/httpdocs/applications/membernotes/modules/front/notes/notes.php(21): IPS\Dispatcher\_Controller->execute()
#4 /var/www/vhosts/xxxx.xx/httpdocs/system/Dispatcher/Dispatcher.php(153): IPS\membernotes\modules\front\notes\_notes->execute()
#5 /var/www/vhosts/xxxx.xx/httpdocs/index.php(13): IPS\_Dispatcher->run()
#6 {main}

Edited by MythonPonty

  • Author
5 minutes ago, MythonPonty said:

Hi Adriano. 

i get an error message if i click in the modcp on this button. 

image.thumb.png.665c5df66daacc6995fcda0144b4798d.png

image.thumb.png.576634b5f69a072b2a7b52703447134d.png

 

I have run the support tool and switch to the default theme. Nothing works...

I can confirm. If you don't want to wait for the fix in the marketplace, open the membernotes -> front -> modcp -> viewContent template and change the whole content by:

<div class="ipsPad">
	{{$member = \IPS\Member::load( $note->by )->link();}}
	<span class="ipsPos_right"><em>{lang="member_giver"} {$member|raw}, {datetime="$note->date"}</em></span><br><br>
	<ul class="ipsList_reset ipsPad ipsAreaBackground_light">
		<li>
			<div data-role='commentContent' itemprop='text' class='ipsType_richText'>
				{$note->content|raw}
			</div>
		</li>
	</ul>
</div>

Let me know if it works.

  • Author
Just now, MythonPonty said:

Thanks a lot @Adriano Faria

Works very well... 

Test it a bit more. I'll release the fix in a couple of days.

  • 2 months later...

Hello,

Adriano presented the same problem I copied the code I did the steps mentioned but the problem continues that I can do even I have updated a few minutes ago nothing the problem persists

thanks for your help

  • Author
12 minutes ago, Cristian Romero said:

Hello,

Adriano presented the same problem I copied the code I did the steps mentioned but the problem continues that I can do even I have updated a few minutes ago nothing the problem persists

thanks for your help

???

Which problem, mate?

Hace 2 minutos, Adriano Faria dijo:

¿ ???

¿Qué problema, amigo?

This problem when I go to the moderator panel> manage members> notes for members throws this error:

453250970_ScreenshotatJan1323-56-36.thumb.png.2d295c01dcfbd1c09fd2e1e674cff5d5.png

  • Author

Ok. Will take a look and release a fix.

Hey Adriano,

I just updated to Member Notes 2.2.7 on my test site (which is IPB 4.6.9).  I tried adding a note to a member in the adminCP and enabled the option to send the note as a PM to that member.  I got the following error:

OutOfRangeException:  (0)
#0 /XXX/applications/membernotes/modules/admin/settings/notes.php(274): IPS\Patterns\_ActiveRecord::load('5')
#1 /XXX/system/Dispatcher/Controller.php(90): IPS\membernotes\modules\admin\settings\_notes->memberNotesForm()
#2 /XXX/applications/membernotes/modules/admin/settings/notes.php(31): IPS\Dispatcher\_Controller->execute()
#3 /XXX/system/Dispatcher/Dispatcher.php(153): IPS\membernotes\modules\admin\settings\_notes->execute()
#4 /XXX/admin/index.php(13): IPS\_Dispatcher->run()
#5 {main}

The actual note is saved and is viewable/editable.  However, the PM was not sent to the member when I enabled it.

I also seem to get the above error whenever I try to add a note without sending it to the member as a PM.  However, in all cases the note still saves.

Also, for some reason, if I edit a member's note on the Member Notes tab in the adminCP, when I'm done I'm booted back to the Member Note listing for all members who have notes, when I should be returned to the specific member view.

 

  • Author
58 minutes ago, LiquidFractal said:

Hey Adriano,

I just updated to Member Notes 2.2.7 on my test site (which is IPB 4.6.9).  I tried adding a note to a member in the adminCP and enabled the option to send the note as a PM to that member.  I got the following error:

OutOfRangeException:  (0)
#0 /XXX/applications/membernotes/modules/admin/settings/notes.php(274): IPS\Patterns\_ActiveRecord::load('5')
#1 /XXX/system/Dispatcher/Controller.php(90): IPS\membernotes\modules\admin\settings\_notes->memberNotesForm()
#2 /XXX/applications/membernotes/modules/admin/settings/notes.php(31): IPS\Dispatcher\_Controller->execute()
#3 /XXX/system/Dispatcher/Dispatcher.php(153): IPS\membernotes\modules\admin\settings\_notes->execute()
#4 /XXX/admin/index.php(13): IPS\_Dispatcher->run()
#5 {main}

The actual note is saved and is viewable/editable.  However, the PM was not sent to the member when I enabled it.

I also seem to get the above error whenever I try to add a note without sending it to the member as a PM.  However, in all cases the note still saves.

Also, for some reason, if I edit a member's note on the Member Notes tab in the adminCP, when I'm done I'm booted back to the Member Note listing for all members who have notes, when I should be returned to the specific member view.

 

Since it is a test site, I just sent you a test version via PM so you can test it out.

EDIT: For the others: do not update yet. Wait for the test.

Edited by Adriano Faria

  • Author
12 hours ago, Adriano Faria said:

For the others: do not update yet. Wait for the test.

New version was just submitted to fix the error reported. 👍

On 11/5/2021 at 8:27 PM, MythonPonty said:

 

https://xxxx.xx/index.php?app=membernotes&module=notes&controller=notes&do=view&id=7&csrfKey=ed7392db7abe0037ff39ba75afec7e1

Error: Cannot use object of type IPS\membernotes\Note as array in /var/www/vhosts/xxxx.xx/httpdocs/system/Theme/Theme.php(860) : eval()'d code:332
Stack trace:
#0 /var/www/vhosts/xxxx.xx/httpdocs/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_membernotes_front_modcp->viewContent()
#1 /var/www/vhosts/xxxx.xx/httpdocs/applications/membernotes/modules/front/notes/notes.php(237): IPS\Theme\_SandboxedTemplate->__call()
#2 /var/www/vhosts/xxxx.xx/httpdocs/system/Dispatcher/Controller.php(90): IPS\membernotes\modules\front\notes\_notes->view()
#3 /var/www/vhosts/xxxx.xx/httpdocs/applications/membernotes/modules/front/notes/notes.php(21): IPS\Dispatcher\_Controller->execute()
#4 /var/www/vhosts/xxxx.xx/httpdocs/system/Dispatcher/Dispatcher.php(153): IPS\membernotes\modules\front\notes\_notes->execute()
#5 /var/www/vhosts/xxxx.xx/httpdocs/index.php(13): IPS\_Dispatcher->run()
#6 {main}

I got this error message again, after the last update. 

 

image.png.af3a5bf3963206f8d116aec1c52d16b9.png

  • Author

Can't reproduce:

 

Make sure your template isn't edited and if it is, that's the content it should have:

{{if !isset( \IPS\Data\Store::i()->memberNotesGroups )}}
	{{\IPS\membernotes\Member::updateGroupsCache();}}
{{endif}}
{{$group = \IPS\Data\Store::i()->memberNotesGroups[ \IPS\Member::loggedIn()->member_group_id ];}}
{{if isset( $group ) AND $group['mn_g_viewnotes']}}
	<span class="ipsType_light">
		{{$user  = \IPS\membernotes\Member::getMember( $member );}}
		{{if isset( $user ) AND $user->notes}}
			<a class='ipsType_blendLinks' title="{lang="view_this_member_notes" sprintf="$member->name"}" href='{url="app=core&module=members&controller=profile&id={$member->member_id}&tab=node_membernotes_memberNotes" seoTemplate="profile" seoTitle="$member->members_seo_name"}'>{lang="num_notes" pluralize="$user->notes"}</a> 
		{{else}}
			{lang="num_notes_zero"}
		{{endif}}
		{{if $group['mn_g_addnotes']}}
			<a class='ipsType_blendLinks' title='{lang="add_note_to" htmlsprintf="$member->name"}' href='{url="app=membernotes&module=notes&controller=notes&do=add&mid={$member->member_id}"}' data-ipsDialog data-ipsDialog-title='{lang="adding_note_to" htmlsprintf="$member->name"}'><i class="fa fa-plus-square"></i></a>
		{{endif}}
	</span>
{{endif}}

 

  • 9 months later...
  • Author

Could contain: Text, Number, Symbol

FROM NOVEMBER 1ST TO NOVEMBER 30TH.

  • 1 month later...
  • Author

What's New in Version 2.3.0:

  • Add ability to send Alerts when creating a member note.
    • Alert option will show up only to moderators who can send alerts.

 

Capturar.thumb.PNG.6d44b5fdd32dc69724f5539e88f57592.PNG

 

Capturar.thumb.PNG.3a1a9e34da877c605c0bbffbaf072f60.PNG
 

  • 2 months later...

From the error log:

Error: Call to undefined method IPS\Member::canUseMessenger() (0)
#0 ./applications/membernotes/modules/front/notes/notes.php(108): IPS\membernotes\_General::sendAlert(Array, Object(IPS\membernotes\Note), 1)
#1 ./system/Dispatcher/Controller.php(107): IPS\membernotes\modules\front\notes\_notes->add()
#2 ./applications/membernotes/modules/front/notes/notes.php(25): IPS\Dispatcher\_Controller->execute()
#3 ./system/Dispatcher/Dispatcher.php(153): IPS\membernotes\modules\front\notes\_notes->execute()
#4 ./index.php(13): IPS\_Dispatcher->run()
#5 {main}

 

  • Author
6 minutes ago, Daniel F said:

From the error log:

Error: Call to undefined method IPS\Member::canUseMessenger() (0)
#0 ./applications/membernotes/modules/front/notes/notes.php(108): IPS\membernotes\_General::sendAlert(Array, Object(IPS\membernotes\Note), 1)
#1 ./system/Dispatcher/Controller.php(107): IPS\membernotes\modules\front\notes\_notes->add()
#2 ./applications/membernotes/modules/front/notes/notes.php(25): IPS\Dispatcher\_Controller->execute()
#3 ./system/Dispatcher/Dispatcher.php(153): IPS\membernotes\modules\front\notes\_notes->execute()
#4 ./index.php(13): IPS\_Dispatcher->run()
#5 {main}

 

canUseMessenger() was added in 4.7.4. The user probably is outdated.

Marketplace files are always (or should) be compatible with latest version.

  • 6 months later...
  • Author

Thank you so much for being a client!

The Invision Community Marketplace is closing on October 30, 2023, so I am moving all of my files over to my personal site www.sosinvision.com.br.

You will find information on my website www.sosinvision.com.br:

Bookmark https://www.sosinvision.com.br/ and the new Marketplace Directory www.Invisioneer.org.  

Recently Browsing 0

  • No registered users viewing this page.