Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Comments, trackbacks & pings (http://forum.bytesforall.com/forumdisplay.php?f=19)
-   -   v3.3.2 Everywhere "Write a comment" but not activated (http://forum.bytesforall.com/showthread.php?t=1341)

bg74blogger Apr 20, 2009 11:35 AM

v3.3.2 Everywhere "Write a comment" but not activated
 
Hello Flynn,

I have problem with the new version of Atahualpa (v3.3.2).

At the moment I am using version 3.2 (see http://www.veilchen-blog.de).
Now I have uploaded v3.3.2 and take a look at the preview version.

Only some articles are activated for comments, but with the new version, on the homepage the footer of the article summary are always shown "Kommentar schreiben" ("Write a comment")...

Is it a bug? Where is the problem?

The link for my preview is:
http://www.veilchen-blog.de/?preview...t=atahualpa332

I hope you can help me.

Thank you
Sven

Flynn Apr 20, 2009 07:56 PM

Your individual setting are probably not passed to the previewed version. It is probably showing the default settings which is to show the comments link on the Homepage, too.

bg74blogger Apr 21, 2009 11:29 AM

Hi,

now the new version is activated, but the footer's are still wrong, all articles have the text ("Kommentar schreiben")...

bg74blogger Apr 24, 2009 04:50 AM

Hey Flynn,
do you know where the mistake could be?

Flynn Apr 25, 2009 06:25 AM

Check your settings at Theme Options -> Post / Page Info Items

bg74blogger Apr 26, 2009 06:48 AM

Sorry for annoying,

but it doesn't work until now. I reset the settings for "Post/Page Info Items", but in the footer is still written "Leave a comment" for all items!?!? But thats wrong :(

thx Sven

Flynn Apr 27, 2009 06:50 PM

What do you have at
Theme Options -> Post / Page Info Items -> FOOTER: Homepage

bg74blogger Apr 28, 2009 09:55 AM

this is the text in FOOTER: Homepage

Quote:

%date('F jS, Y')% | %tags-linked('Tags: ', ', ', ' | ')% Category: %categories-linked(', ')% | %comments('Leave a comment', 'One comment', '% comments', 'Comments are closed')% %edit(' | ', 'Edit this post', '')%
here is a screenshot. The content is the standard text after resetting:
http://www.abload.de/img/screenshot19cu.jpg

Flynn Apr 28, 2009 12:02 PM

Delete this:

| %comments('Leave a comment', 'One comment', '% comments', 'Comments are closed')%

bg74blogger Apr 29, 2009 06:07 AM

Sorry,
ich glaube wir reden/schreiben etwas aneinander vorbei :(. Deshalb jetzt mal meine Frage bzw. das Problem nochmal auf deutsch geschrieben.


Also, mit der alten Version vom Theme hat es soweit alles ganz toll geklappt. Ich habe bei einigen Artikeln die Kommentarfunktion deaktiviert und bei einigen die Funktion aktiviert, sodass die User dazu ihren Kommentar schreiben können/sollen.

Seit dem ich aber die aktuellste Version des Themes aktiviert habe, steht bei jedem Artikel "Leave a comment" obwohl das ja eigentlich nicht richtig ist es soll ja so wie mit dem alten Theme sein, das bei denen, wo die Kommentarfunktion aktiviert ist, "Leave a comment" steht und bei denen, wo es deaktiviert ist soll "Comments closed" stehen.

Wie bereits geschrieben habe ich die Settings für die Rubrik "Post/Page Item Infos" geresetten, aber weiterhin wird überall "Leave a comment" angezeigt :(

Ich hoffe jetzt ist es etwas verständlicher, wo mein Problem ist ;) gerne kannst du mir auch eine PN zu der Sache schicken.

Vielen Dank für deinen schnellen Support (echt spitze!!)
Gruß Sven

bg74blogger May 4, 2009 11:21 AM

Hey Flynn,

please take a look at this posting:
http://forum.bytesforall.com/showthr...=5709#post5709

Thats the same problem which I have :(

Flynn May 5, 2009 07:10 PM

Looking into it

bg74blogger May 7, 2009 03:07 PM

Hi,
for your information: I installed the version 3.3.3 but the same problem.

I also tried to reset the Theme Options with the button "Reset ALL Theme options", but no chance - same problem.

When you need any help to reproduce the problem, please send me a personal message. We also can chat over ICQ. I would like to help you.

bg74blogger May 15, 2009 07:21 AM

Hey Flynn,

do you found the bug?

I also tried to install a new test-system (wordpress 2.7.1 included Atahualpa 3.3.3 without any plugin). Although the bug is available...

Is it possible that you forgot an if-statement to check if the option (Settings - Discussion - "Allow people to post comments on the article") is set? I think that is the reason, because this is the option which I have disabled - so all articles which I will publish are comment-disabled. Only if I really want comments to a special article I use the option "Add new article - Discussion - Allow comments on this post").

Greets Sven

bg74blogger Sep 14, 2009 05:10 PM

Same problem with WP 2.8.4 and Atahualpa 3.4.1 :(

juggledad Sep 15, 2009 06:10 AM

I believe this is related to the version of WP not Atahualpa. I just tested it with
WP 2.7.1 Atahualpa 3.3.3, 3.4.2 - > issue shows up
WP 2.8.4 Atahualpa 3.3.3, 3.4.2 - > no issue

So if all the hacking of earlier versions of WP weren't enough to make you upgrade...:)

bg74blogger Sep 15, 2009 06:23 AM

Sorry but your answer is not clear for me.
The newest version of Wordpress and Atahualpa are installed.

But my problem is still available :(

juggledad Sep 15, 2009 06:33 AM

Ok, let's review it.

In WP 2.8.4,
1) you go to WP->Dashboard->Settings->Discussion->Default article settings - and uncheck 'Allow people to post comments on new articles'
2) you add a new post and make sure that at the bottom of the page 'Discuessions: Allow comments on this post' is unchecked
3) you go and view the post and it does not say 'comments are closed'

Is this what is happening?

When I do this I get the 'comments are closed'

bg74blogger Sep 17, 2009 05:34 AM

Yes, thats right. I've done everything

BUT! you can take a look on my test-installation:
--> http://veilchen-blog.de/testing/

There you can see the problem... the text "Leave a comment" is wrong, in the previous version it was not there when comments are closed. I hope you understand my problem now ;)

here is a screenshot of this problem:
http://veilchen-blog.de/testing/screenshot.jpg

It would be better when in the footer stands "Comments closed" or something else, but it is confusing for users when they click on "Leave a comment" and on the next page they see the text "Comments closed".

juggledad Sep 17, 2009 06:49 AM

Ok, (you quite sure your not on WP 2.7.x?)

Please do the following - edit bfa_postinfo.php and go to line 350. You should see a comment at that line '// Comment link'. Add teh following code right before the 'IF' statement on line 355
HTML Code:

        echo '* * * BFA->comment_matches=>'.print_r($comment_matches).'<=* * *<br> ';
this will dump the array that makes up the comment code and allow me to see what is happening a little more.

bg74blogger Sep 25, 2009 03:09 PM

Quote:

Originally Posted by juggledad (Post 14815)
Ok, (you quite sure your not on WP 2.7.x?)

Yes I'm sure ;)

Quote:

Originally Posted by juggledad (Post 14815)
Please do the following - edit bfa_postinfo.php and go to line 350. You should see a comment at that line '// Comment link'. Add teh following code right before the 'IF' statement on line 355
HTML Code:

        echo '* * * BFA->comment_matches=>'.print_r($comment_matches).'<=* * *<br> ';
this will dump the array that makes up the comment code and allow me to see what is happening a little more.

I've done that. Please take a look at http://veilchen-blog.de/testing

juggledad Sep 28, 2009 08:10 AM

edit bfa_postinfo.php and find the following line
in ver 3.4.2 it is line #355
in ver 3.4.3 it is line #351

HTML Code:

                if ( !comments_open() AND $comment_matches[8] == "dontshow" ) {
and change it to this
HTML Code:

                if ( !comments_open() AND $comment_matches[8] == "Comments are closed" ) {

bg74blogger Sep 29, 2009 06:47 AM

Oh juggledad I think that was the reason of this bug.
Thats no bug of the Atahualpa theme? I think so.

Last question: is your realname JTM?

juggledad Sep 29, 2009 07:09 AM

Actually this isn't the correct fix. This is a bug that was introduced between 3.2 and 3.3. the fix I gave you will only work if you don't change the 4th parameter in the comments syntax at ATO->Edit POST/PAGE INFO ITEMS - if you change it from 'Comments are closed' the error will pop back up.

I'm still looking for the 'correct' solution

My initials are PMW

juggledad Sep 29, 2009 09:59 AM

ok, the entire fix is in this post http://forum.bytesforall.com/showthr...5584#post15584


All times are GMT -6. The time now is 11:15 PM.

Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.