themaManager
http://manager.themasoftware.com/forum/

Adding code to links that were pasted without code tags?
http://manager.themasoftware.com/forum/viewtopic.php?f=3&t=7503
Page 1 of 1

Author:  Rafx [ September 29th, 2022, 7:47 pm ]
Post subject:  Adding code to links that were pasted without code tags?

Is it possible to make such feature like in themaPoster? There I can past links in topic or template and don't need to write code tag, they are surrounded by it automatically. But here when I paste links in post and click edit button to send to forum, they are not surrounded by code tag. Would be nice to have it, for manual exchange links for just one post to not add code tag to every link then.

Author:  Freddy [ September 30th, 2022, 9:23 am ]
Post subject:  Re: Adding code to links that were pasted without code tags?

Will take a look.

Author:  Freddy [ October 6th, 2022, 2:37 pm ]
Post subject:  Re: Adding code to links that were pasted without code tags?

3.69
* Added option to set the host type for hosts (File, Image or Short).
* Improved so that file hosts links would be surrounded with needed tag automatically (hosts must be correctly marked as file hosts in "HOSTS" tab and you must have needed tags option set in "WEBSITES" -> "Other settings" for needed site).

Author:  Rafx [ October 6th, 2022, 2:48 pm ]
Post subject:  Re: Adding code to links that were pasted without code tags?

Great, thank you very much.

Author:  Rafx [ October 21st, 2022, 3:23 pm ]
Post subject:  Re: Adding code to links that were pasted without code tags?

I just checked the option, and it works different from in themaPoster, after adding links with different hosts without code tag, the tag is added but to all links one, not separate to every hoster. How could I set there a separate tag for every host?

Author:  Freddy [ October 21st, 2022, 4:02 pm ]
Post subject:  Re: Adding code to links that were pasted without code tags?

You would need to have some text before the links, like host name. It would surround them as you want then.

Author:  Rafx [ October 21st, 2022, 4:43 pm ]
Post subject:  Re: Adding code to links that were pasted without code tags?

If I add text, edit and then delete it and edit once again, would it work?

Author:  Freddy [ October 21st, 2022, 6:02 pm ]
Post subject:  Re: Adding code to links that were pasted without code tags?

Yes, should be fine.

Test it on single post.

Edit:

Made some improvements for next update (3.70). Having an empty line between links will be enough to use separate tags (if no new line between links - will use one tag as it is now).

Author:  Rafx [ October 26th, 2022, 8:16 pm ]
Post subject:  Re: Adding code to links that were pasted without code tags?

I checked, and first I added links with "0" separate them for every host, then I edited post to remove "0" there, and it added code tags once again, so now it's looks bad.

sample after second edit:

Code:
[code]https://ddownload.com/arikygwgj0km/rsRwQaPTM0kztRXefDwhwTAzs9OZmSwhn2eFxIbmNZ124scEgGOox.part1.rar
[code]https://ddownload.com/yscckzxwbuh7/rsRwQaPTM0kztRXefDwhwTAzs9OZmSwhn2eFxIbmNZ124scEgGOox.part2.rar[/code][/code]

[code]https://rapidgator.net/file/373f756688e7b80da2bd779389dce21a/rsRwQaPTM0kztRXefDwhwTAzs9OZmSwhn2eFxIbmNZ124scEgGOox.part1.rar.html
[code]https://rapidgator.net/file/38b42f88706e3c7d6e90da045c61d537/rsRwQaPTM0kztRXefDwhwTAzs9OZmSwhn2eFxIbmNZ124scEgGOox.part2.rar.html[/code][/code]

[code]https://www.wplik.com/n1w7gblfzhm9/rsRwQaPTM0kztRXefDwhwTAzs9OZmSwhn2eFxIbmNZ124scEgGOox.part1.rar.html
[code]https://www.wplik.com/x9112zzelxpp/rsRwQaPTM0kztRXefDwhwTAzs9OZmSwhn2eFxIbmNZ124scEgGOox.part2.rar.html[/code][/code]

[code]https://wrzucajpliki.pl/8e9xq15ggtto/rsRwQaPTM0kztRXefDwhwTAzs9OZmSwhn2eFxIbmNZ124scEgGOox.part1.rar
[code]https://wrzucajpliki.pl/hmt25nulvrqn/rsRwQaPTM0kztRXefDwhwTAzs9OZmSwhn2eFxIbmNZ124scEgGOox.part2.rar[/code][/code]

Author:  Freddy [ October 26th, 2022, 8:40 pm ]
Post subject:  Re: Adding code to links that were pasted without code tags?

As mentioned in previous post:
Made some improvements for next update (3.70). Having an empty line between links will be enough to use separate tags (if no new line between links - will use one tag as it is now).

It will be fine from next update (you won't need to add any text at all).

Author:  Rafx [ October 26th, 2022, 8:56 pm ]
Post subject:  Re: Adding code to links that were pasted without code tags?

Ok, thank you for info then.

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