Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 More font colours
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

mortioli
Average Member

United Kingdom
898 Posts

Posted - 07 June 2003 :  04:39:18  Show Profile  Visit mortioli's Homepage  Send mortioli an AOL message  Send mortioli a Yahoo! Message
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  Show Profile
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.
Go to Top of Page

mortioli
Average Member

United Kingdom
898 Posts

Posted - 07 June 2003 :  16:20:45  Show Profile  Visit mortioli's Homepage  Send mortioli an AOL message  Send mortioli a Yahoo! Message
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);
		}       
	}
}


?
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 07 June 2003 :  16:28:21  Show Profile
inc_code_html.asp ? Must be part of a MOD or something.
Go to Top of Page

Nathan
Help Moderator

USA
7664 Posts

Posted - 07 June 2003 :  18:10:42  Show Profile  Visit Nathan's Homepage
support for hex colors would be bomb.

Nathan Bales
CoreBoard | Active Users Download
Go to Top of Page

mortioli
Average Member

United Kingdom
898 Posts

Posted - 08 June 2003 :  04:53:04  Show Profile  Visit mortioli's Homepage  Send mortioli an AOL message  Send mortioli a Yahoo! Message
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
Go to Top of Page

Dave.
Senior Member

USA
1037 Posts

Posted - 08 June 2003 :  12:37:04  Show Profile
This is an included feature in my Rich Text Editor MOD...
Go to Top of Page

mortioli
Average Member

United Kingdom
898 Posts

Posted - 10 June 2003 :  02:49:26  Show Profile  Visit mortioli's Homepage  Send mortioli an AOL message  Send mortioli a Yahoo! Message
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!?
Go to Top of Page

Dave.
Senior Member

USA
1037 Posts

Posted - 10 June 2003 :  12:07:00  Show Profile
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.
Go to Top of Page

mortioli
Average Member

United Kingdom
898 Posts

Posted - 10 June 2003 :  12:24:47  Show Profile  Visit mortioli's Homepage  Send mortioli an AOL message  Send mortioli a Yahoo! Message
Cool! Looking forward to it

Sorry I haven't replied yet Cheers mate
Go to Top of Page

mortioli
Average Member

United Kingdom
898 Posts

Posted - 12 July 2003 :  04:01:28  Show Profile  Visit mortioli's Homepage  Send mortioli an AOL message  Send mortioli a Yahoo! Message
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
Go to Top of Page

mortioli
Average Member

United Kingdom
898 Posts

Posted - 22 July 2003 :  13:11:07  Show Profile  Visit mortioli's Homepage  Send mortioli an AOL message  Send mortioli a Yahoo! Message
Please please please?
Go to Top of Page

Dave.
Senior Member

USA
1037 Posts

Posted - 22 July 2003 :  13:14:49  Show Profile
What changes did you make in inc_func_common.asp?
Go to Top of Page

mortioli
Average Member

United Kingdom
898 Posts

Posted - 22 July 2003 :  16:49:29  Show Profile  Visit mortioli's Homepage  Send mortioli an AOL message  Send mortioli a Yahoo! Message
In inc_func_commone.asp ...

fString = doCode(fString, "[]", "[/pinkier]", "<font color=""#FF0099"">", "</font id=""pinkier"">")


Go to Top of Page

Dave.
Senior Member

USA
1037 Posts

Posted - 22 July 2003 :  17:44:41  Show Profile
Use;

fString = doCode(fString, "[pinkier]", "[/pinkier]", "<font color=""#FF0099"">", "</font id=""pinkier"">")


Example:
[pinkier]Pinkier text here.[/pinkier]
Go to Top of Page

mortioli
Average Member

United Kingdom
898 Posts

Posted - 23 July 2003 :  02:34:00  Show Profile  Visit mortioli's Homepage  Send mortioli an AOL message  Send mortioli a Yahoo! Message
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 & _
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.31 seconds. Powered By: Snitz Forums 2000 Version 3.4.07