The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Stop a member from contributing in a particular discussion

5 posters

Go down

Solved Stop a member from contributing in a particular discussion

Post by peter59 Sun 4 Jan - 21:51

Is it possible to exclude an

Individual member from Participating in a particular discussion.

Thanks in advance.

peter59
peter59
Forumember

Male Posts : 145
Reputation : 0
Language : English
Location : Kent

http://www.1879zuluwar.com/

Back to top Go down

Solved Re: Stop a member from contributing in a particular discussion

Post by Ape Sun 4 Jan - 22:21

Not that i know of sorry


Stop a member from contributing in a particular discussion Left1212Stop a member from contributing in a particular discussion Center11Stop a member from contributing in a particular discussion Right112
Stop a member from contributing in a particular discussion Ape_b110
Stop a member from contributing in a particular discussion Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19435
Reputation : 2010
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: Stop a member from contributing in a particular discussion

Post by brandon_g Sun 4 Jan - 23:50

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.


Stop a member from contributing in a particular discussion Brando10
Remember to mark your topic Stop a member from contributing in a particular discussion Solved15 when a solution is found.
General Rules | Tips & Tricks | FAQ | Forgot Founder Password?

Stop a member from contributing in a particular discussion Scre1476
Team Leader
Review Section Rules | Request A Review | Sticker Points
brandon_g
brandon_g
Manager
Manager

Male Posts : 10113
Reputation : 923
Language : English
Location : USA

https://www.broadcastingduo.com

Back to top Go down

Solved Re: Stop a member from contributing in a particular discussion

Post by _Twisted_Mods_ Mon 5 Jan - 1:16

you can try this

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
_Twisted_Mods_
_Twisted_Mods_
Helper
Helper

Male Posts : 2083
Reputation : 336
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Stop a member from contributing in a particular discussion

Post by peter59 Thu 8 Jan - 23:56

Thanks for the replies. Deleting his posts seems to be working. 
Problem solved. salut
peter59
peter59
Forumember

Male Posts : 145
Reputation : 0
Language : English
Location : Kent

http://www.1879zuluwar.com/

Back to top Go down

Solved Re: Stop a member from contributing in a particular discussion

Post by Ange Tuteur Fri 9 Jan - 0:21

Topic archived
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum