flagflag  
Page Top

mainfile.php を修正 anchor.png

  • XOOPS_SSL_URL 変数を追加
    例) define('XOOPS_SSL_URL', 'https://www.nsl.tuis.ac.jp/xoops');
Page Top

 include/functions.php の xoops_refcheck() 関数を以下のように修正する (REFERER エラー対策) anchor.png

158,164c158
<     if (strpos($ref, XOOPS_URL) !== 0 ) {
---
>     // Fumi.Iseki
>     $ref = preg_replace("/^https:/i", "http:", $ref);
>     $url = preg_replace("/^https:/i", "http:", XOOPS_URL);
> 
>     //if (strpos($ref, XOOPS_URL) !== 0 ) {
>     if (strpos($ref, $url) !== 0 ) {
Page Top

User module のテンプレートを編集する anchor.png

  • ALTSYS がインストールされている場合.
    • 管理画面 -> SLTSYS -> テンプレート管理 -> User module を選択
  • ALTSYS がインストールされていないか使用しない場合
    • 管理画面 -> Legacy Renderer -> テンプレート管理 -> User module を選択
  • user_default.html
    -<form action="<{$xoops_url}>/user.php" method="post">
    +<form action="<{$smarty.const.XOOPS_SSL_URL}>/user.php" method="post">
  • user_block_login.html
    -<form action="<{$xoops_url}>/user.php" method="post" style="margin-top: 0px;">
    +<form action="<{$smarty.const.XOOPS_SSL_URL}>/user.php" method="post" style="margin-top: 0px;">
  • user_edituser.html
    -<form action="#" method="post">
    +<form action="<{$smarty.const.XOOPS_SSL_URL}>/edituser.php" method="post">
  • user_register_form.html
    -<form action="#" method="post">
    +<form action="<{$smarty.const.XOOPS_SSL_URL}>/register.php" method="post">

Front page   Freeze Diff Backup Copy Rename Reload   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)
Counter: 3701, today: 1, yesterday: 0
Last-modified: 2010-03-29 (Mon) 10:54:52 (JST) (5145d) by iseki

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthApr 2024Next Month
Su Mo Tu We Th Fr Sa
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
Today

Who's Online

101 user(s) are online (31 user(s) are browsing xpwiki)

Members: 0
Guests: 101

more...

Access Counter

Today : 1543015430154301543015430
Yesterday : 1529415294152941529415294
Total : 2341013023410130234101302341013023410130234101302341013023410130
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com