2018-10-14, 06:54 PM
2018-10-14, 07:23 PM
You'd have to use a plugin. Hook into parse_message_start and strip out all the URLs before they are parsed. You'd need to make sure you didn't unintentially strip out video or image links, so it could prove to be a lot of work.
2018-10-14, 07:53 PM
Ah I see, I searched around but couldn't find anything similar to what I am looking for and I don't have experience to create such a plugin myself. Thanks for the reply though, anybody else with some other suggestions?
2018-10-14, 08:05 PM
Actually @wildcard's YourCode Plugin has the solution:
http://goo.gl/zccAm2
you can the "permissions settings" for the [url] Tag and limit it so that it is only displayed to selected usergroups, all others are shown an alternative text.
Then define a user group that people with more than x posts are promoted to and let that user group see the code.
If it's only in one thread, maybe you can better hide these URLs by making the entire thread or forum only accessible to users with >x posts.
http://goo.gl/zccAm2
you can the "permissions settings" for the [url] Tag and limit it so that it is only displayed to selected usergroups, all others are shown an alternative text.
Then define a user group that people with more than x posts are promoted to and let that user group see the code.
If it's only in one thread, maybe you can better hide these URLs by making the entire thread or forum only accessible to users with >x posts.
2018-10-15, 11:19 AM
That's actually a good idea, linguist. I don't know why I didn't think of that lol
2018-10-18, 12:18 AM
(2018-10-14, 08:05 PM)linguist Wrote: [ -> ]Actually @wildcard's YourCode Plugin has the solution:
http://goo.gl/zccAm2
you can the "permissions settings" for the [url] Tag and limit it so that it is only displayed to selected usergroups, all others are shown an alternative text.
Then define a user group that people with more than x posts are promoted to and let that user group see the code.
If it's only in one thread, maybe you can better hide these URLs by making the entire thread or forum only accessible to users with >x posts.
Yes, I managed to get it working after facing a bug that is now fixed. The plugin really does its job. Also thanks @Wildcard for the support!
Here is a small preview of how it looks with a little bit of styling: http://prntscr.com/l7bway
2018-10-18, 01:37 AM
(2018-10-18, 12:18 AM)Mattaffix Wrote: [ -> ]Yes, I managed to get it working after facing a bug that is now fixed. The plugin really does its job. Also thanks @Wildcard for the support!
You're welcome. Thanks for helping me find a bug a squash it
(2018-10-18, 12:18 AM)Mattaffix Wrote: [ -> ]Here is a small preview of how it looks with a little bit of styling: http://prntscr.com/l7bway
Looking good