Author |
Topic |
mortioli
Average Member
United Kingdom
898 Posts |
Posted - 07 June 2003 : 04:39:18
|
Hi,
Someone in my forums would like more font colours, so I'm trying to work out where I need to add them...
Would it be in these files;
inc_func_common.asp inc_func_posting.asp (2 places)
and then could be in ;
pop_forum_code.asp
Is there anywhere else where they need to added?
Thanks |
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 07 June 2003 : 04:56:05
|
inc_post_buttons.asp faq.asp
in inc_func_posting.asp, you only need to add them to 1 of the sections. The sections that are labeled:
'## left for compatibility with older versions of the forum . . . '##
don't need to be changed. |
|
|
mortioli
Average Member
United Kingdom
898 Posts |
Posted - 07 June 2003 : 16:20:45
|
How about inc_code_html.asp
function red() {
if (helpstat) {
alert("Red Tag Makes the enlosed text Red.\n\nUSE: <font color=red>This is some red text</font>");
} else if (basic) {
AddTxt="color=red ";
AddText(AddTxt, "<font color=red>", "</font>");
} else {
txt=prompt("Text to be made RED.","Text");
if (txt!=null) {
AddTxt="<font color=red>"+txt+"</font>";
AddText(AddTxt);
}
}
}
? |
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 07 June 2003 : 16:28:21
|
inc_code_html.asp ? Must be part of a MOD or something. |
|
|
Nathan
Help Moderator
USA
7664 Posts |
|
mortioli
Average Member
United Kingdom
898 Posts |
Posted - 08 June 2003 : 04:53:04
|
quote: Originally posted by RichardKinser
inc_code_html.asp ? Must be part of a MOD or something.
lol. ok.
I thought it was for when you switch 'prompt/help' on, and it tells you how to use it etc!?
Do you know if there's a MOD available which will allow loads of text colours? Something like an icon (like in 'font/table config') which you click to bring up a pop-up to select your colour etc!?
Cheers |
|
|
Dave.
Senior Member
USA
1037 Posts |
Posted - 08 June 2003 : 12:37:04
|
This is an included feature in my Rich Text Editor MOD... |
|
|
mortioli
Average Member
United Kingdom
898 Posts |
Posted - 10 June 2003 : 02:49:26
|
Was there some issues with security when using the RTE MOD ?
I'll be interested in giving it a go, but I suppose it takes longer to load etc!? |
|
|
Dave.
Senior Member
USA
1037 Posts |
Posted - 10 June 2003 : 12:07:00
|
Hi Oli,
I'm not talking about Nathan's 3.3 RTE MOD that was unsafe to use (As it needs HTML).
I'm talking about my soon to be SAFE RTE MOD for 3.4.03.
Also in regards to the H/F MOD, I returned your E-Mail, but got no reply ... It;s working correctly now :) :)
I'd strongly advise against the 3.3 RTE MOD. |
|
|
mortioli
Average Member
United Kingdom
898 Posts |
Posted - 10 June 2003 : 12:24:47
|
Cool! Looking forward to it
Sorry I haven't replied yet Cheers mate |
|
|
mortioli
Average Member
United Kingdom
898 Posts |
Posted - 12 July 2003 : 04:01:28
|
I added a new font colour, but something I've noticed is when people make a quote of the person who has used that colour...
It ends up like this...
quote:
<font color="#FF0099">example example example example example example</font id="pinkier">
Any ideas? Please? |
Edited by - mortioli on 16 July 2003 02:48:53 |
|
|
mortioli
Average Member
United Kingdom
898 Posts |
Posted - 22 July 2003 : 13:11:07
|
Please please please? |
|
|
Dave.
Senior Member
USA
1037 Posts |
Posted - 22 July 2003 : 13:14:49
|
What changes did you make in inc_func_common.asp? |
|
|
mortioli
Average Member
United Kingdom
898 Posts |
Posted - 22 July 2003 : 16:49:29
|
In inc_func_commone.asp ...
fString = doCode(fString, "[]", "[/pinkier]", "<font color=""#FF0099"">", "</font id=""pinkier"">")
|
|
|
Dave.
Senior Member
USA
1037 Posts |
Posted - 22 July 2003 : 17:44:41
|
Use;
fString = doCode(fString, "[pinkier]", "[/pinkier]", "<font color=""#FF0099"">", "</font id=""pinkier"">")
Example: [pinkier]Pinkier text here.[/pinkier] |
|
|
mortioli
Average Member
United Kingdom
898 Posts |
Posted - 23 July 2003 : 02:34:00
|
Sorry, yeah that's the one I use so I have no idea how I ended up pasting that bit
I've also put these in inc_func_posting.asp ...
fString = replace(fString, "<font color=#FF0099>", "[pinkier]", 1, -1, 1)
fString = replace(fString, "</font id=pinkier>", "[/pinkier]", 1, -1, 1)
...and in inc_post_buttons.asp ...
" <option style=""color:#FF0099"" value=""pinkier"">Pinkier</option>" & vbNewLine & _ |
|
|
Topic |
|