The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Stop a member from contributing in a particular discussion

View previous topic View next topic Go down

Solved Stop a member from contributing in a particular discussion

Post by peter59 on January 4th 2015, 10:51 pm

Is it possible toexclude an

Individual member from Participating in a particulardiscussion.

Thanks in advance.


peter59
Forumember

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

Back to top Go down

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

Post by APE on January 4th 2015, 11:21 pm

Not that i know of sorry





APE
Manager
Manager

Male Posts : 8326
Reputation : 717
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

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 on January 5th 2015, 12:50 am

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.

brandon_g
Support Moderator
Support Moderator

Male Posts : 5140
Reputation : 478
Language : English
Location : USA

http://broadcastingduo.forumotion.com/

Back to top Go down

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

Post by _Twisted_Mods_ on January 5th 2015, 2:16 am

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

Male Posts : 2020
Reputation : 299
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 on January 9th 2015, 12:56 am

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

peter59
Forumember

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

Back to top Go down

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

Post by Ange Tuteur on January 9th 2015, 1:21 am

Topic archived

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


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