Stop a member from contributing in a particular discussion
5 posters
Page 1 of 1
Stop a member from contributing in a particular discussion
Is it possible to exclude an
Individual member from Participating in a particular discussion.
Thanks in advance.
Individual member from Participating in a particular discussion.
Thanks in advance.
Re: Stop a member from contributing in a particular discussion
Not to 1 conversation no, you can make that user a group of own and prevent from posting in the section. That is about it besides simply deleting his posts.
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 a member from contributing in a particular discussion
you can try this
create a new javascript set it to in topics
notallow = ['1','97664']; < list of user id's you want to prevent
var nopassurl = "member-from-contributing"; << url you want to to block
var redirurl = "/"; < url you want to redirect the prevented member to
var redorremv = "remove"; << two choices remove and redirect .. remove removes the reply & quick reply options and redirect takes them to another page
var alrmsg = "You Can Not View This"; << message that will be displayed on page redirect
create a new javascript set it to in topics
- Code:
$(function(){
var notallow = ['1','97664']; // list of user id's
var nopassurl = "member-from-contributing"; // url to block
var redirurl = "/"; // redirect url
var redorremv = "remove"; // remove or redirect
var alrmsg = "You Can Not View This"; // alert message on redirect
var gusrid = _userdata.user_id;
var cururl = location.href;
for(var i = 0; i< notallow.length; i++){
if (redorremv == "redirect"){
if (cururl.match(nopassurl)){}else{return;};
if (gusrid == notallow[i]){
alert(alrmsg);
location.href = redirurl;
}}
if (redorremv == "remove"){
if (cururl.match(nopassurl)){}else{return;};
if (gusrid == notallow[i]){
$('a[href*="&mode=reply"]').attr('style','display:none');
$('#quick_reply').attr('style','display:none');
}}}
});
notallow = ['1','97664']; < list of user id's you want to prevent
var nopassurl = "member-from-contributing"; << url you want to to block
var redirurl = "/"; < url you want to redirect the prevented member to
var redorremv = "remove"; << two choices remove and redirect .. remove removes the reply & quick reply options and redirect takes them to another page
var alrmsg = "You Can Not View This"; << message that will be displayed on page redirect
Re: Stop a member from contributing in a particular discussion
Thanks for the replies. Deleting his posts seems to be working.
Problem solved.
Problem solved.
Similar topics
» Stop Member From Deleting Posts
» How to stop New Members accessing the Member List??
» Total member, post, newest member gone
» Pro Bid Discussion
» Pandemic Discussion
» How to stop New Members accessing the Member List??
» Total member, post, newest member gone
» Pro Bid Discussion
» Pandemic Discussion
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum