![]() |
|
Mod Options |
![]() |
|||||||||||||||||||||||
Open Local links in same window, External in new window
![]() Developer Last Online: Dec 2016 ![]() ![]() ![]()
I did search for a easy solution to simply open a local link in the same window, and external links in a new window.
Did not find it, so I did make this. My first PHP script. In the file: includes/class_bbcode.php Search for: standard URL hyperlink 3.1.5 (maybe 3.1.6?) And before: Replace:
3.1.7 -> Replace:
With:
InsertYourDomainHere = Should be replaced with your domain eg: vbulletin (exclude the last part of your domain eg .com / .org) It didnīt work for me anyway. Maybe because of vbulletin cutting down long texts? I dont really now. And then update the CMS Cache. AdminCP - vBulletin CMS - Clean CMS-Cache However this works perfect for me. // Daniel Download Now Only licensed members can download files, Click Here for more information. Show Your Support
No members have liked this post.
|
![]() |
||||
Mod | Developer | Type | Replies | Last Post |
Mini Mods Same Window For Local Links | Viper007Bond | vBulletin 3.6 Add-ons | 54 | 02 Nov 2011 16:59 |
Comments |
#2
|
||||
|
||||
It didnīt work for me
__________________
No members have liked this post.
|
#3
|
||||
|
||||
I have several parked domains. I would like this if I could use multiple domains.
Ex: utahraves.com and utrave.org = same site, I would need to be able to put both domains in that for my site to work. No members have liked this post.
|
#4
|
||||
|
||||
ander test
thank you bro
__________________
No members have liked this post.
|
#5
|
|||
|
|||
work whit attachments? i have on my site Bug Whit attacment. i need open in new windows
No members have liked this post.
|
#6
|
|||
|
|||
Some update is done. Maybe it works now.
No members have liked this post.
|
#7
|
|||
|
|||
It doesn't work in 4.0.x...
No members have liked this post.
|
#8
|
|||
|
|||
Sorry if it does not.
I works just fine in 4.1.1 so I guess thats what you need. If you donīt want to customize it. // D No members have liked this post.
|
#9
|
||||
|
||||
Doesn't work for me, either
![]()
__________________
New Sims Forums - downloads, help and more! No members have liked this post.
|
#10
|
|||
|
|||
Works out perfect with version 4.1.5. Thanx for having resolved this issue!
No members have liked this post.
|
#11
|
|||
|
|||
Works In: 4.1.7 PL2
No members have liked this post.
|
#13
|
|||
|
|||
Did not work on 4.1.8 for me.
Used code as provided... tried all permutations for "InsertYourDomainHere". Any additional thoughts?
__________________
Bryan vB 4.2.5 No members have liked this post.
|
#14
|
|||
|
|||
work for 4.1.9 and 3.7.
No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 19:28.