By Sunny on Wednesday, 22 April 2015
Posted in General Issues
Replies 7
Likes 0
Views 596
Votes 0
In The main component timeline stream, no index, no follow settings are there, and it respects in the content area, but for the title it does not insert no index no follow attribute.

If somebody shares a link in status update the stream title shows: Username shared a link. ('link' is a href without nofollow)
And the main area shows the link with fetched image and description, here the nofollow is attributed correctly.

how do i add nofollow for external links for all headings. As my stream module is filled with members spamming.

regards
Hi Sunny

Currently we do not have settings for the first link "Username shared a link"

http://screencast.com/t/rQ5qoVk3q8Pm


However for the second link (please refer to the screenshot) you can enable it through your backend

http://screencast.com/t/eYJssk889n

1.Login to your backend

2.Select->Components->EasySocial->Applications

3.Search->insert link on the search bar and press enter
http://screencast.com/t/nXVBEF44eZjY

4.Click on User-Links
http://screencast.com/t/bZFmWep7YwuM

5.Click on stream
http://screencast.com/t/xqHtEae8XRa

6.Enable no follow attribute to Yes
http://screencast.com/t/blEy33yKA5
·
Wednesday, 22 April 2015 18:54
·
0 Likes
·
0 Votes
·
0 Comments
·
Dear Christopher,

I'm fully aware of what you mentioned above. What i want is the nofollow attribute for headings ( for shared links)

Having nofollow in body and not having nofollow in heading defeats the purpose of have nofollow at all!.

Can you please do let me know if i can achieve nofollow for heading by some hack?

regards
·
Wednesday, 22 April 2015 19:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Hm, why would you want to nofollow an author link? It doesn't make sense at all since the link is still within your site. However should you really want to add a nofollow on the author's anchor link, you can edit the theme file /administrator/components/com_easysocial/themes/default/html/html.user.php
·
Thursday, 23 April 2015 01:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark, I dont want a nofollow for internal links, i want nofollow for external links.

When a user shares an external links the heading of the stream gives and href of the external link without nofollow.
While in the body the external link content shows an href with nofollow as configured in easysocial backend.

for explaining further

In status if i share a link example: http://www.google.com

In the stream the heading/title will show : Sunny shared a link (Here the 'a link" will href to http://www.google.com without nofollow)
In the stream body it will show the fetched meta description and thumbnial with link to the site. (This link has have nofollow)

So ideally for shared links statuses in the stream heading,
either the href should direct to the permalink of that post of the particular user
or
The href to external site should also have no follow.

Nofollow is specially troblesome, if i have a stream module published on home page of my site and its filled with "Username shared a link" with all links redirecting traffic to external sites. (I would rather have the heading/title redirect to that particular post and from there on the user can follow the external link) Also need to mention that in the home page stream module i've hidden the content by css, only the title shows.

Hope i'm making some sense.

regards
·
Thursday, 23 April 2015 14:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Sunny,

I am sorry for the miscommunication earlier.
Here I have attached to you a file, please download it and put it here:
/media/com_easysocial/apps/user/links/themes/default/streams/title.create.php

Next, you need to find this language string in this file: /language/en-GB/en-GB.com_easysocial.ini
Please find this:
APP_USER_LINKS_STREAM_SHARED_LINK="%1s shared <a href="_QQ_"%2$s"_QQ_" target="_QQ_"_blank"_QQ_">a link</a>"


And replace it with this:
APP_USER_LINKS_STREAM_SHARED_LINK="%1s shared <a href="_QQ_"%2$s"_QQ_" target="_QQ_"_blank"_QQ_" "%3$s">a link</a>"


Please give this a try and keep us updated.
Have a nice day.
·
Thursday, 23 April 2015 17:03
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Yasser, Yes that solved the issue.

Can you also please advise on the override for /media/com_easysocial/apps/user/links/themes/default/streams/, so that next time i upgrade this does not go away.
·
Thursday, 23 April 2015 17:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Sunny,

I am sorry for the delay of this reply.

Can you also please advise on the override for /media/com_easysocial/apps/user/links/themes/default/streams/, so that next time i upgrade this does not go away.

You can refer to our documentation here regarding on the apps override, http://stackideas.com/docs/easysocial/administrators/templating/overriding-app-icons
The file structure should be like the following, /templates/<YOUR_JOOMLA_TEMPLATE>/html/com_easysocial/apps/user/links/streams/title.create.php

Hope these help
·
Friday, 24 April 2015 15:27
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post