themaLeecher
http://leecher.themasoftware.com/forum/

Replace link with style.
http://leecher.themasoftware.com/forum/viewtopic.php?f=3&t=6239
Page 1 of 1

Author:  vandt [ May 15th, 2016, 1:23 pm ]
Post subject:  Replace link with style.

now TL have option replace link that have same name but only replace link by link.hope you improve this option to replace with style.example:

style1
Code:
[code]
link 1


link2
[/code]


or

style2
Code:
[quote]
[img]imgbuttondownload[/img]
link 1

link2
[/quote]


... this style should be custom by user

Author:  Freddy [ May 15th, 2016, 2:09 pm ]
Post subject:  Re: replace link with style

Not sure if I understood.

You should use replacements if you want replace some words or add some other stuff.

Actually you should remove all "code" , "quote" tags (with replacements) and setup "links" tag in themaPoster (as described in FAQ). Those tags will be added automatically if needed based on forum settings.

Author:  vandt [ May 15th, 2016, 3:04 pm ]
Post subject:  Re: replace link with style

Freddy wrote:
Not sure if I understood.

You should use replacements if you want replace some words or add some other stuff.

Actually you should remove all "code" , "quote" tags (with replacements) and setup "links" tag in themaPoster (as described in FAQ). Those tags will be added automatically if needed based on forum settings.

What I'm trying to say is that
example
message with old link:
Code:
title

[center]
[img]http://domain.com/....jpeg[/img]
[/center]
....

[b]Tracklist:[/b]
.....


http://nitroflare.com/view/abgskc/filename.rar


I have 2 new link
http://ul.to/ahjdjh/filename.rar
http://rg.to/ahjdjh/filename.rar

with TL now I can replace to
Code:
title

[center]
[img]http://domain.com/....jpeg[/img]
[/center]
....

[b]Tracklist:[/b]
.....

http://ul.to/ahjdjh/filename.rar
http://rg.to/ahjdjh/filename.rar


I hope You can add option make style that user can custom and choose before replace.
Example if user custom style and named it "style1" have content:
Code:
[quote]
[img]http://domain . com/linkimagebuttondownload.jpg[/img]
$1

$2
[quote]


So when they replace, if they choose "style1", result is:
Code:
title

[center]
[img]http://domain . com/....jpeg[/img]
[/center]
....

[b]Tracklist:[/b]
.....

[quote]
[img]http://domain . com/linkimagebuttondownload.jpg[/img]
http://ul.to/ahjdjh/filename.rar

http://rg.to/ahjdjh/filename.rar
[quote]


I know that all of this can be created with using replacements, but if you can add this option, that can save a lot of time.
Acttually I'm using TL on most of my works, but there's only the aforementioned task that I still have to rely on tool from other publisher (it's not really efficient and very buggy tbh) I hope you can spare my case some thoughts, could you kindly help me with this?

Author:  Freddy [ May 25th, 2016, 7:51 am ]
Post subject:  Re: Replace link with style.

As I mentioned you shouldn't add any "quote" or "code" tags.

Let themaPoster deal with that automatically with "links" tag settings.

Some forum might require "quote", other "code", some other "hide", etc.

You can add that image above first download URL easily with a single replacement.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/