3.1.x Extensions Database 3.1 / 3.2 ⇒ Note Extension
-
uruguayito
- Donator

- Posts: 120
- Joined: 02 Jul 2015, 19:40
Re: Note Extension
bumpdmzx wrote: 28 Jan 2016, 19:44Will take a look at it.uruguayito wrote: 28 Jan 2016, 15:25 I like it....
Question: if posibble make that only Mods and Amins can use it?![]()
Sorry for my bad English.
I'm a latin american man.
Spanish is my language.
I'm a latin american man.
Spanish is my language.
-
dmzx
- Founder

- Posts: 6466
- Joined: 13 Jan 2014, 21:45
Re: Note Extension
uruguayito wrote: 22 Feb 2016, 17:00bumpdmzx wrote: 28 Jan 2016, 19:44Will take a look at it.uruguayito wrote: 28 Jan 2016, 15:25 I like it....
Question: if posibble make that only Mods and Amins can use it?![]()
What you can do is:
open styles/all/template/note.html
Find This may be a partial find and not the whole line
Code: Select all
<select class="gensmall" name="note" onchange="bbfontstyle('[note=' + this.options[this.selectedIndex].value + '', '[/note]');this.selectedIndex = 0;" title="{L_BBCODE_NOTE_HELP}" style="height: 21px;">
<option value="#" selected="selected" style="display: none;">{L_NOTE_BBCODES}</option>
<option value="blue]{L_NOTE_BBCODE} " class="note-box blue">{L_NOTE_BLUE_EXPLAIN}</option>
<option value="yellow]{L_NOTE_BBCODE} " class="note-box yellow">{L_NOTE_YELLOW_EXPLAIN}</option>
<option value="green]{L_NOTE_BBCODE} " class="note-box green">{L_NOTE_GREEN_EXPLAIN}</option>
<option value="red]{L_NOTE_BBCODE} " class="note-box red">{L_NOTE_RED_EXPLAIN}</option>
</select>Replace with Replace the preceding lines with the following
Code: Select all
<!-- IF U_MCP || U_ACP -->
<select class="gensmall" name="note" onchange="bbfontstyle('[note=' + this.options[this.selectedIndex].value + '', '[/note]');this.selectedIndex = 0;" title="{L_BBCODE_NOTE_HELP}" style="height: 21px;">
<option value="#" selected="selected" style="display: none;">{L_NOTE_BBCODES}</option>
<option value="blue]{L_NOTE_BBCODE} " class="note-box blue">{L_NOTE_BLUE_EXPLAIN}</option>
<option value="yellow]{L_NOTE_BBCODE} " class="note-box yellow">{L_NOTE_YELLOW_EXPLAIN}</option>
<option value="green]{L_NOTE_BBCODE} " class="note-box green">{L_NOTE_GREEN_EXPLAIN}</option>
<option value="red]{L_NOTE_BBCODE} " class="note-box red">{L_NOTE_RED_EXPLAIN}</option>
</select>
<!-- ENDIF -->-
uruguayito
- Donator

- Posts: 120
- Joined: 02 Jul 2015, 19:40
Re: Note Extension
Thank you very much for all your hard work dmxz
-
Sprinklestar
- Users

- Posts: 32
- Joined: 27 Jan 2016, 08:03
Re: Note Extension
bump still waiting for answer
-
martin
- Admin

- Posts: 5105
- Joined: 06 Apr 2014, 16:12
Re: Note Extension
As i dont use that chat system your need to look into its files and see if it has any events i cant give you an answer to some thing i dont use

-
Sprinklestar
- Users

- Posts: 32
- Joined: 27 Jan 2016, 08:03
Re: Note Extension
that was your first reply so i suppose you are talking about an existing event, thats why i asked what event shall i look for or addmartin wrote: 11 Feb 2016, 22:22 If the chat has an event in the right place the note ext will work every where.
-
talonos
- Users

- Posts: 68
- Joined: 15 Nov 2015, 21:47
Re: Note Extension
is the note bbcode displayed in the chat menu with the other bbcodes ?Sprinklestar wrote: 22 Feb 2016, 21:25that was your first reply so i suppose you are talking about an existing event, thats why i asked what event shall i look for or addmartin wrote: 11 Feb 2016, 22:22 If the chat has an event in the right place the note ext will work every where.
Board3 mods/extensions available/created by Talonos @ http://pretereo-stormrage.co.uk
-
martin
- Admin

- Posts: 5105
- Joined: 06 Apr 2014, 16:12
Re: Note Extension
I done it using this event in mchat body <!-- EVENT dmzx_mchat_buttons_after.html --> im sure i uploaded my version.
this will install it to mchat
this will install it to mchat
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
Last edited by martin on 05 Mar 2016, 17:29, edited 1 time in total.
-
Sprinklestar
- Users

- Posts: 32
- Joined: 27 Jan 2016, 08:03
Re: Note Extension
It doesnt show but if i add it manual it works and parses the bbcode perfecttalonos wrote: 22 Feb 2016, 21:26is the note bbcode displayed in the chat menu with the other bbcodes ?Sprinklestar wrote: 22 Feb 2016, 21:25that was your first reply so i suppose you are talking about an existing event, thats why i asked what event shall i look for or addmartin wrote: 11 Feb 2016, 22:22 If the chat has an event in the right place the note ext will work every where.
I will look into this if i can get it working with the examplemartin wrote: 22 Feb 2016, 21:32 I done it using this event in mchat body <!-- EVENT dmzx_mchat_buttons_after.html --> im sure i uploaded my version.
this will install it to mchat
-
martin
- Admin

- Posts: 5105
- Joined: 06 Apr 2014, 16:12
Re: Note Extension
That was for a few mchat version back so the event may have changed by now 
Edit the event is still in mchat but as for the chat you use i dont have a clue if it has events or not hence why it does not work for you your not using mchat.
Edit the event is still in mchat but as for the chat you use i dont have a clue if it has events or not hence why it does not work for you your not using mchat.
-
Sprinklestar
- Users

- Posts: 32
- Joined: 27 Jan 2016, 08:03
Re: Note Extension
Still hoping for a solution
-
dmzx
- Founder

- Posts: 6466
- Joined: 13 Jan 2014, 21:45
Re: Note Extension
Use <!-- EVENT chat_bbcodebox_after --> for that.
-
uruguayito
- Donator

- Posts: 120
- Joined: 02 Jul 2015, 19:40
Re: Note Extension
I think have a conflict with your another ext: posting buttons.
See this:

After create a New Topic appears custom bbcodes and notes out of the box before quick reply
See this:

After create a New Topic appears custom bbcodes and notes out of the box before quick reply
