TinyPortal

Development => Feedback => Topic started by: Xarcell on March 24, 2006, 02:50:13 AM

Title: Can I Use Flash Smilies?
Post by: Xarcell on March 24, 2006, 02:50:13 AM
I didn't know where to ask this, since it's not really theme related, more coding related. I also asked over at SMF, but I doubt I'll get a reply. Anyways...

I made a few flash animated smilies. Is there an way to display these smilies for SMF? I'd rather use flash smilies than gif ones. What coding is nesscessary to achieve this?

Can someone point me in the right direction?

-Xarcell
Title: Re: Can I Use Flash Smilies?
Post by: erikman on March 24, 2006, 06:29:22 AM
If you first try add them to ?action=smileys;sa=editsmileys
Title: Re: Can I Use Flash Smilies?
Post by: G6Cad on March 24, 2006, 07:18:22 AM
QuoteIf you first try add them to ?action=smileys;sa=editsmileys

Not quite right, he dont use the file extensions .gif so it wont work add like normally.




Title: Re: Can I Use Flash Smilies?
Post by: ontap on March 24, 2006, 07:22:54 AM

id be guessing this...

change the file extension of the smiles from .gif to .swf?

move the flash icons to your icon directory?
Title: Re: Can I Use Flash Smilies?
Post by: eldacar on March 24, 2006, 11:02:26 AM
Flash aren't images though...

The simple answer is no.
The complex answer is you could if you haxxed smf a whole lot.
Title: Re: Can I Use Flash Smilies?
Post by: Xarcell on March 25, 2006, 02:34:59 AM
Quote from: eldacar on March 24, 2006, 11:02:26 AM
Flash aren't images though...

The simple answer is no.
The complex answer is you could if you haxxed smf a whole lot.

I figured, I just need to be pointed in the right direction so I can start hacking.

:)
Title: Re: Can I Use Flash Smilies?
Post by: eldacar on March 25, 2006, 05:18:00 AM
I'm sure you asked somewhere about flash avatars too.. which would be too big a risk

Smilies should be fine.
What you'll want to do is change the smilie parsing function (in Subs.php) to detect if it is a flash smilie. If it is, instead of making img html code, make flash html code.