Forum Replies Created

Viewing 15 replies - 1 through 15 (of 18 total)
  • Forum: Plugins
    In reply to: subscribe widget?

    I wanted to report that with WP 2.0.3, Subscribe2 v.222 works great from the sidebar, without a widget, but with a customized form.

    Upgrading from 1.5.2 to 2.0.3, I got the wrong impression from all I read, that people were unable to make the form work from the sidebar, besides just linking to the subscribe page, + that this required widgetizing.

    That not making sense to me, I first tested without. Even the unsubscribe works from the sidebar. Here’s how I did it:

    The form’s action directs to the page, + the radio buttons’ name + actions are the same as in the form generated by the plugin. It does pass the parameters to the page, where the responses are output.

    Forum: Plugins
    In reply to: subscribe widget?

    Hi MattyRob,
    Thanks for your work on this widget! I’m just about to upgrade + would like to hear if this is working, since I notice you are not currently using it on your site.

    I see you are actually using the <!–subscribe2–> tag in the sidebar, which works but the user feedback is too subtle to easily notice!

    This makes me think there is a problem with his widget working as is. Before I go through the widgetizing coding just for this, I would really appreciate hearing any issues you have discovered, or if it works.

    I’m hoping to provide both sub + unsub in the sidebar form, as I have in the older version when it had the separate subscribe.php file to point to. Now upgrading WP, I hope we can still have the previous UI elegance.

    Thanks for your time!

    Thread Starter echozone

    (@echozone)

    I believe this is on WordPress (xmlrpc.php) rather than the plugin.

    I’m doing something similar in a sidebar using customizable-post-listings plugin with a conditional statement.

    I elaborate in the end of this post, and you might find other info here as well.
    https://www.ads-software.com/support/topic/31686

    After the initial permalinks creation, does WP only write to (or need to write to) the .htaccess file when a new WP Page is created?

    I just had the following happen updating from 1.5.1.1 to 1.5.2.
    New .htaccess with permissions 666.
    Options/Permalinks with Structure filled in as in previous version, + Category base left blank as in previous version. The same thing happened – message permalinks updated, but blank .htaccess file.

    Tried this many times. If I did not set permissions writable, then I could get the text to paste manually, and the permalinks work fine, as far as I can tell. I suspect if I add a new page or category, I would have to manually edit the .htaccess file.

    This must be a bug, and I will see if it’s relevant to add to your ticket, Christine or open a new one.

    Thanks! Yeah I think it’s pretty cool too.

    I’m doing something similar in a sidebar using customizable-post-listings plugin with a conditional statement.

    The category links remain there, so it’s like an expanding menu.

    If it’s x category, or a post in x category, the sidebar gets recent posts from only that category.

    If it’s a Page, it shows all categories’ recent posts.

    If there’s no posts (including a search with no results or a 404) it shows category titles with no recent posts.

    The main page is a static custom “Page” with hard coded links to the categories.

    The client’s blog is not public yet, but you can see this in my test version.
    Notice the sidebar category recent posts expanding + hiding.

    https://echozone.com/blog/

    Thread Starter echozone

    (@echozone)

    I believe that works, thanks again!

    Thread Starter echozone

    (@echozone)

    Hadn’t found info on that.
    It is used as you write it, + outside The Loop?
    I will look into it, thanks!

    Thread Starter echozone

    (@echozone)

    I did have a conversation with the developer, and I mentioned his suggestion here, for which I would like help with the syntax.

    I debated whether to post this to the plugin forum, but decided to post here, as I figured I had already exhausted the plugin discussion with the developer, and this involves general php problem solving with WP.

    Thread Starter echozone

    (@echozone)

    Success!
    All I needed to do was put if (is_page()) first!

    I had coded something else (dynamic menu highlighting) and discovered that I could, in fact target the main page with is_page(), so this showed me the problem I was working on was not the issue.

    Thread Starter echozone

    (@echozone)

    Can I use get_settings(‘home’) which does point to the main page, or hardcode the URL somehow in my elseif statement? I’m not clear on the syntax, if this is possible.

    Thread Starter echozone

    (@echozone)

    Further explanation of what I’m doing.
    The blog only has 3 categories. My conditional statement accomplishes this:

    If it’s category n, the sidebar gets recent posts from only that category (using customizable-post-listings plugin).

    All 3 category links remain there hard coded, so it’s like an expanding menu.

    In the same if statement I added, OR if it’s a post in category n (using php from the codex to use in_category outside the loop).

    My main page (using Page to Front plugin) is getting caught by being a post in category 1, + I’m unable to catch it in an elseif statement for is_page, or the final else statement, which shows recent posts from all 3 categories. Everything else works great.

    <?php $post = $wp_query->post; ?>
    <?php if ((is_category(1)) || (in_category('1'))) { ?>

    category 1 link
    get recent posts from category 1
    category 2 link
    category 3 link

    <?php } elseif ((is_category(2)) || (in_category('2'))) { ?>

    category 1 link
    category 2 link
    get recent posts from category 2
    category 3 link

    <?php } elseif ((is_category(3)) || (in_category('3'))) { ?>

    category 1 link
    category 2 link
    category 3 link
    get recent posts from category 3

    <?php } elseif (is_page()) { ?>

    category 1 link
    get recent posts from category 1
    category 2 link
    get recent posts from category 2
    category 3 link
    get recent posts from category 3

    <?php } else { ?>

    category 1 link
    get recent posts from category 1
    category 2 link
    get recent posts from category 2
    category 3 link
    get recent posts from category 3

    Thread Starter echozone

    (@echozone)

    I understood and did all that you explained here, I meant I didn’t completely get the syntax (so I was substituting ‘name’ + ‘page_id’ in various ways). I had tested it with the code both before and inside the loop, and it was always before the get_sidebar.

    I’m wondering if I give up the Page to Front plugin, if a htaccess redirect would work (/blog/ -> /blog/home/) and not break any other part of the blog that references the index.php.

    I’d like your solution to work. I can explain more about my conditional statements if necessary.

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