Adriano Faria Posted September 12, 2015 Posted September 12, 2015 This application will allow users from specific user groups to add notes to members, in order to have better control of the member's life in the community Adding Notes: Users from specific groups can add notes in two places: + Create menu Directly on user Profile, on a new tab called Notes, where notes can be edited or deleted, if you have permission to do it. Features: New tab called Member Notes on ModeratorCP -> Member Management to display notes from all members, where notes can be edited or deleted, if you have permission to do it. Number of notes on user's posts, linked to the tab in his profile. You can also add a note from the post. Number of notes on user's personal card (mini profile on hover user link) Widget to display the latest notes. Notification to all users who can view notes when someone gets a new note. Group permissions: Can view notes Can add notes Can edit notes Can delete notes Note: This version contains an upgrader, so you will get the notes from this hook for IP.Board 3.4. sobrenome 1
Adriano Faria Posted November 5, 2015 Author Posted November 5, 2015 3 minutes ago, JiigSaaw said: Fully compatible with latest IPS 4.1.3.1 ? Yes, I run it on my board and didn't notice any issue.
JiigSaaw Posted November 5, 2015 Posted November 5, 2015 Nice, working as expected, and upgraded old notes ! Thank you! Adriano Faria 1
Adriano Faria Posted November 5, 2015 Author Posted November 5, 2015 4 minutes ago, JiigSaaw said: working as expected, and upgraded old notes That was the plan. JiigSaaw 1
Bill Edwards Posted November 25, 2015 Posted November 25, 2015 5 minutes ago, Bill Edwards said: Apart from my reservation above, this is working well. However whilst it works, we don't have Number of notes on user's posts, linked to the tab in his profile. You can also add a note from the post. Any idea why please? Many Thanks Bill
Adriano Faria Posted November 25, 2015 Author Posted November 25, 2015 It was working on IPS 4.0.X. I already fixed a few plugin that places some info on posts that stopped working after 4.1. I'll take a look.
Bill Edwards Posted November 25, 2015 Posted November 25, 2015 1 minute ago, Adriano Faria said: It was working on IPS 4.0.X. I already fixed a few plugin that places some info on posts that stopped working after 4.1. I'll take a look. Thank you, do I need to download again, or wait for an update?
Adriano Faria Posted November 25, 2015 Author Posted November 25, 2015 Follow the file, so you'll get a notification when it's updated. A couple of days, I'd say. Bill Edwards 1
Adriano Faria Posted November 26, 2015 Author Posted November 26, 2015 What's New in Version 2.0.1: Compatibility with IPS 4.1 Added option to send the note content to the member via private message Bill Edwards 1
Bill Edwards Posted November 26, 2015 Posted November 26, 2015 That is brilliant. The ability to send a PM makes this EXACTLY what we want to replace the Warning System. Many Thanks!! (Am I being impatient? This isn't present - Number of notes on user's posts, linked to the tab in his profile. You can also add a note from the post.)
Adriano Faria Posted November 26, 2015 Author Posted November 26, 2015 12 minutes ago, Bill Edwards said: Am I being impatient? This isn't present - Number of notes on user's posts, linked to the tab in his profile. You can also add a note from the post. Yes, it is. See the screenshots. It was tested before post here.
Adriano Faria Posted November 26, 2015 Author Posted November 26, 2015 The option will appear to those who already has a note. I don't show for those who hasn't notes.
Bill Edwards Posted November 26, 2015 Posted November 26, 2015 Unfortunately that part doesn't work on our board (Bill Test Account has one note):- Also, the block on the front page doesn't show. When I edit the block I get:- Any help gratefully received. Many thanks Bill
Adriano Faria Posted November 26, 2015 Author Posted November 26, 2015 (edited) Your two screenshots leads to the same place: the logged user hasn't permission to add/view notes on Members -> Groups. Everything is right on by board and using the same version I posted here. It works: If I remove the permission: What happens ? I use the same version I uploaded here on IPS today earlier. SO PLEASE, before you say the app doesn't work, make sure you have set it right, like GROUP PERMISSIONS. Edited November 26, 2015 by Adriano Faria
Bill Edwards Posted November 26, 2015 Posted November 26, 2015 I have NOT said the app doesn't work. I have said that I am having problems getting it working and I was asking if you could assist. The screen shots I provided were taken from my Admin account and Admins have full view/add/edit/delete note permissions, that is the GROUP PERMISSIONS are set right!
Adriano Faria Posted November 28, 2015 Author Posted November 28, 2015 On 26/11/2015 20:48:26, Bill Edwards said: The screen shots I provided were taken from my Admin account and Admins have full view/add/edit/delete note permissions, that is the GROUP PERMISSIONS are set right! Send credentials to your board via PM, please.
Bill Edwards Posted November 28, 2015 Posted November 28, 2015 35 minutes ago, Adriano Faria said: Send credentials to your board via PM, please. Many thanks. I've cured the problem of the notes not appearing in the Post Container. I had edited it to show a join date. Reverting the Post Container solved that issue. I still can't see the block on the index page. I suspect it may be a bug with my setup. I have tried many times to add the block. Sometimes I get an error, sometimes it adds and displays, but when I go back to the page it's gone again. I've PM'ed you Admin access. Thanks again Bill
Adriano Faria Posted November 29, 2015 Author Posted November 29, 2015 On 26/11/2015 20:48:26, Bill Edwards said: The screen shots I provided were taken from my Admin account and Admins have full view/add/edit/delete note permissions, that is the GROUP PERMISSIONS are set right! Replied to your PM. Your board is fine... maybe a cache issue or something.
Bill Edwards Posted November 30, 2015 Posted November 30, 2015 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 of the time it is not present. Adriano has been helpful in looking at the issue for me, but as he can't replicate it, and the code works, he is unable to offer a solution (I'm grateful for the time he has taken!) The other members of my site who have access to notes are having the same problem - a block that only appears sometimes. Has anyone else had this issue? Many thanks Bill AndyF and Adriano Faria 2
Gabriel Torres Posted December 10, 2015 Posted December 10, 2015 (edited) Hi @Adriano Faria! This one is working fine and it was able to correctly import old notes from IPB 3.4.x, which is great. I am facing a couple of silly layout issues, which you can see in the attached screenshot. 1) I am not able to translate the "By" phrase. I've tried everything... See below. (lang_id 1 = English; 2 = Portuguese) mysql> SELECT * FROM core_sys_lang_words WHERE word_default = 'By'; +---------+---------+----------+----------+--------------+-------------+----------------------+---------------------+---------+-------------+-------------+------------+ | word_id | lang_id | word_app | word_key | word_default | word_custom | word_default_version | word_custom_version | word_js | word_export | word_plugin | word_theme | +---------+---------+----------+----------+--------------+-------------+----------------------+---------------------+---------+-------------+-------------+------------+ | 6912 | 1 | core | by | By | NULL | 101016 | NULL | 0 | 1 | NULL | NULL | | 17938 | 2 | core | by | By | Por | 101016 | 101019 | 0 | 1 | NULL | NULL | +---------+---------+----------+----------+--------------+-------------+----------------------+---------------------+---------+-------------+-------------+------------+ 2 rows in set (0.00 sec) 2. I am not able to view the number of notes on the member's profile, neither on the hover card (shown in the screenshot) nor on the posts. Please advise! Thanks! Edited December 10, 2015 by Gabriel Torres
Adriano Faria Posted December 10, 2015 Author Posted December 10, 2015 1: This app doesn't use the lang_key by. It uses notes_by: ... 'add_note' => "Add Note", 'note_by' => "Note by", 'note_date' => "Date", ... The error is not related to this app. You can see this in your query above: word_app is core, not membernotes. 2: The lang on hover card is modcp_members_notes, the same used on ModeratorCP. Take a look if it's there also. Also, the setting group VIEW NOTES must be enabled to the user who is viewing the topic/profile. Make sure everything is fine and your templates arent't edited. You can see a few posts above that this was the issue.
Gabriel Torres Posted December 10, 2015 Posted December 10, 2015 @Adriano Faria I will dig deeper regarding the first issue later. As for the second issue, modcp_members_notes is present. In the modcp it shows up correctly. Note that the issue is not only on the hover card; it is not also showing up below the user's avatar on his posts as it should. I've just checked and all permissions are correctly enabled.
Adriano Faria Posted December 10, 2015 Author Posted December 10, 2015 Ok. I will take a look on Member Away issue in a few minutes, then I'll see this too.
Gabriel Torres Posted December 12, 2015 Posted December 12, 2015 (edited) @Adriano Faria Regarding my issue #1 above, you are incorrect. The template membernotes > widgets > memberNotes uses the word "By" as follows: <span class='ipsType_light ipsType_small'>{lang="By"} {$giver->link()|raw}, {datetime="$note['note_date']"}</span> Note the {lang="By"} That is showing up in English, not Portuguese for some reason. Please refer to the result of the MySQL query posted above. Regarding issue #2, I still don't see the "note counter" on posts or on the hover card. I have "can view notes" enabled for my usergroup. If you could take a look at that using the credentials I supplies I'd appreciate. Here is a link to a topic where you can check this out, as the topic starter has several notes and the counter should have been there. http://forum.clubedohardware.com.br/topic/1140038-sugest%C3%A3o-teste-de-fontes-mais-vendidas-atualmente/ Edited December 12, 2015 by Gabriel Torres
Recommended Posts