Search 
Search Forums:


 




It’s working, but with problems

Reply to Post
UserPost

12:37 pm
June 18, 2008


Tony DiFranco

Guest

I wonder if someone can take a look at my blog today, I added the following to my main index…
< ?php do_action('awp_comments_link');?>< ?php do_action('awp_comments'); ?>

< ?php do_action('awp_commentform_link');?>< ?php do_action('awp_commentform'); ?>

and the comment display works with the following problems…

1. If the posts are closed for comments, it is written twice “Comments are closedComments are closed”
2. Show Comments works but they are formatted as black, I can’t figure how to make the words white by default but I can edit them individually by adding <font color=”#ffffff”> before the comment.
3. Clicking on Edit on the main index page brings me to a full screen page instead of a pop up (not that big of a deal but it might be a symptom) but works fine if I’m on the single post page.

4. The Biggy! When I click “Add a Comment” it will prevent posting the comment by stating “Duplicate comment detected; it looks as though you’ve already said that!”

I must have done something simple wrong, can anyone help me out? I’m excited to have this working on my site!
Thanks in advance.

12:53 pm
June 18, 2008


Aaron

Admin

posts 245

Can you please post a URL to the theme you are using?

2:31 pm
June 18, 2008


Tony DiFranco

Guest

Thank you for taking a minute to look Aaron…

http://me.mywebsight.ws/web/wpthemes/
It’s called x-blog and it’s the last one listed on that page.

Again thanks for looking!

http://wwww.detailsbydifranco.com

2:54 pm
June 18, 2008


Tony DiFranco

Guest

Like I mentioned on another post, I love the finished working effect achieved at http://www.angelacalderon.com/blog
Is there a shortcut to have that work for me? Is it like a donation thing? If so, email me at detailsbydifrancoatyahoodotcom

12:14 am
June 19, 2008


Tony DiFranco

Guest

OK, I’ve done some band-aids and work arounds but the one thing I can’t get past is that it keeps telling me that any post I make for a test is a duplicate post!
What is that connected to? Does anyone know? Thanks!!

11:03 am
June 19, 2008


Aaron

Admin

posts 245

Okay, the color of the text is a CSS issue. I can help with that, but you need to remove all of the <font> tags you added.

To fix the duplicate comment error,

OPEN: /modules/inlinecommentform/inlinecommentform.php

Find:$('comment_parent_'+_d[i].main).value = 0;

Replace With: try{$('comment_parent_'+_d[i].main).value = 0;}catch(e){}

When you search for the “find” line. You will find that text twice. One of the times it will look exactly like the find line, this is the line you want to replace.

11:46 am
June 19, 2008


Tony DiFranco

Guest

wow, you’ve done it!
The replaced line of code has stopped the duplicate comment error!
Just out of curiosity, how would I have known to do that? Did you find the error or is that already written in documentation somewhere?

I think it’s close now. The following problems still exist…

1. Comments Closed on a post is written twice. I can live with it as it doesn’t look that bad.

2. The CSS issue. You mentioned to remove the tags but from where? From the main index php file from the theme?

1:06 pm
June 19, 2008


Aaron

Admin

posts 245

The error was in aWP itself. It was an odd combination of things that caused it.

1) One of the comments are closed tet comes from the comments link and one from the add comments link. The next version won’t show the add comment link when comments are closed, but for now, you can set the comment text to just a space.

2) Anywhere you added it to make the AWP comment text white. (For one reason, the font tag has been deprecated in (x)HTML, but mostly, because it makes it very hard to fix the CSS.)

9:50 pm
June 19, 2008


Tony DiFranco

Guest

I’m busy for the weekend so I won’t have time to check in until Monday so don’t think I lost interest.
Thanks for all the help so far!

4:27 pm
June 21, 2008


Gina

Guest

How can I get the comments show up in a scrolling textbox like on this site? I have been trying to do this but I can’t seem to figure it out.

Also, I want the author name and comment to show up on one line - I tried changing the format using the code here, but it automatically puts a line break after the author.

Any help would be much appreciated!

~Gina

9:21 pm
June 21, 2008


Aaron

Admin

posts 245

Gina, please see this thread which explains how to add comments in a scrolling box.

12:23 am
June 25, 2008


Tony DiFranco

Guest

I’m still super busy but I have more stuff to accomplish. Big thanks to Aaron for his amazing help!

7:56 pm
July 1, 2008


Tony DiFranco

Guest

Personally, this quirk doesn’t effect me in the slightest bit, I don’t need a fix for it so this post is more of an FYI than anything

Password Protected Posts…
By clicking on Add Comment button on the index page without loging into the post with password, program hangs while displaying loading gif. If you hit the Add Comment button again and again, it will keep adding the loading gif.
Try here on my site…
http://www.detailsbydifranco.com

12:19 pm
July 23, 2008


mogmismo

Guest

Aaron said:

OPEN: /modules/inlinecommentform/inlinecommentform.php

Find:$(’comment_parent_’+_d[i].main).value = 0;

Replace With: try{$(’comment_parent_’+_d[i].main).value = 0;}catch(e){}

When you search for the “find” line. You will find that text twice. One of the times it will look exactly like the find line, this is the line you want to replace.


That didn’t fix the duplicate post for me. Any other ideas?

Reply to Post


Reply to Topic: It’s working, but with problems

Name (Required):

EMail (Required):

Website):

Guest URL (required)

Math Required!
What is the sum of: 5 + 3        (Required)

Topic Reply:


 

About the Anthology of Ideas forum

Currently Online:

7 Guests

Maximum Online: 33

Forums:

Groups: 2

Forums: 6

Topics: 212

Posts: 671

Members:

There are 1 members

There are 199 guests

Aaron has made 245 posts

Top Posters:

Administrator: Aaron