Tribe Support

In this group #Anahita Tribe members provide support and help each other out. All posts should be public in this group. #support

Stories

Rastin Mehr

Rastin Mehr commented on the topic

Twitter connect issue

Hi everyone, 

I've been trying to set up twitter connect for my anahita app - and for some reason I can't seem to get it to work. My steps:

(1) Set up a new app under twitter dev: https://apps.twi...

Read More

Hi everyone, 

I've been trying to set up twitter connect for my anahita app - and for some reason I can't seem to get it to work. My steps:

(1) Set up a new app under twitter dev: https://apps.twitter.com/app/

(2) In the 'Connect' app in Anahita add the twitter consumer key (api key) and consumer secret key and enable the connect plugins

(3) I added Callback URLs in twitter under the app (based on the read-only examples) in the 'Connect app'

When i try to enable it i get an null error - ( ! ) Notice: Trying to get property of non-object in C:\wamp64\www\hwarp-app-prod\packages\Connect\src\components\com_connect\oauths\services\abstract.php on line 299Any help or ideas would be greatly appreciated. I may be using the wrong call-back URLs? Read Less
Have you added callback urls with localhost or whatever your local WAMP is using? I've noticed that OAuth doesn't play nice if you are hosting Anahita on a subdirectory so make sure Anahita is accessed via localhost d... Read More
Have you added callback urls with localhost or whatever your local WAMP is using? I've noticed that OAuth doesn't play nice if you are hosting Anahita on a subdirectory so make sure Anahita is accessed via localhost directly.

Good idea about subscription app. You can host it on Github and distribute it using composer. Read Less
Rastin Mehr

Rastin Mehr commented on the topic

Twitter connect issue

Hi everyone, 

I've been trying to set up twitter connect for my anahita app - and for some reason I can't seem to get it to work. My steps:

(1) Set up a new app under twitter dev: https://apps.twi...

Read More

Hi everyone, 

I've been trying to set up twitter connect for my anahita app - and for some reason I can't seem to get it to work. My steps:

(1) Set up a new app under twitter dev: https://apps.twitter.com/app/

(2) In the 'Connect' app in Anahita add the twitter consumer key (api key) and consumer secret key and enable the connect plugins

(3) I added Callback URLs in twitter under the app (based on the read-only examples) in the 'Connect app'

When i try to enable it i get an null error - ( ! ) Notice: Trying to get property of non-object in C:\wamp64\www\hwarp-app-prod\packages\Connect\src\components\com_connect\oauths\services\abstract.php on line 299Any help or ideas would be greatly appreciated. I may be using the wrong call-back URLs? Read Less
Can you inspect the request in your browser to see what happens when you click on the enable button?
Inspect > Network tab in Chrome
Could you turn use mod_write to Yes in the Site Settings so it'd remove the index.php from the url? I know OAuth services are quite picky about the urls passed on to them.
When you enable Twitter, it obtains an access token from twitter and stores it in Anahita for the viewer. The access token is later used as a way for twitter to recognize the requests as valid. Looks like Twitter is r... Read More
When you enable Twitter, it obtains an access token from twitter and stores it in Anahita for the viewer. The access token is later used as a way for twitter to recognize the requests as valid. Looks like Twitter is refusing to give you an access token. Read Less
Rastin Mehr

Rastin Mehr commented on the topic

Twitter connect issue

Hi everyone, 

I've been trying to set up twitter connect for my anahita app - and for some reason I can't seem to get it to work. My steps:

(1) Set up a new app under twitter dev: https://apps.twi...

Read More

Hi everyone, 

I've been trying to set up twitter connect for my anahita app - and for some reason I can't seem to get it to work. My steps:

(1) Set up a new app under twitter dev: https://apps.twitter.com/app/

(2) In the 'Connect' app in Anahita add the twitter consumer key (api key) and consumer secret key and enable the connect plugins

(3) I added Callback URLs in twitter under the app (based on the read-only examples) in the 'Connect app'

