• Resolved ajamison

    (@ajamison)


    Just wondering if anyone knows the whereabouts of Roobottom’s rdc theme website is: https://www.roobottom.com/wp_theme/

    Apparently it’s not up at this time, and I’m looking for the default templates, as I’ve messed up my comments code, and I’m not sure what I’ve done! :^)

    Thanks!

Viewing 9 replies - 1 through 9 (of 9 total)
  • vkaryl

    (@vkaryl)

    Did you check to see if https://themes.wordpress.net/ has it?

    Thread Starter ajamison

    (@ajamison)

    I’ll check it out. I spaced on that one :^)

    Thread Starter ajamison

    (@ajamison)

    I didn’t see it on there, but it looks like the rdc site is back up…But his download link doesn’t quite work! I’ll wait a couple days and hope it gets fixed!

    vkaryl

    (@vkaryl)

    No posting ability or contact link there for him?

    Thread Starter ajamison

    (@ajamison)

    I’ve left a couple comments for him, but the theme download links still aren’t working sadly.

    /*
    Theme Name: rdc* theme
    Theme URI: https://www.roobottom.com/wp_theme/
    Description: Custom rdc* style
    Version: 0.5
    Author: Jon Roobottom
    Author URI: https://www.roobottom.com
    */

    Available from https://www.tamba2.org.uk/downloads/rdc.zip

    Thread Starter ajamison

    (@ajamison)

    Thanks a ton podz, very much appreciated!

    sorry folks, it’s back up! I switched to textdrive.

    Hello there!

    I am using the e’er delightful rdc0.7 theme by Moniseur Roobottom and have found there to be a couple of errors in the comments.php page which prevented users from leaving comments. See the code below (I’ve commented out the errors with “ERROR FOUND HERE”) to see where the links to the login page are incorrect…


    <?php /* Do not delete these lines */
    if ('comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
    die ('Please do not load this page directly. Thanks!');

    if (!empty($post->post_password)) { // if there's a password
    if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) { // and it doesn't match the cookie
    ?>
    <p class="nocomments"><?php _e("This post is password protected. Enter the password to view comments."); ?>
    <?php
    return;
    }
    }
    ?>

    <?php /* This variable is for alternating comment background */
    $oddcomment = 'alt';
    ?>

    <?php /* Display number of comments */
    if ($comments) :
    ?>
    <h3 id="comments"><?php comments_number('No People ', '1 Person ', '% People ' );?>had this to say...</h3>

    <?php /* Comments */
    foreach ($comments as $comment) :
    ?>

    <div class="comment <?=$oddcomment?> <?php comment_author() ?>">
    <div class="header">
    <?php // display gravatar (or not)
    if (function_exists('gravatar')) {
    $default = 'https://&#39;.$_SERVER['HTTP_HOST'].bloginfo('template_directory').'/_gfx/avatar_default.gif';
    echo '<img src="';
    gravatar("", 36, "$default");
    echo '" alt="Gravatar" width="36" height="36" />';
    } else { ?>
    <img src="<?php echo bloginfo('template_directory'); ?>/_gfx/avatar_default.gif" alt="Gravatar" width="36" height="36" />
    <?php } ?>
    <ul>
    <li class="commenter"><?php comment_author_link() ?></li>
    <li class="icon date"><?php comment_date('F jS, Y') ?></li>
    <li class="icon time"><?php comment_time() ?></li>
    </ul>
    </div>
    <div class="content">
    <?php if ($comment->comment_approved == '0') : ?><strong>Your comment is awaiting moderation.</strong>
    <?php endif; ?>
    <?php comment_text() ?>

    </div>
    </div>

    <?php /* Changes every other comment to a different class */
    if ('alt' == $oddcomment) $oddcomment = '';
    else $oddcomment = 'alt';
    ?>

    <?php /* End for each comment */
    endforeach;
    ?>

    <?php /* This is displayed if there are no comments so far */
    else :
    ?>

    <?php /* If comments are open, but there are no comments */
    if ('open' == $post-> comment_status) :
    ?>
    <!-- There are no comments. -->

    <?php /* Comments are closed */
    else :
    ?>
    <!-- Comments are closed. -->
    <p class="nocomments">Comments are closed.

    <?php endif; ?>
    <?php endif; ?>

    <?php if ('open' == $post-> comment_status) : ?>
    <h3>Want your say?</h3>
    <?php if ( get_option('comment_registration') && !$user_ID ) : ?>
    You must be <a href="<! FOUND ERROR HERE --> ../default/ --><?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php the_permalink(); ?>">logged in</a> to post a comment.

    <?php else : ?>
    <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
    <fieldset>
    <div class="header">
    * Required fields. Your e-mail address will not be published on this site

    </div>
    <div class="content">
    <?php if ( $user_ID ) : ?>
    Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo get_option('<! FOUND ERROR HERE --> ../default/ -->siteurl'); ?>/wp-login.php?action=logout" title="<?php _e('Log out of this account') ?>">Logout &raquo;</a>

    <?php else : ?>
    <label for="author">Name <?php if ($req) _e(' *'); ?></label><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" />

    <label for="email">Mail <?php if ($req) _e(' *'); ?></label><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" />

    <label for="url">Website</label><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" />

    <?php endif; ?>
    <p class="note"><strong>You can use the following XHTML tags:</strong><?php echo allowed_tags(); ?>

    <label for="commentsbox">Comments</label><textarea name="comment" rows="10" id="commentsbox" tabindex="4"></textarea>

    <p class="submit"><input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" /><input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />

    </div>
    <?php do_action('comment_form', $post->ID); ?>
    </fieldset>
    </form>
    <?php endif; ?>
    <?php endif; ?>

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Where has rdc gone?’ is closed to new replies.