Results 11 to 20 of 41
-
28th Jul 2010, 09:33 AM #11MemberWebsite's:
MightyHosts.com
@deAthbLisS
hey bro same question 2 u as rapid4all asked
Where should i add this code?
in vbulletin
plz plz tell me
-
28th Jul 2010, 06:08 PM #12MemberWebsite's:
wscripts.net damnlolscript.com lulzjet.comfinally i found something
thanks to pornbb
-go to Style Manager
-add to footer
Code:<script type="text/javascript"> // <![CDATA[ var j; var i = document.getElementsByClassName('hostlinksblock'); for(j=0;j<=i.length;j=j+1) { var linksblock = i[j]; linksblock.innerHTML = linksblock.innerHTML.replace(/http:\/\/(www\.)?hotfile\.com\/dl\/([\d]+)\/([\w]+)\/([\w\.\-_\(\)]+)/gi, "<a href='http://$1hotfile.com/dl/$2/$3/$4' target='_blank'>http://$1hotfile.com/dl/$2/$3/$4</a>"); linksblock.innerHTML = linksblock.innerHTML.replace(/http:\/\/(www\.)?sharingmatrix\.com\/file\/([\d]+)\/([\w\.\-_\(\)]+)/gi, "<a href='http://$1sharingmatrix.com/file/$2/$3' target='_blank'>http://$1sharingmatrix.com/file/$2/$3</a>"); } // ]]> </script>
Code:$code with <div class="hostlinksblock">$code</div>
-
28th Jul 2010, 06:10 PM #13OPBannedWebsite's:
google.com knownsrv.comMake the clicks Clickable -Vbulletin - USE PHP
Make the clicks Clickable -Vbulletin - USE PHP
Edit file functions_newpost.php (your root forum/includes)
1. Find this line:
PHP Code:$skiptaglist = 'url|email|code|php|html|noparse';
PHP Code:$skiptaglist = 'url|email|php|html|noparse';
PHP Code:$text = preg_replace($urlSearchArray, $urlReplaceArray, $messagetext);
PHP Code:$text=preg_replace("#((http://)?(www.)?hotfile.com/[^ \n\r]+)#is",'[url]$1[/url]',$text);
PHP Code:$text=preg_replace("#((http://)?(www.)?fileserve.com/[^ \n\r]+)#is",'[url]$1[/url]'',$text);
3. Find this line:
PHP Code:$urlReplaceArray = array(
"[url]\\2\\4[/url]"
PHP Code:$urlReplaceArray = array(
"\\2\\4"
4. Save & Finish
Now, when users make new threads, Hotfile and Fileserve links will be clickable links
-
28th Jul 2010, 06:13 PM #14
-
28th Jul 2010, 06:13 PM #15OPBannedWebsite's:
google.com knownsrv.comThanks t3od0r
Nice one!
-
28th Jul 2010, 06:22 PM #16MemberWebsite's:
porntonight.info@ Rapid4All
awesome bro its working
do you know about phpbb , how can i add to that ?
-
28th Jul 2010, 06:25 PM #17
-
28th Jul 2010, 06:26 PM #18OPBannedWebsite's:
google.com knownsrv.comI dont use phpbb, so i dont know how to do this with phpbb exactly
. But i think its possible
-
28th Jul 2010, 06:28 PM #19
-
28th Jul 2010, 07:11 PM #20Banned
can anyone fix this. i have added this code. it works f9. but it converts links to its title.
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 3 users browsing this thread. (0 members and 3 guests)
Similar Threads
-
Make Hotfile, Fileserve, 10+ Filehost's Links Clickable
By stefan-te in forum Webmaster ResourcesReplies: 315Last Post: 4th Aug 2012, 04:10 PM -
Make Links clickable in Code. in vBulletin 4.1.7
By Th3KiNG in forum vBulletinReplies: 2Last Post: 15th Nov 2011, 09:04 AM -
Make Download Links Clickable In Joomla
By shubhank008 in forum Web Development AreaReplies: 14Last Post: 15th Jul 2011, 02:29 PM -
make links clickable and coded [for vbulletin]
By saninokia in forum vBulletinReplies: 1Last Post: 5th Mar 2011, 10:04 PM -
[Hiring] Make Links Clickable
By Dj Mad in forum Completed TransactionsReplies: 0Last Post: 28th Jul 2010, 12:46 AM
themaLeecher - leech and manage...
Version 5.03 released. Open older version (or...