When i try to enable it i get an null error - ( ! ) Notice: Trying to get property of non-object in C:\wamp64\www\hwarp-app-prod\packages\Connect\src\components\com_connect\oauths\services\abstract.php on line 299Any help or ideas would be greatly appreciated. I may be using the wrong call-back URLs? Read Less
Is there a way to get an error message either from Anahita or Twitter?
Rastin Mehr

Rastin Mehr commented on the topic

Extending com_groups question

Hi @rastin et all, 

I have a question about extending groups without changes the core of anahita. 

In \components\com_groups\domains\entities\component.php there is:

class ComGroupsDomainEntityCompo...

Read More

Hi @rastin et all, 

I have a question about extending groups without changes the core of anahita. 

In \components\com_groups\domains\entities\component.php there is:

class ComGroupsDomainEntityComponent extends ComActorsDomainEntityComponent

How would I create a custom component that extends ComGroupsDomainEntityComponent and associates an actor ID (of type person) to an actor ID (of type organization)?

Read Less
Extend com_actors instead. com_groups is an app. It is meant to be a dispatchable component and final. com_actors however, is a base component and is meant to be extended. Use com_groups as a blueprint for your new ac... Read More
Extend com_actors instead. com_groups is an app. It is meant to be a dispatchable component and final. com_actors however, is a base component and is meant to be extended. Use com_groups as a blueprint for your new actors component.

What is the nature of person to actor association in your case? Read Less
Rastin Mehr

Rastin Mehr commented on the topic

Anahita rookie looking for some guidance

Hey @rastin et all, I'm in the process of using #anahita to help me experiment with a few specific use-cases around building better retail health experiences. The goal is to let health organizatio...

Read More

Hey @rastin et all, I'm in the process of using #anahita to help me experiment with a few specific use-cases around building better retail health experiences. The goal is to let health organizations have their own personalized/branded anahita experience based on specific actor IDs that are of type organization. Health consumers can follow or be invited to these organizations. These organizations commonly do onsite health-related workshops, typically have paying monthly members and they want to extend their interactions and engage with their members outside of their facility. Health consumers will be able to build their own health interest graph (ie. social graph) and follow other things of interest like people, topics, etc (see similar experience: https://medium.com/me/following/suggestions). Organizations will have their own apps that they will be able to enable/disable based on their needs. Health consumers will have the same. 

Two questions:

(1) need advice on how an organization can be it's own entity within anahita. As an example, one goal would be to enable these organizations to run onsite workshops but have the ability to engage members online before and after the workshop in a custom group and extend their relationships, promote upcoming workshops and keep an ongoing line of communication with customers.  

(2) What would be the best way to allow health consumers to have a unique actor entity that enables us to hyper-personalize their experience (based on that aforementioned interest graph) 

Even a high-level system suggestion would be a appreciated!

Read Less
1. organizations are custom actors. How they are customized depends on the function and purpose of organization. For example: does an organization publish content for mental health, cancer patients, or cardiac health?... Read More
1. organizations are custom actors. How they are customized depends on the function and purpose of organization. For example: does an organization publish content for mental health, cancer patients, or cardiac health? Do they provide a support line? Do they conduct surveys, organize events, seminars, etc.? Then build the tools they need to empower them. We will need organization actors who can create their own events and groups. That requires some modifications in the core code and we can collaborate with you on those perhaps. Those are enhancements that we want to have in Anahita actors architecture.

2. If by hyper-personalization you mean a recommendation engine, you are going to need enough nodes and graphs for the recommendations to be statically viable. By that I mean at least tens of thousands of users and 50~100 organizations who are active. Then you can build a recommendation engine that runs an algorithm and provides suggestions. For a newly launched network, a good option is to have a simple recommendation app that helps new users follow some initial actors. The algorithm can check with existing parameters such as actors recommended by you, hashtags, locations, or a curated list of actors. You'd still need to seed your network with a number of active actors, otherwise there would be nothing to recommend.

