Active
Project:
LiveJournal CrossPoster
Version:
7.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Dec 2011 at 20:38 UTC
Updated:
12 Apr 2012 at 15:32 UTC
Hi, I am not sure that warning in dblog (per title) I get relates to ljxp since it started when I enabled Panels. Please, advise.
Comments
Comment #1
valthebaldNo idea where this can come from :(
Comment #2
vitaly_repin commentedIt comes from
function ljxp_user_view($account, $view_mode, $langcode) {
global $user;
if (user_access('can crosspost to livejournal', $account) && ($user->uid == $account->uid || user_access('administer site configuration'))) {
$ljxp = ljxp_load_settings($account->uid);
if (!$ljxp->active) {
$output = t('Not active');
}
else {
$output = theme('ljxp_user_info', $ljxp, $account);
}
return array(t('Livejournal Crossposting') => array(array('value' => $output)));
}
}
It expects theme to have ljxp_user_info. Any idea what shall be there?
Comment #3
vitaly_repin commentedI see the function theme_ljxp_user_info($ljxp, $account) declared but it is definately not called.
And I see no information about LiveJournal cross-posting status in the user view (it looks like, this is the purpose of this function to be called).