게시판 답변이 생성됐습니다

6 글 보임 - 1에서 6 까지 (총 6 중에서)
  • Avatar of dece24dece24
    Participant
    @dece24
    #2469

    윤석찬님의 블로그에 오픈아이디 플러그인 관련 포스트를 보고 저도 설치하려고 시도했다가 실패했습니다.

    제가 설치하려고 하는 플러그인은 아래 URL 을 참조해 주세요.
    http://the-notebook.org/12/01/2006/openid-comments-for-wordpress/

    윤석찬님도 "간만에 모든 서버 라이브러리를 업그레이드 하면서 curl 최신 버전이 php와 안맞아서 삽질을 좀 했네요." 라고 말씀하시던데 저는 이게 무슨소리인지 잘 모르겠구요. 혹시 이것과 관련된 문제 때문은 아닌지 궁금합니다.

    해당 플러그인의 설치도움말은 아래와 같았구요.

    INSTALLATION

    1. Upload the full directory into wp-content directory.
    2. Copy wp-content/themes/default/openidform.php and wp-content/themes/default/openidtrustpage.php into your current theme folder.
    3. Replace the code that outputs comment form in your comments.php template (or wp-paged-comments.php if you use it) with following: <?php include TEMPLATEPATH . ‘/openidform.php’?>.
    Usualy it begins with something like: <?php if ( get_option(‘comment_registration’) && !$user_ID ) : ?> and ends with something like: <?php do_action(‘comment_form’, $post->ID); ?> </form>
    4. If you used previous version of plugin you should deactivate it in Plugin options.
    5. Activate plugin in Plugin options.
    6. If you use SubscribeToComments or Brian’s Threaded Comments edit the file openidform.php and uncomment marked lines.

    일단 시키는대로 죄다 했음에도 불구하고 해당 플러그인을 활성화 하게 되면 아래와 같은 오류메시지가 나타납니다.

    Parse error: parse error, unexpected T_ELSE in /home/hosting_users/nurizip/www/wp/wp-content/themes/Naradesign_v1.0/comments.php on line 44

    오류메시지가 지적하는 부분의 comment.php 의 해당 코드는 아래와 같습니다.

    40 <!--Open ID Start-->
    41 <?php include TEMPLATEPATH . '/openidform.php'?>
    42 <!--Open ID End-->
    43 <?php endif; // If registration required and not logged in ?>
    44 <?php else : // Comments are closed ?>
    45 <p>
    46 <?php _e('Sorry, the comment form is closed at this time.'); ?>
    47 </p>
    48 <?php endif; ?>

    서버사이드쪽 지식이 없어서 오류수정방법을 가급적 구체적으로 설명해 주시면 감사드리겠습니다.
    부탁드립니다.

    Avatar of dece24dece24
    Participant
    @dece24
    #2471

    윤석찬님의 블로그에 오픈아이디 플러그인 관련 포스트를 보고 저도 설치하려고 시도했다가 실패했습니다.

    제가 설치하려고 하는 플러그인은 아래 URL 을 참조해 주세요.
    http://the-notebook.org/12/01/2006/openid-comments-for-wordpress/

    윤석찬님도 "간만에 모든 서버 라이브러리를 업그레이드 하면서 curl 최신 버전이 php와 안맞아서 삽질을 좀 했네요." 라고 말씀하시던데 저는 이게 무슨소리인지 잘 모르겠구요. 혹시 이것과 관련된 문제 때문은 아닌지 궁금합니다.

    해당 플러그인의 설치도움말은 아래와 같았구요.

    INSTALLATION

    1. Upload the full directory into wp-content directory.
    2. Copy wp-content/themes/default/openidform.php and wp-content/themes/default/openidtrustpage.php into your current theme folder.
    3. Replace the code that outputs comment form in your comments.php template (or wp-paged-comments.php if you use it) with following: <?php include TEMPLATEPATH . ‘/openidform.php’?>.
    Usualy it begins with something like: <?php if ( get_option(‘comment_registration’) && !$user_ID ) : ?> and ends with something like: <?php do_action(‘comment_form’, $post->ID); ?> </form>
    4. If you used previous version of plugin you should deactivate it in Plugin options.
    5. Activate plugin in Plugin options.
    6. If you use SubscribeToComments or Brian’s Threaded Comments edit the file openidform.php and uncomment marked lines.

    일단 시키는대로 죄다 했음에도 불구하고 해당 플러그인을 활성화 하게 되면 아래와 같은 오류메시지가 나타납니다.

    Parse error: parse error, unexpected T_ELSE in /home/hosting_users/nurizip/www/wp/wp-content/themes/Naradesign_v1.0/comments.php on line 44

    오류메시지가 지적하는 부분의 comment.php 의 해당 코드는 아래와 같습니다.

    40 <!--Open ID Start-->
    41 <?php include TEMPLATEPATH . '/openidform.php'?>
    42 <!--Open ID End-->
    43 <?php endif; // If registration required and not logged in ?>
    44 <?php else : // Comments are closed ?>
    45 <p>
    46 <?php _e('Sorry, the comment form is closed at this time.'); ?>
    47 </p>
    48 <?php endif; ?>

    서버사이드쪽 지식이 없어서 오류수정방법을 가급적 구체적으로 설명해 주시면 감사드리겠습니다.
    부탁드립니다.

    Avatar of dece24dece24
    Participant
    @dece24
    #2357

    맞습니다.
    text-transform:uppercase 가 정답이었네요 ^^;

    Avatar of dece24dece24
    Participant
    @dece24
    #2360

    맞습니다.
    text-transform:uppercase 가 정답이었네요 ^^;

    Avatar of dece24dece24
    Participant
    @dece24
    #2355

    CSS 에는 소문자를 대문자로 바꾸어 출력해주는 속성이 존재합니다.
    다음과 같이 하시면 됩니다.

    <head>
    .date {font-variant:small-caps;}
    </head>

    <body>
    <span class="date">December 5, 2006 at 11:25 PM</span>
    </body>

    위와같이 하시면 소문자는 전부 대문자로 표현 됩니다.
    December 5, 2006 at 11:25 PM → DECEMBER 5, 2006 AT 11:25 PM

    Avatar of dece24dece24
    Participant
    @dece24
    #2358

    CSS 에는 소문자를 대문자로 바꾸어 출력해주는 속성이 존재합니다.
    다음과 같이 하시면 됩니다.

    <head>
    .date {font-variant:small-caps;}
    </head>

    <body>
    <span class="date">December 5, 2006 at 11:25 PM</span>
    </body>

    위와같이 하시면 소문자는 전부 대문자로 표현 됩니다.
    December 5, 2006 at 11:25 PM → DECEMBER 5, 2006 AT 11:25 PM

6 글 보임 - 1에서 6 까지 (총 6 중에서)
Lost Password

dece24

dece24님의 프로필 사진

@dece24

최근에 활성상태 아님