vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Links (https://vborg.vbsupport.ru/showthread.php?t=219000)

fahl 07-20-2009 12:42 PM

Links
 
How can i stop links like this

Code:

http://ishare.com/files/257785894/SRnet.lmanderR191.part01.rar
becoming shown like this

Code:

http://ishare.com/files/25778589...191.part01.rar
so they can be cut pasted.

Thanx

Lynne 07-20-2009 03:27 PM

It is hardcoded into the vb code to do that. There is not option/setting to just toggle to turn that off. You would have to find the actual function and modify it.

fahl 07-20-2009 04:44 PM

can anyone please point me in right direction please

Lynne 07-20-2009 06:27 PM

I don't have access to my files at the moment to find where to edit them. You may be able to do a global search in your files to find "..." and you'll find the file to edit.

fahl 07-22-2009 08:04 AM

Thanx Lynne,Tried that & found a few instances but bit over my head tbh.
Can anyone please help me with this.
Thanx

Marco van Herwaarden 07-22-2009 10:00 AM

You can copy&paste such a link. The link is not changed, only the visible text.

fahl 07-22-2009 12:57 PM

Thanx,I realise that but you surely cant directly copy and paste as you are copying the text not the link.

Lynne 07-22-2009 02:30 PM

Quote:

Originally Posted by fahl (Post 1853379)
Thanx Lynne,Tried that & found a few instances but bit over my head tbh.
Can anyone please help me with this.
Thanx

If you decide to tackle the problem, the function is handle_bbcode_url in the file includes/class_bbcode.php You can either modify the function (I'm not sure where else it may be, so this isn't what I would do) or find where the function is called when posts are made and just not call it (comment it out - this is what I would do).

Marco van Herwaarden 07-22-2009 02:52 PM

Actually even copy&paste of an entire piece of text, with a shortened link inside the text can be done, providing the target of the paste can handle rich text.

Ie. Pasting into the WYSIWYG editor of vBulletin will work, pasting into the basic editor will fail.


All times are GMT. The time now is 01:43 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.01371 seconds
  • Memory Usage 1,726KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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