Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
2 + 4 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     
"ファイル名・URL または 拒否文字列", です。 //  ユーザ名は /guest でログインしていない状態での制御となります。 //  また、/default で記載されていないユーザの状態となります。 // ファイル名は XOOPS/modules/auth/ のみで入った際に // 参照されるファイル名です。 // index.html 等であっても省略せずに記載して下さい。 // index.php は使用できません。index.html や default.php 等に // 変えて下さい。 //  URL も記載できます。その URL へ飛ばす事ができます。 //  http:// https:// 等も省略せずに記載して下さい。 // 「拒否する文字列」に記載された文字列を入れると // そのユーザは拒否となります。 // ● User Access Rights・Rejection or Default File name // "Username" => "Filename・URL or Rejection Character String" //  If the user is not logged in, the access is controlled by /guest //  then the user will be handled under the /default settings // The File name will have to start with XOOPS/modules/auth/ // index.html Do not further abbreviate // index.php Can not be used, so please change it to either // index.html or default.php //  URL can also be used, so that the URL will be displayed directly //  http:// https:// Do not further abbreviate // The users listed in the「Rejection String」 // will not have access to the files $auth_user = array ( "/default" => "index.html" ); //$auth_user = array ( // "user123" => "user.html", // "user234" => "user.html", // "userurl" => "http://url.com/user.html", // "/guest" => "/deny/", // "/default" => "index.html" ); // ● Content-Type に入れる MIME-TYPE // "拡張子" => "MIME-TYPE", です。 // 記載されていない拡張子を表示する場合は追記して下さい。 // ● Content-Type or MIME-TYPE // "Extension" => "MIME-TYPE", // Put in any missing extensions that are not listed yet. $auth_mimetype = array ( "ai" => "application/postscript" , "aif" => "audio/x-aiff" , : "xyz" => "chemical/x-xyz" , "zip" => "application/zip" ); After uploading the new settings, you will need to reinstall the Auth module in order to update the settings. Please see the reference below: (When the module is installed in the “auth” Folder) xoops/modules/auth/index.php/filename For Example if you want to display “index.html” in the “sample” folder the path will become: xoops/modules/auth/index.php/index.html The file does not necessarily have to be an html file. php will also be executed。Picture files will also be displayed. The .php and .html will be wrapped with XOOPS header and footer. If you do not want the XOOPS header and footer to be wrapped around a file you can change .php or .html to something else. For Example .htm or .php4 In case special extensions do not work properly, you will need to add, update, or renew the MIME-TYPE // ● Content-Type に入れる MIME-TYPE // "拡張子" => "MIME-TYPE", です。 // 記載されていない拡張子を表示する場合は追記して下さい。 // ● MIME-TYPE input in the Content-Type // "Extension" => "MIME-TYPE", // Please add any missing extensions freely $auth_mimetype = array ( "ai" => "application/postscript" , "aif" => "audio/x-aiff" , : "xyz" => "chemical/x-xyz" , "zip" => "application/zip" ); If the main menu is clicked, it becomes as follows: XOOPS/modules/auth/ In this case、the file will be opened that is set according to the user group access rights. // ● ユーザの許可・拒否およびデフォルトファイル名 // "ユーザ名" => "ファイル名・URL または 拒否文字列", です。 //  ユーザ名は /guest でログインしていない状態での制御となります。 //  また、/default で記載されていないユーザの状態となります。 // ファイル名は XOOPS/modules/auth/ のみで入った際に // 参照されるファイル名です。 // index.html 等であっても省略せずに記載して下さい。 // index.php は使用できません。index.html や default.php 等に // 変えて下さい。 //  URL も記載できます。その URL へ飛ばす事ができます。 //  http:// https:// 等も省略せずに記載して下さい。 // 「拒否する文字列」に記載された文字列を入れると // そのユーザは拒否となります。 // ● User Access Right・Denial or default file name // "UserName" => "Filename・URL or Rejection String" //  If the user is not logged in, the access is controlled by /guest //  then the user will be handled under the /default settings // The File name will have to start with XOOPS/modules/auth/ // index.html Do not further abbreviate // index.php Can not be used, so please change it to either // index.html or default.php //  URL can also be used, so that the URL will be displayed directly //  http:// https:// Do not further abbreviate // The users listed in the「Rejection String」 // will not have access to the files $auth_user = array ( "user123" => "user.html", "user234" => "user.html", "userurl" => "http://url.com/user.html", "/guest" => "/deny/", "/default" => "index.html" ); So in the above example、If the user is member of user123 or user234 then: XOOPS/modules/auth/index.php/user.html will be displayed. For members of userurl, the http://url.com/user.html For other users: XOOPS/modules/auth/index.php/index.html will be displayed. Users that are not logged in will be denied access. You can also leave out the /guest, in which case it will be handled as /default. In any case you should list “index.html” without any ommission. It might be that it does not work on environment other than Apache 1.3 Since the “Auth” module uses Apache specific code.   In case of Apache 2.0.30 or higher 、the problem can be resolved by using “AcceptPathInfo”   For Example: In case of .htaccess you can add the below line and then it will work:     php_flag AcceptPathInfo On   If you have direct access to the server、you can edit the   httpd.conf directly。   If you do not have direct access to the server, or you are running on an ISS Server, you can resolve the issue through delimeters: // ● 区切り(デリミタ) // 通常はこのままで構いません。index.php/ファイル名 となります。 // Apache 2.0 系で PATH_INFO の取得ができない設定にしてある場合は // "?" に変更して下さい。index.php?ファイル名 となります。 // ● Delimiter // Usually you do not have to change this parameter。 // By default it is: index.php/ // For users other than Apache 2.0 // when the “PATH_INFO” can not be acquired automatically // change it to "?", then “index.php?” will become the filename. $auth_delimiter = "/"; So if “?” is used, there will be a problem with the links. It is not possible to use relative links (For example ), so it will have to be called via the index.php file (For example ) It is the same problem if you create another sub folder nside the watch Folder. So in this case you can not run any php or CGI, so be careful using the above setting ・Practical Usage --------------------------------------- All files with .html .php .cgi will automatically be wrapped into the XOOPS environment. All referenced files and image files will also be recognised without the need to change the original files. Files with other extensions than the above will not be wrapped. With regards to links within the HTML files, the following options are possible:    Auth Module URL(index.php/ or index.php? )    files Directory URL   index.php access・deny can be controlled by user group Image files stored in the watch directory will also be recognised, however if the image files are very big, or there are a lot of image files, the load on the processor will be increased and performance will go down, up to the point that the server can not handle it. For this reason there is the $files directory, from which the files can be directly recognised by calling them as follows: filename For example if you insert the “image.gif” file into the files directory, it can be linked as follows: Relative links (for example can only be linked when they are within the watch folder or direct subfolder represented with a single "/". In case “?”, the file path will have to start with “index.php?”. Alternatively can be used to fix the path. Within the .html .htm .php .phpN (N=3〜5) files all php code will be executed.  Until version 1.02 require_once was used  From version 1.03 include_once is used It is possible to use the methods below:   $url = Auth Module URL(index.php/ or index.php? )   $files = files directory URL   $paths = Auth module path(index.php/ or index.php? )   $users = user name (/guest if the user is not logged in ) For Example by using the $users statement, the content can be made user group specific. php code within the files can be executed by the Auth module    * The characterset used in XOOPS has to be the same in the files    * by putting chdir in the header 、the php path can be adjusted     otherwise the full path can be used.    * in case of .php, the headers of http・HTML ・Cookie have to be removed。    * User name・URL・and mail links, Cookie will have to be adjusted to the XOOPS environment. In case of .cgi .pl, CGI will be executed using the statement passthru. (This is why php code will not run properly in safe mode) It is also possible to run perl CGI scripts within the Auth Module. It is possible to use the environment variables. Or variables from with the Auth module environment can be used.   POST_DATA = Use POST Method   URL_DATA = Auth Module URL(using index.php/・index.php? )   FILES_DATA = files directory URL   PATHS_DATA = Auth module path(using index.php/・index.php? )   USER_DATA = Username(It will be /guest if not logged in) From version 1.08 the variable environment can be changed through the account information.   USER_DATA_ADMIN = The admin user name・off limit for other users   USER_DATA_UID = UserID   USER_DATA_UNAME = User Name(When user not logged in there will be no data)   USER_DATA_AVATAR = User Avatar   USER_DATA_NAME = Real Name   USER_DATA_URL = Home page URL   USER_DATA_MAIL = Mail Address(Depending on release setting)   USER_DATA_EMAIL = Mail Address(Independent of release setting)   USER_DATA_ICQ = ICQ   USER_DATA_AIM = AIM   USER_DATA_YIM = YIM   USER_DATA_MSNM = MSNM   USER_DATA_FROM = Residence Information   USER_DATA_OCC = Occupation   USER_DATA_INTREST = Interests Beware of the below:  When using・POST method, the environment variables will be released in the POST_DATA environment.   Depending on standard input, the acquisition may not be possible   File Upload is not supported   Depending on the environment variables there may be a limit on the character set、so it may be that not all characters can be used.  ・On servers running Apache, even when using “suexec”, when php is executed by the Apache module, the suexec may not work.   Beware that the file authority will become the same as the php file.  ・The user name will be found in the USER_DATA environment variables.  ・When you want to run CGI in the XOOPS environment, beware of the following:    * Ensure that the XOOPS character set is the same as the file characterset.    * Use the chdir in the header to ensure that the CGI execute path is correct, or use relative path from the new location.    * In case of .cgi, please remove the headers and cookies of http・HTML.    * Remove environment variables, such as Username・URL・Mail, etc. and Cookie.    * Ensure that you adjust the POST method environment. When using the mod_rewrite of Apache, it is possible to use “index.php”. For Example: In case of using .htaccess Use the below .htaccess preparations:  RewriteEngine on  RewriteCond %{REQUEST_FILENAME} !-f  RewriteCond %{REQUEST_FILENAME} !-d  RewriteRule ^(.*)$ index.php/$1 [L,QSA] When using the “?” delimiter, you will need to change index.php/$1 to index.php?$1 . So the links will also become: index.php?... then it should run accordingly. The user access or default access to config.php can be accessed using ../ when it is placed outside the index.php root folder.  $auth_user = array (     "/default"    => "../index.html" ); In case of sub menu: you can take out index.php/ 。  $modversion['sub'][1]['name'] = "Menu Name";  $modversion['sub'][1]['url'] = 'File Name'; ・Other hints ------------------------------------- The Auth Module was presented to you by ROUTE286/XOOPS. Information that is not given above can be found at our home page (in Japanese only ;-()。 In case of any problems please refer to:   ROUTE286/XOOPS http://r286.com/xoops/ ・Thanks ---------------------------- I got a lot of help through the XOOPS Japan forums and hope this module will come in handy.   http://www.xoopscube.jp/modules/newbb/viewtopic.php?topic_id=3849&forum=13 I would like to give special thanks tadashi-san ^^ ・Contact・Newest information ---------------------------------------- The latest development can be found at ROUTE286/XOOPS . There is also a response form at ROUTE286/XOOPS. Please create links from your own home page to ROUTE286/XOOPS directly. When using Blog, we recommend you to use track path to link directly to:  ROUTE286/XOOPS http://r286.com/xoops/ The site also supports direct SSI and HTML linking  ROUTE286 http://r286.com/[/quote]" />

