Make Hotfile, Fileserve, 10+ Filehost's Links Clickable

Status
Not open for further replies.
Where it says location of file, I replaced with:

Code:
http://www.mysite.com/

and tried too:

http://www.mysite.com/links.js

None worked.

I placed the links.js in root of site.
 
It's not working in any browser but it shows only in chrome private browser, have any idea why is this? :(

i59lf2.png
 
Where it says location of file, I replaced with:

Code:
http://www.mysite.com/

and tried too:

http://www.mysite.com/links.js
None worked.

I placed the links.js in root of site.
Contact me on MSN I will fix it for ya via Team Viewer.
It's not working in any browser but it shows only in chrome private browser, have any idea why is this? :(

i59lf2.png
You probably have some extension installed.
 
I tried to add filepost, I did the following:
PHP:
    re_link96 = new RegExp('(https?://(?:[A-Z0-9]\.)*(?:filepost.com)[-()A-Z0-9+&@#/%?=~_|!:,.;]*[A-Z0-9+&@#/%=~_|])', "ig");
    re_link97 = new RegExp('https?://(?:[A-Z0-9]\.)*(?:filepost.com)[-()A-Z0-9+&@#/%?=~_|!:,.;]*[A-Z0-9+&@#/%=~_|]', "i");

then added this 

        else if(re_link97.test(text)){
                newNode=document.createElement('span');
                text=jQuery('<div/>').text(text).html();
                newNode.innerHTML=text.replace(re_link94, '<a href="$1" target="_blank">$1</a>');
                node.parentNode.replaceChild(newNode, node);
        }

And it doesn't work, what did I wrong? :P
 
If you want links to show like this on your forum add this code in your header, I keep it updated with new hosts.
This works on my phpbb site, if it doesnt work on your site dont PM me :sun:

You need jquery loaded, shown in 1st post.

Code
PHP:
 <script type="text/javascript" src="http://waz-warez.org/styles/waz-warez-light/template/livelinks.js"></script>


IMDB
02LcKL.png



FileHost
5bi1gR.png
 
Last edited:
I spent ages adding images and styles so might aswell share it, like the orignal was.

I just need to learn js to reduce the bloated code now :D
 
Can any one share a updated script with top file hosts like FSO, FS, FJ, FP, MU, RS, MF etc..
If has icons then it'll b great!
 
Status
Not open for further replies.
Back
Top