The most challenge startups have is reaching to the first 1000 and then 10,000 users who are engaged and active. One approach to make this happen is to build a network and service that provides a single utility or function that organizations want to provide and people need to access. Flickr and Instagram made it easy for people to upload and share photographs. OKCupid started as an online personality quiz services. Github is still mostly focused on the utility aspects of project management and code management even though they are technically a social network. Preferably build a service that doesn't rely on social features and focuses on connecting organizations and health consumers. A good start would be helping people find all the health related facilities nearby for counselling, mental health, cardiac health, nutrition, etc. and contact those organizations. Then you can work on enriching those services such as facilitating booking appointments, registering for workshops and seminars, accessing their publications, download and fill-out forms before showing up, scientific calculators, applying to volunteer, etc.

My point is, building a generic social network and expecting people to join and behave a certain way, isn't going to work. You need to build and customize to solve a specific problem and gradually edit (add and remove) apps and services as you observe and listen to users both consumers or organizations.

Did I answer your question? Read Less
2 people liked this
Whatever you build, please don't let your network to become a breeding ground of health and wellness alternative facts. It's your responsibility to help health consumers receive science and evidence based information.
Unknown Person liked this
Rastin Mehr

Rastin Mehr and Nick Swinford commented on the topic

Get all instances of an app

Topics used to have a page where you could view all of the topics for all of the nodes that someone was following, but it was removed.

How would I go about replicating that functionality? For my for...

Read More

Topics used to have a page where you could view all of the topics for all of the nodes that someone was following, but it was removed.

How would I go about replicating that functionality? For my forums component, I'm planning on changing things around so that forums can be added to actor nodes, but still want to incorporate those forums into a full forums listing.

I looked at the 2.2.3 code base on Github, but it looks like that was after the feature was removed. Is there any copies of the code left over from the SVN?

Read Less
I thought it was more like a listing of all the boards that topics used to have for all the topics app. I know that the boards were removed. Did it function the same way, just a leaders filter?
This is how it’s been all along. The topics are filtered by their owners which is the list of viewer’s leaders.
Nick Swinford liked this
Nick Swinford

Nick Swinford started a topic

Get all instances of an app

Topics used to have a page where you could view all of the topics for all of the nodes that someone was following, but it was removed.

How would I go about replicating that functionality? For my for...

Read More

Topics used to have a page where you could view all of the topics for all of the nodes that someone was following, but it was removed.

How would I go about replicating that functionality? For my forums component, I'm planning on changing things around so that forums can be added to actor nodes, but still want to incorporate those forums into a full forums listing.

I looked at the 2.2.3 code base on Github, but it looks like that was after the feature was removed. Is there any copies of the code left over from the SVN?

Read Less
Rastin Mehr

Rastin Mehr shared a note

We ask you to make all your questions publicly available in this group. Most questions posted here are of technical nature anyway. If you'd like to discuss business ideas or enjoy a bit of privacy ... Read More
We ask you to make all your questions publicly available in this group. Most questions posted here are of technical nature anyway. If you'd like to discuss business ideas or enjoy a bit of privacy you can follow the Lounge group which is created for this purpose. https://www.getanahita.com/groups/10951-the-lounge #networking #ideas #privacy #startup #lounge Read Less
Rastin Mehr

Rastin Mehr commented on the topic

Bypassing default Anahita registration/authentication

Hello Rastin

We need some help with creation of users in our Anahita installation bypassing the default registration/authentication process.

Our users are currently created/authenticated by phone num...

Read More

Hello Rastin

We need some help with creation of users in our Anahita installation bypassing the default registration/authentication process.

