![]() |
|
Mod Options |
![]() |
|||||||||||
Only Show IP:Logged if user is admin or supermod, and disable Post report by user
![]() Developer Last Online: Mar 2004 ![]() ![]() ![]() This modification is in the archives.
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
No members have liked this post.
|
Comments |
#2
|
|||
|
|||
Can you post a text file also?
No members have liked this post.
|
#3
|
||||
|
||||
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:
__________________
My OpenSource (as in do with them what you want no need to ask for permission) Scripts: 7/25/04 » Article Bot 1.1, vB3 Member Album 2.0, BB Code Functions, Advanced Search w/Member Conditions, Eggdrop IRC Manager, IRC Manager for mIRC, Existing Topics Check http://www.mozilla.org/products/fire...efox_80x15.png No members have liked this post.
|
#4
|
|||
|
|||
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
No members have liked this post.
|
#5
|
||||
|
||||
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
No members have liked this post.
|
#6
|
||||
|
||||
THX, I've got just befor you post this a problem with the SQL Syntax
![]() No members have liked this post.
|
#7
|
||||
|
||||
???
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?
![]() No members have liked this post.
|
#8
|
||||
|
||||
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.
__________________
My OpenSource (as in do with them what you want no need to ask for permission) Scripts: 7/25/04 » Article Bot 1.1, vB3 Member Album 2.0, BB Code Functions, Advanced Search w/Member Conditions, Eggdrop IRC Manager, IRC Manager for mIRC, Existing Topics Check http://www.mozilla.org/products/fire...efox_80x15.png No members have liked this post.
|
#9
|
||||
|
||||
Not confused...
I'm not confused (hard to believe, I know
![]() ![]() As far as hiding the IP logged feature, that has already been done. ![]()
No members have liked this post.
Last edited by Boofo; 15 Jul 2002 at 07:42. |
#10
|
|||
|
|||
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. No members have liked this post.
Last edited by Fallout2man; 15 Jul 2002 at 07:52. |
#11
|
||||
|
||||
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? ![]()
No members have liked this post.
|
#12
|
||||
|
||||
Yes, simply don't do this for the PHP
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. No members have liked this post.
|
#13
|
||||
|
||||
???
So, I still need to run the vbhacker file then? For the admin cp stuff?
No members have liked this post.
|
#14
|
|||
|
|||
I'd reccomend just using the text file since you're selectively installing PHP.
No members have liked this post.
|
#15
|
||||
|
||||
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.
![]() No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 15:27.