アーカイブ | RSS |
  
投稿者 : akita 投稿日時: 2012-05-22 (816 ヒット)

fckxoopsの設定は、editor/filemanager/connectors/php/config_and_auth.inc.dist.php にまとまっています。これをカスタマイズする際には、config_and_auth.inc.php にリネームしてから編集します。

17行目:$fck_uploadable_groups = array(1,4) ; とする
このとき1,4はユーザーG番号です。

 

上記ユーザに限り任意のファイルタイプをアップロードできるようにする場合。
28行目
 $fck_allowed_extensions = array(
   'jpg' => 'image/jp' ,
   'jpeg' => 'image/jp' ,
   'png' => 'image/png' , 
   'gif' => 'image/gif' ,
   'pdf' => '' ,
  'xls' => '' ,  
 ) ;

 

参考リンク
http://xoops.peak.ne.jp/md/mydownloads/singlefile.php?lid=93

http://www.xugj.org/modules/QandA/index.php?topic_id=1210
 



投稿者 : akita 投稿日時: 2011-10-13 (770 ヒット)

ほとんどのオブジェクト指向言語では参照でやり取りされる。この場合、オブジェクトが参照を通じて共有されているとその状態が変更される可能性が問題となる。


もしオブジェクトがイミュータブルであったならオブジェクトの複製はオブジェクト全体の複製ではなく、単に参照の複製で済む。


 


投稿者 : akita 投稿日時: 2011-09-22 (1183 ヒット)

ポイント1:VBAはコンストラクタ(Class_Initializeメソッド)に引数を持たせられないので、別途init関数を作成する

ポイント2:init関数は一度しか呼び出せないようにClass_Initializeで定義する。

 


投稿者 : akita 投稿日時: 2011-09-22 (813 ヒット)

|mb_truncate:64:"...":"utf8"

/*

 * Smarty plugin

 * -------------------------------------------------------------

 * Type:     modifier

 * Name:     mb_truncate.php

 * Author:  
http://c-brains.jp/blog/wsg/07/06/14-160910.php

 * Use Sample: {$string|mb_truncate:5:"...":'utf8'}

 * Parm: 5 is num_2byts strings

 * -------------------------------------------------------------

 */




function smarty_modifier_mb_truncate($string, $length = 80, $etc = '...', $encoding = '') {

if ($length == 0) {return '';}


if (mb_strlen($string,$encoding) > $length) {

return mb_substr($string, 0, $length,$encoding).$etc;

} else {

return $string;

}

}


 


(1) 2 »

カテゴリ一覧

ログイン

ユーザ名:

パスワード:



パスワード紛失

