WordPress.org

Ready to get started?Download WordPress

Forums

why is it when i post a comment then click say it (37 posts)

  1. cityrich
    Member
    Posted 9 years ago #

    why is it when i post a comment then click say it the comment window refreshes all crunched up like it shrinks within my 500 by 500 comments window you can experience this here http://www.djcityrich.com/post

  2. cityrich
    Member
    Posted 9 years ago #

    my guess is that the say it button is linked to wp-comments not wp-comments pop up like it should
    how and where would i make this change?//

  3. cityrich
    Member
    Posted 9 years ago #

    any one help ????

  4. moshu
    Member
    Posted 9 years ago #

    What city says (I guess:) is that after commenting and clicking the "Say it" button, the popup window refreshes to show the newly posted comment, but after refreshing it the whole entry/post is there in the popup, and because the width of the comments part is a percentage of the "normal" width, the comments seem to be "shrinked".
    Actually someone else was also complaining about having the whole entry in the popup window after posting a comment. Is this a default thing or just a weird stuff for some users? (I don't know, never used popup... annoys me :)

  5. moshu
    Member
    Posted 9 years ago #

    Update. cityrich, did you modify your popup window code? Because on other blogs even after posting a comment the original entry wouldn't show up.

  6. cityrich
    Member
    Posted 9 years ago #

    i only edited the index.php part with the // in front of the pop up comments page and moshu explains my problem better.

  7. Beel
    Member
    Posted 9 years ago #

    Backup your wp-comments-popup file and start again with a fresh one. I think I tested it by adding a comment earlier and the result was not what I have experienced/expected.

  8. cityrich
    Member
    Posted 9 years ago #

    the wp-comments popup is totaly fresh - the footer is what has been edited in the wpcomments popup
    good to hear from you again beel how things been.

  9. cityrich
    Member
    Posted 9 years ago #

    hey beel while i have your attention i realy was looking for you but i didnt want to go sending you emails for help do you think this http://www.underconsideration.com/speakup/ is a wordpress engine?

  10. Beel
    Member
    Posted 9 years ago #

    Looks like MT to me. Back to your issue, at the bottom of wp-comments-post do you have this:
    $location = get_permalink($comment_post_ID);

  11. Yeah, it's an MT blog. Hence the comments link to mt-comments.cgi ^_-

  12. cityrich
    Member
    Posted 9 years ago #

    yeah i have this comment header('Pragma: no-cache');
    $location = get_permalink($comment_post_ID);
    beel it has nothing to do with me the comments-popup.php file ???

  13. Joshua Sigar
    Member
    Posted 9 years ago #

    Does the problem persist with the original files? (index.php, comment files, etc)

  14. cityrich
    Member
    Posted 9 years ago #

    ok i have a totally fresh install of wp .
    now when you click comments a 500,500 window pops open
    without the menu,
    heres the problem again when you post a comment on that wp-commentspopup window it refreshes to what i believe is wp-comments with the menu. i dont want menu there i want it like when you first click comments just comments show up no menu.
    i am a idiot when it comes down to this stuff.

  15. cityrich
    Member
    Posted 9 years ago #

  16. Joshua Sigar
    Member
    Posted 9 years ago #

    Dude, is it the problem your server? I mean, if everything is default installation, other than corrupted files, what could it be?

  17. cityrich
    Member
    Posted 9 years ago #

    Did you notice the comments window once you hit comments and it pops up, there is no menu and the comments fit ok.
    then did you notice once you post a comment the comment window refreshes with your new coment and the menu .
    the (say it) link needs to be changed???????????

  18. Joshua Sigar
    Member
    Posted 9 years ago #

    Your WP is version 1.2.1, right?
    In bottom portion of your wp-comments-post.php replace$location = get_permalink($comment_post_ID);
    with this one (taken from the original 1.2)
    $location = (empty($_POST['redirect_to'])) ? $_SERVER["HTTP_REFERER"] : $_POST['redirect_to'];
    If that fixes it, please post back 'cause I told someone who has the same problem to follow this thread.

  19. Beel
    Member
    Posted 9 years ago #

    From the CVS:
    $location = (empty($_POST['redirect_to'])) ? $_SERVER["HTTP_REFERER"] : $_POST['redirect_to'];
    if ($is_IIS) {
    header("Refresh: 0;url=$location");
    } else {
    header("Location: $location");
    }

  20. cityrich
    Member
    Posted 9 years ago #

    bingo bingo bingo
    thanks guys
    yes beel this worked
    $location = (empty($_POST['redirect_to'])) ? $_SERVER["HTTP_REFERER"] : $_POST['redirect_to'];
    if ($is_IIS) {
    header("Refresh: 0;url=$location");
    } else {
    header("Location: $location");
    }

  21. cityrich
    Member
    Posted 9 years ago #

    beel if possible could you email me at rich at djcityrich dot com?

  22. laling
    Member
    Posted 9 years ago #

    AAAAAAAHHHHHHHHHHHHHHHH I LOVE YOU GUYS! THANKS ALPHAOIDE! YER THE GREATEST!

  23. Anonymous
    Unregistered
    Posted 9 years ago #

    ehm.. sorry, I have the same problem, and tried to solve it the same way: I cut the // in the index.php and change that line in the wp-comments-popup.php, as you said. but no, it doesn't work. a little help? thanks. Riccardo.

  24. cityrich
    Member
    Posted 9 years ago #

    alpha you took the words right out my mouth

  25. Anonymous
    Unregistered
    Posted 9 years ago #

    uops.. sorry. I've made the change in the wp-comments-post.php, not in the popup one, as I wrote.
    but, it doesn't work.. can I do something? can I email you my code? thank you again (and sorry for my terrible english, too)

  26. Anonymous
    Unregistered
    Posted 9 years ago #

    it was me, Riccardo.

  27. Joshua Sigar
    Member
    Posted 9 years ago #

    Riccardo, make a new thread, restate your issue, what you've tried, and a link to your site might be useful

  28. Anonymous
    Unregistered
    Posted 9 years ago #

    it worked thankyou!

  29. TaseerDC
    Member
    Posted 9 years ago #

    I've seen a couple of users comment on my blog, but when I try to, I get this message:
    Warning: strpos(): Empty delimiter. in /home/location/www/www/wp-content/plugins/kittens-spaminator.php on line 231
    Warning: strpos(): Empty delimiter. in /home/location/www/www/wp-content/plugins/kittens-spaminator.php on line 231
    Warning: Cannot modify header information - headers already sent by (output started at /home/location/www/www/wp-content/plugins/kittens-spaminator.php:231) in /home/location/www/www/wp-content/plugins/kittens-spaminator.php on line 124
    Sorry, you've banned from commenting on this blog.
    Either your comment content was found to contain spam, or your IP address (or a subnet of your IP address) has spammed this blog before.
    Is there any way for me to get around this problem? I don't want to deactivate the comment spam filters, but it'd be nice to be able to respond to my own posts. ;-)

  30. simplykimberly
    Member
    Posted 9 years ago #

    I used Beel's solution and it fixed my comments popup as well.
    Thanks a lot!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.