By Neel on Monday, 08 September 2014
Posted in General Issues
Replies 3
Likes 0
Views 0.9K
Votes 0
I use K2 for everything. Now that I have installed EasySocial for running the main show, I want to replace K2 user profile completely with EasySocial profile. For this, can you tell me how to do these:

1) Redirect all k2 User profile automatically to EasySocial Profile. Is .htacess redirect my only option? If so, can you give me the redirect rule? Is there another way?

2) In K2 Sub-template, I also want to replace the K2's user profile link to EasySocial Profile link. How do I change this K2's template code so the anchor link refers to EasySocial profile page for that author:
<a itemprop="author" rel="author" href="/<?php echo $this->item->author->link; ?>"><?php echo $this->item->author->name; ?></a>
Hello Neel,

Sorry for late reply to this,
1) Redirect all k2 User profile automatically to EasySocial Profile. Is .htacess redirect my only option? If so, can you give me the redirect rule? Is there another way?
>> You can download the K2 article apps from http://stackideas.com/apps/item/57-k2-article
>> After you downloaded then install from extension manager, then enable this plugin.
>> The K2 profile will link to EasySocial profile.

2) In K2 Sub-template, I also want to replace the K2's user profile link to EasySocial Profile link. How do I change this K2's template code so the anchor link refers to EasySocial profile page for that author:
>> Is it possible provide us with your Joomla backend and FTP access so we can check on this as well?
>> Also can you guide us which page you mentioned K2 sub-template user profile and under which file? Please advise.
·
Monday, 08 September 2014 11:03
·
0 Likes
·
0 Votes
·
0 Comments
·
>> You can download the K2 article apps from http://stackideas.com/apps/item/57-k2-article
>> After you downloaded then install from extension manager, then enable this plugin.
>> The K2 profile will link to EasySocial profile.


Thanks Arlex for that affirmation. Unfortunately this is not working for me in my WAMP server. Even when the plugin is enabled with the settings set to yes, when the username is clicked on K2 article, it is only going to K2's user profile and not ES. But I just now installed a live dev site and in that it works fine like you mentioned where the K2 user profile are auto-redirected to ES profile. Thats why I posted this before based on the behaviour I saw in localhost. I will try that again and see why this strangely happens in my wamp server. Its hard when I cant reproduce it in live server. I will post back if I cant get it to work. Thanks for that..
·
Tuesday, 09 September 2014 21:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Sure, let us know how this goes.
·
Tuesday, 09 September 2014 23:12
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post