Hi everybody,
I guess I have a very special installation:
I use Easysocial on different domains but with the same userdatabase connected with Mighty Sites. This way I can "specialize" every page and there is no need to install all extensions on the same website.
However, the EasySocial-Userdata is shared across all websites and so is the activity-stream. This leads into an interesting situation: Naturally the links in the stream-items are relative. I would like to make them absolute, so every activity-stream can point to a different domain.
Here an example:
Website A is my "main" Easysocial-Website.
Website B has Kunena installed.
How a user writes a Kunena-posting, the url of the posting is ".../firstpost". Naturally this item would be relative on every url. On website A the stream-link would be
http://www.websitea.com/firstpost and on Website B it would be
http://www.websiteb.com/firstbost
Now I would like to hack the plugin that creates the activity-item and hardcode the link. When a Kunena-Item is created, the activity should ALWAYS contain a link to website b.
I guess that this shold be possible, because MightySites is configured so ONLY the tables are shared. Every website has it´s own files. So when I hack the plugin on Website B, it should only be used when a user writes the posting on website B. This way, when a User klicks on the kunena-activity, he would always be directed to website B.
Did you understand what I mean?
Possible?
All the best, Julian!