Forum Replies Created

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

    (@psylicium)

    Great! That was exactly something like that I was looking for. I’ve tried myself to inject something via JavaScript that switched the ‘expanded’ and ‘collapsed’ classes, but didn’t quite know which hook to use. Thanks for your input – marking it as solved 🙂

    Thread Starter Psylicium

    (@psylicium)

    God, I’m so stupid, and my host’s info isn’t exactly clear regarding mail configuration.

    Turns out that I can ONLY send mail from my own domain, psylicium.dk, and I missed ONE thing over and over again… Like I wrote in my initial post, I created several new mail addresses for my domain, and this time I also changed the WP admin email to those, but the problem persisted, and in the logs, there still was a gmail address that broke things – but I was sure I had changed everything to my psylicium.dk mail address.

    And THEN it dawned on me … my user profile still had a gmail address! I haven’t at any point thought that the admin and user profile was two different things. I just assumed, that since I’m the only user, the admin email was reflected in the user profile, if I changed it 😑

    I changed the user email address to my psylicium.dk one, and set the admin one back to my original gmail one. And that did the trick! No errors in the mail log, and the comment approval email arrived immediately.

    So, to sum up, if anyone else has a problem with WordPress on a one.com host:

    You can’t use an external email like gmail in the user profile – only a valid email address that belongs to your domain, like me[at]mydomain.com

    I was sure it worked sometime in the past, but now I think about it, it might have been with my previous host. I switched some years ago, and just imported the database from the old host to one.com – gmail and all. And since I haven’t been using comments for years, I just noticed the problem now.

    Everything seems to be in working order now, so I’m marking it as resolved – and thanks for your feedback 🙂

    • This reply was modified 11 months, 3 weeks ago by Psylicium.
    Thread Starter Psylicium

    (@psylicium)

    So … I got a reply from my host, and if I have to be honest, they are far from helpful 🙁 “Make sure your SMTP is setup correctly”, link to a WP SMTP Mail plugin (which I’ve already tried with no success) and a guide. Followed it, and like before, I can send test mails, but whenever I comment, I still get the same error as in my first post. And “besides that, we can’t give further support on WordPress regarding email systems”. Well, thanks for nothing!

    I replied them with the complete error log, and insisted that something is wrong on THEIR side, as you know – it works perfectly sitewise, EXCEPT for the comments. I then tried a few mail logging plugins, and as I suspected: no errors when I request a new password or send test emails, but of course the usual when commenting. I couldn’t get detailed logs, as all I got was “could not instantiate mail function”. So far, so good. Something specifically in the comment routine, or what you call it, is triggering the error, as far as I can tell. Well, obviously I was aware of that all along, but somehow (and I can’t remember how), I got a backtrace log of what actually happens when a comment is posted:

    [0] wp_mail called at [/customers/0/c/d/psylicium.dk/httpd.www/wp-includes/pluggable.php:2069]
    [1] wp_notify_moderator called at [/customers/0/c/d/psylicium.dk/httpd.www/wp-includes/comment.php:2406]
    [2] wp_new_comment_notify_moderator called at [/customers/0/c/d/psylicium.dk/httpd.www/wp-includes/class-wp-hook.php:326]
    [3] WP_Hook->apply_filters called at [/customers/0/c/d/psylicium.dk/httpd.www/wp-includes/class-wp-hook.php:348]
    [4] WP_Hook->do_action called at [/customers/0/c/d/psylicium.dk/httpd.www/wp-includes/plugin.php:517]
    [5] do_action called at [/customers/0/c/d/psylicium.dk/httpd.www/wp-includes/comment.php:2380]
    [6] wp_new_comment called at [/customers/0/c/d/psylicium.dk/httpd.www/wp-includes/comment.php:3743]
    [7] wp_handle_comment_submission called at [/customers/0/c/d/psylicium.dk/httpd.www/wp-comments-post.php:25]

    I know I shouldn’t edit those files, but I’ll go through them tomorrow to see if I can make some changes to get it functional. Stay tuned.

    Thread Starter Psylicium

    (@psylicium)

    I don’t think the notification mails are only meant for authors, because on this page, it states that the “me” refers to either an author or administrator. So you are partly right – the “Anyone posts a comment” option only notifies the author of replies, whereas the “comment held for moderation” are meant for the administrator email listed in Settings > General. But since I am both the author and the administrator using a single account, I should receive a notification in either case.

    I troubleshooted some more today, thinking something in my database was awry, so I deleted everything and did a clean install of WordPress – same issue 🙁 The last thing I can come up with, is that my hosting provider perhaps blacklisted something due to all the spam comments I received before starting to use Akismet. I am waiting for their reply now, but if they didn’t block something, and everything looks good on my domain, I am out out of ideas…

    BTW: The ‘notify_administrator’ hook did work – I got a mail. I used some simple demo script I found, that just said “You have a new reply”, and if it turns there’s no issues with my host, I may use this as a last resort. I just have to figure out how to customize it to also include the post title and an excerpt of the comment. There’s probably some variables or functions for that 🙂

    You can add this to your styles.css:

    #slb_viewer_wrap .slb_theme_slb_default .slb_data_title, #slb_viewer_wrap .slb_theme_slb_default .slb_group_status {
    font-family: '<YOUR-FONT>', sans-serif !important;
    font-size: 1em !important;
    }

    Edit: Ahhh … I misread, sorry. You wanted to bypass loading of the font altogether.

    • This reply was modified 11 months, 3 weeks ago by Psylicium.
    Thread Starter Psylicium

    (@psylicium)

    Edit: Of course I could just choose Minimize at the bottom, but I want to be permanently hidden, instead of popping up every time I refresh the page.

    Thread Starter Psylicium

    (@psylicium)

    Bump … it must be possible one way or the other.

    Thread Starter Psylicium

    (@psylicium)

    Solved.

    Thread Starter Psylicium

    (@psylicium)

    Thank you for the replies. I got it sorted out now. I followed this tutorial, and got rid of the image captions. So far it seems to be working 🙂

    Thread Starter Psylicium

    (@psylicium)

    This is not a WordPress issue, but a general HTML and CSS issue.

    Thanks for your reply, Andrew. I see the problem with the div, but technically it is a WordPress issue, since the <div>s aren’t placed as they should be regarding floats. I have tried assigning both the “alignnone” and “alignleft” classes to the images, but the output code is exactly the same. I would assume that if you use the class “alignleft” to the image, WP would throw a clear: left; into the “wp-caption” and enclose the entire paragraph in a <div> (or something like that)…

    Thread Starter Psylicium

    (@psylicium)

    Sounds like your friend’s browser are showing locally cached copies of your website. Always do a forced refresh (on Windows, it’s CTRL-F5). That will force the browser to redownload all files, and the changes should show up immediately.

    Thread Starter Psylicium

    (@psylicium)

    Oh, I think I figured it out. Turns out that i was missing a “parent” tag in the <li> class, and that my <div class="reply"> was also a bit messed. It works now 🙂

    Thread Starter Psylicium

    (@psylicium)

    I believe that did the trick. I now see the current_page_parent. On to styling. Thanks, Christine 🙂

    Thread Starter Psylicium

    (@psylicium)

    I see no current_page_parent in the source. Is a snippet of code required anywhere to make WP output this selector? Of do I have to enable that new and fancy admin menu-thingy in functions.php`?

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