![]() |
i love this hack
used it to ban a hacker. not a vb hacker a bad guy "mess up your site" hacker |
With this hack installed it is now possible to warn a user more than once for the same post.
Would it be possible for the Add Warning link not to be displayed once a warning has already been added for that post? or at least make it not possible to warn for the same post more than once, with multiple moderators a single post can rack up the points when everyone warns for it. Also, everytime a warning is issued, in the notification message it shows the warning will expire on Never, no matter what duration is entered, it allways says Never. This is only in the message, the actual warning does expire when it is supposed to. Any suggestions? |
Quote:
Quote:
Quote:
Quote:
|
Quote:
Im wondering if i should just place a link there instead of useing the templates? |
Quote:
Find Code:
if($length = -1) { Code:
if($length == -1) { Nice work btw, i like it a lot. |
Harumph....another bug! :(
Yeah....I'm gonna update the files in a second.... |
Quote:
So i did the following. In warn.php find: Code:
} elseif($towarn['warninglvl'] >= $WarnBanThreshold) { Code:
$checkwarn = $DB_site->query_first("SELECT postid FROM warning WHERE postid='$postid'"); Create a new template called warn_alreadywarned with the following contents: Code:
This user has already has a current warning for this post. |
Nice little addon Tenpit..
I may give it a whirl. I have staff that are eager to press the warn button, and ocasionally a user ends up warned twice for the same post.. ;) Thanks for the bugfix too! |
great hack. installed with no problems. just one point tho, when the system emails out the user to tell them they have been naughty the subject line is empty. this causes a problem for me as my mail server blocks any mail with a blank subject line. can I hardcode a subject line in and if so where as its obviously not picking up the template for subj?
|
Quote:
Code:
eval("\$mailed = vbmail(\"".addslashes($towarn['email'])."\",\"".addslashes($subject)."\",\"".addslashes($msg)."\");"); Code:
eval("\$mailed = vbmail(\"".addslashes($towarn['email'])."\",\"".addslashes($subj)."\",\"".addslashes($msg)."\");"); |
I have this warning system installed and I set warnings to never expire. So after I warn someone, it said "forever" but the next day, it expired. For example: I warned someone on June 15. The next day I find that the warning was to be expired on June 14. And I set it to no expiration. So can anyone help me?
|
this is pretty nice, mind telling us how to install the expiry stuff into g-forces hack? cuz i already got that installed and don't feel like uninstalling and installing urs over again.
|
Installed!! Great hack! :)
|
Quote:
I think that was pretty much the main point of releasing a new version - for the expiry timing, and to clean a few things up template and coding wise. |
Can anyone answer my question?
|
Somebody please answer my question!!!!
|
Please post the warning config in the vBulletin options, as well as the information about the specific warning type you used....
|
Hi again Beorn,
It would appear I've stumbled upon another bug.. When giving someone a warning (in the add new warning window), the "Send a PM" and "Send an e-mail" checkboxes can't be checked.. :eek: Note that I followed the UPGRADE instructions, and I haven't noticed this bug until now because I haven't needed to warn anyone until now. |
Are you sure it's a bug? Go to the options, and make sure Send E-mail on Warning and Send PM on Warning are set to something other than "Don't Send"
|
Oh right, so because I have them set on "Always Send", they're blanked out, but will always send.. Cool, sorry for the confusion.. :o
|
Here is what happened. In vBulletin options, I checked "Never Expire" for warning points. And I set all warnings length to 0, which means forever. Then I gave someone warning points and it said "forever" in warning length. Then the next day, I found that the warning had expired and the expiration date was the day before the warnings were issued. And when I prolonged the length into 2000 days, and after a day, the warning value decreased. I think this is abug.
|
Ok, I tried to install this one today, but I'm having some serious trouble here.... The installation did go ok, but the links in the adminpanel and in postbit will not show up at all..!?
I have trippel checked that I have done everything by the book. Please help me with this one! |
/me clicks uninstall
|
There are bugs. It's a beta. Live with it.
0 doesn't mean forever. Set it to 99999 or something if you want that. |
*partang2 clicks uninstall too...
|
Even if you set it to 99999 the warning value decreases. And it's not beta. It's a full release. And this hacker has agreed to provide support for this hack.
|
Quote:
Be patient and I'm sure your question will be answered in time once somebody finds a fix for your problem. |
Blizzb: -1 means forever, 0 means nothing.
I'm sorry I can't provide instantaneous support. I even wrote in the first post that it may take a few days, or even a week to reply. partang2: did you go to the options and make sure to turn the warning system on? It's set to off by default in the case you have a weird usergroup setup... Mike |
for some reason all my mods can change the values of the warnings / times even tho in the admin cp i have it set so they cant overide the defaults.. any ideas?
|
:-\
Are they in the normal mod user groups (5 and 7)? |
no.. theyre like 21/24/36/37 etc.. i have like 10 mod groups to seperate different types of mods / users
is there a place somewhere where i can change it? if you have it set to not give full powers to? |
Around line 39, find this:
PHP Code:
|
thanks!, i was looking for that but for some reason coudln't see it
|
alright.. i've done some hacking and this crosses over into it
i don't know enough about php to make the confident edits to make this hack work alongside the others this replacement in showthread.php PHP Code:
PHP Code:
PHP Code:
|
youch.. ran into another major problem! o.O
i have commented it all out as i can do without the expiring for the time being when i add this in following $header=''; $footer=''; PHP Code:
I have vbportal hacked in so this must tie in somewhere.. imagine my surprise when my forums are reverted to the default and no header i can live without expiring warnings, but i would rather have them thanks in advance and cheers! [high]* Morgalis installs.. well most of it anyway ;)[/high] |
Quote:
I'm not sure what the problem is. Change the while line to the about 20 lines provided in the hacking instructions... |
Is there any problems with 2.3.2? I'm trying to install it and it's just bogging my server down!! :(
|
Quote:
|
well done m8...this will come in to very good use
Thank you |
Quote:
|
All times are GMT. The time now is 04:17 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:
|