Author |
Topic  |
tduffy
Junior Member
 
146 Posts |
Posted - 20 February 2003 : 13:09:02
|
I've seen a yabbse forum that allows the users to use glowing text, it looks like this:
 is there a way to do this with snitz? |
|
Nikkol
Forum Moderator
    
USA
6907 Posts |
|
tduffy
Junior Member
 
146 Posts |
Posted - 20 February 2003 : 14:15:43
|
they have it built into their forums, it just uses their forum code. |
 |
|
Nikkol
Forum Moderator
    
USA
6907 Posts |
|
Anacrusis
Junior Member
 
USA
219 Posts |
Posted - 20 February 2003 : 14:44:37
|
It's done with style filters, here are a bunch of examples.
Glowing Text <span style="width: 357; height: 50; font-size: 24px; font-family: Arial Black; color: blue; Filter: Glow(Color=#00FF00, Strength=20)">Glowing Text</span>
Motion Blur <span style="width: 357; height: 50; font-size: 24px; font-family: Arial Black; color: red; Filter: Shadow(Color=#0000FF, Direction=225)">Motion Blur</span>
Wave <span style="width: 357; height: 50; font-size: 24px; font-family: Arial Black; color: orange; Filter: Wave(Add=0, Freq=2, LightStrength=20, Phase=10, Strength=10)">Warped</span>
Flipped - Horizontal <span style="width: 300; height: 50; font-size: 24px; font-family: Arial Black; color: purple; Filter: FlipH">Flipped</span>
Flipped - Vertical <span style="width: 300; height: 50; font-size: 24px; font-family: Arial Black; color: purple; Filter: FlipV">Flipped</span>
Dropshadow <span style="width: 357; height: 50; font-size: 24px; font-family: Arial Black; color: blue; Filter: DropShadow(Color=#FF0000, OffX=2, OffY=2, Positive=1)">Dropshadow</span>
Blur <span style="width: 357; height: 50; font-size: 24px; font-family: Arial Black; color: yellow; Filter: Blur(Add = 1, Direction = 225, Strength = 10)">Shadow</span>
Opacity (alpha) <span style="width: 357; height: 50; font-size: 24px; font-family: Arial Black; color: green; Filter: Alpha(Opacity=100, FinishOpacity=0, Style=1, StartX=0, StartY=0, FinishX=580, FinishY=0)">Opacity</span> |
The Internet ClubHouse www.internet-clubhouse.com
|
 |
|
PeeWee.Inc
Senior Member
   
United Kingdom
1893 Posts |
Posted - 20 February 2003 : 14:49:34
|
quote: Originally posted by Anacrusis
It's done with style filters, here are a bunch of examples.
Glowing Text <span style="width: 357; height: 50; font-size: 24px; font-family: Arial Black; color: blue; Filter: Glow(Color=#00FF00, Strength=20)">Glowing Text</span>
Motion Blur <span style="width: 357; height: 50; font-size: 24px; font-family: Arial Black; color: red; Filter: Shadow(Color=#0000FF, Direction=225)">Motion Blur</span>
Wave <span style="width: 357; height: 50; font-size: 24px; font-family: Arial Black; color: orange; Filter: Wave(Add=0, Freq=2, LightStrength=20, Phase=10, Strength=10)">Warped</span>
Flipped - Horizontal <span style="width: 300; height: 50; font-size: 24px; font-family: Arial Black; color: purple; Filter: FlipH">Flipped</span>
Flipped - Vertical <span style="width: 300; height: 50; font-size: 24px; font-family: Arial Black; color: purple; Filter: FlipV">Flipped</span>
Dropshadow <span style="width: 357; height: 50; font-size: 24px; font-family: Arial Black; color: blue; Filter: DropShadow(Color=#FF0000, OffX=2, OffY=2, Positive=1)">Dropshadow</span>
Blur <span style="width: 357; height: 50; font-size: 24px; font-family: Arial Black; color: yellow; Filter: Blur(Add = 1, Direction = 225, Strength = 10)">Shadow</span>
Opacity (alpha) <span style="width: 357; height: 50; font-size: 24px; font-family: Arial Black; color: green; Filter: Alpha(Opacity=100, FinishOpacity=0, Style=1, StartX=0, StartY=0, FinishX=580, FinishY=0)">Opacity</span>
any idea where this code would need to be added?  |
De Priofundus Calmo Ad Te Damine |
 |
