The Arcive of vBulletin Modifications Site. |
|
The SQL Queries... for the Upgrade Instructions Details »»
|
|||||||||||||||||||||||||||||
|
The SQL Queries... for the Upgrade Instructions
Developer Last Online: Nov 2015
When I executed that:
Code:
RENAME TABLE `".TABLE_PREFIX."warning_options` TO `".TABLE_PREFIX."NOT_USED_warning_options` When I executed: Code:
DROP TABLE `".TABLE_PREFIX."warning_options` 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' 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:
Quote:
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 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
|
|||||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
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. |
|
#3
|
|||
|
|||
|
Quote:
|
|
#4
|
|||
|
|||
|
Quote:
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 also uploaded version 3.3.1 which fixes your apostrophe issues. Rgds |
|
#5
|
|||
|
|||
|
One more thing :nervous:
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? |
|
#6
|
|||
|
|||
|
Quote:
Rgds |
|
#7
|
|||
|
|||
|
Quote:
|
|
#8
|
|||
|
|||
|
Quote:
Sorry Blootix, please use $wmessage instead of $wcomment in those two templates. |
|
#9
|
|||
|
|||
|
Quote:
|
![]() |
|
|