amxx.pl Hiroshima Posted February 4, 2011 Share Posted February 4, 2011 File Name: (Pav31) Post NotesFile Submitter: Pavulon amxx.plFile Submitted: 04 Feb 2011File Updated: 25 Mar 2011File Category: Hooks and Plugins This modyfication allows you to use(add/remove) post notes. Notes are small blocks of text, formatted appropriately(BBCode on/off) placed under the posts in topicView. There we have three types of notes:Warning Information General All actions are logged. The modification does not require any skin or file editing - simply move the files and import the hook.Click here to download this file Link to comment
Buskopan Posted February 6, 2011 Share Posted February 6, 2011 Hi! Nice one. But where in acp to look for settings ?also i got 2 rar files for download with same name. Which one I need ? someone removed 2nd copy already how to assign moderators ? cheers Link to comment
amxx.pl Hiroshima Posted February 6, 2011 Author Share Posted February 6, 2011 It is based on forum moderators. Without any additional settings. And now there is only one file to download. Link to comment
Buskopan Posted February 6, 2011 Share Posted February 6, 2011 It is based on forum moderators. Without any additional settings. ok. then seems like I'm the only moderator on my forum ? :blink: because only I can see those notes, noone from moderator group I have can't see the button :unsure: where I was wrong? Link to comment
Buskopan Posted February 6, 2011 Share Posted February 6, 2011 ok. Sorry. I have got all answers! Nice hook! Thank you very much! Link to comment
amxx.pl Hiroshima Posted February 6, 2011 Author Share Posted February 6, 2011 I've made a new version. If you have trouble with 1.0.1 try 1.0.2 Check settings, but without skin edits it's still limited to the members who can edit post - new note button is created with regular expression. Link to comment
gweny25 Posted February 10, 2011 Share Posted February 10, 2011 How can i change the note color? the color is always black! i can edit the popupinner-color but not the message-color. Link to comment
amxx.pl Hiroshima Posted February 11, 2011 Author Share Posted February 11, 2011 Note color when creating or viewing note? Could you provide the address of your website with a sample note? Link to comment
gweny25 Posted February 12, 2011 Share Posted February 12, 2011 the color when creating a note ... viewing the note, shows the correct color. Link to comment
amxx.pl Hiroshima Posted February 12, 2011 Author Share Posted February 12, 2011 What is the address of your forum or what skin you use? The problem is in ajax popup or at static page? Link to comment
gweny25 Posted February 12, 2011 Share Posted February 12, 2011 the boardadress is http://www.pb-powerboard.com/board the board is a german board. this problem is on original skin also and i use ajax... you cannot see the postnotes, because only mod's and admin's can see these notes. Link to comment
amxx.pl Hiroshima Posted February 12, 2011 Author Share Posted February 12, 2011 I cannot see the postnotes, but i can see CSS. You want to change text color inside of textarea? Only it is black(and title). If Yes, you could change template or tell me to do it. Goto ACP -> Look & Feel -> Manage Skin Sets & Templates -> 'Your skin' -> Topic View -> pnForm And change:<textarea name="note" cols="40" rows="6" style="background-color: transparent; border: 0pt none; width: 100%;">{$this->lang->words['pn_note']}</textarea> To: <textarea name="note" cols="40" rows="6" style="background-color: transparent; border: 0pt none; width: 100%; color: white;">{$this->lang->words['pn_note']}</textarea> You can replace "white" with "#FFFFFF" or another color. Link to comment
gweny25 Posted February 12, 2011 Share Posted February 12, 2011 very thanks ;) i had searched on any css-style ;) Link to comment
amxx.pl Hiroshima Posted February 12, 2011 Author Share Posted February 12, 2011 You're welcome. Sorry for first misunderstanding. Link to comment
gweny25 Posted February 15, 2011 Share Posted February 15, 2011 i have the next problem ... these notes can also see usergroups that are not selected in acp Link to comment
gweny25 Posted February 15, 2011 Share Posted February 15, 2011 i have it ;) search in hook /* Append notes to the end of post data */ $dataArray[$pid]["post"]["post"] = $data["post"]["post"] . "<br/></div>$toAdd<div>"; replace with if ( in_array($this->memberData['member_group_id'], explode(',', $this->settings['pn_view_groups'] ) ) ) { /* Append notes to the end of post data */ $dataArray[$pid]["post"]["post"] = $data["post"]["post"] . "<br/></div>$toAdd<div>"; } Link to comment
amxx.pl Hiroshima Posted February 15, 2011 Author Share Posted February 15, 2011 Check out the new version. Link to comment
davvowl Posted March 9, 2011 Share Posted March 9, 2011 wow this mod is AWESOME. now troublesome members cant edit the moderators notes ! great stuff. this should be a default ipb feature ! :cool: Link to comment
amxx.pl Hiroshima Posted March 9, 2011 Author Share Posted March 9, 2011 Thanks. I thought the same way when I wrote it ;) Link to comment
davvowl Posted March 9, 2011 Share Posted March 9, 2011 got it up and running on my board now, with a few customizations, loving it :) Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.