|
Hamlin
Advanced Member
    
United Kingdom
2386 Posts |
Posted - 20 February 2003 : 14:56:15
|
Probably in inc_func_common and inc_func_posting, if you look at the chkString/CleanCode functions they have section's that deal with forum code, you would have to add your own new forum code tags there. |
 |
|
Anacrusis
Junior Member
 
USA
219 Posts |
Posted - 20 February 2003 : 15:17:30
|
in inc_func_common.asp I added this to the extratags() function
fString = doCode(fString, "[wave]", "[/wave]", "<span style=""width: 100%; font-size: 16px; font-family: Arial Black; color: orange; Filter: Wave(Add=0, Freq=2, LightStrength=10, Phase=5, Strength=3)"">", "</span id='wave'>")
|
The Internet ClubHouse www.internet-clubhouse.com
|
Edited by - Anacrusis on 20 February 2003 15:18:58 |
 |
|
tduffy
Junior Member
 
146 Posts |
Posted - 20 February 2003 : 15:39:19
|
anyone know how to add all those style filters, then maybe have a dropdown menu in post.asp where users could use them? |
 |
|
dayve
Forum Moderator
    
USA
5820 Posts |
Posted - 20 February 2003 : 16:43:46
|
I have these at my forum as well. I have included glow, shadow, reverse, and some others as well like marquee, flash, sound, etc. I believe I posted the code for this awhile back (maybe search archives). |
|
Edited by - dayve on 20 February 2003 16:44:24 |
 |
|
TestMagic
Senior Member
   
USA
1568 Posts |
Posted - 20 February 2003 : 17:31:41
|
I just added this code to inc_func_common.asp:
function extratags(fString)
fString = doCode(fString, "", "", "<font color=""" & CColor & """>", "</font id=""" & CColor & """>")
fString = doCode(fString, "[glow]", "[/glow]", "<span style=""width: 100%; Filter: Glow(Color=red, Strength=4)"">", "</span id='glow'>")
fString = doCode(fString, "[wave]", "[/wave]", "<span style=""width: 100%; color: orange; Filter: Wave(Add=0, Freq=2, LightStrength=10, Phase=5, Strength=3)"">", "</span id='wave'>")
extratags = fString
end function
But the filter is causing the following text to break to the next line.
I've been fiddling with the width with little success.
Let me search for dayve's post... |
Snitz rocks! · Search 2 |
 |
|
tduffy
Junior Member
 
146 Posts |
Posted - 20 February 2003 : 18:02:05
|
that would be awesome if we could find the old post |
 |
|
TestMagic
Senior Member
   
USA
1568 Posts |
Posted - 20 February 2003 : 18:18:19
|
I tried searching, but the search function times out when I search the archives.
Let me see how Google does! |
Snitz rocks! · Search 2 |
 |
|
TestMagic
Senior Member
   
USA
1568 Posts |
Posted - 20 February 2003 : 18:39:33
|
Google didn't show anything here at Snitz, but I found other info that said that the "width:xx" attribute is necessary.
Anybody know how to change it so the line doesn't break?
I've tried:
width: 100%
width: 10%
width: 2px
width: inherit
width:
but none of them are giving me a normal line of straight text. |
Snitz rocks! · Search 2 |
 |
|
TestMagic
Senior Member
   
USA
1568 Posts |
|
tduffy
Junior Member
 
146 Posts |
Posted - 21 February 2003 : 16:01:50
|
anyone willing to build a new mod using these filters? one where we could have all the functions available to use via a drop down menu in post.asp, or something like that? |
 |
|
Topic  |
|