Extension in which links will only be clickable in one section

Looking for an Extension? Have an Extension request? Post your request here for help. (Note: This forum is community supported; while there is an Extensions Development Team, said team does not dedicate itself to handling requests in this forum)
Get Involved
Post Reply
User avatar
Daria_G_
Registered User
Posts: 2
Joined: Tue May 22, 2018 5:24 am

Extension in which links will only be clickable in one section

Post by Daria_G_ » Tue May 22, 2018 10:50 am

Hi.
I'm planning to set up a discussion board on my site, in which by default I would turn off clickable links in both posts and signatures (i.e. there would be no active [url] or other html).
However, I would like to allow to insert any advertising and spamming posts with clickable links in only one section.
I haven't found such a modification, so I am asking you for help :)
Thanks.

User avatar
Daria_G_
Registered User
Posts: 2
Joined: Tue May 22, 2018 5:24 am

Re: Extension in which links will only be clickable in one section

Post by Daria_G_ » Sun Jun 10, 2018 10:57 am

Does anyone know how to disable parsing link on board except one section?

User avatar
david63
Jr. Extension Validator
Posts: 14471
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: Extension in which links will only be clickable in one section

Post by david63 » Sun Jun 10, 2018 2:24 pm

Daria_G_ wrote:
Sun Jun 10, 2018 10:57 am
Does anyone know how to disable parsing link on board except one section?
I am fairly sure that you will need an extension to do that.
Daria_G_ wrote:
Tue May 22, 2018 10:50 am
However, I would like to allow to insert any advertising and spamming posts with clickable links
Are you sure about that?
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

Toxyy
Registered User
Posts: 456
Joined: Mon Oct 24, 2016 3:22 pm

Re: Extension in which links will only be clickable in one section

Post by Toxyy » Wed Jun 13, 2018 6:06 am

Daria_G_ wrote:
Tue May 22, 2018 10:50 am
Hi.
I'm planning to set up a discussion board on my site, in which by default I would turn off clickable links in both posts and signatures (i.e. there would be no active [url] or other html).
However, I would like to allow to insert any advertising and spamming posts with clickable links in only one section.
I haven't found such a modification, so I am asking you for help :)
Thanks.
You'd need an extension, you could parse $event['page_data']['MESSAGE'] in posting_modify_template_vars to do it simply, and if a user is in a certain group then don't parse it. More common solutions for advertising in the topic view are having some sort of dummy post after the first post id or before post id, or just a banner image.
I am a web developer/administrator, specializing in forums. If you have work you need done or are too lazy to do, pm me!

Post Reply

Return to “Extension Requests”

Who is online

Users browsing this forum: nou nou, Yandex [Bot] and 14 guests