Description: Allows people to "Ignore" a user and not see their posts. In place of those users posts is a notice allowing them to override the ignore and see the entire post; or an option to unignore a user. Users are "ignored" by viewing their profile.
Database Altered: Yes, U_Ignore added to the w3t_Users table to store the user's
Info/Instructions: Download attached file. Unzip and follow instructions in IgnoreUserMod.txt
Disclaimer: Please backup every file that you intend to modify. If the modification modifies the database, it's a good idea to backup your database before doing so.
Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.
No. This is jsut for the forums. I still have a little cleanup to do - a nice icon would help (I suck at graphics), put the Ignore into the langauge file and then decide if this needs to be anywhere else.
Thing about showthreaded and PMs is you can easily delete and/or not click on a post you dont want to read. I'm not sure about adding it to PMs because you can easily choose not to read those.
This is similar to the feature we see at the Photopost forums - thanks for sharing.Perhaps if someone could come up with a nice icon for it, that would be cool
Sorry! I can't answer if the users like it or not, as they haven't seen it yet. I set it up on my test board and it seems to work, but I am getting an error. I'm not sure if I'm reading the install directions wrong or not though.
When you click to view a person's profile, it says, "Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/ffd2/public_html/forums_copy/showprofile.php on line 335". That's the area that has this:
(I added line breaks above so it didn't scroll so much)
The next section:
Code
$ignorelink <br /> |
I figured probably belonged in the template file instead? The reason I am unsure if it's just the instructions - your instructions say the mod changes showprofile.tmpl, but the instructions don't list that file (only under files changed.)
Even with the error, it puts the person into ignore, and doesn't show the text, so it's working properly in that respect (at least I think!)
Also, a nice thing to add could be a small link/icon in the post itself that adds the person to the ignore list, but only if it doesn't add a lot of queries or download time. Also, it might be important for mods and admin NOT to be able to be ignored. I'm sure there are plenty who may want to, but sometimes we actually have something important to say.
I'm almost scared to see how our users will sworm down on this. I wonder how a "Top ten ignored users" list would go over? (just kidding! )
[]I think I can clean up a little code - and try to find a little icon for it. [/]
Hmm, I am getting the feeling you want a little icon for this? How little? Do you have anything in mind? I've seen a couple different boards that used a little hand (like "stop" or "talk to the hand" idea), and I've seen a few that used only a specific finger from the hand. Or a little face with an "X" through it. Where were you thinking of putting the icon?
Whenever we get an annoying user, it usually doesn't get very far. Since most of my visitors are high schoolers, it happens more than at a site like this. Not too often though. But, if someone even looks at the line and thinks about stepping over it, my moderators pounce.
Like, if a new user makes a post using all caps, within minutes (usually) a moderator will bust up into the thread with lights blazing. (We use in our posts when we're moderating.)
However, we do have members that, while posting relevant and good information, still manage to annoy people with the stupid things they write. So this hack will find a home at Drumlines.org. The way I look at it is, if they want to use it, it's there. If not, then they don't have to. It's always best to give the option rather than not.
The instructions still have the error about showprofile.tmpl. Besides that, the install is just about the same. Same enough to know where things are supposed to go. But, why would you edit showflat.php and not showflat.tmpl? Also, the layout change in showprofile causes the links to look rather junky since it causes a line break. Of course, this is due to resolution and/or side bar(s). When you click "Ignore User" it just refreshes the profile. There is nothing letting you know if it worked or not. The only way to tell is if you browse to a thread where the user posted. If the user is ignored, you will see:
[]You are ignoring this user. See entire thread or unignore this user.[/]
There should be a link on the person's post for ignoring/unignoring. Also, a list of ignored persons could be added to your profile, visible by only you of course.
Bottom-line: It works in 6.3.1. The idea is good, and it's functional, I just feel it could use some more cosmetic/usage tweaking.
BTW, I like Dalan's idea of not showing links to people that can't use them. I might just have to go through and hack away some of those links that are text for people not logged-in, i.e. "Send a private message"
Okay, you're not using 6.2, you're using 6.2.3 (Yes, we are that picky!) Anyways, I just dug up an old copy of 6.2.2 that I have, so I guess it's close to 6.2.3.
Here is an image I created for this if anyone is interested. First save the image to your /threadsdir/images directory []http://www.vhfans.com/images/ignore.gif[/]
I thought this was released in 6.4 but I don't see it on my site, I may have just missed the file somewhere. I used the changedfile method to upgrade and there are files missing from it, you can see if you run a compare. If not I will modify the instructions for you later on tonight DrChaos if it's doable.
Update: It is there, I had to overwrite my showprofile.php and showprofile.tmpl files. If you do the same it should be good as long as you have all the corresponding (updates) scripts uploaded.
I still like Josh's better because it gave you the option of unignoring them right in the post, it's a well thought out mod.
A nice mod of this mod would be to completely remove all traces of their post in both flat *and* threaded mode. Like a personal ban in essence. That would be sweet.
Outta site, outta mind
Of course then a new means would be needed to un-ignore them again. Maybe a new section added to 'MyHome' would be ideal, doesn't have to be too fancy
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.