![]() |
Forced Ignore
This code allows you to force one user to ignore another user's posts. This is useful in situations such as lover's spats or fueds where the involved parties are worthwhile contributors - if only they'd keep away from each other.
The plug in requires you create a custom user profile field. Name it "Forced Ignore" and set it as follows: Type: Single Line Text Box Field Required: No Field Editable by User: No Private Field: No Field searchable on Members List: No Show on Member List: No Page that displays this option: Edit Profile Once that is done note the field number created by vbulletin - you need to plug it into the php code below in the three spots you see 'fieldX' For instance, if vbulletin makes your new field number 10 you would plug in 'field10'. This php code needs to go into a plug in attached to global_start PHP Code:
This will keep the user from seeing the posts of that user. Because of the way vbulletin processes Tachy the user will still be displayed in the latest thread listing of each forum. (Tachy is designed to be a global ignore, not a local one). |
Good idea
staff=peacemakers ;) |
*clicks install*
Thanks! |
Good plan, unless the users logout to view the other ignored users' posts :)
|
Where should i write this PH script? in which file?
|
nice one
|
How the heck am I supposed to install this? Isn't there supposed to be a plug-in to download here?
|
I Need this for a problem... Hope to install it tonight...
Edit - Works like a charm! |
If I use this so that user1 is "ignoring" user2's posts, then what does user1 see in a thread where user2 has posted?
Thanks! |
Quote:
User 3: New thread User 4 Reply 1 User 2 Reply 2 User 3 Reply 3 User 1 Reply 4 User 2 Reply 5 User 1 sees this as: User 3: New thread User 4 Reply 1 User 3 Reply 3 User 1 Reply 4 You can try this on your board by just ignoring a member or a bunch or members and see what happens to the thread... Now, if the problem member logs out they can still see the threads and the posts but I have a "Miserable Users" hack installed for people that like to continue after they have been warned and forced to ignore their opponent... In my case, I have two members that are both good members and contribute to the site... they just really hate each other... So, this makes it so the two can get a long with everybody else and for them it is like the other is not on the site anymore. It is funny when they both post in the same thread and seem to agree as when they could see each others post, they would never agree :D This is one of my favorite hacks because of the problems it solved for me as I thought my only option was going to be to ban these two and I really hate to do that... |
I see. I like it. We also have the Miserable User hack installed. Looks like a good combo!
|
Quote:
excellent idea...installed!! |
I like that it's not completely obvious to the user that this has been applied...but when any user clicks on the member name from the member list, the note "Forced Ignore" is in the profile.
...but it's NOT visible when a user clicks his own "My Profile". Is there any way to hide the note "Forced Ignore" from a users public profile? Thanks! |
Quote:
|
Quote:
|
Quote:
Quote:
|
and that explains how to make the plug in does it? obviously very funny to those who know how to do these things but not much help for us non techies.
|
Given that the Author has not ticked the "Supported" box, it's better than nothing.
|
AdminCP - Plugin Manager - Add new Plugin.
Copy and paste the code in the first post of this thread, edit it to contain the field number of your new User Profile Field, paste that into the box in the adminCP, choose global_start as the hook. Seriously, you would do well to read the vBulletin manual before installing anything. If you don't know how to make a plugin... its not the coders job to tell you the basics. |
Does anyone have this working with 3.6?
|
Doesn't work with 3.6 for me. I'm definately interested in a port though.
|
I would also like this for 3.6 please :) If any one has got it to port then please share instruction :) thank you.
|
Also just discovered that this stopped working with 3.6.x.
Anyone have any ideas how we might get it to work? My mods and admins found this a very helpful tactic of next-to-last resort. |
Yep, I just tried to install it in 3.6.1 and it doesn't appear to be working.
Big props to whomever might make it work for us in the 3.6.X version. I could really use it. Thanks in advance!! :D |
i've been using it for a while now... but can't figure out how to have the user number NOT show up in a line above the user's custom user title?
ok that doesn't make sense... so here's an example: Quote:
245 is the user that is on this member's forced ignore list. now everyone in the forum can tell he's on forced ignore. |
anyone?
|
never mind.
i for some reason (unbeknownst to me) had $field8 or whatever the code is in the postbit. i have no idea why it was there. ????? |
I have this set up on vB 3.6 and it doesn't seem to be working. When I enter a persons userid number into another's profile and hit save, it does not show up on the profile when I go back to edit the user. Any idea why it's not saving this information? Should this be able to work in vB 3.6?
|
Quote:
you need to plug it into the php code below in the three spots you see 'fieldX' For instance, if vbulletin makes your new field number 10 you would plug in 'field10'. This php code needs to go into a plug in attached to global_start PHP Code: if ($vbulletin->userinfo['fieldX']) { if ($vbulletin->options['globalignore']) { $vbulletin->options['globalignore'] = $vbulletin->options['globalignore'] . " " . $vbulletin->userinfo['fieldX']; } else { $vbulletin->options['globalignore'] = $vbulletin->userinfo['fieldX']; } } is that plain enuff? |
this really should be made into a product and ported to 3.6 as it is a GREAT addon for seperating 2 members who by themselves are GREAT members.. yet together.. do nothing but bicker.
|
Anyone have this working for 3.6.2???
|
Hi :)
Posting to subscribe here. I really would like a 3.6 version. thanks |
I don't know how to port a hack / turn it into a product, but I'd like to know how. With this knowledge I'd more than gladly port a few hacks for 3.6, but I'm not sure if there's any documentation that I could find that would give me a brief run down on what steps you would take to port a hack.
If anyone could shoot me a link so I can start the learning process, I'd be more than happy to work on this. Anybody? |
Quote:
I also wondered what to name the plugin? I named it Forced Ignore. Anyone? |
I ended up using Admin Permission Override which includes forced ignore and quite a few other useful features. It was released for 3.5, but all features worked when I installed it in 3.6.3. I also cleared my postbit_ignore template so members don't get the message that they have placed this user on ignore and the option to view the post.
|
Thanks beano33, that worked great (even better)!
I owe you one-half dollar (American). :D |
Is there a way to also block PMs from one user to another? That would help out when people take their fights to PMs.
|
hmm.. If you add a moderator to someone's ignore, they can still see the moderators posts.
|
thank you so much! Installed!
|
fyi... the user who is being "ignored" will be able to see it when they "view their profile".
|
All times are GMT. The time now is 05:20 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|