Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
ChilaxinMS Staff Comments Details »»
ChilaxinMS Staff Comments
Version: 1.3.1, by ChilaxinC ChilaxinC is offline
Developer Last Online: Dec 2014 Show Printable Version Email this Page

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!

Download Now

File Type: zip chilaxinms-staffnotes-1.3.1.zip (443.7 KB, 30 views)

Screenshots

File Type: jpg chilaxinms_admincp.jpg (63.8 KB, 0 views)
File Type: jpg staffnotes.jpg (53.6 KB, 0 views)
File Type: jpg staffnotes2.jpg (44.3 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
Alecsmith

Comments
  #22  
Old 08-31-2012, 12:08 AM
vauge vauge is offline
 
Join Date: Oct 2004
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any chance to get this working in 4.2?

Thanks!
Reply With Quote
  #23  
Old 11-21-2012, 12:36 AM
ChilaxinC ChilaxinC is offline
 
Join Date: Dec 2011
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vauge View Post
This does not appear to be working with 4.2
Quote:
Originally Posted by vauge View Post
Any chance to get this working in 4.2?

Thanks!
Hey sorry for the delay, never got the email notification that this wasn't working!

It is fixed now,
Thanks.

If you notice any bugs just drop of a reply/PM and I will fix it ASAP
Reply With Quote
  #24  
Old 10-27-2013, 08:18 PM
Faskis's Avatar
Faskis Faskis is offline
 
Join Date: Jul 2008
Location: Illinois
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
);

MySQL Error : Table 'threadcomment' already exists
Error Number : 1050
Request Date : Sunday, October 27th 2013 @ 01:25:46 PM
Error Date : Sunday, October 27th 2013 @ 01:25:47 PM
Script : http://--/forums/admincp/plugin.php?do=productimport
Referrer : http://--/forums/admincp/plugin.php?do=productadd
IP Address : --
Username : --
Classname : vB_Database
MySQL Version : 5.1.70-cll

Database error in vBulletin 4.2.2:

Invalid SQL:
ALTER TABLE `thread` ADD `threadcomments` INT( 10 ) UNSIGNED NOT NULL;

MySQL Error : Duplicate column name 'threadcomments'
Error Number : 1060
Request Date : Sunday, October 27th 2013 @ 01:28:15 PM
Error Date : Sunday, October 27th 2013 @ 01:28:16 PM
Script : http://--/forums/admincp/plugin.php?do=productimport
Referrer : http://--/forums/admincp/plugin.php?do=productadd
IP Address : --
Username : --
Classname : vB_Database
MySQL Version : 5.1.70-cll

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.
Reply With Quote
  #25  
Old 10-29-2013, 03:51 AM
ChilaxinC ChilaxinC is offline
 
Join Date: Dec 2011
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GrandTheftGamer View Post
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.

Thanks
Reply With Quote
  #26  
Old 01-06-2016, 02:25 AM
Faskis's Avatar
Faskis Faskis is offline
 
Join Date: Jul 2008
Location: Illinois
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:39 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.12657 seconds
  • Memory Usage 2,296KB
  • Queries Executed 21 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (6)post_thanks_box
  • (1)post_thanks_box_bit
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (4)postbit_attachment
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete