![]() |
I have another question...to sv1cec,
Within on these post there are several mentions of the hack allowing and not allowing certain users to view any or all of the warning hack details. I was woundering if I could get some sort of clarification on what I need to do in order to accomplish the following using your files. 1) I want to have all members regardless of there status to be able to view there own warnings, but not that of other members. 2) Only the Moderators that are assigned a specific forum are allowed to use the warning system within that forum...but are able to see the status of other members...but not able to do anything if its not there forum they moderate. 3) SuperMods need to have access to the warning system in all forums. 4) Admins can not be warned. 5) Supermods can warn mods Right now...I am using your files on my board. I created a test user...and nomatter what status I give this user...It can see the warning system. Again...I no some of these... if not all are posted in this thread...but from what I gather...they are not using the files that you submitted in order to use your config. Thanks for any clarification. |
Quote:
As far as I remember, a moderator can see everyone's warnings (even in a forum he is not moderating), but can only issue warnings in the forums he/she is moderating. That is done, to help the moderator get a better idea of how bad a user is. I do not use Supermoderators, so I do not know what they can and cannot do, at this moment. Sorry. An administrator can do whatever he likes. Admins, mods and supermods cannot be warned, these are the protected user groups, declared in the Warning Options. rgds |
One thing that has been requested in the past, or at least I think this is what has been requested, is to have increased banned days, depending on the ... offensiveness of the warned member. So what I did, is I did some mods, to increase the number of days a member is banned, if he is banned more than one time.
To clarify this, if a member is banned for the first time, let's say he is banned for days. If you activate this new feature (controlable from the Warning Options in AdminCP), if the same member is banned again, he will be banned for 14 days (2x7) If he is banned again, he will be banned for 21 days (3x7) etc.. The mods allow you to define a maximum number of bans, after which the member is permanently banned from your forums. The mods are listed in the attached file, but if you have any problems, please let me know. rgds |
For those who downloaded the above instructions, please note that I had a small mistake in the file. Ijust reuploaded the instructions.
The mistake was in a line in Warn.php file, which said: Replace with: PHP Code:
PHP Code:
|
Again, good work sv1 :) I hope to repay some day.
There is a problem, I cannot find; Code:
<b>User ID :</b> $userid |
And one question; How do I remove the
Guest - No Permissions Unable To View Guests Are Unable To View This Page When a guest tries to view warnings (I have allowed all people to view warnings, but it seems not for guests). |
Quote:
If you can't find that, try finding this: PHP Code:
Quote:
Rgds |
Sounds almost like a usergroup permission thing?
|
Quote:
HTML Code:
<if condition="$bbuserinfo[userid]=='0'"> HTML Code:
$warn_page |
Quote:
|
Thank you sv1 - this did it!
|
Quote:
How do you plan to import the rest of the information? Is there a script you would run? It's not easy to tell if I do not know the other system and I have no experience with any other one. The number of times a user has been already banned, is stored in his record in the user table, in the column called warning_bans, if that's of any help. Rgds |
Quote:
Hello sv1cec any good news? no mean to push you, just let me know some information. thanks a lot. rgds, |
How can I stop my Super Mods warning my Admins?
|
Quote:
|
@beano33:
I was using what sounds like a similar system involving the usernotes and the built-in ban feature of vbulletin up till now. What we did was create an "instant ban" warning type titled "Previously Banned" and in the description we put "see user notes for details". Then we just applied this warning to everyone that was previously banned. Thought that that might be helpful... |
Quote:
Search for: PHP Code:
PHP Code:
I hope this helps. Rgds |
Quote:
I'll post here if I get any result on the paging thing. Rgds UPDATE: I spend about 5 hours trying to figure that out, using admincp/user.php as an example. Unfortunatelly, I didn't manage to finish it. I have managed to display the first x warnings of y, but then I can't make it continue to the rest of them. If I don't manage it tomorrow morning, you will have to live with a long list. I am fed up (not with you, with the bloody code). Rgds |
OK, the paged layout for the Warning Logs is done.
You have to add a new column in your warning_options table, using the following SQL Query (remember to use the TABLE_PREFIX if you are using one): alter table `warning_options` add warnings_per_page int(3) After you've done this, use the attached admin_warn.php file. Sorry I can't provide a detailed step-by-step mods write-up, too many changes to make it viable. Let me know if it works. Rgds ------------ John |
Is it possible to make it so I can set out a system like this :
5 - Warnings = 3 day ban. After those 3 days are up, then another 5 warnings = 10day ban Thanks /Blam |
Quote:
5 - Warnings = 3 day ban. 5 more Warnings = 6 day ban. I could make the multiplication factor a parameter in warning_options, but it will have to be a multiple of the original ban days parameter. etc. |
Quote:
Rgds |
Here's a tip for those who use Super Moderators. The conditionals in the hack are written for Moderators as the primary usergroup. If you don't want to edit that, you can make everything work fine by changing usergroup settings.
For Super Moderators use the settings: Primary Usergroup: Moderators Display Usergroup: Super Moderators Additional Usergroups: Super Moderators As long as the primarary usergroup is moderators, everything in the hack works fine. Your Super Moderators will still be displayed as Super Moderators and have Super Moderator permissions doing it this way. |
Quote:
Oh well, if I find the time, some day, perhaps. But I guess if this is added, then I'll have to spend some time coming up with proper documentation of changes, compared to the standard release, and maybe release the whole thing as a new hack, with thanks to the original author, Zero Tolerance, of course. Rgds ----------- John |
Quote:
Quote:
|
Quote:
As for your suggestion for the supermods, it is indeed very nice. Rgds |
Quote:
I asked one of the vB people this in mid-September before I upgraded from 3.0.1 to 3.0.3 and was told it would be at least a few months before the next version and that I should update then unless I have a lot of custom programming in PHP. There's a list of file changes in the announcements forum at vbulletin.com. I was able to upgrade with only one major problem due to a search hack that we installed that modified search.php. vB changed it's search so if you have any search hacks installed, it's liable to conflict, so it's best to remove it before you start. The other issues just involved redoing the templates we had modified (postibit legacy, navbar, and a few I can't remember). It was simply a matter of saving the templates we had modded as text files and pasting them back in. They all worked fine with the upgrade. Custom templates and custom php files weren't affected. |
Quote:
my templates look nothing like you ones you posted :( |
Quote:
Rgds |
Quote:
I'm using zero tolerances version and I didn't know there was another version within this thread. that's the problem I have. |
Quote:
Rgds |
Quote:
And in a document way? Your mods are very useful for all, i think. Please :ermm: |
Quote:
After that, I promise, I'll add no more functionality and I'll try to do a properly documented hack. At least now I have the original files and a tool to compare them with my modified ones, so it shouldn't be too difficult. And I assume that if I forget something, you folks, will not jump to kill me. Wish me luck with the upgrade, the sooner I am done with it, the sooner I'll start working on the fully documented hack. I'll post any announcement here too. Rgds ----------- John |
Good luck! Should be pretty painless.
|
Quote:
I think I am at a pretty good point right now, but it's two am here almost and I need some sleep. We'll talk tomorrow. Rgds |
i need help!!
What do i need to change to make it so that Admins, Super Mods, and moderators (only in their own forums) can use the "Warn 'User'" link and that the "View 'User's Warnings" Can be used also by Admins, Super Mods, moderators (only in their own forums) AND registered users (in my case usergroups 2,10,9) if it is their post... Thanks alot in advance! |
Quote:
|
a moderator in my forum warned someone for a post outside his forum
|
Quote:
Which version of this hack are you using? My version does not allow a moderator to warn someone unless the post is in one of the mods forums. If you are using the original Zero Tolerance's hack, I am sorry, I can't be of much help. Rgds |
im using 1.5
|
All times are GMT. The time now is 04:57 AM. |
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:
|