Forum Replies Created

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

    (@murky)

    Sorted. php.ini needed to be updated

    I’m getting this error on authentication:
    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in <<path edited>>/wp-content/plugins/twitter-tools/twitteroauth.php on line 19

    I’ve got the same issue.

    I had lots of subcategories, with the advent of tags I want to tag posts and have a few parent categories.

    Ideally, I’d delete a category, and reassign to parent category, but I can’t do that.

    The tag to post converter removes the category information completely.

    So, I’ve been using bulk edit to choose a category (20 posts at a time…. I’d like to have the option for more) and add tags and parent category. Then I have deleted the sub-category.

    Unfortunately, I made an error and now have 183 uncategorized posts.

    I keep ‘uncategorized’ empty, so I know all of these should be in category X. That’s easy…. bulk edit, add category X (a few operations as I can only do 20 posts at once, but it’s okay)…. but to remove ‘uncategorized’ it’s 183 edits (each of several clicks).

    To make this whole process easier, on the category edit screen, when a category is deleted, the option to ‘reassign the posts’ would be very handy (reassign to parent rather that to uncategorized seems to be common sense to me).

    I’m having a persistent problem with stats on the dashboard, it just won’t log in!

    If I go to my dashboard it takes username and password then goes round and asks me for username password again (if I enter wrong password, I get an error message, so I know it’s at least submitting the password).

    Ticking the ‘remember’ button makes no difference.

    I’m using Firefox (3.0.1)

    Looked at it in MSIE and got a spinning disk, following by an Orange box saying Loading <../wp-includes/charts/stats-data.php?blog=1234 etc

    Then nothing happened.

    Clicking ‘see all’ gave me data in MSIE, but not firefox.

    ( As an aside, even if it were working, ideally, I’d prefer things if it were the server grabbing the stats, and presenting to me, rather than having a seperate secondary login.)

    I too am seeing this behaviour. It’s most annoying!

    I really want to move to tags totally – but the official converter looks disastrous.

    My expected behaviour for such a plugin

    1) If a category has no corresponding tag, create the tag.
    2) Add the tag to all posts which are in that category.
    3) Optionally, remove the category. Default is ‘no’.

    It seems that the official converter has, for point 3, the default of ‘yes’ – and it’s not an option.

    For various reasons, this is undesirable!

    (I’m not even sure if it does 2 – but I haven’t tested it as 3. is a showstopper for me).

    Is there a way to create tags based on existing categories (without destroying those categories?)

    Thread Starter murky

    (@murky)

    cp -r * ../actual/install/not/the/ruddy/backup

    update.php

    All done.

    Silly… silly…. stupid error.

    Thread Starter murky

    (@murky)

    Oh damn… schoolboy error. I’d updated the backup files…..

    Doh!

    I had a solution here:

    https://www.ads-software.com/support/topic/82359

    but it relies on deprecated tags, which isn’t great.

    To me, options to show only the children and siblings of current categories should be available in the core (correctly embedded in a list showing the parents

    e.g.
    A
    B
    C
    (-Ca) <–not shown
    -Cb
    –Cbi <—-current
    —Cbi1 <–children (first generation only)
    ( —-Chi1a ) <– not shown
    —Cbi2
    –Cbj <—-sibling
    (-Cc) <– not shown
    D
    E

    E.g if viewing Cbi we’d have the options to see this:
    A
    B
    C
    -Cb
    –Cbi <—-current
    —Cbi1
    —Cbi2
    –Cbj
    D
    E

    I’m in need of this functionality too, which for a multi-user system should be a reasonable thing to aim for ‘out of the box’!

    I only wish I had the abilities to help make it happen….

    What I’d like is the following:
    1) Ability to restrict users to a given category (categories) and their sub categories (optional)
    2) The ability to restrict what users can do with pages
    3) To be able to define classes of uses with certain restrictions (e.g. define a class of users as ‘The Simpsons’ and have them unable to post in ‘The Flanders’ category).
    4) The ability to restict users to editing a particular page (and to create new pages with that page as a parent, or more distant ancestor).
    5) All the while maintaining authoring/publishing roles, with a ‘submit for publishing’ button for editors, which emails the relevant person/people with ‘publish’ permissions!

    Thread Starter murky

    (@murky)

    OOps, should have been:

    function comments_link( $file = '', $echo = true ) {
    $url = get_comments_link();
    $url = str_replace("&", "&amp;", $url);
    $url = str_replace("&amp;amp;", "&amp;", $url);
    echo $url;
    }

    Thread Starter murky

    (@murky)

    Finally, in feed-functions.php :

    function comments_rss($commentsrssfilename = '') {
    global $id;

    if ('' != get_settings('permalink_structure'))
    $url = trailingslashit( get_permalink() ) . 'feed/';
    else
    $url = get_settings('home') . "/$commentsrssfilename?feed=rss2&amp;p=$i
    d";
    $url = str_replace("&", "&amp;", $url);
    $url = str_replace("&amp;amp;", "&amp;", $url);

    return apply_filters('post_comments_feed_link', $url);
    }

    I’d really like to submit these as possible patches (if nothing else it’ll prevent recurrence in the future), any clues?

    Thread Starter murky

    (@murky)

    In the file comment-functions.php

    function comments_link( $file = '', $echo = true ) {
    $url = get_comments_link();
    $url = str_replace("&", "&amp;", $url);
    $url = str_replace("&amp;amp;", "&amp;", $url);
    }

    Thread Starter murky

    (@murky)

    A fix… now, how do I submit this as a patch?

    In the file:

    feed-functions.php

    the permalink_single_rss() function needs updating:

    function permalink_single_rss($file = '') {
    $url = get_permalink();
    $url = str_replace("&", "&amp;", $url);
    $url = str_replace("&amp;amp;", "&amp;", $url);
    echo $url;
    }

    Now to find the error in the link to comment feeds….

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