nonethefewer: (Default)

Josh (local partner) and I were walking from my place to his friend's place, a 27-block walk.  (1.4 miles, according to Google Maps.)

X: I'm glad for this.  I've been wanting to go on a walk for ages.  Sucks that I'm more likely to do it with you around.
J: *sighs*  Yeah…
X: On the one hand, it makes things easier.  On the other, infinite kitty-rage about having to have you along just to go on a walk without being accosted.
J: I knew what you meant!
X: Oh yeah, I know, I just wanted to say "infinite kitty-rage".
J: *snort*

What's pleasant today is, I totally know he knew what I meant.  He's good like that.  I just really wanted to say "infinite kitty-rage" just then.

In random other news, it occurs to me all of a sudden that between original tags in LJ, all new tags in DW, and completely different tags in WP, crossposting will become a bit of a pain.  For people who don't like to organise.  Luckily, I do not know these people.

Originally posted at Xtinian Thoughts.  Comment here or there.

nonethefewer: (Default)

I am testing three things:

  1. Will this post to both DW and LJ?
  2. Will all tags be used?  Including ones with a colon in it?
  3. Can I use the "more" tag as a cut tag in each?

Sooo:

Read the rest of this entry » )

Originally posted at Xtinian Thoughts.  Comment here or there.

nonethefewer: (Default)

Leelu Dallas multipost.

By which I mean to say, I now have it set to where this will xpost from WP to both DW and LJ, go me!

Originally posted at Xtinian Thoughts.  Comment here or there.

Last try.

Aug. 15th, 2009 11:09 am
nonethefewer: (Default)

I am going to try this one last time.  I'm testing this Wordpress LJ-XP plugin, wherein I can crosspost my WP entries over to Dreamwidth.  So, good morning.

(Whoop, afternoon, actually.)

Originally posted at Xtinian Thoughts.  Comment here or there.

nonethefewer: (Default)

If you are using Wordpress as an installed thing (versus WP.com), and you have the Subscribe To Comments plugin installed, there is a way to let people subscribe without having to comment.

  • Navigate to the folder for the theme you're using.
  • Edit comments.php.
  • Look for </form>.  Immediately after that, paste this:
    <?php show_manual_subscription_form(); ?>

If you want a bit of separation, put <hr /> just above that line.

If you want to edit the text, look for the show_manual_subscription_form() function in /wp-content/plugins/subscribe-to-comments.php.  Look for the first single-quoted item in all php _e items – that'll get you to the explainy text, the text label, and the button label.

Ta-dah!

(I should write the author and ask them to make this a proper setting.)

Originally posted at Xtinian Thoughts.  Comment here or there.

nonethefewer: (Default)

Do you use Wordpress?

Are you a right-thinking individual?

Then you, too, may appreciate the Unfancy Quote plugin, that replaces all &%*$ smart quotes with straight quotes.

Originally posted at Xtinian Thoughts.  Comment here or there.

nonethefewer: (Default)
Cross-post from [livejournal.com profile] xtina_rss.

If you use Wordpress and you want to insert that whole <lj user=blah> code by clicking one button in the editor, check here.
nonethefewer: (Default)

When I post in Wordpress, I use Visual for appearance and forcing double-spaces, but I use HTML for adding links and being very picky with my code.  Here's how to add a button in the HTML editor bar to not only add LJ user code, but to have it plug in the username in the right spots.

0) You will be editing the /wp-includes/js/quicktag.js file.  Make backups, &c &c.

1) Open the file and look for the first instance of this line: edButtons[edButtons.length]

Underneath that code block (should be for the 'strong' tag), add this:

edButtons[edButtons.length] =
    new edButton('ed_lj'
    ,'LJ User'
    ,'<a href="http://###.livejournal.com/profile"><img style="margin: 0px; vertical-align: middle;" title="ljuser" src="[img src]" alt="ljuser" border="0" width="17" height="17"></a><a href="http://###.livejournal.com/"><strong>###</strong></a>'
    ,"
    ,'ljuser'
);

