Jump to content

Download: (Pav31) Post Notes


amxx.pl Hiroshima

Recommended Posts

File Name: (Pav31) Post Notes
File Submitter: Pavulon amxx.pl
File Submitted: 04 Feb 2011
File Updated: 25 Mar 2011
File 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

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

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
  • 3 weeks later...

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...