![]() |
Quote:
Well, the error is wrong and there's a bug in the code which stops you removing the first warning you place... warn.php:1345,6 and 7 are like this... if($_GET['id']=="" || !$_GET['id'] || $_GET['id']<=1){ RunError("Invalid User ID Input"); } Ok, id in this case is not a user id, its the ID of the warning! (copy and paste error I bet). Also, you need to change the 1 in the line to a 0, otherwise you can't remove the warning with the id of 1! so, change line 1345 to if($_GET['id']=="" || !$_GET['id'] || $_GET['id']<=0){ and you'll be able to remove the first warning. |
Jesus, this is correct! Thanks MGSteve, I appreciate it!!!!
Follow the instructions above folks, your problem should be solved. Sorry for that! |
Quote:
Although it would only effect the first warning, I don't know if the others were all trying to delete their first warning or not..? |
I'm getting 3 of these errrors now when posts are being made...
any ideas? Warning: preg_replace(): Compilation failed: nothing to repeat at offset 16 in /includes/functions_warning.php on line 706 |
Quote:
So basically all this did was allow you to get past the error message and remove the warning gif image from their post... |
Hi, 1st up, this is a great hack and extremely useful, so thanks to the author
I am however having a small problem, i have searched this thread and couldnt find a definate solution, the hack is working fine, if i warn someone they get warned or banned, which is all good But i cant remove the warnings, if i try to remove them either via the forum- member profile or the admin cp/member profile/complete removal i get page not found, a 404 error, this is the url it is trying to find HTML Code:
http://www.software-help.co.uk//admin_warn.php?act=completeremove&id=1&userid=7&uname=spazzo%20member&wname=Test%20warning&postid=728&orderstring= Anybody have any idea where i have gone wrong??? Or is this a known bug that i just havent found in this thread yet???? regards steve |
Quote:
|
It does seem to be the "bug" spoken of in this thread, i am also getting
Quote:
But i still havent found an actual solution to it in this thread, so i had better not test the warning system on anyone else :nervous: I already have one casualty....oops lol regards I have found a couple more bugs, this time in the admin control panel, when i goto a users profile and click view warnings, it goes to this url HTML Code:
http://www.software-help.co.uk/modcp/admin_warn.php?act=do_finduserwarnings&userid=7 Which gives a page not found error, which i know the reason for but dont know how to solve it I need that button to point to this url HTML Code:
http://www.software-help.co.uk/modcp/mod_warn.php?act=do_finduserwarnings&userid=7 Would appreciate a little nudge in the right direction on that :o Also, while in mod cp looking at a user profile still, "warn user non post related" button, when i click that, it gives this error Quote:
regards and ssorry for being a pain, i am new to all this, but i am very willing to learn |
Quote:
Something editable on the fly by the mod. A way to issue a warning and assign the points and days right then. Just a little more flexibility. :) This gives moderators a better chance to moderate. They can look at any circumstance and decide if the warning issued should be harsher or less than the default. |
Quote:
No, what it fixed was not being able to remove the first post. I did say in my follow up post that it probably won't fix everyone's problems. The bizarre thing is that I don't get half the problems removing warnings that you lot do... I just couldn't remove the first one, subsequent warnings have been removed fine. Although it doesn't remove the warning icon from the post that led to the warning, that just looks like it doesn't do that (as opposed to suppost to but doesn't because of a bug.) |
Quote:
Quote:
|
Hmm, I've got a problem with the script, and am clueless why it is.
I've set the number of warnings before ban to 4 (then he's banned 3days), and after 4 more warnings, the user is to be banned 6 days, then 9 and so on. It's only that when the user finally is unbanned, he's banned again after only one warning. Any solution? |
Gentlemen,
Please understand what "Remove" means. It means "Artificially Mature", it just removes the warning points, as if the warning had matured. The warned member still has a warning in his record (unless you are not using historical records). If you want to completely remove a warning (in case it was issued by mistake, for example) go to your AdminCP and use the "Completely Remove" function. |
Quote:
|
Quote:
Do you have any idea on how to fix the e-mail problem? :surprised: |
Quote:
Quote:
|
Quote:
|
Well, it could be something in the template (warn_em or warn_pm), but I can't check it anymore Xplorer4x4 has closed the test site that he had provided me with, so there is no way I can check it out.
Sorry! I was looking at the templates, as they are in the warn.xml distribution file, and there seems there are some issues there. For example, in warn_em template, there is this code: Code:
The post for which you are warned can be seen here: Code:
The post for which you are warned can be seen here: As for the email problem, I am not sure if the above will help you. The link to the warned post, should work fine from what I see in the code, if bburl is defined. |
Quote:
Hi there m8, i solved the problem, i changed the name of the mod_warn.php to admin_warn.php, it is in the correct directory, the mod_warn php file was uploaded to the modcp directory where it was supposed to be, the problem i was having is if i go into the MODCP and click the link it directs me to http://www.software-help.co.uk/modcp/admin_warn.php?act=do_finduserwarnings&userid=7 The problem with that re-direct url is it directs to the modcp directory and the admin_warn.php file, which is not in that directory, so something isnt right, the files are in the correct directory, but as i said i changed the mod warn files name to admin_warn and now the modcp functions work Still have other problems though :smoke: |
This is definitely not the right way to solve your problems. Something is wrong with your installation, and with your change, I sincerely doubt if you are going to fix it.
|
Quote:
|
Hey!
Perhaps something has changed with vB 3.5.3, but I can't find this: Quote:
I've found all of the other steps perfectly, but I can't find the last one :S Perhaps it's just me being silly though! Any help is appreciated! :D |
Why do the php files stop working when I change words in it from english to dutch?
It just gives a white page, so how can one change english words in another language? |
You would have to change the phrases I guess... Unless you change ALL the exact words into Dutch, it won't be able to connect the dots... Also, in the template edits, there were the wordlinks there, which are in English that you can change....
|
https://vborg.vbsupport.ru/
I have installed you hack but i ran into this problem which i cant seem to fix...anyone got an idea? :D |
Quote:
If I try to translate the hardcoded text it just sends a white page? Well its a nice script but these are points that need work. |
If you edit only the text, then there is no way you will get a white page. You most probably are editing more than you have to.
|
Quote:
|
Just... bumping my old question =)
Hey! Perhaps something has changed with vB 3.5.3, but I can't find this: Quote:
I've found all of the other steps perfectly, but I can't find the last one :S Perhaps it's just me being silly though! Any help is appreciated! :D |
Quote:
|
Quote:
But the odd thing, it sent a PM even though I didn't have the last PM part added in the template :S But, thanks for the help! :) |
hi people,
I've found a bug in this system.When you try to warn a user through the user manager in your admincp for a nonpost related warning it will show you "invalid userid input" and not allow you to issue the warning. this can be solved by folowwing this steps
FIND PHP Code:
PHP Code:
$userid should be $user[userid] save plugin all done |
Thanks Delphi!
|
Hey. I wonder If you could add a little something that shows that a post has been alerted? So that no-one goes warning that post when it's allready been alerted?
And another question, how come I can't COMPLETELY DELETE soft-deleted/inactive warnings?? |
No, there is nothing that shows that a post has been alerted, but there is a huge red sign which shows that a post has been warned. Maybe I can add another sign there, for alerts. Let me check that.
Inactive warnings cannot be deleted? Do you mean the "Prune Warnings" selection does not work? Update on the Alert Sign. I can't do it without a test site folks, this requires several changes in the hack, and I did it on the 3.4.xx version, but I can't work on fictional code. Let me know if the Prune Warnings is what is not working. |
Great hack, got it installed!
|
When clicking view someones warning and attempt to remove the warnings I get the invalid userid input also. I cant find where I need to fix this. Anyone got an idea?
After doing some odd research. I have 2 forums, one can do it and one cant. The major different I know is the mySQL version. Im upgrading the the sql version on the one server and will let u know. |
Check your Warn.php file. Search for:
Code:
if($_GET['do']=="RemoveWarning"){ Code:
if($_GET['id']=="" || !$_GET['id'] || $_GET['id']<=0){ |
remove waring works fine with me
|
Ok, Im having trouble locating wording within the emails that are sent to members when they get banned. Nothing seems to be in phrases. Ive searched the files, the plugins and no luck.
Where do you find this? "This is a permanent ban and will last for ever" Also any other wording in the emails would be helpful also. |
All times are GMT. The time now is 08:12 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:
|