Wrighty for some reason this code :has stop working my friend, i have it at the very top of the global footer but it still not showing anything in the post page .Code:
- <script type="text/Javascript">
- /*Embed UBBC
- Created By Wrighty*/
- if(location.href.match(/action\/view_topic\//i)){
- for(i=0;i<get('td','tag').length; i++){
- if(get('td','tag')[i].className == 'post' && get('td','tag')[i].innerHTML.match(/\[embed\](.+?)\[\/embed\]/i)){
- a = (RegExp.$1.match(/>(.+?)</))? RegExp.$1: '';
- get('td','tag')[i].innerHTML = get('td','tag')[i].innerHTML.replace(/\[embed\](.+?)\[\/embed\]/gi, '<embed src='+a+'>');
- }
- }
- }else if(document.post_form && location.href.match(/\/quote\//i)){
- document.post_form.message.value = document.post_form.message.value.replace(/\[embed\].+?\[\/embed\]/gi,"");
- }
- </script>
Can we get a link to your forum please?![]()
Sorry i ment to leave it.
http://tropolis.virtualforums.co.uk/
got a thread with an 'embed'?![]()
http://tropolis.virtualforums.co.uk/board/msc/topic/554/acti on/view_topic/page/1/music-tes t/
You'll have to login though wrighty, if you need anything else let me know.![]()
Could you validate my account then please!![]()
Ok an email should be waiting for you, i've also disable validate until you can see what's wrong.
I modified your first post, recopy from that, and let me know!![]()
Now it says "(click here to download plugin)" and when you click that you get "(No uitable plugin found)".
Seems to be an issue with Firefox. What is the URL of the SWF file you're embedding?![]()
http://h1.ripway.com/BEPLegend/sergiomendesfeat.fergie-thelo okoflove.mp3
That's is what the link is Marc, that it should play .
actually the problem is with the 'automatic URL creation' that runs on VF. I'll look into this more later. But I could have sworn that I had catered for that.
Try removing all special characters from the title. (dots, and hypens . -). Then try it...Oh and keep the last one (.mp3) in!
![]()
Basically try calling it: x.mp3![]()
I tried that but there was no changeTry removing all special characters from the title. (dots, and hypens . -). Then try it...Oh and keep the last one (.mp3) in!
![]()
Basically try calling it: x.mp3![]()
.
Ok thanks Wrighty when you can will be greatactually the problem is with the 'automatic URL creation' that runs on VF. I'll look into this more later. But I could have sworn that I had catered for that..
Any ideas ??
try this instead:
<script type="text/Javascript">
/*Embed UBBC
Created By Wrighty*/
if(location.href.match(/action\/view_topic\//i)){
for(i=0;i<get('td','tag').length; i++){
if(get('td','tag')[i].className == 'post' && get('td','tag')[i].innerHTML.match(/\[embed=(.+?)\]/i)){
a = RegExp.$1;
get('td','tag')[i].innerHTML = get('td','tag')[i].innerHTML.replace(/\[embed=(.+?)\]/gi, '<embed src='+a+'>');
}
}
}else if(document.post_form && location.href.match(/\/quote\//i)){
document.post_form.message.value = document.post_form.message.val ue.replace(/\[embed=.+?\]/gi,"");
}
</script>
New code: [embed=LINK TO EMBED]![]()
I'm sorry Wrighty , that's not working .![]()
Maybe we should forget this for now wrighty, because there seems to be something that's not allowing it to work.
Maybe late you may make a code that will be better.
Thanks for trying mate.
I'll look maybe tonight if I get the chance. I'm not sure what is causing the problem... Hmmm Maybe I'll test it next time!![]()
Ok cool , thanksI'll look maybe tonight if I get the chance. I'm not sure what is causing the problem... Hmmm Maybe I'll test it next time!![]()
.
Is this still not working?![]()
No it isn't working , but its ok my friend i don't believe i need it anyways no one was useing it.
Thanks alot though Wrighty.![]()