• Resolved rmmech

    (@rmmech)


    First, thanks for the plug in. The answer to this is probably staring me in the face, but I have been trying to figure this out for a couple days. I am trying to make what should be a very simple change in the way my connections plug contacts list displays. I don’t want the updated x days ago to display on my site. I have gone through the php files in the plug in directory. I thought I found the code in card-tableformat.php. I tried deleting the code <span style="<?php echo $entry->getLastUpdatedStyle() ?>; font-size:x-small; font-variant: small-caps;">Updated <?php echo $entry->getHumanTimeDiff() ?> ago</span> and saving the file back to my server, but the pesky updated info stays visible on my site.
    Any clues on where I need to make the change (and what the correct code to remove or change is)? The page I seeing updated message at is sunny1039.com/?page_id=675.
    Thanks in advance for help with this.

    https://www.ads-software.com/extend/plugins/connections/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Do yo know what template are you using?
    If yu are using template profile you should get in wp-content/plugins/connections/templates and delete in profile.php lines:

    <span style="<?php echo $entry->getLastUpdatedStyle() ?>; font-size:x-small; font-variant: small-caps; position: absolute; right: 26px; bottom: 8px;">Updated <?php echo $entry->getHumanTimeDiff() ?> ago</span><span style="position: absolute; right: 3px; bottom: 5px;"><?php echo $entry->returnToTopAnchor() ?></span><br />

    Myselfe I delete also “Add to Address Book”

    <div class="cn-meta" align="left" style="margin-top: 6px">
    		<span><?php echo $vCard->download() ?></span>
    		<span style="<?php echo $entry->getLastUpdatedStyle() ?>; font-size:x-small; font-variant: small-caps; position: absolute; right: 26px; bottom: 8px;">Updated <?php echo $entry->getHumanTimeDiff() ?> ago</span><span style="position: absolute; right: 3px; bottom: 5px;"><?php echo $entry->returnToTopAnchor() ?></span><br />
    Steven

    (@shazahm1hotmailcom)

    @rmmech

    Depending on the template you are using, the default is card.php, which can be found in:

    wp-content/plugins/connections/templates

    Remove the this code:

    <span style="<?php echo $entry->getLastUpdatedStyle() ?>; font-size:x-small; font-variant: small-caps; position: absolute; right: 26px; bottom: 8px;">Updated <?php echo $entry->getHumanTimeDiff() ?> ago</span>

    Thread Starter rmmech

    (@rmmech)

    Awesome. That was the trick. Thank you very much for the help. I was looking in all the wrong places. It was in the card.php file.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Connections] Removing Updated x days ago from Connection Plug in list display’ is closed to new replies.