Stop posting external links
4 posters
Page 1 of 1
Stop posting external links
How can I stop all members posting external links on my forum regardless to how long they have been a member
Re: Stop posting external links
Hi @FIB,
I suppose one way to do this would be to hide the links via CSS. For example, add the following CSS to your stylesheet :
with your domain.
That way it should only show links from your domain, and hide external links.
I suppose one way to do this would be to hide the links via CSS. For example, add the following CSS to your stylesheet :
- Code:
.postbody a {
display:none;
}
.postbody a[href^="/"], .postbody a[href^="#"], .postbody a[href^="javascript"], .postbody a[href*="help.forumotion.com"], .postbody a:not([href]) {
display:inline;
}
|
That way it should only show links from your domain, and hide external links.
Re: Stop posting external links
Hi ange, what if those links are pictures put in signatures or topics as img bbcodes, would they still show or not?
Kirbs- Forumember
- Posts : 628
Reputation : 18
Language : English
Re: Stop posting external links
If it's linking to an image, you'll have to whitelist the image host. ( or extension ) For example, add this selector to the set to display links to servimg :
- Code:
.postbody a[href*="servimg.com"]
Re: Stop posting external links
Thanks @Ange TuteurI'll give both a try
Last edited by FIB on November 7th 2015, 8:06 am; edited 1 time in total
Re: Stop posting external links
Hello,
@FIB I just wanted to let you know, your not really tagging Ange when you are trying to tag him, instead you are tagging a different Ange. I know it is difficult to tag bim because he has a space in his username.
Whenever someone has a space in their username, you must the username in between " marks, so to tag Ange you would have to do it like this:
Its a common mistake, one that I made for awhile as well, until I learned how to tag usernames with spaces in it .
Just wanted to let you know for future refrence .
Have a great day, hope you find a solution to your problem .
-Brandon
@FIB I just wanted to let you know, your not really tagging Ange when you are trying to tag him, instead you are tagging a different Ange. I know it is difficult to tag bim because he has a space in his username.
Whenever someone has a space in their username, you must the username in between " marks, so to tag Ange you would have to do it like this:
- Code:
@"Ange Tuteur"
Its a common mistake, one that I made for awhile as well, until I learned how to tag usernames with spaces in it .
Just wanted to let you know for future refrence .
Have a great day, hope you find a solution to your problem .
-Brandon
Remember to mark your topic when a solution is found.
General Rules | Tips & Tricks | FAQ | Forgot Founder Password?
Team Leader
Review Section Rules | Request A Review | Sticker Points
Re: Stop posting external links
Your welcome, anytime .
Remember to mark your topic when a solution is found.
General Rules | Tips & Tricks | FAQ | Forgot Founder Password?
Team Leader
Review Section Rules | Request A Review | Sticker Points
Similar topics
» External links
» Enable Posting External links
» phbb 3 posting external links new members
» External links
» External Links
» Enable Posting External links
» phbb 3 posting external links new members
» External links
» External Links
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum