Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Only Show IP:Logged if user is admin or supermod, and disable Post report by user Details »
Only Show IP:Logged if user is admin or supermod, and disable Post report by user
Mod Version: 1.00, by Fallout2man (Member) Fallout2man is offline
Developer Last Online: Mar 2004 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.2.x Rating: (0 vote - 0 average) Installs: 9
Released: 15 Jul 2002 Last Update: Never Downloads: 3
Not Supported  

At one of my boards, we had a paticular problem with one user. He kept reporting bogus posts just to try and get people he didn't like banned. I warned him but he didn't stop. So I instituted a hack that allows admins, via the admin user editor, to disable a user's ability to report posts. While I was at it today, I had a spurt of inspiration and decided to add another part that disables the "IP:logged" part of the post from showing to any groups other then admins and supermods (the only groups at that board allowed to view IPs).

So here it is, all in one nice, neat little vBhacker package.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 15 Jul 2002, 05:57
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Can you post a text file also?
Reply With Quote
  #3  
Old 15 Jul 2002, 06:01
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Real name: Mike
Cool, although if I were you and that guy disobayed my warning and continued to be a jackass--man, I sure wouldn't want to be in his shoes

Good hack ^_^
I did you the pleasure of making a text file for it:
Attached Files
File Type: txt text version hack.txt (16.7 KB, 82 views)
Reply With Quote
  #4  
Old 15 Jul 2002, 06:03
Fallout2man Fallout2man is offline
 
Join Date: Dec 2001
Thanks, and the main reason I did this was because one of the supermods demanded the entire feature be removed. I decided to meet him halfway and make a hack. Plus this is a good way to test the PHP I've learned over the past six months. A demo of this hack can be found at Anime Rebirth
Reply With Quote
  #5  
Old 15 Jul 2002, 06:07
Fallout2man Fallout2man is offline
 
Join Date: Dec 2001
Uh-oh, that text file generated some uneccesary slashes on the template and SQL query. I hate it how vBhacker sometimes does that. Here's the correct code


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #6  
Old 15 Jul 2002, 06:28
Brainmaster's Avatar
Brainmaster Brainmaster is offline
 
Join Date: Jul 2002
THX, I've got just befor you post this a problem with the SQL Syntax
Reply With Quote
  #7  
Old 15 Jul 2002, 07:33
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
???

I guess I don't understnad this hack. Isn't that what "report this post to moderator" is for? If the admins and mods are the only ones to see it, who are they supposed to report the post to?
Reply With Quote
  #8  
Old 15 Jul 2002, 08:19
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Real name: Mike
heh, it always seems like Boofo is the one confused, j/k

This hack basically allows you to disable certain members, who say abuse the rights, to using the report-a-thread-to-moderator link.

The hiding part doesn't hide the "report-a-thread-to-moderator" part, it just hides the IP:Logged part, since only admins/mods are suppose to see that anyway. It only hides the "report-a-thread-to-moderator" link if the option for it in the admincp is enabled, as I explained above.
Reply With Quote
  #9  
Old 15 Jul 2002, 08:36
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Not confused...

I'm not confused (hard to believe, I know ), I just think that by having to disable the report this post to moderator option because of one person puts the Admin at a disadvantage by letting the users force him/her to have to make changes to his board because of one user. That's what banning is for. If a user doesn't want to follow the rules and do what they are asked, then they need to be gone, IMHO. If you're going to diable it (even for one user), why not just take it out of the postbit altogether?

As far as hiding the IP logged feature, that has already been done.

Originally posted by Velocd
heh, it always seems like Boofo is the one confused, j/k

This hack basically allows you to disable certain members, who say abuse the rights, to using the report-a-thread-to-moderator link.

The hiding part doesn't hide the "report-a-thread-to-moderator" part, it just hides the IP:Logged part, since only admins/mods are suppose to see that anyway. It only hides the "report-a-thread-to-moderator" link if the option for it in the admincp is enabled, as I explained above.

Last edited by Boofo; 15 Jul 2002 at 08:42.
Reply With Quote
  #10  
Old 15 Jul 2002, 08:49
Fallout2man Fallout2man is offline
 
Join Date: Dec 2001
The idea of disabling it is because the administration at that particular board is very leniant on bannings. This way we can take away the problem without me having to rally for a ban and get the other two admins to agree with me. It easily removes the itch, and since this user was a problem to begin with (repeatedly banned and unbanned by the other admins) I figured this was a just punishment since banning was not an option.


Edit: As well I should point out that it is disabled per user, so not everyone was affected, only this one person. You might believe this to be a waste of code, but the only other option was alltogether removing it, and that I see as way too harsh a thing to do. So I wrote my own hack to solve the problem and at the same time test my knowledge of PHP.

Last edited by Fallout2man; 15 Jul 2002 at 08:52.
Reply With Quote
  #11  
Old 15 Jul 2002, 08:59
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Ok, I understand now. I thought it was for disabling it for ALL users. Sorry for the misunderstanding.

Banning is ALWAYS an option, as far as I am concerned. In most situations, it is the ONLY option. But, that is just my 3.5 cents worth (inflation, you know).

Is there a way to install this without doing the IP logged disable, since I already have that one done?

Originally posted by Fallout2man
The idea of disabling it is because the administration at that particular board is very leniant on bannings. This way we can take away the problem without me having to rally for a ban and get the other two admins to agree with me. It easily removes the itch, and since this user was a problem to begin with (repeatedly banned and unbanned by the other admins) I figured this was a just punishment since banning was not an option.


Edit: As well I should point out that it is disabled per user, so not everyone was affected, only this one person. You might believe this to be a waste of code, but the only other option was alltogether removing it, and that I see as way too harsh a thing to do. So I wrote my own hack to solve the problem and at the same time test my knowledge of PHP.
Reply With Quote
  #12  
Old 15 Jul 2002, 09:04
Fallout2man Fallout2man is offline
 
Join Date: Dec 2001
Yes, simply don't do this for the PHP


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and you'll have to edit the postbit template manually to add the $post[report] variable that checks whether or not a user can report the posts then either displays a link or not.
Reply With Quote
  #13  
Old 15 Jul 2002, 09:11
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
???

So, I still need to run the vbhacker file then? For the admin cp stuff?
Reply With Quote
  #14  
Old 15 Jul 2002, 09:35
Fallout2man Fallout2man is offline
 
Join Date: Dec 2001
I'd reccomend just using the text file since you're selectively installing PHP.
Reply With Quote
  #15  
Old 15 Jul 2002, 09:45
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
ok...

But don't I have to use the vbhacker file to make the text file? I didn't see anything about the admin cp in the code listed in the thread. If I am missing something, I apologize.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 17:18.

Layout Options | Width: Wide Color: