vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   New Posting Features - Make links inside Code box clickable (Supports all vB Versions) (https://vborg.vbsupport.ru/showthread.php?t=276281)

my123world 12-31-2011 11:00 PM

Make links inside Code box clickable (Supports all vB Versions)
 
1 Attachment(s)
What Does this mod do?

Currently when you code links using the code tag they just appear as text words and u need to manually select them and paste it to ur browser address panel to visit them but using this modification you can directly click the links without any fuss of copying/pasting :)

Installation Instructions -

Currently I have added filehosts like fileserve.com, filesonic.com etc to this script.. So any link with filesonic.com or fileserve.com will be clickable. (Lots of other filehosts are present too, I have just given a basic idea of how it would function)

Filehosts added to the script ATM -

Code:

2shared.com
4shared.com
9q9q.net
Adrive.com
Arabsh.com
Badongo.com
BitRoad.net
Box.net
Cocoshare.cc
Crazyupload.com
Depositfiles.com
Divshare.com
Divxden.com
Dualshare.com
Duckload.com
Earthfilez.com
Easy-Share.com
Egoshare.com
Enterupload.com
Evilshare.com
File2box.com
Filebase_to
Filebox.com
Filedip.com
Filedropper.com
Filefactory.com
Fileflyer.com
FileFront.com
Filemojo.com
Filerama.com
Fileserver.cc
Filesovermiles.com
Filesplash.com
Files.to
Flyupload.com
Gigasize.com
Hostuje.net
Hotfile.com
Hulkshare.com
iFile.it
iFolder.ru
Jumbofiles.com
Letitbit.net
Load.to
Loombo.com
M5zn.com
Mediafire.com
MegaShare.com
Megaupload.com
Midupload.com
Mlfat4arab.com
Moidisk.ru
Momupload.com
My2share.com
NETLOAD.in
Online-Sharing.net
Proddl.com
Przeklej.pl
Przeslij.net
Quickupload.net
Rapidshare.com
Rapidshare.de
RnBLoad.com
Savefile.com
Sendspace.com
Senduit.com
SpeedyShare.com
Storage.to
Superfastfile.com
Teradepot.com
Transferbigfiles.com
TurboUpload.com
Upfordown.com
Uploaded.to & Ul.to
Uploading.com
UploadPalace.com
USAupload.net
Usershare.net
Useupload.com
Vip-File.com
X7.to
Xinony.com
Yousendit.com
Zippyshare.com
Zomgupload.com
zSHARE.com

& Thats not the end of it... Much more are present.

So Lets Start -

1. Download the ".js" file from the attachment.
2. Upload it to your clientscript folder.
3. Add This Code to the bottom of your headinclude template -

Code:

<script  src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"  type="text/javascript"></script>
<script src="clientscript/mzscript.js" type="text/javascript"></script>

Thats it! You are done...

How to add Custom links to the file?

https://vborg.vbsupport.ru/external/2012/01/72.png

Just replace the links in the javascript file with ur links :)

-----

I Hope you all will appreciate this. Click Install if you want support. ;)

RobbieZ 01-02-2012 09:28 PM

Duckload.com does not exist anymore due to the admin getting arrested for torrent sharing.

Loombo and Filebase went a while back.. I guess updating your script would be a good option!

my123world 01-04-2012 11:30 AM

If they arent there they wouldn't work. Simple :)

navarro 01-07-2012 02:12 AM

it doesnt look good on IE browser. can you fix it pls ?

my123world 01-08-2012 02:00 PM

Can you kindly show a preview?

Dr.osamA 01-13-2012 02:04 PM

installed

under tese

thank you

semaster 05-07-2012 12:20 PM

how can i make every link clickable inside the code box ? not just these 10-20 urls, but all urls must be clickable inside code box.

can you help with this plz ?
i really need this.


All times are GMT. The time now is 08:45 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01013 seconds
  • Memory Usage 1,730KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete