Forum Replies Created

Viewing 15 replies - 1 through 15 (of 19 total)
  • Thread Starter cccs

    (@cccs)

    I really don’t know what happened but there it was !!!!! LOL!!

    Thread Starter cccs

    (@cccs)

    I apologize for posting codes. I didn’t know about pastebin until you mentioned it.

    I searched everything in Dreamwever like Mark suggested with “form action” and I found it!!! It is indeed comments.php in /wp-content/themes/mytheme/comments.php.

    Many thanks for your assistance!!!!

    It’s solved now!

    Thread Starter cccs

    (@cccs)

    Isn’t the comment form in WordPress theme ? In the post, I checked the comments checkbox to be activated which is part of the WordPress administrative panel, correct ??

    Thread Starter cccs

    (@cccs)

    I hope I did the right thing…

    http://wordpress.pastebin.com/qVEjaFYw
    Thread Starter cccs

    (@cccs)

    I checked the Leave a Reply form using Firefox’s Firebug to look inside of the code, and this form called /wordpress/ wp-comments-post.php. I am not sure if that will go anywhere since wp-comments-post.php is probably processing the data? This form is on the post so i can see the css stuff going on but not the comment form itself!

    Thread Starter cccs

    (@cccs)

    What about comment-template.php ? It has over 1,590 lines!

    Thread Starter cccs

    (@cccs)

    I have a Dreamweaver that can be able to search in files and also FileZilla to download the specific files to look up. It would be messy to do but hopefully worthwhile to find the solution. Is it doable ?

    I also disabled the comment’s URL by using wp.css to not display the url field and it worked. Only I wish I can use css to display the disclaimer !! Smiles.

    Thread Starter cccs

    (@cccs)

    They are exactly the same. I am puzzled! Is there another file we may overlook something ? archives.php ?

    Since the comments are in posts, perhaps single.php might have a comment form ? Is it the same thing.. Leave a Reply form ?

    Thanks!

    Thread Starter cccs

    (@cccs)

    In the includes/comments.php:

    <?php
    
    // Comment Styling
    
    if (!function_exists('mytheme_comment')) :
    
    	function mytheme_comment($comment, $args, $depth) {
    
    	   $GLOBALS['comment'] = $comment; ?>
    
    	   <li <?php comment_class(); ?> id="li-comment-<?php comment_ID() ?>">
    	   	<div id="comment-<?php comment_ID(); ?>" class="comment-div-wrapper">
    
    	      <div class="comment-author vcard" style="line-height: 50px;">
    
    	         <div class="comment_gravatar_wrapper">
    
    	         	<?php echo get_avatar($comment,$size=50); ?>
    
    			 </div>
    
    	         <div class="comment-meta commentmetadata">
    
    	         	<?php printf(_r('<cite class="fn">%s</cite>'), get_comment_author_link()) ?>
    
    	         	<div class="comment-meta-time">
    
    	      	 		<a href="<?php echo htmlspecialchars( get_comment_link( $comment->comment_ID ) ) ?>"><?php printf(_r('%1$s at %2$s'), get_comment_date(),  get_comment_time()) ?></a>
    	      			<?php edit_comment_link(_r('(Edit)'),'  ','') ?>
    
    	      		</div>
    
    	      	 </div>
    
    	         <div class="clr"></div>
    
    	      </div>
    
    	      <?php if ($comment->comment_approved == '0') : ?>
    
    	         <span class="attention"><?php _re('Your comment is awaiting moderation.') ?></span>
    
    	      <?php endif; ?>
    
    	      <?php comment_text() ?>
    
    	      <div class="reply">
    	         <?php comment_reply_link(array_merge( $args, array('depth' => $depth, 'max_depth' => $args['max_depth']))) ?>
    	      </div>
    
    	      <div class="clr"></div>
    
    	     </div>
    
    	<?php }
    
    endif;
    
    ?>

    I do not think this has a comment form. Grrrr! Frustrating face. Sorry!

    Thread Starter cccs

    (@cccs)

    In my functions.php code from my theme:

    <?php
    
    global $option, $tname, $fname;
    
    $tname = 'terrantribune';
    $fname = 'TerranTribune';
    $option = get_option('terrantribune-options');
    
    // Required
    
    require_once(TEMPLATEPATH.'/includes/options_handler.php');
    require_once(TEMPLATEPATH.'/includes/common.php');
    require_once(TEMPLATEPATH.'/includes/widget_data.php');
    require_once(TEMPLATEPATH.'/includes/rokbox.php');
    require_once(TEMPLATEPATH.'/includes/comments.php');
    
    require_once(TEMPLATEPATH.'/features/RokMenu.php');
    
    // Widgets Include
    
    $wp_ver = get_bloginfo('version');
    if ($wp_ver >= 2.8) {
    	include(TEMPLATEPATH . '/includes/widgets/roktabs_wget.php');
    	include(TEMPLATEPATH . '/includes/widgets/rokstories_wget.php');
        include(TEMPLATEPATH . '/includes/widgets/roknewsrotator/roknewsrotator_wget.php');
        include(TEMPLATEPATH . '/includes/widgets/rokmininews/rokmininews_wget.php');
        include(TEMPLATEPATH . '/includes/widgets/rokmenu_wget.php');
    }
    
    // Add theme settings menu
    
    function rockettheme_admin_menu() {
    	global $tname, $fname;
    	add_menu_page('RocketTheme '.$fname.' Theme Settings', $fname.' Settings', 'edit_themes', $tname.'-settings', 'theme_settings_showup', get_bloginfo('template_directory').'/admin/rt_fav.png');
    }
    
    add_action('admin_menu', 'rockettheme_admin_menu', 9);
    
    // Settings Page
    
    function theme_settings_showup() {
    	include('admin/rtpanel.php');
    }
    
    if (is_admin() && $_GET['page'] == $tname.'-settings') {
    	add_action('admin_head', 'theme_settings_admin_css');
    	wp_enqueue_script('mootools', get_bloginfo('template_directory').'/admin/js/mootools.js');
    	wp_enqueue_script('rokbox_config', get_bloginfo('template_directory').'/js/rokbox/themes/light/rokbox-config.js');
    	wp_enqueue_script('rokbox', get_bloginfo('template_directory').'/js/rokbox/rokbox.js');
    	wp_enqueue_script('roktabs', get_bloginfo('template_directory').'/js/roktabs/roktabs.js');
    	wp_enqueue_script('rokinnertabs', get_bloginfo('template_directory').'/admin/js/tabs.js');
    	wp_enqueue_script('roktips', get_bloginfo('template_directory').'/admin/js/roktips.js');
    }
    
    if (is_admin() && $_GET['page'] == $tname.'-settings' && !rok_isIE(6)) {
    	wp_enqueue_script('rokutils', get_bloginfo('template_directory').'/js/rokutils.inputs.js');
    }
    
    function theme_settings_admin_css() {
    	echo '
    	<link rel="stylesheet" type="text/css" media="screen" href="'.get_bloginfo('template_directory').'/admin/admin.css" />
    	<link rel="stylesheet" type="text/css" media="screen" href="'.get_bloginfo('template_directory').'/js/rokbox/themes/light/rokbox-style.css" />
    	<link rel="stylesheet" type="text/css" media="screen" href="'.get_bloginfo('template_directory').'/admin/roktabs.css" />
    	<!--[if lte IE 6]>
    		<link href="'.get_bloginfo('template_directory').'/admin/admin_ie6.css" rel="stylesheet" type="text/css" />
    		<link rel="stylesheet" href="'.get_bloginfo('template_directory').'/js/rokbox/themes/light/rokbox-style-ie6.css" type="text/css" />
    	<![endif]-->
    	<!--[if IE 7]>
    		<link href="'.get_bloginfo('template_directory').'/admin/admin_ie7.css" rel="stylesheet" type="text/css" />
    		<link rel="stylesheet" href="'.get_bloginfo('template_directory').'/js/rokbox/themes/light/rokbox-style-ie7.css" type="text/css" />
    	<![endif]-->
    	<!--[if IE 8]>
    		<link href="'.get_bloginfo('template_directory').'/admin/admin_ie8.css" rel="stylesheet" type="text/css" />
    		<link rel="stylesheet" href="'.get_bloginfo('template_directory').'/js/rokbox/themes/light/rokbox-style-ie8.css" type="text/css" />
    	<![endif]-->
    	';
    }
    
    /**
     * Like implode but with keys
     *
     * @param string[optional] $glue
     * @param array $pieces
     * @param string[optional] $hifen
     * @return string
     */
    function implode_with_key($glue = null, $pieces, $hifen = ',') {
        $return = null;
        foreach ($pieces as $tk => $tv) $return .= $glue.$tk.$hifen.$tv;
        return substr($return,1);
    }
    
    // sys_get_temp_dir function
    
    require_once(TEMPLATEPATH.'/includes/php4function.php');
    
    // Add the shortcode to a sidebar widget for the form (ask a question)
    
    add_filter('widget_text', 'do_shortcode');
    
    ?>

    I do not know if that will help ?

    Thread Starter cccs

    (@cccs)

    Otto’s seems pretty long for me to do ! All I need to just add the text under the textarea.

    Hmmm… where do I start first ??

    Add

    comment_form(array('comment_form_after'=>'DISCLAIMER: blah blah')); in the functions.php in my theme ?

    Thread Starter cccs

    (@cccs)

    Yes, we paid for the RocketTheme theme.

    If the comments.php with WordPress Classic theme doesn’t work, the terrane tribune theme ‘s comments.php which I recently posted doesn’t seem to have the form which I am looking for ?

    Will Otto’s form help me ? I go look at it now….

    Thread Starter cccs

    (@cccs)

    Can I use the WordPress Classic theme instead ?

    Thread Starter cccs

    (@cccs)

    Perhaps in the WordPress Classic theme for comments.php ?

    Thread Starter cccs

    (@cccs)

    My theme is RocketTheme… tribune terrane.
    which directory has comments.php ?

    Can I insert a text under the textarea ?

    Thanks, Rev. Voodoo!

Viewing 15 replies - 1 through 15 (of 19 total)