If you stop and save at this point, you will have a button that will add the LJ user code.  ### should be replaced with the user name, and [img src] should be replaced with where you've saved the 17×17 LJ user icon.  (I recommend saving it locally.)

However, I want it to ask for and insert the username, so I don't have to.  So…

2) Search for this string: function edShowButton(button, i) {

You should see an if/else if/else block.  Insert this code above the else if line:

else if (button.id == 'ed_lj') {
    document.write('<input id="' + button.id + '" class="ed_button" onclick="edInsertLJUser(edCanvas, ' + i + ');" type="button" value="' + button.display + '" accesskey="' + button.access + '" />');
}

3) Search for this string: function edInsertLink(myField, i, defaultValue) {

Below that function (and above the edInsertImage function), add this code block:

function edInsertLJUser(myField, i, defaultValue) {
    if (!defaultValue) {
        defaultValue = 'news';
    }
    if (!edCheckOpenTags(i)) {
        var theUser = prompt(quicktagsL10n.enterURL, defaultValue);
        if (theUser) {
            edButtons[i].tagStart = '<a href="http://' + theUser + '.livejournal.com/profile"><img style="margin: 0px; vertical-align: middle;" title="ljuser" src="[img src]" alt="ljuser" border="0" width="17" height="17"></a><a href="http://' + theUser + '.livejournal.com/"><strong>' + theUser + '</strong></a>';
            edInsertTag(myField, i);
        }
    }
    else {
        edInsertTag(myField, i);
    }
}

4) Finally, save, close, and refresh the Add New Post or Edit Post page.  When you click on the HTML tab now, you should see LJ User.  Click on that, and where it says 'news' (the default LJ user), put in the LJ username you want to enter in.  This will return code that (a) has the username in all the right places and (b) looks right both in WP and LJ.

Ta-da!

Originally posted at Xtinian Thoughts.  Comment here or there.

nonethefewer: (Default)
* I've been posting again.

* Rose sent me a link to this good post about making incremental budgetary changes.

* I can't get VBScript to automatically install specific updates for me, and it's bugging me.  I finally find there's totally a way to automatically install certain updates (Windows Defender updates, to be precise), and then I'm codeblocked.  Feh.

* I may be visiting Boston in July.  Josh and I will be in New York the end of March.  This line has a lot of Capitalised Words.

* [livejournal.com profile] deyo sent me this link: WhatTheFont For iPhone IDs Fonts From Text in Snapped Photos

HOLY CRAP.  *in hearts*
nonethefewer: (Default)

I copied nearly all my data from the old URL (at blogspot) to here, including all Haloscan comments.  Next is to get links over here, but that should be easy enough.

A couple of notes, in case I ever do this WP thing again.

  • The Meta section is found in sidebar.php.  Remove it.
  • Go to Manage &gt; Link Categories page to rename Blogroll to anything else.
  • Go to /wp-includes/widgets.php, and look for the wp_widget_tag_cloud function.&#160; Within this, look for "wp_tag_cloud();".  Comment that out, and replace it with wp_tag_cloud('smallest=10&largest=10&number=45&orderby=name&format=flat');
  • Nrr.  Go to Settings and make sure the timezone is accurate.  If it is not <i>and</i> posts have been made, update the mysql table wp_posts – set the post_date to post_date_gmt minus (whatever).
  • To add "[no subject]"-ness, go to /wp-includes/post-template.php.  In the get_the_title function, add below the $title= line: if ( !$title ) { $title = ']no subject]'; }

The last things to do here are (1) redo categories to categories + tags and (2) move the sitetracker dealiebopper over.

Whee!

Originally posted at Xtinian Thoughts.  Comment here or there.

Page generated Jul. 25th, 2025 07:18 am
Powered by Dreamwidth Studios