I have written a module and extension that crossposts entries from ExpressionEngine into LiveJournal. It works for posting from one weblog to one LiveJournal account. I’m sure that there are a few people who use both EE and LiveJournal..
Here’s some of the features:
* Crosspost entries to LiveJournal.
* Edited entries will also be posted to LiveJournal.
* Support for public, friends-only, and private entries
I been trying to get this to work once again on my blog after being outta the loop hole for some time. However it works but .. On my Blog i don’t get the post Instead a Random letter/number Appears I dunno what to do To Remove it or edit it so My post appears and not this Annoying Rabbled letter line as you can see on the post left on my page.
http://nightvixen.com/neph/index.php/Blog
I’d like to get this to work on my blog besides my LJ which I sussed that out so then I can move forward in my own Layout design than what ya currently see.
My code for entries includes:
{exp:weblog:entries weblog="{my_weblog}" orderby="date" sort="desc" limit="15"}
{date_heading}
<div class="date">{entry_date format=' %l, %F %d, %Y'}</div>
{/date_heading}
<div class="title"><a href="http://{title_permalink={my_template_group}/comments}">{title}</a></div>
<div class="blogbody">
<div class="{switch='entry1|entry2'}">
<div class="category">
{categories}
• <a href="http://{path=site_index}">{category_name}</a>
{/categories}
</div>
{exp:smarty_pants}
{exp:markdown}
{exp:ljformat cut="true" path="weblog/comments/{url_title}"}
{body}
{/exp:ljformat}
{/exp:markdown}
{/exp:smarty_pants}
</div>
<div class="posted">Posted by <a href="http://{profile_path=member/index}">{author}</a> @ {entry_date format='%h:%i %A'} ·
{if allow_comments}
({comment_total}) <a href="http://{url_title_path=">Comments</a> ·
{/if}
{if allow_trackbacks}
({trackback_total}) <a href="http://{trackback_path=">Trackbacks</a> ·
{/if}
</div>
</div>
{paginate}
<div class="paginate">
<span class="pagecount">Page {current_page} of {total_pages} pages</span> {pagination_links}
</div>
{/paginate}
{/exp:weblog:entries}
I don’t see what could be doing this Just that maybe its a Random Generated Thing from LJ and If so that kinda is annoying As I don’t want that to be viewable at all on my blog.
Any Ideas or tips how to beat this would be appreciated from anyone.
Well… I tried to install this, but so far no lack. I’ve got personal EE (1.6.1) with MSM and Forum extentions. Everything in last builds. What did I do so far? I made a weblog with custom fields: body_field, id_field, anum_field, post_field, backdate_field, allow_comments_field, email_comments_field. I made custom entry statuses: Open, Closed, Friends and Private. I’m sure that I did not miss any step from the instalation documentation. All necessary files located in their appropriate directories as well. Module version is 1.3.When I’m trying to install module in admin panel, I’ve got an error message:
MySQL ERROR:
Error Number: 1067
Description: Invalid default value for 'field_id'
Query: CREATE TABLE IF NOT EXISTS `exp_lj_crosspost_fields` ( `id` INT(6) UNSIGNED NOT NULL, `lj_field` VARCHAR(32) NOT NULL, `field_id` INT(6) UNSIGNED DEFAULT '', `field_name` VARCHAR(32) DEFAULT '', PRIMARY KEY (`id` , `lj_field`));
Any clue? 😛
I’ve managed to make the module part of this install, although I’ve not looked any deeper to see if I can make it actually work just yet.
To get the module to install properly I needed to do the following to v1.3 of the module/extension combo:
mcp.lj_crosspost.php - on both lines 1190 & 1161 - Replace the following:
DEFAULT ''
with this:
DEFAULT 0
It was trying to set a default integer value to a null string, and as such wasn’t getting very far.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.