vForums Support Banner


Visit Base Classics - Gaming Chairs

 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Code Requests & Support :: [F] Support Wrighty Please - View Topic (Page 1 of 2)Page: 1 2
Topic Rating: *****
Printable View
This topic was locked 18th Jun 08 at 8:38pm by Michael
CåñåÐå™
Full Member
***

[Avatar]

Posts: 427
Status: Offline
Gender: Male
Location: Toronto Ontario
Joined:  
Reputation: 7%  


pmwww
[F] Support Wrighty Please (26th May 08 at 4:03am UTC)
Wrighty for some reason this code :
Code:
 
  1. <script type="text/Javascript">
  2. /*Embed UBBC
  3. Created By Wrighty*/
  4.  
  5. if(location.href.match(/action\/view_topic\//i)){
  6.     for(i=0;i<get('td','tag').length; i++){
  7.         if(get('td','tag')[i].className == 'post' && get('td','tag')[i].innerHTML.match(/\[embed\](.+?)\[\/embed\]/i)){
  8.         a = (RegExp.$1.match(/>(.+?)</))? RegExp.$1: '';
  9.         get('td','tag')[i].innerHTML = get('td','tag')[i].innerHTML.replace(/\[embed\](.+?)\[\/embed\]/gi, '<embed src='+a+'>');
  10.         }
  11.     }
  12. }else if(document.post_form && location.href.match(/\/quote\//i)){
  13.     document.post_form.message.value = document.post_form.message.value.replace(/\[embed\].+?\[\/embed\]/gi,"");
  14. }
  15. </script>
 
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 .

Image
click here We have 15 Different Skins/Templates for your vForum
Marc
vChat Developer
*****
I <3 Rossy

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

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
Re: Support Wrighty Please (26th May 08 at 11:05am UTC)
Can we get a link to your forum please? {Smile}

rroll.to— Shorten a link, rickroll your friends.
CåñåÐå™
Full Member
***

[Avatar]

Posts: 427
Status: Offline
Gender: Male
Location: Toronto Ontario
Joined:  
Reputation: 7%  


pmwww
Re: Support Wrighty Please (26th May 08 at 2:03pm UTC)
Sorry i ment to leave it {Smile} .
http://tropolis.virtualforums.co.uk/

Image
click here We have 15 Different Skins/Templates for your vForum
Michael
Moderator
*****

[Avatar]
Recoding the future

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

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Support Wrighty Please (26th May 08 at 2:12pm UTC)
got a thread with an 'embed'? {Smile}
CåñåÐå™
Full Member
***

[Avatar]

Posts: 427
Status: Offline
Gender: Male
Location: Toronto Ontario
Joined:  
Reputation: 7%  


pmwww
Re: Support Wrighty Please (26th May 08 at 2:44pm UTC)
http://tropolis.virtualforums.co.uk/board/msc/topic/554/action/view_topic/page/1/music-test/
You'll have to login though wrighty, if you need anything else let me know. {Grin}

Image
click here We have 15 Different Skins/Templates for your vForum
Michael
Moderator
*****

[Avatar]
Recoding the future

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

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Support Wrighty Please (26th May 08 at 4:07pm UTC)
Could you validate my account then please! {Smile}
CåñåÐå™
Full Member
***

[Avatar]

Posts: 427
Status: Offline
Gender: Male
Location: Toronto Ontario
Joined:  
Reputation: 7%  


pmwww
Re: Support Wrighty Please (26th May 08 at 6:05pm UTC)
Ok an email should be waiting for you, i've also disable validate until you can see what's wrong.

Image
click here We have 15 Different Skins/Templates for your vForum
Michael
Moderator
*****

[Avatar]
Recoding the future

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

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Support Wrighty Please (26th May 08 at 7:18pm UTC)
I modified your first post, recopy from that, and let me know! {Smile}
CåñåÐå™
Full Member
***

[Avatar]

Posts: 427
Status: Offline
Gender: Male
Location: Toronto Ontario
Joined:  
Reputation: 7%  


pmwww
Re: Support Wrighty Please (26th May 08 at 8:16pm UTC)
Now it says "(click here to download plugin)" and when you click that you get "(No uitable plugin found)".

Image
click here We have 15 Different Skins/Templates for your vForum
Marc
vChat Developer
*****
I <3 Rossy

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

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
Re: Support Wrighty Please (27th May 08 at 1:31am UTC)
Seems to be an issue with Firefox. What is the URL of the SWF file you're embedding? {Smile}

rroll.to— Shorten a link, rickroll your friends.
CåñåÐå™
Full Member
***

[Avatar]

Posts: 427
Status: Offline
Gender: Male
Location: Toronto Ontario
Joined:  
Reputation: 7%  


pmwww
Re: Support Wrighty Please (27th May 08 at 3:20am UTC)
http://h1.ripway.com/BEPLegend/sergiomendesfeat.fergie-thelookoflove.mp3

That's is what the link is Marc, that it should play .

Image
click here We have 15 Different Skins/Templates for your vForum
Michael
Moderator
*****

[Avatar]
Recoding the future

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

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Support Wrighty Please (27th May 08 at 8:36am UTC)
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... {Smile} Oh and keep the last one (.mp3) in! {Tongue Out}

Basically try calling it: x.mp3 {Smile}
CåñåÐå™
Full Member
***

[Avatar]

Posts: 427
Status: Offline
Gender: Male
Location: Toronto Ontario
Joined:  
Reputation: 7%  


pmwww
Re: Support Wrighty Please (27th May 08 at 1:09pm UTC)
 
Try removing all special characters from the title. (dots, and hypens . -). Then try it... {Smile} Oh and keep the last one (.mp3) in! {Tongue Out}

Basically try calling it: x.mp3 {Smile}
I tried that but there was no change {Sad} .

 
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.
Ok thanks Wrighty when you can will be great {Smile} .

Image
click here We have 15 Different Skins/Templates for your vForum
CåñåÐå™
Full Member
***

[Avatar]

Posts: 427
Status: Offline
Gender: Male
Location: Toronto Ontario
Joined:  
Reputation: 7%  


pmwww
Re: Support Wrighty Please (28th May 08 at 4:52pm UTC)
Any ideas ??

Image
click here We have 15 Different Skins/Templates for your vForum
Michael
Moderator
*****

[Avatar]
Recoding the future

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

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Support Wrighty Please (28th May 08 at 5:52pm UTC)
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.value.replace(/\[embed=.+?\]/gi,"");
}
</script>


New code: [embed=LINK TO EMBED] {Smile}
 Printable View
Page: 1 2

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