Forum Replies Created

Viewing 15 replies - 61 through 75 (of 94 total)
  • Thread Starter fredhead

    (@fredhead)

    Thanks, Kevin, and welcome back (if coming back from any vacation is a good thing). I’ll check out the dev code.

    While waiting I’ve cobbled together the hand coded custom fields in my functions.php file which did work with Role Scoper before for the most part. Having today rebuilt my test site, tomorrow I plan to re-active RS and add back all the accounts to test everything. Basically I have a set of external users who are all Subscribers in the WordPress world who I want to permission at the category level with RS. Then I have a group of internal users who I want to simply use the WordPress levels of Author, Editor, and Admin.

    I’ll let you know how it goes.

    Thread Starter fredhead

    (@fredhead)

    Thanks, Kevin! Let me know when you’re ready and I’ll give you whatever data/access you need to help figure it out. Enjoy your time off.

    Thread Starter fredhead

    (@fredhead)

    Turns out to be a plugin conflict. I had started with a few plugins but left one activated by accident: Magic Fields. I shut off plugins and then activated them one by one. Also, with debug mode on, I still get what looks like a fatal error but the page still displays content fine. Here’s the error:

    Notice: Trying to get property of non-object in /home/sitename/www/wp-includes/query.php on line 562

    Thanks for your help guys. Had no idea WP is so verbose and generates so many errors. I’ll have to clean up the ones I can.

    Thread Starter fredhead

    (@fredhead)

    Actually I’m trying to avoid plugins for the same reason I hand code and drive a manual transmission. In theory, the less complexity and the less automation the fewer problems. I also want to learn what the plugins hide from me. I’m a Luddite.

    Thanks for your help. Hopefully I can figure it out from here.

    Thread Starter fredhead

    (@fredhead)

    Naturally it works for you. ?? I get the same fatal error. Does WP have a debug mode like Expression Engine where it outputs every query run?

    Thread Starter fredhead

    (@fredhead)

    Yes, the template page is in my theme folder with the name of the theme commented out, then a call to header(), then the code above, then calls to the sidebar() and footer() functions. Plain vanilla.

    Here’s the pastebin code: https://wordpress.pastebin.com/k6Q9rtba

    Thread Starter fredhead

    (@fredhead)

    Thanks again for your patience, Mike. Now I get a fatal error:

    “Fatal error: Call to a member function get() on a non-object in /home/stcphoenix/www/www/wp-test/wp-includes/query.php on line 27”

    Here’s the code in my template:

    <?php
    $type = 'stcphx_members';
    $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
    $args=array(
      'post_type' => $type,
      'post_status' => 'publish',
      'paged' => $paged,
      'posts_per_page' => 1,
      'caller_get_posts'=> 1
    );
    $temp = $wp_query;  // assign orginal query to temp variable for later use
    $wp_query = null;
    $wp_query = new WP_Query($args); 
    
    	if (have_posts()) : while ($wp_query->have_posts()) : $wp_query->the_post(); ?>

    Any ideas? Appreciate your help/ideas.

    Thread Starter fredhead

    (@fredhead)

    Sorry I wasn’t clear: I didn’t think of a page template because I don’t believe they paginate. My goal is to get a list of entries for my custom post type that includes previous/next links so people can browse n number of entries per list page.

    Are you saying that creating a template, assigning it to a page, and then putting the code into the template will paginate automatically?

    Just want to clarify. Thanks.

    Thread Starter fredhead

    (@fredhead)

    Thanks, Mike, a follow up question: since this would be for an archive list page, what would the template file name be that WordPress would recognize where I would put this code? Would it be archives-custom_post_type_name.php or something else?

    In the meantime, if the post misses schedule, you can change it immediately to published by clicking on the “quick edit” link in the posts list view. You have the option to change the status to “published” which does the trick.

    I wish. I’m running 3.0 on LAMP and this doesn’t trick doesn’t work. And of course on the Edit Post page, the publication status work needs alot of work. At the least, the Quick Edit status dropdown choices should be repeated on the Edit Post status area so people don’t have to waste time searching forums. Assuming the trick works. ??

    I’ve given up and will either waste my time creating a copy of the article or do a database-ectomy and update the status manually. But no one should have to do either option. This is basic stuff.

    FWIW the busted time stamp button is/was caused by HeadSpace2 3.6.32 on WP 3.1 on LAMP with a Mac OSX/Firefox3 setup. I did the ancient ritual of shutting off all plugins then activating them one by one until the time stamp broke again.

    This helped, Greenshady, thanks!

    Also, within the loop, my code looked like:

    $attachments = get_children( array( ‘post_parent’ => $post->ID ) );

    If that helps anyone else.

    Thread Starter fredhead

    (@fredhead)

    Thanks, esmi, but it didn’t work. Here’s what I’ve got for a parent category archive page:

    <?
    $this_category = get_category($cat);
    wp_list_categories('order=ASC,child_of=$this_category->cat_ID,title_li=');
    ?>

    I want this sort of output:

    Child Category 1 | Child Category 2 | Child Category 3

    Any help would be much appreciated. I’m bummed it is so hard to do something that to me, at least, seems rather basic and common.

    Tim

    Thread Starter fredhead

    (@fredhead)

    Just wondered if anyone on the “day shift” on this forum has an answer to my question? Thanks for any ideas.

    I’ve had this problem where the HTML tab display content and code then when I click the Visual tab the content disappears (the bottom of the editor box comes up flush with the Visual tab) and clicking the HTML tab no longer displays code or content.

    In my case, the problem turned out to be the WP-Decoratr plugin. Deactivating that plugin makes the problem go away. Sadly that was one of the neater plugins I use with my 2.7.1 install.

Viewing 15 replies - 61 through 75 (of 94 total)