Note System (NS2) [Deleted]

Stuart Wright

Well-known member
Normally only users can see their own Notes!
So that others can also see these, e.g. moderators, this bypass is
To be clear then, the moderators can leave notes on a member profile and all the other moderators (and only the moderators) can read those notes?

Could there be an import routine to bring in the notes from this addon? https://xenforo.com/community/resources/usernotes-for-the-staff.1819/
We have 23,497 records we need to keep.
user_notes.jpg

Also can you confirm that normal user management applied to the notes? Merging users merges the notes; deleting users deletes the notes?
Thank you.
 
Last edited:

au lait

Well-known member
To be clear then, the moderators can leave notes on a member profile and all the other moderators (and only the moderators) can read those notes?
My add-ons can be tested extensively! Just get one a demo: https://xenmade.com/xmdemo/
But yes, the User Notes only those groups can read this that are authorized to do so!

deleting users deletes the notes?
yes

Merging users merges the notes;
no - I will add this

Could there be an import routine to bring in the notes from this addon? https://xenforo.com/community/resources/usernotes-for-the-staff.1819/
We have 23,497 records we need to keep.
For the import I can give you a query that converts the data from the old table into the new table.
 

au lait

Well-known member
au lait updated [xenMade.com] Note System (NS2) with a new update entry:

1.2.0

[add] BB-Code Editor
[change] Permissions (UserNotes)
[add] Can view User Notes
[add] Can view any User Notes
[add] Can add User Note
[add] Edit own User Note
[add] Delete own User Note

[add] Edit any User Note
[add] Delete any User Note

[change] Permissions (ThreadNotes)
[add] Can view Thread Notes
[add] Can view any Thread Notes
[add] Can add Thread Note
[add] Can edit own Thread Note
[add] Can...
Read the rest of this update entry...
 

Anthony Parsons

Well-known member
The two member_view template mods will not execute into ANY style.

Screen Shot 2018-06-07 at 11.12.57 am.png

Opening and testing each one, comes back saying they are both fine, but neither will execute. New install.

Screen Shot 2018-06-07 at 11.14.50 am.png
 

Anthony Parsons

Well-known member
Ok, I got this to create an error log. @Xon you may be able to help with this too, as it involves user essentials:

Code:
Error: Call to undefined method XF\Mvc\Reply\Reroute::getParam()
src/addons/xenMade/STNS/XF/Pub/Controller/Member.php:15
Generated by: anthony Jun 7, 2018 at 3:07 PM

Stack trace
#0 src/addons/SV/UserEssentials/XF/Pub/Controller/Member.php(28): xenMade\STNS\XF\Pub\Controller\Member->actionView(Object(XF\Mvc\ParameterBag))
#1 src/XF/Mvc/Dispatcher.php(249): SV\UserEssentials\XF\Pub\Controller\Member->actionView(Object(XF\Mvc\ParameterBag))
#2 src/XF/Mvc/Dispatcher.php(87): XF\Mvc\Dispatcher->dispatchClass('XF\\Pub\\Controll...', 'View', 'json', Object(XF\Mvc\ParameterBag), 'members', Object(SV\UserEssentials\XF\Pub\Controller\Member), Object(XF\Mvc\Reply\Reroute))
#3 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#4 src/XF/App.php(1931): XF\Mvc\Dispatcher->run()
#5 src/XF.php(328): XF\App->run()
#6 index.php(13): XF::runApp('XF\\Pub\\App')
#7 {main}

Request state
array(4) {
  ["url"] => string(163) "/members/anthony.1/?tooltip=true&_xfRequestUri=%2Fthreads%2Ftest.85967%2F&_xfWithData=1&_xfToken=1528348033%2C395c04c2366004191fc06094b5a0e175&_xfResponseType=json"
  ["referrer"] => string(44) "https://www.ptsdnews.com/threads/test.85967/"
  ["_GET"] => array(6) {
    ["/members/anthony_1/"] => string(0) ""
    ["tooltip"] => string(4) "true"
    ["_xfRequestUri"] => string(20) "/threads/test.85967/"
    ["_xfWithData"] => string(1) "1"
    ["_xfToken"] => string(43) "1528348033,395c04c2366004191fc06094b5a0e175"
    ["_xfResponseType"] => string(4) "json"
  }
  ["_POST"] => array(0) {
  }
}

Is this a clash with two addons controllers?
 

Xon

Well-known member
Ok, I got this to create an error log. @Xon you may be able to help with this too, as it involves user essentials:

Code:
Error: Call to undefined method XF\Mvc\Reply\Reroute::getParam()
src/addons/xenMade/STNS/XF/Pub/Controller/Member.php:15
Generated by: anthony Jun 7, 2018 at 3:07 PM

Stack trace
#0 src/addons/SV/UserEssentials/XF/Pub/Controller/Member.php(28): xenMade\STNS\XF\Pub\Controller\Member->actionView(Object(XF\Mvc\ParameterBag))
#1 src/XF/Mvc/Dispatcher.php(249): SV\UserEssentials\XF\Pub\Controller\Member->actionView(Object(XF\Mvc\ParameterBag))
#2 src/XF/Mvc/Dispatcher.php(87): XF\Mvc\Dispatcher->dispatchClass('XF\\Pub\\Controll...', 'View', 'json', Object(XF\Mvc\ParameterBag), 'members', Object(SV\UserEssentials\XF\Pub\Controller\Member), Object(XF\Mvc\Reply\Reroute))
#3 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#4 src/XF/App.php(1931): XF\Mvc\Dispatcher->run()
#5 src/XF.php(328): XF\App->run()
#6 index.php(13): XF::runApp('XF\\Pub\\App')
#7 {main}

Request state
array(4) {
  ["url"] => string(163) "/members/anthony.1/?tooltip=true&_xfRequestUri=%2Fthreads%2Ftest.85967%2F&_xfWithData=1&_xfToken=1528348033%2C395c04c2366004191fc06094b5a0e175&_xfResponseType=json"
  ["referrer"] => string(44) "https://www.ptsdnews.com/threads/test.85967/"
  ["_GET"] => array(6) {
    ["/members/anthony_1/"] => string(0) ""
    ["tooltip"] => string(4) "true"
    ["_xfRequestUri"] => string(20) "/threads/test.85967/"
    ["_xfWithData"] => string(1) "1"
    ["_xfToken"] => string(43) "1528348033,395c04c2366004191fc06094b5a0e175"
    ["_xfResponseType"] => string(4) "json"
  }
  ["_POST"] => array(0) {
  }
}

Is this a clash with two addons controllers?
At this point; User Essentials code just calls the parent controller, and isn't causing a conflict (as far as I can see for this code). This is the result of xenMade/STNS not checking the parent actionView return type with instanceof \XF\Mvc\Reply\View.
 

Godzilla

Member
after installing this plug-in when you click on someone's profile it doesn't take you to the profile. if your right click open new tab it works. ?
 
Top