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

- Posts: 120
- Joined: 11 years ago
Re: Note Extension
bumpdmzx wrote: 10 years agoWill take a look at it.uruguayito wrote: 10 years ago 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 Online
- Founder

- Posts: 6549
- Joined: 12 years ago
Re: Note Extension
uruguayito wrote: 10 years agobumpdmzx wrote: 10 years agoWill take a look at it.uruguayito wrote: 10 years ago 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: 11 years ago
Re: Note Extension
Thank you very much for all your hard work dmxz
-
martin
- Admin

- Posts: 5139
- Joined: 12 years ago
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: 10 years ago
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: 10 years ago If the chat has an event in the right place the note ext will work every where.
-
talonos
- Users

- Posts: 68
- Joined: 10 years ago
Re: Note Extension
is the note bbcode displayed in the chat menu with the other bbcodes ?Sprinklestar wrote: 10 years agothat 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: 10 years ago 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: 5139
- Joined: 12 years ago
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 10 years ago, edited 1 time in total.
-
Sprinklestar
- Users

- Posts: 32
- Joined: 10 years ago
Re: Note Extension
It doesnt show but if i add it manual it works and parses the bbcode perfecttalonos wrote: 10 years agois the note bbcode displayed in the chat menu with the other bbcodes ?Sprinklestar wrote: 10 years agothat 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: 10 years ago 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: 10 years ago 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: 5139
- Joined: 12 years ago
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.
-
dmzx Online
- Founder

- Posts: 6549
- Joined: 12 years ago
Re: Note Extension
Use <!-- EVENT chat_bbcodebox_after --> for that.
-
uruguayito
- Donator

- Posts: 120
- Joined: 11 years ago
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