"Auth module" --(change)-> "WAKU"!
by KeiichiSHIGA on 2010/2/14 7:30:14

"Auth module" changed a name into ”WAKU" and showed it!!

WAKU (old name: Auth module)

There are an English preference and document in WAKU.
It is not necessary to be troubled with Japanese anymore.

But I confirm a mention error:
<?php $files ?> --> <?php print $files; ?>

Re: New module: Auth(e) (?)
by sailjapan on 2010/2/8 15:15:02

2-8-6 san,
I've opened a Japanese translations thread here. If you'd like to work together on this with me, I would feel much better about the quality of the translations.

Note to Mamba, I've just finished htdocs/modules/pm/language/japanese and am now working on htdocs/modules/profile/language/japanese

I'll send them to you soon.

Crip
Re: Japanese translations
by KeiichiSHIGA on 2010/2/8 3:46:42

Thank you for communication.

I introduce XOOPS 2.4.4 in XOOPS.me and test a Japanese language file now.
Resized Image

and about the splendid XOOPS module which is not equivalent to Japanese
I intend to produce a Japanese language file.

This work is great work with I alone.
Therefore I think about means to have you support it towards most by Wiki.
Re: "Auth module" changes.
by Mamba on 2010/2/7 16:44:22

2-8-6, great to see the new WAKU, and that you're using XOOPS 2.4!

BTW - SailJapan just translated few files of XOOPS 2.5 into Japanese UTF-8

Do you think, you could help us by sharing your translations, so we could have 2.4.4 and 2.5.0 in Japanese? If you want, we can add you to our SVN on SourceForge, so you could add/update your translations directly...

Anybody else who could help us with Japanese translations?

Re: "Auth module" changes.
by sailjapan on 2010/2/7 15:53:02

Great news, 2-8-6. Looking forward to downloading and testing.

Who's Online

122 user(s) are online (82 user(s) are browsing Support Forums)


Members: 0


Guests: 122


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits