vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin Tips & Tricks (https://vborg.vbsupport.ru/forumdisplay.php?f=239)
-   -   Auto Code ALL Links (https://vborg.vbsupport.ru/showthread.php?t=151746)

wtfsoccerdude 05-27-2008 08:25 AM

awesome! :D

SmileyR 07-08-2008 08:26 AM

i may be late to post this but i dont think it will change the previously posted links only the newer ones...

patrick1110 08-02-2008 06:24 PM

i have done this but it does not work on my new skin, why?

parseforum 08-22-2008 10:59 AM

How to active this mod just for registered user group and disable for moderator and administrators ?

zero5854 10-31-2008 09:40 PM

awesome code thanks@

wtfsoccerdude 11-06-2008 04:57 PM

Will this work on 3.7?

It worked once but then didn't work after that :/.

I previewed a post, and the links were coded but when I posted it, the links were just text links. Now it doesn't even code it in previews.

raja811 11-10-2008 08:00 AM

thanks

wtfsoccerdude 11-14-2008 04:24 AM

Doesn't work for me anymore. It was coding links perfectly before but now it only works sometimes. What could be the problem?

sherwood 11-15-2008 05:31 PM

thank you this is awesome!

mr.reza 11-30-2008 04:49 PM

its not work in 3.7

d3v1L 12-21-2008 12:53 PM

works in 3.7.3 thanks

d3v1L 12-21-2008 02:06 PM

anyway to add code tags to existing url's?

f4vn 12-24-2008 03:40 PM

hello,

If link like:

http://www.domain.com

http://www.domain.com

http://www.domain.com

http://www.domain.com

Can you tell me how to fix ?

dxflw 04-03-2009 09:18 PM

Quote:

Originally Posted by Mecho (Post 1288334)
today i saw live links in my board :D he used like this :
[url=http://link here.com]live link[/url*

is there anyway to fix this too ? thanks


Same problem

Davros 04-04-2009 05:23 PM

Doesn't work for me usin 3.8.1

what happens is when I submit a url like www.test-forum.com it turns out like test forum

Davros 04-05-2009 09:12 PM

I'd be very carefull when using this as I've decided to revert the code back to the [url] tags yet it has not taken effect, I've just upgraded to 3.8.2 but it has still had no effect, so I can only assume something has been written to the database.

algert 05-13-2009 09:35 AM

Quote:

Originally Posted by dartho (Post 1286578)
just a suggestion - wouldn't it be tidier to use NOPARSE rather than CODE tags?

then http://www.google.com = http://www.google.com

Yeah how can I do this? :S

ACiD619 05-30-2009 02:53 PM

I wanna know how to do that too.

skol 07-12-2009 07:30 PM

Got a problem with this in 3.8.3 it auto codes the links in a new thread but dosen't in replies..
Anyone!

Andy69 07-20-2009 12:27 PM

You can also disable live links in your newthread / newreply templates by setting urlparsing to 0.
and its the best one, the other ways have loopholes where if you write it right, it will still be live link, with his, its 100% no live links will get thru

Mecho 07-22-2009 11:51 AM

Quote:

Originally Posted by Andy69 (Post 1852154)
You can also disable live links in your newthread / newreply templates by setting urlparsing to 0.
and its the best one, the other ways have loopholes where if you write it right, it will still be live link, with his, its 100% no live links will get thru

still if they use [url] , links will be live .

millardjb 03-18-2012 07:30 PM

Quote:

Originally Posted by SiK xGODx (Post 1286385)
This mod involves editing a PHP file from vBulletin.

open the includes/functions_newpost.php

Find
PHP Code:

        $urlReplaceArray = array(
            
"[url]\\2\\4[/url]"
        
); 

And replace with
PHP Code:

        $urlReplaceArray = array(
            
"[code]\\2\\4[/code]"
        
); 

What this will do is make any link such as http://google.com appear like this:
Code:

http://google.com


Is there a way to make this a conditional so that it applies to ONLY a single forum? And the other forums use the original auto-hyperlink?

millardjb 03-28-2012 08:05 AM

Can the code be modified so that it is compatible with "AME - The Automatic Media Embeding System"?

ringnews24 12-16-2012 12:28 PM

This stopped my auto rss from posting properly.

It left web codes in the middle of the text description.

jimnyc 04-03-2013 12:15 AM

The code doesn't even show in that file in version 4.2.

I wouldn't suppose anyone would know how to make this work in 4.2?

Thanks!

fai99al99 08-14-2013 12:14 AM

Quote:

The code doesn't even show in that file in version 4.2.

I wouldn't suppose anyone would know how to make this work in 4.2?

Thanks!
its still work in vb4.2

look for
PHP Code:

$urlReplaceArray[] = "[url]\\2\\4[/url]"

inside functions_newpost
chenge it to
PHP Code:

$urlReplaceArray[] = "[code]\\2\\4[/code]"


chudvs 08-08-2019 08:15 AM

I had a custom mod made (which does "Enable/Disable Active Links posting in specific forum") just for this in the mid 2000's glad to say it still works today on 4.2.5 :)


All times are GMT. The time now is 10:19 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.01217 seconds
  • Memory Usage 1,770KB
  • 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
  • (1)bbcode_code_printable
  • (4)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (27)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete