× Joomla Facebook Connect support forum

Topic-icon User Activity log does not include the article name

Active Subscriptions:

None
Alex,
Everything works almost perfect now except 2 things:
1. Even though I see the activity entries in my account, others can see it. I tested it on other users and the same result. They can only see they activity in FB, others can't. Did I miss something? Test web site: www.kfaryona.com/site
2. In the user activity log there is only the category name, date but no article name. How can I change this?
I mean - if a user wants to delete only one entry - how can he know exactly which article to delete without a name...

Thanks
The topic has been locked.
Support Specialist
11 years 3 months ago #29474 by alzander

Even though I see the activity entries in my account, others can see it.

I'm assuming you meant *can't* see it?

Once your action is approved, it should be possible for other users to see it on your Feed. However, not all actions will always show on your Feed. Facebook chooses which actions appear to each user based on social relevance to that user, popularity of the action, and a lot of other information that Facebook uses. In addition to the Timeline feed, there's also the Ticker of activity that friends can see of actions their friends are taking. The Ticker is much more likely to show the action since it's supposed to be a current stream of what people are doing.

So, Actions aren't guaranteed to go out to everyone, but as more actions are taken on your site, the more likely that more users and friends will see it.

Finally, in the Activity Log on Facebook, next to each action is a little circle. If you click that circle, you can change the behavior of the action to force it on your Timeline feed, hide it from your Timeline feed, or let Facebook choose whether it's shown (the default).

Hope that helps explain,
Alex
The topic has been locked.
Active Subscriptions:

None
11 years 3 months ago #29494 by Morpheus
Thanks Alex for the explanation.
In #2 I meant the activity log in my web site not in FB. In this list, the user can delete a specific action that was posted to this FB. However, the list only contains the name of the category that was posted instead the name of the article.
So the list look like:
read: Sport Category
read: Sport Category
read: News Category
read: Sport Category
read: News Category

say the user want to delete one of the sport article he just read - how can he figure out which one?
:)
The topic has been locked.
Support Specialist
11 years 3 months ago #29506 by alzander
Good question :) Right now, I dont' think they can. We just concatenate the action / object names together. It's more difficult than you might think to get the title of the page out without forcing Joomla to re-render the whole thing after the action is triggered. We're working on some improvements to the system for logging activity, but right now, our best suggestions would be:
a) The activity listing is in order of posting, so the top-most item is the most recent. That may help narrow down the latest activity for deletion easier
b) You can override our activity listing page and add the full URL after the "read: Sport Category" text so the user can see the full URL that's about to be removed.

I agree, neither of those are perfect, but we just have to figure out the best way to fetch the title for a page without having to force Joomla to do a lot of extra work.

Alex
The topic has been locked.
Active Subscriptions:

None
11 years 3 months ago #29508 by Morpheus
You activity logs at the back end includes everytthing the user needs to know (the URL in case of SEF includes the article name), how about displaying it instead?
The topic has been locked.
Support Specialist
11 years 3 months ago #29518 by alzander
It's something we may add, but that's why I recommended creating a template override right now. The URL is already included in the log, since the Object is clickable. You can easily break out the link and the object to display the full link if you wanted. Just copy the /components/com_jfbconnect/views/opengraph/tmpl/activity.php file to /templates/<YOUR_TEMPLATE>/html/com_jfbconnect/opengraph/activity.php and edit to your hearts content.

Hope that helps, but if you need more info, lemme know.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
11 years 3 months ago #29563 by Morpheus
Hi Alex,
Any chance you can give me a snippet?
The topic has been locked.
Support Specialist
11 years 3 months ago #29589 by alzander
First, please make sure you've created a template override for the activity.php file as noted. Then, in that activity.php file, change the following few lines which show the activity:
<?php echo $action->display_name ?> : <a
                        href="<?php echo $row->url;?>"><?php echo $object->display_name ?></a>
to:
<?php echo $action->display_name ?> : <a
                        href="<?php echo $row->url;?>"><?php echo $object->display_name ?></a> (<?php echo 'a href="'.$row->url.'">'.$row->url.'</a>';?>)
That should add a (/path-to-article) text after the action name.

Hope that helps, but if not, let us know.

Thanks,
Alex
The topic has been locked.