Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Masterd on January 26, 2011, 10:15:52 PM

Title: Auto Code Live Links
Post by: Masterd on January 26, 2011, 10:15:52 PM
Link to Mod (https://custom.simplemachines.org/mods/index.php?mod=2881)

                
Auto Code Live Links 1.0.1
                      
Author:
                   
Masterd

This modification will turn every live link on your forum to a code.

Note that this mod will make all links on your forum completely unclickable!

                                             
News in version 1.0

- Initial release

                                             
News in version 1.0.1

- Added support for SMF 2.0 RC5



This modification is licensed under BSD License (http://www.opensource.org/licenses/bsd-license.php)

Copyright (c) 2011-2014, Masterd
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Title: Re: Auto Code Live Links
Post by: lord alibaski on January 26, 2011, 11:43:05 PM
I do like this mod but what would make it even more special is if you could decide which boards on the forum you want it to be implemented in.

You see if someone had the Aeva-Media mod installed it would make that mod dysfunctional so having the option to tick which boards you want it to be used in would be really nice. That way people could create 1 board on the forum just for videos and still use both mods.

Still a nice mod though m8 which I was going to use but we also use the Aeva-Media mod so we can't use it.
Title: Re: Auto Code Live Links
Post by: Masterd on January 27, 2011, 07:02:13 AM
Thank you for your feedback! I will consider about that feature in the future.
Title: Re: Auto Code Live Links
Post by: lord alibaski on January 27, 2011, 12:11:55 PM
Quote from: Masterd on January 27, 2011, 07:02:13 AM
Thank you for your feedback! I will consider about that feature in the future.

That would be great m8 because if it had this feature I am sure it would be used by many.

You can see where I'm coming from though m8 because I am sure alot of people use the Aeva-Media mod or any other mod that codes video links and this mod just kills them all off.
Title: Re: Auto Code Live Links
Post by: Masterd on January 28, 2011, 04:50:59 AM
I will add this feature today in the afternoon, because I will have some extra time. Then I will also take a look at what Arantor suggested.
Title: Re: Auto Code Live Links
Post by: agent47 on January 28, 2011, 07:51:31 AM
Oh I so agree with alibaski. If admins have to choice of controlling what boards to use this on it's going to be VERY useful in fact I would use it too coz there's a certain section in my site that could use this.
Title: Re: Auto Code Live Links
Post by: Masterd on January 28, 2011, 01:54:54 PM
I will add the support for this and for the iurl tags this weekend.
Title: Re: Auto Code Live Links
Post by: Depreciated on February 03, 2011, 01:17:49 PM
nice mod can't wait for custom board selection support! ;)
Title: Re: Auto Code Live Links
Post by: Masterd on February 03, 2011, 01:23:41 PM
Thank you! :D

You will have to wait a little more. I'm currently working on the other mod and I'm creating querys for advanced blog mod.
Title: Re: Auto Code Live Links
Post by: Depreciated on February 03, 2011, 01:25:10 PM
Quote from: Masterd on February 03, 2011, 01:23:41 PM
Thank you! :D

You will have to wait a little more. I'm currently working on the other mod and I'm creating querys for advanced blog mod.

np will be worth the wait ;)
Title: Re: Auto Code Live Links
Post by: lord alibaski on February 09, 2011, 12:55:06 PM
Nice to know your still working on the custom board selection support for this mod I personally can't wait to use it...too many lazy sods on my forum keep forgetting to code links.
Title: Re: Auto Code Live Links
Post by: Masterd on February 09, 2011, 01:55:24 PM
I finished my IMDb BBC, so I will soon add support for that.
Title: Re: Auto Code Live Links
Post by: Masterd on February 12, 2011, 11:06:01 AM
This mod is updated for SMF 2.0 RC5!
Title: Re: Auto Code Live Links
Post by: sombra on March 09, 2011, 05:51:37 AM
thanks for this great mod

will this mod will insert the bbcode for links in post made before the install of the mod?

does links of annauncemts will be afected or in the simpleportal? or just in actual post in a board?
Title: Re: Auto Code Live Links
Post by: Arantor on March 09, 2011, 06:41:03 AM
This will apply to all links everywhere in the forum. Announcements and portal stuff is also affected if it uses the standard bbc processor.
Title: Re: Auto Code Live Links
Post by: sombra on March 09, 2011, 07:44:32 AM
so if isint using bbcode it wont give the code i can use html in my portal to make announcements

but it will make this changes to things made after the install of this mode or for everithing even post or things made before the install of this mod?
Title: Re: Auto Code Live Links
Post by: Arantor on March 09, 2011, 07:45:56 AM
Yes, EVERYWHERE other than when you use raw HTML.
Title: Re: Auto Code Live Links
Post by: Masterd on March 15, 2011, 10:47:11 AM
I'm very sorry because you all waited so much, but I will add that feature very soon.
Title: Re: Auto Code Live Links
Post by: sombra on March 22, 2011, 12:57:21 PM
i got to say im using this mod and its a great mod thanks

but i got a little problem my english isint that good ill try to explain

what happends with url that had or have [ url= ] [ / url] ?

what i have seen this is what happends

Download video:
Code [Select]
Filesonic.com

only the letters or image of the hiperlink is shown any way around to fix this?

Title: Re: Auto Code Live Links
Post by: Masterd on March 22, 2011, 03:01:12 PM
I will check this.
Title: Re: Auto Code Live Links
Post by: mariusfv on May 11, 2011, 03:35:21 AM
Can you please update the mod to be by selected board or by selected membergroups ?
For example admin and moderators if post links to not be auto coded ?

Is your mod compatible with "Hide the content of code tags from guests" by Jokerâ„¢ (http://custom.simplemachines.org/mods/index.php?mod=2953)  ?
Title: Re: Auto Code Live Links
Post by: sharks on June 22, 2011, 07:36:40 PM
First, thanks to Masterd for his work on this mod and for updating it for 2.0 final. However, before i install it, i just want to be sure that if i uninstall it later on, will all the coded links be automatically converted back to the way they were? Just need clarification on this aspect of this nice mod.
Title: Re: Auto Code Live Links
Post by: Masterd on June 23, 2011, 07:20:11 AM
Yeah, all coded links will be reverted back to normal links. Sorry, folks, I just didn't have much time so I still didn't added support for choosing boards. But, it's in my feature list and it will be done very soon.

http://www.smf-mods.info/index.php?issue=1.0
Title: Re: Auto Code Live Links
Post by: sharks on June 23, 2011, 10:18:05 AM
Thanks for your reply, Masterd. I look forward to your next version of this cool mod. :)
Title: Re: Auto Code Live Links
Post by: Fred Biles on June 23, 2011, 08:33:04 PM
Another suggestion is to build in an exception for a url selected by administration.
We have members who post links to other posts in the forum and we don't care about those.
It is the external links that we want coded.
Title: Re: Auto Code Live Links
Post by: sharks on June 24, 2011, 02:02:52 AM
Quote from: Fred Biles on June 23, 2011, 08:33:04 PM
Another suggestion is to build in an exception for a url selected by administration.
We have members who post links to other posts in the forum and we don't care about those.
It is the external links that we want coded.
+1
Definitely a good idea. :)