新規登録
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/modules/dbtheme/preload.php line 33
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file modules/legacy/preload/InstallerChecker.class.php line 32
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file modules/legacy/preload/ThemeSelect.class.php line 32
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file modules/legacyRender/preload/Cacheclear.class.php line 26
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file modules/legacyRender/preload/Cacheclear.class.php line 29
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file modules/pm/preload/Preload.class.php line 10
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file modules/pm/preload/Preload.class.php line 36
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file modules/pm/preload/Preload.class.php line 61
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file modules/pm/preload/Preload.class.php line 86
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/modules/bulletin/class/bulletin.php line 208
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/modules/bulletin/class/bulletin.php line 494
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file kernel/user.php line 521
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file kernel/user.php line 542
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file kernel/user.php line 644
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file modules/cubeUtils/preload/AutoLoginHack.class.php line 79
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/app/Xanhte_Controller.php line 303
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/app/Xanhte_Controller.php line 320
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/app/Xanhte_Controller.php line 350
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/lib/Ethna/Ethna.php.Revision.1.1 line 365
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/lib/Ethna/Ethna.php.Revision.1.1 line 386
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/lib/Ethna/Ethna.php.Revision.1.1 line 407
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/lib/Ethna/class/Ethna_AppManager.php line 181
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/lib/Ethna/class/Ethna_AppManager.php line 189
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/lib/Ethna/class/Ethna_AppManager.php line 233
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/lib/Ethna/class/Ethna_AppManager.php line 271
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/lib/Ethna/class/Ethna_Backend.php line 346
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/lib/Ethna/class/Ethna_Backend.php line 410
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/lib/Ethna/class/Ethna_Controller.php line 214
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/lib/Ethna/class/Ethna_Controller.php line 722
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/lib/Ethna/class/Ethna_Controller.php line 737
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/lib/Ethna/class/Ethna_Controller.php line 754
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/lib/Ethna/class/Ethna_Controller.php line 769
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/lib/Ethna/class/Ethna_Controller.php line 870
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/lib/Ethna/class/Ethna_Controller.php line 894
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/lib/Ethna/class/Ethna_Controller.php line 985
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/lib/Ethna/class/Ethna_Controller.php line 1015
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/lib/Ethna/class/Ethna_Controller.php line 1020
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/lib/Ethna/class/Ethna_Controller.php line 1294
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/lib/Ethna/class/Ethna_ClassFactory.php line 108
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/lib/Ethna/class/Ethna_ClassFactory.php line 153
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/lib/Ethna/class/Ethna_ClassFactory.php line 178
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/lib/Ethna/class/Ethna_ClassFactory.php line 213
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/lib/Ethna/class/Ethna_ClassFactory.php line 226
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/lib/Ethna/class/Ethna_ClassFactory.php line 239
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/lib/Ethna/class/Ethna_ClassFactory.php line 252
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/lib/Ethna/class/Ethna_ClassFactory.php line 265
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/lib/Ethna/class/Ethna_ClassFactory.php line 278
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/lib/Ethna/class/Ethna_ClassFactory.php line 291
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/lib/Ethna/class/Ethna_ClassFactory.php line 304
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/lib/Ethna/class/Ethna_Handle.php line 45
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/lib/Ethna/class/Ethna_Handle.php line 161
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/lib/Ethna/class/Ethna_UrlHandler.php line 62
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/lib/Ethna/class/Ethna_ViewClass.php line 162
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/lib/Ethna/class/Ethna_Plugin.php line 185
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/lib/Ethna/class/SOAP/Ethna_SOAP_GatewayGenerator.php line 120
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/lib/Ethna/class/SOAP/Ethna_SOAP_WsdlGenerator.php line 152
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/lib/Ethna/class/SOAP/Ethna_SOAP_WsdlGenerator.php line 366
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/lib/Ethna/class/SOAP/Ethna_SOAP_WsdlGenerator.php line 410
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/app/Xanhte_DB_PEAR.php line 93
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/app/Xanhte_BackendLegacy.php line 89
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/app/Xanhte_BackendLegacy.php line 185
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/app/Xanhte_ActionClass.php line 93
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/app/Xanhte_AppManager.php line 54
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/app/Xanhte_AppManager.php line 68
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/app/Xanhte_AppManager.php line 92
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/app/Xanhte_AppManager.php line 121
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/app/Xanhte_AppManager.php line 186
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/lib/ITT_Util.php line 142
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/lib/ITT_Util.php line 299
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/xanhte/app/xc_class/Xanhte_LegacyModuleAdapter.php line 28
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file kernel/member.php line 79
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file kernel/member.php line 80
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file kernel/member.php line 81
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file kernel/group.php line 81
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file kernel/group.php line 190
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file kernel/group.php line 245
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file kernel/group.php line 266
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file kernel/groupperm.php line 144
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file kernel/groupperm.php line 166
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file kernel/groupperm.php line 255
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file modules/legacyRender/kernel/Legacy_RenderSystem.class.php line 126
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file modules/legacyRender/kernel/Legacy_RenderSystem.class.php line 129
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file modules/legacyRender/kernel/Legacy_RenderSystem.class.php line 145
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file modules/legacyRender/kernel/Legacy_RenderSystem.class.php line 538
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file modules/legacyRender/kernel/Legacy_RenderSystem.class.php line 542
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file modules/legacyRender/kernel/Legacy_RenderSystem.class.php line 547
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/modules/bulletin/main/index.php line 121
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file kernel/tplfile.php line 78
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file kernel/tplfile.php line 98
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file kernel/tplfile.php line 255
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/modules/bulletin/blocks/bulletin_category_new.php line 175
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/modules/bulletin/blocks/bulletin_new.php line 137
Warning [PHP]: Parameter 1 to StdCache_Initialize::setForModule() expected to be a reference, value given in file core/XCube_Delegate.class.php line 356
Unknown Condition [8192]: Function ereg_replace() is deprecated in file V8zYbTssW9_trust_path/modules/bulletin/class/bulletin.php line 636
Unknown Condition [8192]: Function ereg_replace() is deprecated in file V8zYbTssW9_trust_path/modules/bulletin/class/bulletin.php line 638
Unknown Condition [8192]: Function ereg_replace() is deprecated in file V8zYbTssW9_trust_path/modules/bulletin/class/bulletin.php line 636
Unknown Condition [8192]: Function ereg_replace() is deprecated in file V8zYbTssW9_trust_path/modules/bulletin/class/bulletin.php line 638
Unknown Condition [8192]: Function ereg_replace() is deprecated in file V8zYbTssW9_trust_path/modules/bulletin/class/bulletin.php line 636
Unknown Condition [8192]: Function ereg_replace() is deprecated in file V8zYbTssW9_trust_path/modules/bulletin/class/bulletin.php line 638
Unknown Condition [8192]: Function ereg_replace() is deprecated in file V8zYbTssW9_trust_path/modules/bulletin/class/bulletin.php line 636
Unknown Condition [8192]: Function ereg_replace() is deprecated in file V8zYbTssW9_trust_path/modules/bulletin/class/bulletin.php line 638
Unknown Condition [8192]: Function ereg_replace() is deprecated in file V8zYbTssW9_trust_path/modules/bulletin/class/bulletin.php line 636
Unknown Condition [8192]: Function ereg_replace() is deprecated in file V8zYbTssW9_trust_path/modules/bulletin/class/bulletin.php line 638
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file V8zYbTssW9_trust_path/libs/smartyplugins/function.d3comment.php line 42
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file modules/legacy/kernel/Legacy_EventFunctions.class.php line 22
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file modules/legacy/kernel/Legacy_EventFunctions.class.php line 42
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file modules/legacy/kernel/Legacy_EventFunctions.class.php line 59
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file modules/legacy/kernel/Legacy_EventFunctions.class.php line 202
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file modules/legacy/class/theme.php line 46
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file modules/legacy/class/theme.php line 52
Unknown Condition [8192]: Assigning the return value of new by reference is deprecated in file modules/legacyRender/kernel/DelegateFunctions.class.php line 26