|
#1
Dec 22, 2008, 01:59 AM
|
|
|
|
3,768 posts · Oct 2008
Munich, Germany
|
|
The plugin http://wordpress.org/extend/plugins/paged-comments/ enables paged comments for WP 2.6 and older. To use this plugin with Atahualpa 2.21 install the plugin as described in the plugin howto's and additionally save the following as comments-paged.php and put it into the /wp-content/themes/atahualpa/ or /wp-content/themes/atahualpa2/ (whatever its named on your installation) directory. Note: paged-comments.php (the plugin file) and comments-paged.php (the file below) are two different files with 2 different locations.
PHP Code:
<?php // Do not delete these lines if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments-paged.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">This post is password protected. Enter the password to view comments.</p> <?php return; } } /* This variable is for alternating comment background */ $oddcomment = 'class="alt clearfix" '; global $options; foreach ($options as $value) { if (get_option( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_option( $value['id'] ); } } ?> <!-- You can start editing below: --> <?php // If there are any comments if ($comments) : ?> <h3 id="comments"><?php // Comment Area Title comments_number('No Responses', 'One Response', '% Responses' );?> to <?php the_title(); ?></h3> <!-- Comment page numbers --> <?php if ($paged_comments->pager->num_pages() > 1): ?> <p class="comment-page-numbers"><?php _e("Pages:"); ?> <?php paged_comments_print_pages(); ?></p> <?php endif; ?> <!-- End comment page numbers --> <!-- Comment List --> <ol class="commentlist"> <?php // Do this for every comment --> foreach ($comments as $comment) : if ( ($ata_separate_trackbacks == "Yes" AND get_comment_type() == 'comment') OR $ata_separate_trackbacks == "No" ) { ?> <li <?php if ( $ata_author_highlight == "Yes" AND $comment->comment_author_email == get_the_author_email() ) { echo 'class="authorcomment clearfix" '; } else { echo $oddcomment; } ?>id="comment-<?php comment_ID() ?>"> <?php // GRAVATAR if (get_comment_type() == 'comment') { if ($ata_avatar_size != 0 AND $ata_avatar_size != "") { if (function_exists('get_avatar')) { echo get_avatar($comment -> comment_author_email, $size=$ata_avatar_size);} # if this WP version has no gravatars, use the theme's custom gravatar function: else { if(!empty($comment -> comment_author_email)) { $md5 = md5($comment -> comment_author_email); $default = urlencode(get_bloginfo('template_directory') . '/images/no-gravatar.gif'); echo "<img class=\"avatar\" src='http://www.gravatar.com/avatar.php?gravatar_id=$md5&size=" . $ata_avatar_size . "&default=$default' alt='Gravatar' />"; } } } } ?> <div class="comment-number"><a href="<?php echo paged_comments_url('comment-'.get_comment_ID()); ?>" title=""><?php echo $comment_number; $comment_number += $comment_delta; ?></a></div> <span class="authorname"><?php // Comment Author comment_author_link() ?></span> <?php // Awaiting Moderation Text if ($comment->comment_approved == '0') : ?> Your comment is awaiting moderation. <?php endif; ?> <br /> <span class="commentdate"> <?php // Comment Date and Time comment_date('F jS, Y') ?> at <?php comment_time() ?> </span> <?php // Comment Text comment_text() ?> <?php // Edit Comment Link edit_comment_link('edit','<span class="editcomment">','</span>'); ?> </li> <?php $oddcomment = ( empty( $oddcomment ) ) ? 'class="alt clearfix" ' : 'class="clearfix" '; } endforeach; // END of "Do this for every comment " ?> </ol> <!-- / Comment List --> <!-- Comment page numbers --> <?php if ($paged_comments->pager->num_pages() > 1): ?> <p class="comment-page-numbers"><?php _e("Pages:"); ?> <?php paged_comments_print_pages(); ?></p> <?php endif; ?> <!-- End comment page numbers --> <?php // END of "If there ARE any comments" else : // START of "If there are NO comments" ?> <?php // If comments are open, but there are no comments: if ('open' == $post->comment_status) : ?> <!-- .... --> <?php // END of "If comments are open, but there are no comments" else : // If comments are closed: ?> <p>Comments are closed.</p> <?php endif; ?> <?php // END of "If there are NO comments" endif; ?> <?php // If comments are open if ('open' == $post->comment_status) : ?> <h3>Leave a Reply</h3> <?php // If Login is required and User is not logged in if ( get_option('comment_registration') && !$user_ID ) : ?> <p>You must be <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php echo urlencode(get_permalink()); ?>">logged in</a> to post a comment.</p> <?php // If Login is not required, or User is logged in else : ?> <!-- Comment Form --> <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform"> <?php // If User is logged in if ( $user_ID ) : ?> <p> 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('siteurl'); ?>/wp-login.php?action=logout" title="Log out of this account">Logout »</a> </p> <?php // If User is not logged in: Display the form fields "Name", "Email", "URL" else : ?> <p> <input class="text author" type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="30" tabindex="1" /> <label for="author">Name <?php if ($req) echo "(required)"; ?></label> </p> <p> <input class="text email" type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="30" tabindex="2" /> <label for="email">Mail (will not be published) <?php if ($req) echo "(required)"; ?></label> </p> <p> <input class="text url" type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="30" tabindex="3" /> <label for="url">Website</label> </p> <?php endif; ?> <!-- Display Quicktags or allowed XHTML Tags --> <?php if (function_exists('lmbbox_comment_quicktags_display')) { lmbbox_comment_quicktags_display(); } else { ?> <p><strong>XHTML:</strong> You can use these tags:</p> <p><code><?php echo allowed_tags(); ?></code></p> <?php } ?> <!-- Comment Textarea --> <p><textarea name="comment" id="comment" rows="10" cols="20" tabindex="4"></textarea></p> <!-- Submit --> <p> <input name="submit" type="submit" class="button" id="submit" tabindex="5" value="Submit Comment" /> <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /> </p> <?php do_action('comment_form', $post->ID); ?> </form> <!-- / Comment Form --> <?php endif; ?> <!-- / If Login is not required, or User is logged in --> <?php endif; ?> <!-- If comments are open -->
|
#2
Jan 29, 2009, 07:08 PM
|
|
Hi All...I guess "Flynn" is the person that wrote this master piece...they say that "code is poetry" if that's true then Flynn is Edgar Allen Poe!
OK...now for my problem and questions:
On the Atahualpa home page there are "Posts" and "Comments" in the header...they are part of the original template. I have devleoped my site (thanks to Flynn...really his site) when I click on eighter of those 2 link I get HTML weirdness like this:
<?xml version="1.0" encoding="UTF-8" ?>
- <rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
- <channel>
<title>Welcome to Nutrition Wire!</title>
<atom:link href="http://nutritionwire.org/feed/" rel="self" type="application/rss+xml" />
<link>http://nutritionwire.org</link>
<description>Discussing All Things Diet and Health</description>
<pubDate>Thu, 29 Jan 2009 16:23:14 +0000</pubDate>
<generator>http://wordpress.org/?v=2.6</generator>
<language>en</language>
- <image>
<link>http://nutritionwire.org</link>
<url>http://nutritionwire.org/wp-content/mbp-favicon/apple.ico</url>
<title>Welcome to Nutrition Wire!</title>
</image>
- <item>
This is a shame because everything works and looks so good. So I tried to install a plugin that would make this work and got lost. I should mention that I am using WP version 2.6 (but I alos use 2.7 on another blog that I am going to work on in the future).
So I get these instructions that seem vague and beyond me:
"The plugin http://wordpress.org/extend/plugins/paged-comments/ enables paged comments for WP 2.6 and older. To use this plugin with Atahualpa 2.21 install the plugin as described in the plugin howto's and additionally save the following as comments-paged.php and put it into the /wp-content/themes/atahualpa/ or /wp-content/themes/atahualpa2/ (whatever its named on your installation) directory. Note: paged-comments.php (the plugin file) and comments-paged.php (the file below) are two different files with 2 different locations."
I was doing really well for a novice at best using ftp servers and changing dotted lines to solid lines (I figures that out myslef!) but I have no idea what the above means, save what? where? put it into the style sheet thinky on the commetns page? save it as a text document? I am lost...help!
Should I just delete those 2 links (3 if you include the one that says "email") and use a fresh plugin that will do the same thing and not try to make this one work?
Here's my last question (I swear)...can I pay someone something to help me on the last few step I am having trouble with? Maybe some help with getting some cyber-exposure and generate some traffic too...after I get the site working?
If I use the site and can get it to do all it can I am definiteley making a donation...it dosn't seem right to use such a great thing and pay at least something to the guy that busted his A@@ and has the talent to make it in the first place.
BTW, my site is www.NutritionWire.org leave a comment if anyone sees it and let me know what you think.
Thanks To All...Steve
(Sorry...this spell checker dosn't work in my browser)
|
#3
Jan 29, 2009, 07:15 PM
|
|
|
|
3,768 posts · Oct 2008
Munich, Germany
|
|
I'll check this tomorrow...
|
#4
Jan 29, 2009, 10:14 PM
|
|
I just tried those 2 functions and they work fine when using internet explorer as the browser....but the person that brought it to my attention on my site is using AOL...as am I...so I think the problem has something to do with AOL...is that a WordPress glitch, my hosting company (Network Solutions) or a Althaulupa glitch?
The two functions look great...like the rest of the this template...in Internet Explorer...
Any idea how to fix this in AOL or other browsers?
|
#5
Jan 29, 2009, 10:17 PM
|
|
Here's the whole thread is this means anything to you...appears in AOL only...
<?xml version="1.0" encoding="UTF-8" ?>
- <rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
- <channel>
<title>Comments for Welcome to Nutrition Wire!</title>
<atom:link href="http://nutritionwire.org/comments/feed/" rel="self" type="application/rss+xml" />
<link>http://nutritionwire.org</link>
<description>Discussing All Things Diet and Health</description>
<pubDate>Fri, 30 Jan 2009 04:17:29 +0000</pubDate>
<generator>http://wordpress.org/?v=2.6</generator>
- <item>
<title>Comment on Diet Drugs Are Never the Prescription by NutritionWire.org Professional Staff</title>
<link>http://nutritionwire.org/Steven4388/nutrition-101/diet-drugs-are-never-the-prescription/#comment-35</link>
<dc:creator>NutritionWire.org Professional Staff</dc:creator>
<pubDate>Fri, 30 Jan 2009 00:13:33 +0000</pubDate>
<guid isPermaLink="false">http://nutritionwire.org/Steven4388/nutrition-101/diet-drugs-are-never-the-prescription/#comment-35</guid>
<description>test 1234</description>
- <content:encoded>
- <![CDATA[ <p>test 1234</p>
]]>
</content:encoded>
</item>
- <item>
<title>Comment on Aerobics On The Go: The K.I.S.S. Method by NutritionWire.org Professional Staff</title>
<link>http://nutritionwire.org/Steven4388/nutrition-101/aerobics-on-the-go-the-kiss-method/#comment-34</link>
<dc:creator>NutritionWire.org Professional Staff</dc:creator>
<pubDate>Fri, 30 Jan 2009 00:04:57 +0000</pubDate>
<guid isPermaLink="false">http://nutritionwire.org/Steven4388/nutrition-101/aerobics-on-the-go-the-kiss-method/#comment-34</guid>
<description>testing 1 2 3 te4stin 12 3</description>
- <content:encoded>
- <![CDATA[ <p>testing 1 2 3 te4stin 12 3</p>
]]>
</content:encoded>
</item>
- <item>
<title>Comment on Aerobics On The Go: The K.I.S.S. Method by NutritionWire.org Professional Staff</title>
<link>http://nutritionwire.org/Steven4388/nutrition-101/aerobics-on-the-go-the-kiss-method/#comment-33</link>
<dc:creator>NutritionWire.org Professional Staff</dc:creator>
<pubDate>Thu, 29 Jan 2009 22:58:29 +0000</pubDate>
<guid isPermaLink="false">http://nutritionwire.org/Steven4388/nutrition-101/aerobics-on-the-go-the-kiss-method/#comment-33</guid>
<description>WOW! Thanks this is a great article...I have already started to map out a more physcial day. Thanks!</description>
- <content:encoded>
- <![CDATA[ <p>WOW! Thanks this is a great article…I have already started to map out a more physcial day. Thanks!</p>
]]>
</content:encoded>
</item>
</channel>
</rss>
|
#6
Jan 29, 2009, 10:27 PM
|
|
PS: I would like to send at least something for your help but I have not idea what this means:
Ich willige in die Verarbeitung und Nutzung meiner personenbezogenen Daten gemäß den Datenschutzgrundsätzen ein.
Ich erkläre mich außerdem einverstanden, dass PayPal meinen Namen, meine Adresse, meine Bankverbindung und mein Geburtsdatum über eine sichere Verbindung zur Überprüfung meiner Identität an die SCHUFA, an Arvato und an eBay übermittelt (es findet keine Bonitätsprüfung statt). Weitere Informationen
Durch Klicken auf "Weiter" stimme ich den Nutzungsbedingungen von PayPal zu.
You have some long words in your language that is for sure...how can I donate in english?
"Nutzungsbedingungen" = Nuts in a burger?
|
#7
Jan 30, 2009, 06:56 AM
|
|
|
|
3,768 posts · Oct 2008
Munich, Germany
|
|
Damn so the Paypal link is in German... I'll fix that asap, I thought I already had.
|
#8
Jan 30, 2009, 08:19 AM
|
|
|
|
3,768 posts · Oct 2008
Munich, Germany
|
|
You seem to be confusing two different things. First you mention the RSS links not working in the AOL browser, then you mention the "Paged Comments" plugin. That plugin does not deal with RSS links
Re: RSS links:
Open header.php in an editor, find
PHP Code:
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
and right after that, add:
PHP Code:
<link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />
and upload the modified header.php
Does the AOL browser display the feed now?
If not, can you enable the "Default" theme (at http://www.yoursite.com/wp-admin/ -> Appearance -> Themes) for a moment and see if the AOL browser works if you click the "Entries RSS" and "Comments RSS" links at the bottom of the page?
|
#9
Jan 30, 2009, 03:09 PM
|
|
Firstly, thanks for you help. I did both things you suggested and sadly both did not work. The generic theme from WordPress gives me the same result...just HTML yet your fantastic theme and the generic one both work fine in Internet Explorer (I figured this could not be an error on your part).
If it works in Internet Explorer I'm thinking that this has nothing to do with how I configured my hosting package and domain pointers but rather is a problem with AOL. But I really have no idea what I am talking about.
Do you know of any other sites that use your template that I could check out to see if they work?
Any other suggestions for me to do to resolve this?
With Graditude -
Steven
|
#10
Jan 30, 2009, 03:23 PM
|
|
http://www.glbzone.net/
Here is a link to some random guys blog...it's the generic wordpress theme...
if you click on feeds or comments you get the same HTML code crap...
So its NOT me, my site, my hosting team or anything about me....
IT's WORDPRESS VERSES AOL!!!!!!!!!!!!!!!!!!!!
Can I be the one that discovered this???
Are there plugins that do the same thing that might work fine?
I am trying to solve the problem since about 80 million people us AOL as their only browser!
How can I look at other peoples custom versions of Atahualpa?
Lastly...I tried to put my own logo in the header but I am an idiot...are there instuctions for that somewhere?
|
#11
Jan 30, 2009, 03:59 PM
|
|
|
|
3,768 posts · Oct 2008
Munich, Germany
|
|
To find others using Atahualpa google for the footer link enclosed in double quotes, i.e. for the current version that would be "atahualpa theme by bytesforall", for your older version see what you have in the footer.
To use your own logo, upload it to /wp-content/themes/atahualpa3/images and at Atahualpa Theme Options -> Header -> Show Logo Image? put the file name of your logo, i.e. mylogo.gif
|
#12
Jan 31, 2009, 09:21 AM
|
|
If you can take a look at this site...this one WORKS fine in AOL...what did they do differently?
http://www.worldcampusblog.org/category/city-themes/
How did they get "art" in what appears to be the TEXT widget in the header box of the text widget? Can we put a file location there and it places a picture?
Does the logo have to be in a *.gif format or will .jpg wort too?
Please post when the pay-pal is in English as I intend to keep my word and pay at least something for all your talent and help...as we all should.
With Thanks I Am - www.NutrtionWire.org [i]All the news that's fit to eat![/I]
|
#13
Jan 31, 2009, 09:43 AM
|
|
|
|
3,768 posts · Oct 2008
Munich, Germany
|
|
They're redirecting the feeds to Feedburner with the Feedsmith plugin http://www.google.com/support/feedbu...83&topic=13252
That logo is in a separate text widget, followed by the category widget.
In the text widget they have put
HTML Code:
<center><a href="link" target="_blank"><img
src="path-to-image" width="175" height="69" border="0"><br>- the program website</a></center>
The Paypal button should lead to Paypal in English now
|
#14
Mar 5, 2009, 04:47 PM
|
|
Hey Flynn,
I am still having trouble with paged-comments. I followed your instructions exactly and I am showing the error you can see on my page right now.
Please visit http://www.tomguilmette.com and scroll down to the bottom. You will see some of the code showing up and the comments not loading.
Thanks,
Tom
|
#15
Mar 5, 2009, 07:22 PM
|
|
|
|
3,768 posts · Oct 2008
Munich, Germany
|
|
Hello Tom,
can you please copy and save the code below and upload it as
/wp-content/themes/atahualpa/comments-paged.php
and see if that works. I tried this on Atahualpa 2 and it worked. This is a new file that I just created.
PHP Code:
<?php // Do not delete these lines if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments-paged.php' == basename($_SERVER['SCRIPT_FILENAME'])) die (__('Please do not load this page directly. Thanks!','atahualpa'));
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.','atahualpa'); ?></p>
<?php return; } }
/* This variable is for alternating comment background */ $oddcomment = 'class="alt clearfix" ';
?> <!-- You can start editing below: -->
<?php // If there are any comments if ($comments) : ?> <h3 id="comments"><?php // Comment Area Title comments_number(__('No comments yet to ', 'atahualpa'), __('1 comment to ', 'atahualpa'), __('% comments to ', 'atahualpa')); echo get_the_title(); ?> </h3> <!-- Comment page numbers --> <?php if ($paged_comments->pager->num_pages() > 1): ?> <p class="comment-page-numbers"><?php _e('Pages:','atahualpa'); ?> <?php paged_comments_print_pages(); ?></p> <?php endif; ?> <!-- End comment page numbers --> <!-- Comment List --> <ol class="commentlist">
<?php // Do this for every comment --> foreach ($comments as $comment) : ?>
<li <?php if ( $bfa_ata['author_highlight'] == "Yes" AND $comment->comment_author_email == get_the_author_email() ) { echo 'class="authorcomment clearfix" '; } else { echo $oddcomment; } ?>id="comment-<?php comment_ID() ?>"> <?php // GRAVATAR if (get_comment_type() == 'comment') { if (function_exists('get_avatar')) { echo get_avatar($comment -> comment_author_email, 55);} # if this WP version has no gravatars, use the theme's custom gravatar function: else { if(!empty($comment -> comment_author_email)) { $md5 = md5($comment -> comment_author_email); $default = urlencode(get_bloginfo('template_directory') . '/images/no-gravatar2.gif'); #echo "<img class=\"avatar\" src='http://www.gravatar.com/avatar.php?gravatar_id=$md5&size=" . $bfa_ata['avatar_size . "&default=$default' alt='" . __('Gravatar','atahualpa') . "' />"; echo '<img class="avatar" src="http://www.gravatar.com/avatar.php?gravatar_id='.$md5.'&size=55&default='.$default.' alt="'. __('Gravatar','atahualpa') .'" />'; } } } ?> <div style="float: right; font-size: 30px; line-height: 30px; font-family: georgia, serif; font-weight: bold; color: #ddd; margin: -10px 0 0 0; position: relative; height: 1%"><a href="<?php echo paged_comments_url('comment-'.get_comment_ID()); ?>" title=""><?php echo $comment_number; $comment_number += $comment_delta;?></a></div> <span class="authorname"><?php // Comment Author comment_author_link() ?></span> <?php // Awaiting Moderation Text if ($comment->comment_approved == '0') : _e('Your comment is awaiting moderation.','atahualpa'); endif; ?> <br /> <span class="commentdate"> <?php // Comment Date and Time printf(__('%1$s at %2$s'), get_comment_date(__('F jS, Y','atahualpa')), get_comment_time()) ?> </span> <?php // Comment Text comment_text() ?> <?php // Edit Comment Link edit_comment_link(__('Edit','atahualpa'),'<span class="editcomment">','</span>'); ?>
</li>
<?php $oddcomment = ( $oddcomment == 'class="clearfix" ' ) ? 'class="alt clearfix" ' : 'class="clearfix" '; endforeach; // END of "Do this for every comment " ?> </ol> <!-- / Comment List -->
<!-- Comment page numbers --> <?php if ($paged_comments->pager->num_pages() > 1): ?> <p class="comment-page-numbers"><?php _e('Pages:','atahualpa'); ?> <?php paged_comments_print_pages(); ?></p> <?php endif; ?> <!-- End comment page numbers --> <?php // END of "If there ARE any comments" else : // START of "If there are NO comments" ?>
<?php // If comments are open, but there are no comments: if ('open' == $post->comment_status) : ?> <!-- .... -->
<?php // END of "If comments are open, but there are no comments" else : // If comments are closed: ?> <p><?php _e('Comments are closed.','atahualpa'); ?></p> <?php endif; ?>
<?php // END of "If there are NO comments" endif; ?>
<?php // If comments are open if ('open' == $post->comment_status) : ?>
<div id="respond"> <h3 class="reply"><?php _e('Leave a Reply','atahualpa'); ?></h3> <?php // If Login is required and User is not logged in if ( get_option('comment_registration') && !$user_ID ) : ?> <p><?php printf(__('You must be %slogged in</a> to post a comment.', 'atahualpa'), '<a href="' . get_option('siteurl') . '/wp-login.php?redirect_to=' . urlencode(get_permalink()) . '">')?></p>
<?php // If Login is not required, or User is logged in else : ?> <!-- Comment Form --> <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
<?php // If User is logged in if ( $user_ID ) : ?> <p> <?php printf(__('Logged in as %s.', 'atahualpa'), '<a href="' . get_option('siteurl') . '/wp-admin/profile.php">' . $user_identity . '</a>')?> <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="<?php _e('Log out of this account','atahualpa'); ?>"><?php _e('Logout »','atahualpa'); ?></a> </p>
<?php // If User is not logged in: Display the form fields "Name", "Email", "URL" else : ?> <p> <input class="text author" type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="30" tabindex="1" /> <label for="<?php _e('author','atahualpa'); ?>"><?php _e('Name ','atahualpa'); if ($req) _e('(required)','atahualpa'); ?></label> </p> <p> <input class="text email" type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="30" tabindex="2" /> <label for="<?php _e('email','atahualpa'); ?>"><?php _e('Mail (will not be published) ','atahualpa'); if ($req) _e('(required)','atahualpa'); ?></label> </p> <p> <input class="text url" type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="30" tabindex="3" /> <label for="<?php _e('url','atahualpa'); ?>"><?php _e('Website','atahualpa'); ?></label> </p> <?php endif; ?> <!-- Display Quicktags or allowed XHTML Tags --> <?php if (function_exists('lmbbox_comment_quicktags_display')) { echo "<p>"; lmbbox_comment_quicktags_display(); echo "</p>"; } ?> <!-- <p class="thesetags clearfix"><?php _e('You can use these HTML tags:','atahualpa'); ?></p> <p><code><?php echo allowed_tags(); ?></code></p> --> <!-- Comment Textarea --> <p><textarea style="width: 98%" name="comment" id="comment" rows="10" cols="30" tabindex="4"></textarea></p> <?php do_action('comment_form', $post->ID); ?> <!-- Submit --> <p><input name="submit" type="submit" class="button" id="submit" tabindex="5" value="<?php _e('Submit Comment','atahualpa'); ?>" /> <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /> </p> </form> </div><!-- / respond --> <!-- / Comment Form -->
<?php endif; ?> <!-- / If Login is not required, or User is logged in --> <?php endif; ?> <!-- If comments are open -->
|
#16
Mar 6, 2009, 10:44 AM
|
|
Hey Flynn!
Thanks for the super fast response. It seems to be working!
Thanks again, you are a PHP genius. I just sent you some money through paypal! Have lunch on me!
Tom Guilmette
http://www.tomguilmette.com
|
#17
Mar 6, 2009, 10:52 AM
|
|
|
|
3,768 posts · Oct 2008
Munich, Germany
|
|
Glad to hear it's working now
Thank you for the donation, Tom,
and for being a supporter since the early days of Atahualpa.
|
Similar Threads
|
Thread |
Thread Starter |
Forum |
Replies |
Last Post |
Getting rid of the rel="nofollow" thing in articles (not comments), how?
|
MarkusM. |
Installing & running WordPress |
6 |
Apr 25, 2010 05:06 PM |
[SOLVED] How to remove "comments are closed" from the end of posts
|
wylde1der |
Post-Kicker, -Byline & -Footer |
3 |
Dec 14, 2009 06:45 AM |
Comments on "Page" pages bug
|
ricky119 |
Comments, trackbacks & pings |
6 |
Jul 22, 2009 05:39 PM |
Spaces in the fields of "Post comments" form
|
Lucker |
Comments, trackbacks & pings |
1 |
May 25, 2009 01:38 PM |
How to style "post icon" and "post comments" text
|
Whatsthatcat? |
RSS, Feeds & Subscribing |
3 |
Apr 1, 2009 10:41 AM |
|