vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Administrative and Maintenance Tools - ChilaxinMS Staff Comments (https://vborg.vbsupport.ru/showthread.php?t=280772)

vauge 08-31-2012 12:08 AM

Any chance to get this working in 4.2?

Thanks!

ChilaxinC 11-21-2012 12:36 AM

Quote:

Originally Posted by vauge (Post 2357933)
This does not appear to be working with 4.2

Quote:

Originally Posted by vauge (Post 2361357)
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

Faskis 10-27-2013 08:18 PM

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.

ChilaxinC 10-29-2013 03:51 AM

Quote:

Originally Posted by GrandTheftGamer (Post 2456680)
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

Faskis 01-06-2016 02:25 AM

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?


All times are GMT. The time now is 12:55 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00986 seconds
  • Memory Usage 1,736KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete