Kathie
Forum Replies Created
-
Forum: Plugins
In reply to: WP-Grins: Where do I upload wp-grins.php?Nevermind, it works now.
Forum: Plugins
In reply to: WP-Grins: Where do I upload 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’); ?><? 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.Forum: Plugins
In reply to: WP-Grins: Where do I upload wp-grins.php?Anyone?
Forum: Themes and Templates
In reply to: two questions*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 questionsGo look (https://memento–mori.org) Are you proud of me now? ?? heh
Forum: Plugins
In reply to: AutoUpdate LiveJournal HackI 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 questionsh2 {
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 EntriesI have the same problem.
Forum: Themes and Templates
In reply to: two questionsDont worry. I know you mean it nice. Not a problem at all ??
Forum: Themes and Templates
In reply to: two questionsWhy 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 questionsDidnt work, nope. Now I created a line break ?? *sighs*
Forum: Fixing WordPress
In reply to: why not popping up anymore?Thank you very much. That was it :X
Forum: Themes and Templates
In reply to: two questionsAnd I dont get the rest either ?? This sucks. Im dumb.
Forum: Themes and Templates
In reply to: two questionsWhere 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 ??
Forum: Fixing WordPress
In reply to: why wont it work for me!?No I dont think so. Its right after my comments.