Our users are currently created/authenticated by phone number only through Twilio authy two-factor authentication (https://www.twilio.com). 

The created/authenticated phone number + token are put into a Mongo DB table. 

We would like to create Anahita users using these "already-authenticated phone numbers," bypassing the native Anahita registration/authentication service.

What would you suggest?

Read Less
You need to somehow create Anahita sessions for the authenticated users so when they go to the Anahita installation, they are already logged in. I can't think of any detailed solution now, this requires some thought. ... Read More
You need to somehow create Anahita sessions for the authenticated users so when they go to the Anahita installation, they are already logged in. I can't think of any detailed solution now, this requires some thought.

You also need an Anahita user plugin that logs them out from both systems if users decided to logout from Anahita. An extreme example, you can custom develop com_people and place it as an app in the packages directory. Anahita will installing your custom com_people instead of linking the default one. I haven't tried this myself, but in theory it should work.

Moments like this I wish we had a fully functioning native OAuth producer/consumer in Anahita. It's already on the roadmap. Read Less
2 people liked this
Ildemaro  Martinez Jr

Ildemaro Martinez Jr started a topic

Bypassing default Anahita registration/authentication

Hello Rastin

We need some help with creation of users in our Anahita installation bypassing the default registration/authentication process.

Our users are currently created/authenticated by phone num...

Read More

Hello Rastin

We need some help with creation of users in our Anahita installation bypassing the default registration/authentication process.

Our users are currently created/authenticated by phone number only through Twilio authy two-factor authentication (https://www.twilio.com). 

The created/authenticated phone number + token are put into a Mongo DB table. 

We would like to create Anahita users using these "already-authenticated phone numbers," bypassing the native Anahita registration/authentication service.

What would you suggest?

Read Less
Ildemaro  Martinez Jr

Ildemaro Martinez Jr commented on the topic

Docker Kubernetes

When will Anahita be production ready/optimized for scalable ‘microservices’ type Docker Kubernetes deployments? 

Thanks Rastin:
using the *Anahita Official Docker image* will ensure that we, and all other developers are using proper release engineering tools , rather than spending time in fragmented trial and error efforts
Rastin Mehr liked this
Ildemaro  Martinez Jr

Ildemaro Martinez Jr and Rastin Mehr commented on the topic

Docker Kubernetes

When will Anahita be production ready/optimized for scalable ‘microservices’ type Docker Kubernetes deployments? 

Hello Rastin: is your official Anahita Docker image still slated for June-July? this summer?

We are trying to plan ahead/synchronize our Team’s efforts with your timeline in order to have proper release engineerin... Read More
Hello Rastin: is your official Anahita Docker image still slated for June-July? this summer?

We are trying to plan ahead/synchronize our Team’s efforts with your timeline in order to have proper release engineering tools in place for our production DK8S deployment, which includes Anahita as User-Social framework

Let us know so we can coordinate our efforts +instruct our Team accordingly Read Less
Rastin Mehr liked this
Yes we've already started working on a number of Docker and Kubernetes orchestrations. We're going to redeploy Anahita website using these technologies too, so expect to see more posts regarding these technologies in ... Read More
Yes we've already started working on a number of Docker and Kubernetes orchestrations. We're going to redeploy Anahita website using these technologies too, so expect to see more posts regarding these technologies in our project group. Read Less
As for guidance, there are plenty of Wordpress related tutorials. The concept is similar to Anahita and you should be able to apply it https://kubernetes.io/docs/tutorials/stateful-application/mysql-wordpress-persiste... Read More
As for guidance, there are plenty of Wordpress related tutorials. The concept is similar to Anahita and you should be able to apply it https://kubernetes.io/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume/ Read Less
great - please let us know as soon as your oficial Docker image is available Docker Hub
Rastin Mehr liked this
Of course
is there an ‘estimated time’ for that?
No estimated time, because we don't know when it is ready. Also we need to take care of client projects first.
Rastin Mehr

Rastin Mehr and Nick Swinford commented on the topic

Generate Command

Have you ever been building a new app or component and wished you could easily have access to some sample data to work with? Well wish no more!

I've created a new command for Anahita CLI called Gene...

Read More

Have you ever been building a new app or component and wished you could easily have access to some sample data to work with? Well wish no more!

I've created a new command for Anahita CLI called Generate! The generate:sample command lets you generate new random sample data just using Anahita CLI and your entity definitions. It can even be extended to include any additional attributes that you may want to store.

Check it out here (https://github.com/NicholasJohn16/generate) and give the README a look over to see how to install and use it. Let me know if you encounter any issues.

Read Less
Excellent work Nick!
I assume people can install the app using composer?
Yup, the install command is in the README file. If you run into any issues, let me know and I'll take care of them.
Rastin Mehr liked this
You can add it to https://packagist.org and that way people can just add it to their package.json file and install it. I'm planning to distribute all our existing packages this way instead of bundling them with Anahit... Read More
You can add it to https://packagist.org and that way people can just add it to their package.json file and install it. I'm planning to distribute all our existing packages this way instead of bundling them with Anahita. That is after our react app is ready. Read Less
Oops, looks like I missed the 16 in my username in the README. I've fixed it.
Rastin Mehr

Rastin Mehr shared a note

From now on all announcements will be posted in the Atrium group as it should be. We're also going to use the Articles in Atrium group for blogging. https://www.getanahita.com/articles/@10273 We un... Read More
From now on all announcements will be posted in the Atrium group as it should be. We're also going to use the Articles in Atrium group for blogging. https://www.getanahita.com/articles/@10273 We understand that the Anahita Articles has short comings compare to wordpress, but all the time invested maintaining our wordpress blog is better be invested in improving the Articles app. Our wordpress blog will be shelved. Quite likely we won't bother with migrating the content either, unless we find a super easy way to make it happen. #Anahita #ArticlesApp #Atrium #Announcements #Blog Read Less
Nick Swinford

Nick Swinford started a topic

Generate Command

Have you ever been building a new app or component and wished you could easily have access to some sample data to work with? Well wish no more!

I've created a new command for Anahita CLI called Gene...

Read More

Have you ever been building a new app or component and wished you could easily have access to some sample data to work with? Well wish no more!

I've created a new command for Anahita CLI called Generate! The generate:sample command lets you generate new random sample data just using Anahita CLI and your entity definitions. It can even be extended to include any additional attributes that you may want to store.

Check it out here (https://github.com/NicholasJohn16/generate) and give the README a look over to see how to install and use it. Let me know if you encounter any issues.

Read Less
Rastin Mehr liked this
Rastin Mehr

Rastin Mehr commented on the topic

Setting up Locations services

What specific service(s) from Google Maps should be used to activate the Anahita Locations capabilities?  I see several listed, but couldn't figure out which corresponded to the Browser API key & S...

Read More

What specific service(s) from Google Maps should be used to activate the Anahita Locations capabilities?  I see several listed, but couldn't figure out which corresponded to the Browser API key & Server API key:

https://developers.google.com/maps/web/

Read Less
Rastin Mehr liked this
@robsaric the fix is in. Locations now works with just one google maps platform api key
Rastin Mehr

Rastin Mehr commented on the topic

Setting up Locations services

What specific service(s) from Google Maps should be used to activate the Anahita Locations capabilities?  I see several listed, but couldn't figure out which corresponded to the Browser API key & S...

Read More

What specific service(s) from Google Maps should be used to activate the Anahita Locations capabilities?  I see several listed, but couldn't figure out which corresponded to the Browser API key & Server API key:

https://developers.google.com/maps/web/

Read Less
@robsaric I just checked and not much has changed on google services. Perhaps it would be better if we renamed the Server Key to Geocoding Key and rename Browser Key to Maps API Key. The current locations would work w... Read More
@robsaric I just checked and not much has changed on google services. Perhaps it would be better if we renamed the Server Key to Geocoding Key and rename Browser Key to Maps API Key. The current locations would work with Google's free service which is quite generous. At this point we aren't going to bother with incorporating with Google's premium service until someone ask us. I don't think any of the Anahita installations are generating the kind of traffic that require Google's Premium account. Read Less
@robsaric can you try the same key for both fields and let me know if it is working?
Rastin Mehr

Rastin Mehr commented on the topic

Setting up Locations services

What specific service(s) from Google Maps should be used to activate the Anahita Locations capabilities?  I see several listed, but couldn't figure out which corresponded to the Browser API key & S...

Read More

What specific service(s) from Google Maps should be used to activate the Anahita Locations capabilities?  I see several listed, but couldn't figure out which corresponded to the Browser API key & Server API key:

https://developers.google.com/maps/web/

Read Less
@robsaric looks like we need to update com_locations, because google is now passing client_id instead of key and they have a new way of issuing keys. Looks like right now our website is using legacy support. I'll put ... Read More
@robsaric looks like we need to update com_locations, because google is now passing client_id instead of key and they have a new way of issuing keys. Looks like right now our website is using legacy support. I'll put that in the fixes for the next maintenance release. I know our facebook OAuth needs updating too. Read Less
Unknown Person liked this
Hopefully the core logic hasn't changed and all we need to do is to rename some labels and variables.
Rastin Mehr

Rastin Mehr and Gregg N-A commented on the topic

Errors with vanilla installation of Anahita under MAMP (meets requirements)

Hello. I'm trying to get a basic installation of Anahita under MAMP working. I've tried several times. My environment meets all of the requirements in the README.md. The only difference is the mysq...

Read More

Hello. I'm trying to get a basic installation of Anahita under MAMP working. I've tried several times. My environment meets all of the requirements in the README.md. The only difference is the mysql server is not running under MAMP but rather outside the environment - but that should be fine. mysql connectivity isn't an issue. I'm having several issues:

  1. I create the initial admin user. Subsequent user creation I click a verification link and it says the URL cannot be found.
  2. "Plugins" under Site Settings says "Something went wrong!"
  3. The main page (index.php) only shows "Streams, Stores, Articles, To-dos, Photos, Topics" in a bullet-pointed list. No banner, nothing else shown. And their links don't even work.
  4. Apache error_log shows "File does not exist: /Applications/MAMP/sites/gemsocial/anahita/www/com_composer, referer: http://gemsocial:8888/index.php"
  • Is there a more complete document with basic installation instructions somewhere that I'm missing?
  • I also tried enabling the Rewrite Engine in both the Apache configuration as well as Site Settings.
  • Also, I used the github latest branch as well as the stable version via the composer.phar create-project command. Speaking of which, should there be a symlink from "composer.phar" to "composer" (and where)?Any ideas would be much appreciated! Thanks!

Read Less
Quick update here. I haven't touched this in several days to try and get it to work. It's very puzzling how it'll work on my VPS but not my Mac MAMP or AMPPS environments. This makes me think it could be an environmen... Read More
Quick update here. I haven't touched this in several days to try and get it to work. It's very puzzling how it'll work on my VPS but not my Mac MAMP or AMPPS environments. This makes me think it could be an environmental issue (e.g. something within MAMP clashing with my system-wide Mac stuff) but I really don't know what since the PHP is defined within MAMP itself... Maybe I'll try downgrading a MAMP version (if there is another version) or try it under Windows...

For now, I've sent some things off to a colleague for him to try it in his MAMP environment. Maybe he can get it working and I can compare my environment to his.

Thanks for the help... More soon! :) Read Less
What version of MAMP are you using? I am currently using version 4.0.5 with Nginx, MySql 5.6.28, php 7.0.10, and cache off.
Rastin Mehr

Rastin Mehr shared a note

Friday to Sunday will be the #Anahita #Hackathon days. This week's focus will be implementing media nodes in the React App starting with photos, notes, and topics. We will also be doing some clean ... Read More
Friday to Sunday will be the #Anahita #Hackathon days. This week's focus will be implementing media nodes in the React App starting with photos, notes, and topics. We will also be doing some clean up in the back-end code to have a maintenance release ready. Follow the project group to get updates, help out, or work on your own project alongside. Read Less

Photos View All

Articles View All

Topics View All

Powered by Anahita