Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter vagari

    (@vagari)

    Thanks @tristan083, that little extra info allowed me to mirror what was in that file to hopefully make sure it works better on the live site when that goes up.

    I’ve also noticed that certain things are cached. So once you map a field, it remembers that on the next import. That makes things slightly more complicated for testing with a fresh site/data. But not the end of the world.

    Now that I have the license info I have been able to do some test imports with iCal files. And interact with support via the plugin. Though I’m not 100% sure how they’ll get back to me since it was just a form within the chatbot interface. And I don’t have an actual login on their support site currently.

    Of course, after trying to follow the ICS/iCal spec, my all day events are being added, but still with those 12:00 am timestamps and the box not checked. D’oh! I’m going to run what’s generated through a validator next. Wish me luck!

    Thread Starter vagari

    (@vagari)

    @d0153 OK, I feel like an idiot. I was making sure the column mapping matched up (which it did) and didn’t notice that multiple columns, including “all day event” were set to do not import right above that. /facepalm

    Do you know if that is something that has to be adjusted every time? Or can I set the default to do that so my client doesn’t need to check on import? The auto-import should fix that regardless, but I’m trying to give them a backup procedure in case something happens.

    Thank you all so much for your time. I’m sorry I missed something so simple.

    Thread Starter vagari

    (@vagari)

    Thanks for responding @tristan083. Adding a time had no effect. I tried it with the sample data provided by the plugin documentation. All day event is still not checked, only now instead of stating the event is at midnight, it’s at the random time I set it to (1 AM).

    I don’t believe I can share the actual data I need to use since this is the open Internet. But since the sample data does not work for me on a completely fresh install of WordPress, with a fresh plugin, that should be a good start. If that link is problematic, I’ve linked to the page that links to that above.

    Perhaps someone with public, or sanitized, data that works for them can share that and I can see if it works on my end?

    Thread Starter vagari

    (@vagari)

    Quick followup. Not sure if it’s a DDEV thing. But I created a new local build. New folder, followed the setup, only things I did were to add the, The Events Calendar plugin and activate it, did the basic setup of that, skipping organizers, etc., and then did an import of the example data. The Kitten Adoption event, still did not get flagged as an all day event.

    Again, I can try to interface with support later (per the last paragraph), but currently I only have access to the free setup.

    Screenshot of the admin page included…

    • This reply was modified 12 months ago by vagari.
    Thread Starter vagari

    (@vagari)

    Thanks for responding Darian. So it sounds like it’s something on my end. Interesting. As I mentioned, I attempted to do an import with the sample data from the knowledge base and got the same result. The other data also seems to import correctly. Though I have plenty of empty fields since the client doesn’t want everything public. I’m still waiting on them to acquire a license, so for now this is my only support channel I think. But perhaps I can start from scratch and try to import again (the site is already on WordPress defaults since I’m just writing the plugins. The design, etc. is being done by another team member), go in stages and see if I can reproduce the issue.

    For reference here is a screenshot of the headers of my generated file alongside the sample one. The only difference I’m seeing is the lack of all caps. But just to reiterate again, the sample file has the couple of all day events come through incorrectly too.

    Link to Imgur post
    Thread Starter vagari

    (@vagari)

    I’d be interested in other solutions to this problem. But a workaround I’ve found is to use comments_number() (which isn’t exactly the same statistic) and manually create the URL.

    <a href="<?php comments_link(); ?> "><?php comments_number('No responses','One response','% responses'); ?></a>

    Thread Starter vagari

    (@vagari)

    OK, so since I’m trying to get this to work on an individual page according to the documentation it won’t work, “even when within The Loop.”

    http://codex.ww.wp.xz.cn/Template_Tags/comments_popup_link

    Makes sense if this is THE loop for the page. But this is an alternate “loop.” Anyone have any idea how to get around this? Or an alternative for multiple loops that would provide me with what I need and still allow this stuff?

    Here’s the basics of the layout… I’ll try my best in unformatted text.

    Recent Posts

    Title of article one.
    April 12th, 2007 · No Comments

    Title of Article two.
    April 5th, 2007 · 3 Comments

    Title of Article three.
    April 1st, 2007 · 1 Comment

    It’s nothing fancy. Thanks again everyone.

    Thread Starter vagari

    (@vagari)

    I’m still not any closer to solving this. The author never replied and the posts page has some more comments that are unrelated.

    So far I’ve gone through the code some more, trying to follow along with what it is actually doing. It’s not helping much… I’m not seeing it fail anywhere…

    OK, while I was writing this I contiuned to play I found some bizarre anomolies…

    I was trying to fix the fact that my fix to pass the authentication variables adds to the htaccess file and seems to break the “clean urls” for the feeds.

    While playing I randomly put in incorrect information. But since I was already logged in… the friggen hidden post showed up. So it didn’t prompt me, but it included the post. And then it disappeared a few refreshes later and then came back with some more fiddling…

    So to summarize,

    • Putting in “/wp-rss2.php?http_auth=yes” displays a blank feed, with just the basic information, no posts. But at least it prompts you for authentication”
    • Changing that to the actual feed produces a 404 error. And when switched from “/feed/?http_auth=yes” to “/feed/?http_auth=no” the 404 goes away.
    • Sometimes if I’m logged in already (only produced in Firefox so far) and just use “/feed/” or even “/wp-rss2.php” (remember, not all the time) I get back the correct feed with the hidden post.
    • “/feed/?http_auth=yes” produces a 404 error, yet “/feed/?http_auth=yes/” does not. And again, sometimes produces a feed including the private post.

    Maybe I should also make sure that my htaccess can’t be made better (I’m sure it can).

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [E=REMOTE_USER:%{HTTP:Authorization},L]
    </IfModule>
    # END WordPress


    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization},L]
    </IfModule>

    Is there anyone out there who can give me something positive? I can’t make heads or tails of all this wonky behavior… Thanks!

    Thread Starter vagari

    (@vagari)

    Ahhh… well that was a problem with the htaccess… If I manually switch over to the actual feed url e.g., wp-rss2.php?http_auth=yes then I just get an empty feed. and switching over to “=no” works fine…

    Guess I’ll be installing this at home to my linux box that doesn’t even currently have an internet connection just to see what’s supposed to be happening. This is starting to get annoying…

    Thread Starter vagari

    (@vagari)

    OK, I have started pulling apart the plugin and found out that the problem stems from having to use authentication in general. My host has PHP installed as cgi and not a module. So the $_SERVER['PHP_AUTH_USER'] and $_SERVER['PHP_AUTH_PW'] are not set by the server.

    I found a script that, along with an add-on to my .htaccess file, grabs the data and rebuilds the two variables.

    But now, even though my credentials go through, I just get a 404 error. Is anyone else using this plugin, in a “module” environment, and can vouch that it functions correctly? I’d like to know that I’m on the right track but just need to tweak something else. Thanks!

    Thread Starter vagari

    (@vagari)

    I just tried to use a couple web browsers to login and view the rss feed. Even in Firefox, I just keep getting the login popup. Does anyone have any ides? I’d really appreciate some help.

    Here’s the plugin’s page:
    http://fortes.com/2005/12/27/post-levels-10/

Viewing 11 replies - 1 through 11 (of 11 total)