Version: , by Blootix
Developer Last Online: Nov 2015
Version: Unknown
Rating:
Released: 03-19-2005
Last Update: Never
Installs: 0
No support by the author.
When I executed that:
Code:
RENAME TABLE `".TABLE_PREFIX."warning_options` TO `".TABLE_PREFIX."NOT_USED_warning_options`
They gave me an error message of some sort, but quickly redirected the screen. It was some sort of Warning Error in db_mysql.php. The table was renamed though.
When I executed:
Code:
DROP TABLE `".TABLE_PREFIX."warning_options`
there was:
Code:
An error occurred while attempting to execute your query. The following information was returned.
error number: 1051
error desc: Unknown table 'vb3_warning_options'
I think we're supposed to do:
DROP TABLE '".TABLE_PREFIX."NOT_USED_warning_options'
Am I right?
Also, one more problem that I just found. If you warn somebody using a ' then it'll come up to be a \' when using the Moderator Comment.
For example, when I post,
Quote:
you'll
it comes out to be
Quote:
you\'ll
Another error: there is a parse error in the redirection page when you warn somebody where it says Test User X Has Been Warned, PM-ed and e-mailed. Taking You Back To The Post:
Code:
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /****/**********/public_html/board/includes/functions_warning.php(475) : eval()'d code on line 19
Another error: private messages are not working.
When a user try to send a private message to another user, the content of the private message would be absent. Look at the screenshot for more information.
EDIT: nevermind about the private message. I accidentally deleted the line
Code:
$message=$pm_message;
.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
You are correct about the table, I 'll correct the instructions.
I thought I had fixed that in the past, but it's not in the file, so you are right. I'll post a new zip file, in a while, dowload it and upload the includes/functions_warning.php file to your server.
The parse error I am not sure where it comes from maybe it is due to the PM problem? At that line, the program should be evaluating warn_pm, so maybe the two are related?
You are correct about the table, I 'll correct the instructions.
I thought I had fixed that in the past, but it's not in the file, so you are right. I'll post a new zip file, in a while, dowload it and upload the includes/functions_warning.php file to your server.
The parse error I am not sure where it comes from maybe it is due to the PM problem? At that line, the program should be evaluating warn_pm, so maybe the two are related?
Let me know if you are OK.
I fixed the PM problem, but the parse error was still there. I even made sure every modification to private.php was correct but the annoying parse error was still there. After I replace the fuctions_warning.php I'll try again.
I fixed the PM problem, but the parse error was still there. I even made sure every modification to private.php was correct but the annoying parse error was still there. After I replace the fuctions_warning.php I'll try again.
Use the following as your warn_pm template:
HTML Code:
Dear $user[username],
You have been warned for one of your posts, which violated $vboptions[bbtitle] Rules. The reason you have been warned is because:
[b][i] $warn_type[warn_desc] [/i][/b]
(Warning Type = $warn_type[warn_name])
For this violation, you have been given : [b]$warn_type[warn_points][/b] point(s).
The point(s) will remain in your account for [b]$warn_type[warn_maturity] days[/b].
After that, they will be removed automatically.
The post for which you are warned can be seen here:
$thread1
The admin/moderator who warned you, entered this comment:
=======================================
[i]$_POST[comment][/i]
=======================================
Your total Warning Level at the moment is: [b] $level [/b] point(s).
If you reach the maximum of [b]$vboptions[warn_points_before_banned][/b], you will be banned from the Forums, for [b] $peruserbanlimit [/b] days.
To see details about all the warnings you have received, until now, please click [URL="$vboptions[bburl]/Warn.php?do=ViewMyWarnings"]here[/URL].
Please reply back if you have a dispute.
I suspect an error in the warn.xml file, that was used to install the templates.
I also uploaded version 3.3.1 which fixes your apostrophe issues.
When we use $wcomment in the warn_view_row and warn_viewb_row templates, it doesn't work. The comment field would become blank (see screenshot) even though a Moderator comment was entered. When we use $warn[warned_reason], that "\" thing comes back. :surprised:
When we use $wcomment in the warn_view_row and warn_viewb_row templates, it doesn't work. The comment field would become blank (see screenshot) even though a Moderator comment was entered. When we use $warn[warned_reason], that "\" thing comes back. :surprised:
Any ideas?
Did you uploaded the new files from release 3.3.1?