Hi! Thank you for your stunning module. I have slight problem as I convert username to full name in my template.php. Therefor everywhere in my site the full name appears.

in template.php

function phptemplate_username($object, $link = TRUE) {
if ( $object->uid ) {
$type = "profile";
  $sql = "SELECT nid FROM {node} WHERE uid = %d AND type = '%s'";
  $nid = db_result(db_query($sql, $object->uid, $type));
   if ( $nid ) {
   $profile = node_load($nid);
  }
}
$name = $profile->field_name[0]['value'] . ' ' . $profile->field_lastname[0]['value'] ;
if ( $name ) { 
    if ( $link && user_access('access user profiles')) {
      return l($name, 'user/'. $object->uid, array('title' => t('View Member Profile.')));
    }
    else {
      return check_plain($name);
    }
}

In Activity the full name appears from my username with [author] on node and comment activity, but unfortunately not with Facebook Status.

Is there a possibility of having the full name appear on Facebook Status as well please?

Look forward to any reply.
Lilian

Comments

liliplanet’s picture

sorry, quick update. Full Name appears great with [author] in Activity settings. Just in the blocks, as well as the user it shows the username ...

Also unable to disable (Off) the following even when saved.

Facebook Mode

Facebook Mode makes this module work like Facebook, where the user's username is appended to the front of the status. Default is On.

Slide Effect
With this enabled, users who have permission to edit statuses can click on the status to see the edit box drop down. This minimizes the space that Facebook Status takes up. Default is On.

Thank you so much!
Lilian

icecreamyou’s picture

1) You're seeing this behavior because the module grabs the username from the database directly instead of pulling it from the user object. I'm planning to make a couple of upgrades this weekend, and I'll fix this then.

2) Your second problem is a duplicate of #301767. As I can't figure out why it's not working, you can temporarily use the variable_set command (create a new page in PHP mode with the appropriate [one line of] code, and set the variable by previewing the page once). Look in facebook_status.install under hook_uninstall for a list of variables.

3) If you have multiple problems, please open separate issues for them in the future.

icecreamyou’s picture

Assigned: Unassigned » icecreamyou
icecreamyou’s picture

Version: 5.x-1.x-dev » 6.x-1.x-dev

Fixed in 5.x in the next -dev release, but not for 6.x (yet).

icecreamyou’s picture

Status: Active » Fixed

Added to 6.x now too.

liliplanet’s picture

That is tremendous IceCreamYou! look forward to download the new 5.x release. Wishing you a great week. Lilian

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.