정보기술

Genta Board Theme 0.9.7 Update

We have updated the bootstrap theme (0.9.7) for the Nouveau. You can use the bootstrap without changing the Gnuboard source. How to install After downloading the theme and installed in the Gnuboard Theme folder. Example)/theme/bootstrap/ Apply bootstrap5 in theme settings. In the default preferences, the recent postskine, search skin, user skin, and FAQ skin are applied to "(theme) Basic". How to use Use index; You can modify the index.php in the theme folder, but it is recommended to create a /main.php file and use it.

HTTP access information record

When using OpenAPI, it is to check whether the test and access information is properly Messos value, host, POST value when connecting[PHP] <? $log = $_SERVER['REQUEST_METHOD'].' '.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']."nn"; foreach($_SERVER as $k => $v) { if($k=='HTTP_HOST') continue; if(substr($k, 0,5)!='HTTP_') continue; $log .= '$k: $v'."n"; } $log .= "n"; $post = array_map('urldecode', explode('&', file_get_contents('php://input'))); foreach($post as $v) { $log .= "$vn"; } $log .= "-----------------------------------n"; file_put_contents('log.txt', $log, FILE_APPEND | LOCK_EX); ?> [/PHP]

Gnuboard backup rehearsal practice

After receiving the backup carefully (??) to convert the existing DB from EUC-KR to UTF8, I opened it with Editplus, and it contains characters that can be lost in encoding, Ignoring it with a job and changing it to UTF8 and IMPORT .... Damn ㅠㅠ Broken letters Search in a hurry ~~~~ In the end, I can't see the method .. (When dumping-default-character-set, you can't give you all the options ...

Gnuboard linked completion

Based on the WordPress member DB, it was linked with Gnuboard to make it possible to write when logging in from BBS. Sharing cookies with sub domain Save the source below as "WP-SSO.PHP" on the server where the WordPress is installed.[PHP][/PHP]If there is no gnuboard session value and WordPress cookie value, module 2 is processed on the server to implement SSO (SINGLE SIGN ON) function If you have a gnuboard session value and the WordPress cookie value, you can empty the session and gangcy the page Nuboard ...

Bring jQuery from Google

Because of the traffic, the images and flash files were moved to another server and connected. JQuery finds the following source while surfing and connects to Google Modified File: Theme/Functions.php[PHP] //Making jQuery Google API function modify_jquery() { if (!is_admin()) { // comment out the next two lines to load the local copy of jQuery ...