Forum Replies Created
-
Author
-
eple0030Participant
Hi Abe,
Thanks again for your previous answer! Please do not take into account my previous post sent 2 days ago. I ve just found today ‘wcm user language switcher’ plugin and it translate correctly the theme in the language for which i installed the language files. Weird but it works, so….
I ve still some issues, if you could help me on them
on 1. I can’t find the way to add a new tab. Here is the code i added in function.php, that display me Bio and Info tabs. But i can’t add a 3rd one called Concept. I tried to duplicate Bio paragraph and renamed it but it does not work.COPY CODE//customize profile tabs add_action('after_setup_theme','kleo_my_custom_tabs'); function kleo_my_custom_tabs() { global $bp_tabs; $bp_tabs = array(); $bp_tabs['looking-for'] = array( 'type' => 'cite', 'name' => __(Bio, 'kleo_framework'), 'group' => 'Looking for', 'class' => 'citetab' ); $bp_tabs['base'] = array( 'type' => 'regular', 'name' => __(Info, 'kleo_framework'), 'group' => 'Base', 'class' => 'regulartab' ); /* rtMedia tab - only if plugin installed */ if (class_exists('RTMedia')) { $bp_tabs['rtmedia'] = array( 'type' => 'rt_media', 'name' => __('My work', 'kleo_framework'), 'class' => 'mySlider' ); } /* Bp-Album tab - only if plugin installed */ elseif (function_exists('bpa_init')) { $bp_tabs['bp-album'] = array( 'type' => 'bp_album', 'name' => __('My photos', 'kleo_framework'), 'class' => 'mySlider' ); } }
3. 3. I love the red/pink notification button on the “profile » button that show new messages. —>
I think i identified as you suggested me the code in header.php around line 163COPY CODEif( bp_is_active('messages')) { $profile_menu['messages'] = '<li><a href="' . bp_loggedin_user_domain().'messages/">'. __("Messages", "buddypress").' <small class="label">'. messages_get_unread_count().'</small></a></li>'; }
I tried to replicated it for the notifications, but i have some errors that block the theme. Do you see any errors in the following code?
COPY CODEif( bp_is_active(‘notifications’)) { $profile_menu['notifications’] = '<li><a href="' . bp_loggedin_user_domain().’notifications/">’. __("Notifications", "buddypress").' <small class="label">'. notifications_get_unread_count().'</small></a></li>'; }
b. (ratings)
There are some plugins for that, but i think some enhancements could be (in my opinion) to make them integrate like this:
Here is a webpage that looks nice to me, It is in french but you can see the idea. https://labelleassiette.fr/chef-a-domicilec. (geolocalisation)
There are some plugins for that, but integration lacks for search options. It would be great to leverage on the search option from your theme and have the results displayed on a nice map (eg. the way it is done through sabai directory)5. I added a few plugins, and every time there are some drop down box to be displayed (e.g. taxomany search fields), their length is full screen size. Instead of being few centimeter length, each box is full page length. So the display is not fine at all if i choose more than one.
One example is http://wordpress.org/plugins/wp-fullcalendar/
It integrates well on WP default theme, but not with yours. So i guess the issue is with the theme.
I guess it is minor to fix. Is there some code to modify somewhere?6. Is there a way to remove some buddy press menu depending on user profile role. Eg. a subscriber has “Activity” tab disabled?
Thanks a lot
-
AuthorPosts