Forum Replies Created
-
Author
-
TC3Participant
Just to confirm,
Images set to “private” or “friends” are viewable in the top lightbox thumbs by any logged in user, regardless of friend connection. They are not viewable if you are not logged in as a user. The main rtMedia galleries/photos respect these privacy settings regardless of logged in status.Image limit code works great. I’m still looking at the thumbs issue when the top photos tab is first by default. This is still an issue for me, even with the code you’ve provided, but I’ll keep testing it.
Thanks again.
TC3ParticipantHi there,
Thanks for the quick response. My functions.php file is as below, which I believe is essentially the same, but I’ll replace it with the exact code you’ve provided.
Thank your for the code for limiting the images.
Regarding the security settings, I did not check with a logged out user, but I was checking with a second registered user account, where the registered user could still see the other user’s image that was set to “private” only in the lightbox thumbs. I will check this again, and check with logged out users as well. I should point out that I’m not using any caching plugins, this is a clean WP installation with Sweetdate, and a few other plugins.
Also, slightly off topic – I’m wondering how difficult it would be to integrate buddydev’s bp gallery into this theme in the same way you’ve integrated rtMedia with lightbox thumbs at the top?
http://buddydev.com/plugins/bp-gallery/It is a premium plugin, and the initial bp gallery page layout with your theme (and many other BP/WP themes) is not very good compared to rtMedia 3.1.1 (latest rtMedia has issues also which you’ve noted elsewhere).
However, at the core, buddydev bp gallery has some features that no other BP image plugin has, namely drag and drop jquery image sorting for galleries. I know rtMedia Pro has this on the possible future features list, but it’s essential for any community where images/photos play a central part, as people like to pick which images appear first (or change them up), and in this case, first on the lightbox thumbs.
I think Buddydev’s gallery plugin is probably the best out there right now, so I thought I’d make the suggestion. A really good integrated gallery is the one thing BuddyPress is lacking compared to something like Jomsocial or Drupal (using views, etc.). My background is with Drupal since version 5, but I’m doing a lot more work with WordPress now, and I have not seen a better BP integrated theme than yours. Integration with Buddydev BP Gallery would make it near perfect.
Thanks again for your reply, I’ll change out the functions.php code and do some more testing.
———
add_action(‘after_setup_theme’,’kleo_my_actions’);
function kleo_my_actions()
{
global $bp_tabs;
$bp_tabs = array();/* rtMedia tab – only if plugin installed */
if (class_exists(‘RTMedia’))
{
$bp_tabs[‘rtmedia’] = array(
‘type’ => ‘rt_media’,
‘name’ => __(‘My photos’, ‘kleo_framework’),
‘class’ => ‘mySlider’
);
}
/* Bp-Album tab – only if plugin installed */
elseif (function_exists(‘bpa_init’) AND sq_option(‘bp_album’, 1) == 1)
{
$bp_tabs[‘bp-album’] = array(
‘type’ => ‘bp_album’,
‘name’ => __(‘My photos’, ‘kleo_framework’),
‘class’ => ‘mySlider’
);
}$bp_tabs[‘base’] = array(
‘type’ => ‘regular’,
‘name’ => apply_filters(‘kleo_extra_tab2’,__(‘About me’, ‘kleo_framework’)),
‘group’ => ‘Base’,
‘class’ => ‘regulartab’
);$bp_tabs[‘looking-for’] = array(
‘type’ => ‘cite’,
‘name’ => apply_filters(‘kleo_extra_tab1’, __(‘Looking for’, ‘kleo_framework’)),
‘group’ => apply_filters(‘kleo_extra_tab1’, ‘Looking for’),
‘class’ => ‘citetab’
);}
-
AuthorPosts