Version: 1.3.1, by ChilaxinC
Developer Last Online: Dec 2014
Category: Administrative and Maintenance Tools -
Version: 4.x.x
Rating:
Released: 03-27-2012
Last Update: 10-28-2013
Installs: 19
DB Changes Uses Plugins Template Edits
Re-useable Code Additional Files Translations
No support by the author.
ChilaxinMS Staff Comments v1.3
Allows staff members and predefined users to converse about a thread without normal user's seeing it. Displays above the thread and allows a "Auto Post" function on the posting of a staff comment.
I have personally tested it on vBulletin version 4.0.8, but I can't see it having any problems with any 4.x.x versions, but if there is an error please tell me and I will fix right away!
Features:
-Allows usergroups to see staff notes
-Allows specific users to see staff notes
-Supports BB Code
Version Releases:
1.0.0
- Initial Release (only for Beta testers)
1.0.1
- Fixed some users not being able to see the staff comments due to user ID.
- Fixed the Forum/Thread "updater" to actually show the auto comment as the latest reply.
- Added prefix support.
- Added MySQL injection checking (You never know when your staff will get mad!)
1.2
- Compatible with 4.2 (Sorry for the delay, never got a notification!)
1.3
- Fixed an issue with vBulletin usergroup HTML markup causing SQL errors.
(If your usergroup markup had single quotes ( ' ) it would cause SQL errors
- Added more security measures.
1.3.1
- Fixed an issue with upgrading from previous versions.
Please let me know of any bugs/errors/requests and I will fix right away!
For those of you who updated to vB 4.2.2 and are getting the following error:
Code:
Warning: Function split() is deprecated in ..../displaystaff.php on line 23
Warning: Function split() is deprecated in ..../displaystaff.php on line 29
Change the split() functions in all three files (addstaff.php, deletestaff.php, displaystaff.php) to explode().
Also, upgrading from 1.2 to 1.3 yields these errors:
Quote:
Database error in vBulletin 4.2.2:
Invalid SQL:
CREATE TABLE `threadcomment` (
`threadcommentid` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
`threadid` INT(10) UNSIGNED NOT NULL,
`userid` INT(10) UNSIGNED NOT NULL,
`username` VARCHAR(100) NOT NULL,
`dateline` INT(10) UNSIGNED NOT NULL,
`comment` TEXT NOT NULL
);
For those of you who updated to vB 4.2.2 and are getting the following error:
Code:
Warning: Function split() is deprecated in ..../displaystaff.php on line 23
Warning: Function split() is deprecated in ..../displaystaff.php on line 29
Change the split() functions in all three files (addstaff.php, deletestaff.php, displaystaff.php) to explode().
Also, upgrading from 1.2 to 1.3 yields these errors:
Simple checks to see if they exist should suffice here. I simply deleted the table and column and had the script recreate it to finish the updates.
Fixed the above, let me know if everything works well, I notice no errors.
I noticed recently that php's error_log has been getting filled up with the following error:
Code:
PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in displaystaff.php on line 40
I know that this can generally be ignored, but the forums do utilize mysqli. Any possibility this could get adjusted, either directly in the code for this mod or utilize vB's connection functions?