better integration with buddypress
-
Hello,
I am currently using the shortcode placed in a widget, on the footer of my site. I run a web site for an online radio station, and am using buddypress as the framework for a listeners club. This basically gives users their own profile, access to the chat, free downloads area, and so forth. I plan to keep adding new stuff as interaction increases.
I love Simple Ajax Chat. I wanted something similar to a traditional facebook chat, but for all members to interact with one another, not just with private messages. So in that regard, the plugin is meeting my needs. Anyway, I use the display widgets plugin to decide which pages a particular widget should be shown on, and have it set to show on everything it will let me. However, there is no default profile page in Buddypress, as they are automatically generated. I mean, it isn’t a static page that is then populated with user info, so I can’t select that for the widget to show up. Thus, a user might have SAC on the majority of the site pages, but when they go to their profile, it disappears.
My idea is to switch from using the shortcode to embedding directly in to the template, thus forcing it to be loaded no matter what. So, I have two questions:
1. First, if I want to keep it in the footer, where exactly in the code should I insert it? I am using the Twenty Seventeen theme. I am totally blind, and want to be sure it is going to look good where it is placed.
2. In addition, I would like it to only show when a user is logged in. So, if a user is logged out, I don’t want any message about how the user should log in or anything like that. I like the fact that I can set it so that only registered users can access the chat. But iff the person is not logged in, I would just prefer that it doesn’t display anything.
I know that you have tons to do, and I really value your time, effort, and support. Thanks in advance for any tips you can give me.
- The topic ‘better integration with buddypress’ is closed to new replies.