|
|
Joined: Dec 2001
Posts: 11
Junior Member
|
Junior Member
Joined: Dec 2001
Posts: 11 |
Right now the font is much too small to read. I would like to make it larger, Courier, and a different color perhaps?
I could play with it if i knew which place to look. Is it a template .pl or a .cgi?
(i have UBB 6.0)
|
|
|
|
Joined: Dec 2001
Posts: 11
Junior Member
|
Junior Member
Joined: Dec 2001
Posts: 11 |
nvm...i figured it out ubb_lib.cgi and i spose ubb_lib_posting.cgi too since that has the same line although i dont know when that is used. I got my font tags in and it works great. One thing tho... for Font Face, i wanted face=Courier New, Courier but that comma isnt allowed...how do i do that?
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
hmmm.. you can set a css style for pre
PRE { font-family: Courier New, courier; }
|
|
|
|
Joined: Dec 2001
Posts: 11
Junior Member
|
Junior Member
Joined: Dec 2001
Posts: 11 |
that would change quotes then too tho wouldnt it?
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
no, just the code tags... if you need to change the quotes you'd add a css style for blockquote
|
|
|
|
Joined: Dec 2001
Posts: 11
Junior Member
|
Junior Member
Joined: Dec 2001
Posts: 11 |
oooo, cool soon i hope to have a sub written that will color code it for vbasic's keyword. Ive been tryin to get it for a looooong time but since nobody feels theres a need for it i guess, i'm going to have to learn perl and make it myself haha. got the php version of the function, just have to convert it. time to see how dumb/smart i am...
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
What does that do? How would it be useful?
|
|
|
|
Joined: Dec 2001
Posts: 11
Junior Member
|
Junior Member
Joined: Dec 2001
Posts: 11 |
it would allow people with programming oriented forums to post their code in an easy to read format. Coloring comments a different color as well as keywords or quoted text. It has been done on many forums for VisualBasic & PHP, could even be done for Perl. Wouldnt really be too hard to adapt to a language once the initial function is made.
|
|
|
|
Joined: Dec 2001
Posts: 699
Member
|
Member
Joined: Dec 2001
Posts: 699 |
It'd be very confusing if you were to have highlighting for any function... it would chuck in no ends of problem if someone just wants a bit of formatted text - may I suggest adding a new function... [perl] [vbscript] or even [code language=whatever].
|
|
|
|
Joined: Dec 2001
Posts: 11
Junior Member
|
Junior Member
Joined: Dec 2001
Posts: 11 |
yeah...thats what i'm really after.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 254
Joined: January 2000
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|