Adriano Faria Posted October 29, 2021 Author Share Posted October 29, 2021 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. Link to comment
MythonPonty Posted November 5, 2021 Share Posted November 5, 2021 Hi Adriano. i get an error message if i click in the modcp on this button. I have run the support tool and switch to the default theme. Nothing works... Link to comment
MythonPonty Posted November 5, 2021 Share Posted November 5, 2021 (edited) 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 November 5, 2021 by MythonPonty Link to comment
Adriano Faria Posted November 5, 2021 Author Share Posted November 5, 2021 5 minutes ago, MythonPonty said: Hi Adriano. i get an error message if i click in the modcp on this button. 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. MythonPonty 1 Link to comment
MythonPonty Posted November 5, 2021 Share Posted November 5, 2021 Thanks a lot @Adriano Faria Works very well... Adriano Faria 1 Link to comment
Adriano Faria Posted November 5, 2021 Author Share Posted November 5, 2021 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. Link to comment
Cristian Romero Posted January 13, 2022 Share Posted January 13, 2022 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 Link to comment
Adriano Faria Posted January 13, 2022 Author Share Posted January 13, 2022 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? Link to comment
Cristian Romero Posted January 13, 2022 Share Posted January 13, 2022 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: Link to comment
Adriano Faria Posted January 13, 2022 Author Share Posted January 13, 2022 Ok. Will take a look and release a fix. Link to comment
LiquidFractal Posted January 16, 2022 Share Posted January 16, 2022 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. Link to comment
Adriano Faria Posted January 16, 2022 Author Share Posted January 16, 2022 (edited) 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 January 16, 2022 by Adriano Faria Link to comment
Adriano Faria Posted January 17, 2022 Author Share Posted January 17, 2022 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. 👍 Link to comment
Adriano Faria Posted January 17, 2022 Author Share Posted January 17, 2022 What's New in Version 2.2.7.1: Fix error reported. Gabriel Torres 1 Link to comment
MythonPonty Posted January 18, 2022 Share Posted January 18, 2022 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. Link to comment
Adriano Faria Posted January 18, 2022 Author Share Posted January 18, 2022 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}} Link to comment
Adriano Faria Posted November 1, 2022 Author Share Posted November 1, 2022 FROM NOVEMBER 1ST TO NOVEMBER 30TH. Link to comment
Adriano Faria Posted December 19, 2022 Author Share Posted December 19, 2022 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. Link to comment
Daniel F Posted February 24, 2023 Share Posted February 24, 2023 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} Adriano Faria 1 Link to comment
Adriano Faria Posted February 24, 2023 Author Share Posted February 24, 2023 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. Link to comment
Adriano Faria Posted September 15, 2023 Author Share Posted September 15, 2023 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: You can redeem the marketplace purchase keys provided by IPS in order to keep getting updates and support for the applications/plugins you purchased. You can purchase files directly on my marketplace. You can get support for your purchased applications/plugins directly on their new support topics. You can request a custom application/plugin or service. Bookmark https://www.sosinvision.com.br/ and the new Marketplace Directory www.Invisioneer.org. Link to comment
Recommended Posts