vForums Support Banner



 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Code Requests & Support :: [F] Allow Flash In Siggy - View Topic
Topic Rating: *****
Printable View
This topic was locked 28th Apr 08 at 9:11pm by Michael
MiNiCliP™
New Member
*

[Avatar]
And Im Back.....

Posts: 9
Status: Offline
Gender: Male
Joined:  
Reputation: 0%  


pm
[F] Allow Flash In Siggy (23rd Apr 08 at 12:32pm UTC)
Allows hosted swf files in siggy
I was wondering of someone can make this code that allows hosted .swf files or flash in signatures

[flash width= height=]some .swf url[/flash]

this kind of ubbc tags in siggys

thanks
and would be appreciated {Smile}

Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Allow Flash In Siggy (23rd Apr 08 at 4:12pm UTC)
vF has [flash] tags already, that allow Youtube videos. Could you check if that works in sigs please? Then let me know, and I'll work from that! {Smile}
Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 32
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
Re: Allow Flash In Siggy (23rd Apr 08 at 9:17pm UTC)
It does work in sigs; remember the "Get Firefox" video I had before? {Wink}

Miniclip, the [flash] tag is already built-in for sigs. {Smile}

rroll.to— Shorten a link, rickroll your friends.
MiNiCliP™
New Member
*

[Avatar]
And Im Back.....

Posts: 9
Status: Offline
Gender: Male
Joined:  
Reputation: 0%  


pm
Re: Allow Flash In Siggy (25th Apr 08 at 2:35pm UTC)
No.. I Mean Allow .SWF Hosted Files On The Signature

im sure you guys get it , dont forget i meant not youtube videos

heres a sample .SWF URL:
http://media4.a123.com/games/files/starwarsroguesquadron550x400.swf

and i know Wrighty You Know Chris From Studio Zero Right?

It's Similar To His Code: [Don't link to other forums]
but im only requiring this on the siggy not on the post which this code does both for siggys and posts

Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Allow Flash In Siggy (25th Apr 08 at 2:38pm UTC)
Perhaps if I get bored this evening. Don't think I have much else to do. I need to clear all of these requests so that I can start on my tutoring.
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Allow Flash In Siggy (25th Apr 08 at 5:25pm UTC)
Alter the height & width. This is the size that the SWF files will display as.

<script>
/*Flash Tag .swf fix
Created By Wrighty
Do Not: Rip, Repost or Claim!*/

var width = '550px';
var height = '400px';

var f = get('font','tag');
for(a=0;a<f.length;a++){
    if(f[a].innerHTML.match(/\[flash\](.+?)\[\/flash\]/) && location.href.match(/view_topic/)){
        var link = (f[a].innerHTML.match(/\[flash\](.+?)http:\/\/(.+?).swf(.+?)\[\/flash\]/))? RegExp.$2 : '';
        var new_link = 'http://' + link + '.swf';
        var n = '<object width="'+width+'" height="'+height+'"><param name="movie" value="'+new_link+'"><embed src="'+new_link+'" width="'+width+'" height="'+height+'"></embed></object>';
        var x = new RegExp('[(.*)]');
f[a].innerHTML = f[a].innerHTML.replace(x,n);
    }
}
</script>


Global footer

Any problems, reply! {Smile}
MiNiCliP™
New Member
*

[Avatar]
And Im Back.....

Posts: 9
Status: Offline
Gender: Male
Joined:  
Reputation: 0%  


pm
Re: Allow Flash In Siggy (27th Apr 08 at 6:14am UTC)
Yeah it doesn't work.......
i tried this: http://media4.a123.com/games/files/starwarsroguesquadron550x400.swf
But It Only Shows the link why?

Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Allow Flash In Siggy (27th Apr 08 at 9:53am UTC)
it won't work on support. Could you link me to where you're trying it?
MiNiCliP™
New Member
*

[Avatar]
And Im Back.....

Posts: 9
Status: Offline
Gender: Male
Joined:  
Reputation: 0%  


pm
Re: Allow Flash In Siggy (27th Apr 08 at 2:41pm UTC)
yep i know it doesn't work here i just put the expample of what i typed on my test forum here: neonmagick.vforums.com

http://youtube.com/watch?v=aKWVCv8uWDI
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Allow Flash In Siggy (27th Apr 08 at 2:48pm UTC)
You need to enable flash in the forum settings in Image {Smile}
MiNiCliP™
New Member
*

[Avatar]
And Im Back.....

Posts: 9
Status: Offline
Gender: Male
Joined:  
Reputation: 0%  


pm
Re: Allow Flash In Siggy (28th Apr 08 at 2:08pm UTC)
oh okay

http://youtube.com/watch?v=aKWVCv8uWDI
 Printable View

All times are GMT+0 :: The current time is 3:55am
Page generated in 1.1446 seconds
This Forum is Powered By vForums (v2.4)
Create a Forum for Free | Find Forums