Forum Replies Created

Viewing 15 replies - 31 through 45 (of 57 total)
  • Nevermind, it works now.

    <?php function ljautoupdate ($content=”, $post_title=”) {
    /*ljautoupdate*/
    $lj_userid = “xokath”; //Your LiveJournal username, please replace within quotes
    $lj_passwd = “verdammt”; //Your LiveJournal password, please replace within quotes
    $lj_method = “LJ.XMLRPC.postevent”;
    $lineendings = “pc”;
    $content = stripslashes(stripslashes($content));
    $content = convert_bbcode($content);
    $content = convert_gmcode($content);
    $content = convert_chars($content, ‘html’);
    //$content = apply_filters(‘the_content’, $content);
    $event = $content;
    $subject = $post_title;
    $time_difference = get_settings(“time_difference”);
    //$timenow = getdate();
    $year = date(‘Y’, (time() + ($time_difference * 3600)));
    //$year = $timenow[“year”];
    $month = date(‘m’, (time() + ($time_difference * 3600)));
    //$month = $timenow[“mon”];
    $day = date(‘d’, (time() + ($time_difference * 3600)));
    //$day = $timenow[“mday”];
    $hour = date(‘H’, (time() + ($time_difference * 3600)));
    //$hour = $timenow[“hours”];
    $minute = date(‘i’, (time() + ($time_difference * 3600)));
    //$minute = $timenow[“minutes”];
    $security = ‘usemask’;
    $allowmask = ‘1’;
    $client = new xmlrpc_client(“/interface/xmlrpc”, “www.livejournal.com”, 80);
    $x_params_r = array( “username” => utf8_encode( $lj_userid ),
    “password” => utf8_encode( $lj_passwd ),
    “lineendings” => $lineendings,
    “event” => utf8_encode( $event ),
    “subject” => utf8_encode( $subject ),
    “security” => utf8_encode( $security ),
    “allowmask” => utf8_encode( $allowmask ),
    “year” => utf8_encode( $year ),
    “mon” => utf8_encode( $month ),
    “day” => utf8_encode( $day ),
    “hour” => utf8_encode( $hour ),
    “min” => utf8_encode( $minute ));
    //print_r($x_params_r);
    $params = array( xmlrpc_encode( $x_params_r ) );
    $msg = new xmlrpcmsg(‘LJ.XMLRPC.postevent’, $params);
    $client->setDebug(0);
    $result = $client->send($msg);
    if ($result->faultCode() != 0)
    {
    print “Couldn’t process request: ” . $result->faultString();
    return;
    }
    /*end ljautoupdate*/
    }
    ?>
    <?php require_once(‘wp-grins.php’); ?><? php function ljautoupdate ($content=”, $post_title=”) {
    /*ljautoupdate*/
    $lj_userid = “xokath”; //Your LiveJournal username, please replace within quotes
    $lj_passwd = “verdammt”; //Your LiveJournal password, please replace within quotes
    $lj_method = “LJ.XMLRPC.postevent”;
    $lineendings = “pc”;
    $content = stripslashes(stripslashes($content));
    $content = convert_bbcode($content);
    $content = convert_gmcode($content);
    $content = convert_chars($content, ‘html’);
    //$content = apply_filters(‘the_content’, $content);
    $event = $content;
    $subject = $post_title;
    $time_difference = get_settings(“time_difference”);
    //$timenow = getdate();
    $year = date(‘Y’, (time() + ($time_difference * 3600)));
    //$year = $timenow[“year”];
    $month = date(‘m’, (time() + ($time_difference * 3600)));
    //$month = $timenow[“mon”];
    $day = date(‘d’, (time() + ($time_difference * 3600)));
    //$day = $timenow[“mday”];
    $hour = date(‘H’, (time() + ($time_difference * 3600)));
    //$hour = $timenow[“hours”];
    $minute = date(‘i’, (time() + ($time_difference * 3600)));
    //$minute = $timenow[“minutes”];
    $security = ‘usemask’;
    $allowmask = ‘1’;
    $client = new xmlrpc_client(“/interface/xmlrpc”, “www.livejournal.com”, 80);
    $x_params_r = array( “username” => utf8_encode( $lj_userid ),
    “password” => utf8_encode( $lj_passwd ),
    “lineendings” => $lineendings,
    “event” => utf8_encode( $event ),
    “subject” => utf8_encode( $subject ),
    “security” => utf8_encode( $security ),
    “allowmask” => utf8_encode( $allowmask ),
    “year” => utf8_encode( $year ),
    “mon” => utf8_encode( $month ),
    “day” => utf8_encode( $day ),
    “hour” => utf8_encode( $hour ),
    “min” => utf8_encode( $minute ));
    //print_r($x_params_r);
    $params = array( xmlrpc_encode( $x_params_r ) );
    $msg = new xmlrpcmsg(‘LJ.XMLRPC.postevent’, $params);
    $client->setDebug(0);
    $result = $client->send($msg);
    if ($result->faultCode() != 0)
    {
    print “Couldn’t process request: ” . $result->faultString();
    return;
    }
    /*end ljautoupdate*/
    }
    <?php require_once(‘wp-grins.php’); ?>
    This is what my file looks like.

    Anyone?

    Forum: Themes and Templates
    In reply to: two questions
    Thread Starter Kathie

    (@kathie)

    *blushes* eh uh. The funny thing is that I fucked up my livejournal now lmao. Dont ask me HOW I did it, it looked PERFECT already. Now Im waiting for my friend to send me her code ??
    Thanks for being proud heh.

    Forum: Themes and Templates
    In reply to: two questions
    Thread Starter Kathie

    (@kathie)

    Go look (https://memento–mori.org) Are you proud of me now? ?? heh

    Forum: Plugins
    In reply to: AutoUpdate LiveJournal Hack

    I was wondering what to do when I dont want my smilies to show up in the lj entry because of the high bandwidth. I deleted the convert to smilies part. Was that right?

    Forum: Themes and Templates
    In reply to: two questions
    Thread Starter Kathie

    (@kathie)

    h2 {
    display: run-in
    }
    So thats what I would put inside my style.css file? Right? Well it didnt work. You know what: thank you so much for trying to help but Im giving up. Its not THAT important lol.

    Forum: Fixing WordPress
    In reply to: PassWord Entries

    I have the same problem.

    Forum: Themes and Templates
    In reply to: two questions
    Thread Starter Kathie

    (@kathie)

    Dont worry. I know you mean it nice. Not a problem at all ??

    Forum: Themes and Templates
    In reply to: two questions
    Thread Starter Kathie

    (@kathie)

    Why would I put another div in there when my b2 already IS in a div? That doesnt seem to make sense.
    Well whatever. Guess I have to get used to the fact it wont work ??

    Forum: Themes and Templates
    In reply to: two questions
    Thread Starter Kathie

    (@kathie)

    Didnt work, nope. Now I created a line break ?? *sighs*

    Thread Starter Kathie

    (@kathie)

    Thank you very much. That was it :X

    Forum: Themes and Templates
    In reply to: two questions
    Thread Starter Kathie

    (@kathie)

    And I dont get the rest either ?? This sucks. Im dumb.

    Forum: Themes and Templates
    In reply to: two questions
    Thread Starter Kathie

    (@kathie)

    Where do I find the actual code though? The thing is I have wordpress and everything else too in my index file (NOT in the wordpress directory), so I dont know where too look and whatnot ??

    Thread Starter Kathie

    (@kathie)

    No I dont think so. Its right after my comments.

Viewing 15 replies - 31 through 45 (of 57 total)