Forum Replies Created
-
Author
-
hugblueParticipant
Hi Abe ..
Just tested it again and sorry there was a change.
When i change the number/text ” eight ” then it is the members cols that is changing.
But it is the right sidebar i want a little smaller!
How do i do this ?
hugblueParticipantHi ..
When using the first part of the code :
COPY CODEadd_filter('kleo_bp_directory_main_cols', 'kleo_custom_members_cols'); function kleo_custom_members_cols() { return 'eight'; } add_action('bp_after_directory_members', 'kleo_add_buddy_sidebar', 99); function kleo_add_buddy_sidebar() { get_sidebar('buddypress'); }
Then how do i by this code make the width smaller ?
I tried changing the eight to seven and six. But seems to do nothing.Thz.
hugblueParticipantI do not have a caching problem. That i know of.
Because i have host at wpengine.
But i will try at buddypress forum. Thz.hugblueParticipantI talked with wpml and they are implementing more compability with buddypress. Should fix it in nearest future.
hugblueParticipantHi juanmdt ..
No disrespect..
I think for you to get some answers from the pro’s of these forums.
That it is best you create your own topic.This topic here is resolved.
hugblueParticipantHi Abe ..
I did find a solution ..
Something must have been wrong on my site ..
I have account at wbengine so got another account and rebuild the site.
And i am in dialog with wpml with some problems regarding translation of buddypress.
But Thz. Smiling.
hugblueParticipantAnd when i redownload the sweet date files :
Then in the child functions.php it looks like this :
<?php
/**
* @package WordPress
* @subpackage Sweetdate
* @author SeventhQueen <themesupport@seventhqueen.com>
* @since Sweetdate 1.0
*/
/**
* Sweetdate Child Theme Functions
* Add extra code or replace existing functions
*/
?>hugblueParticipantWhen i open my child functions.php .. Then it looks like this :
<?php
/**
* @package WordPress
* @subpackage Sweetdate
* @author SeventhQueen <themesupport@seventhqueen.com>
* @since Sweetdate 1.0
*/
/**
* Sweetdate Child Theme Functions
* Add extra code or replace existing functions
*/
?>Then i add this :
//my changes to profile tabs
add_action(‘after_setup_theme’,’kleo_my_custom_tabs’);
function kleo_my_custom_tabs()
{
global $bp_tabs;
$bp_tabs = array();
$bp_tabs[] = array(
‘type’ => ‘regular’,
‘name’ => “Лични данни (About me)”, //this is the showed tab name
‘group’ => ‘Лични данни (About me)’, // this must be the same as the profile fields group name
‘class’ => ‘regulartab’
);
$bp_tabs[] = array(
‘type’ => ‘regular’,
‘name’ => “Обобщение за мен (Myself Summary)”,
‘group’ => “Обобщение за мен (Myself Summary)”,
‘class’ => ‘regulartab’
);
$bp_tabs[] = array(
‘type’ => ‘regular’,
‘name’ => “Търся (Looking for)”,
‘group’ => “Търся (Looking for)”,
‘class’ => ‘regulartab’
);
$bp_tabs[] = array(
‘type’ => ‘regular’,
‘name’ => “Стил на живот (Lifestyle)”,
‘group’ => “Стил на живот (Lifestyle)”,
‘class’ => ‘regulartab’
);
$bp_tabs[] = array(
‘type’ => ‘regular’,
‘name’ => “Физически данни (Physical)”,
‘group’ => “Физически данни (Physical)”,
‘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’
);
}
}But then it shows nothing in the user profile fields :
About me and so on ..Have something changed in the latest update or do i need to activate something ?
And when i do not add this code then it workd . In english.
But it shows nothing in the translated language.hugblueParticipantThis is the only extra thing in my functions.php
add_action(‘wp_head’, ‘kleo_bbpress_tpl’, 11);
function kleo_bbpress_tpl()
{
//user is viewing a forum page
if(get_post_type() == ‘forum’ OR get_post_type() == ‘topic’ OR get_post_type() == ‘reply’)
{
//set to full width
remove_action(‘kleo_before_content’, ‘kleo_sidebar’);
remove_action(‘kleo_after_content’, ‘kleo_sidebar’);
remove_action(‘kleo_before_content’, ‘kleo_extra_sidebar’);
remove_action(‘kleo_after_content’, ‘kleo_extra_sidebar’);
add_filter(‘kleo_content_class’, create_function(null, ‘return “twelve”;’));
}
}/* Filter the redirect url for login*/
add_filter(“login_redirect”,”kleo_redirect_to_profile”,100,3);Not sure if this make any difference ..
hugblueParticipantTo Globetrekker ..
I have no idea of why ..
And i have given up asking about it.
It simple take too long to get an answer.
And when i get a answer it is for the very experienced people.I have changed to another plugin that works.
http://codecanyon.net/item/userpro-user-profiles-with-social-login/5958681?WT.ac=solid_search_item&WT.seg_1=solid_search_item&WT.z_author=DeluxeThemesNow i just need to totally disable buddypress registration window and registration buttons.
But that is just as hard a job.hugblueParticipantit is the same result when i disable all plugins ..
So i have started using another plugin that seems to work better. i hope.
is it possible to make :
signup AND login
So they do not have any effect ? So they do not open any windows.
Amd also a way to rename these two.Thz.
hugblueParticipantHow do i disable sweetdate registration process ?
So i can use wordpress standard registration system ?
hugblueParticipantI have now deactivated all plugins ..
choosen the default theme ” Twenty Thirteen ”And it will still not function.
I really need some help here.
hugblueParticipantAnd also ..
No registration email is send ..I alse use : ” Easy WP SMTP “.
But it didnt do anything.It is still a problem.
I have gone through all settings and all of them seems to be ok.
I also deleted :
Register and Activate pages and recreated them.
But that didnt do anything either.hugblueParticipantI use these ones :
http://www.philopress.com/products/bp-dashboard-user-profile-edit/
This plugin allows you to view, edit and update those fields while viewing a member’s WordPress Profile in the Dashboard.http://wordpress.org/plugins/user-avatar/
This plugin provides a thumbnail area in the Your Profile section, where users can upload & crop new images in an overlay and upon cropping the image, the new image will be saved and stored.hugblueParticipantOr i mean.
I couldnt dind extra strings for these.
And in WPML they are translated.
But do not show up translated to Bulgarian.
As you can see in the picture.hugblueParticipantWow .. I am amazed .. Works so beautifully.
– – – – –
Now .. just a little last thing in this area.
For the members the text swith perfect with WPML.
– – – – –
But in buddypress under :
profile / editHere the text is still in english.
And i cannot find these under WPML.So what is the solution here ?
I have added a picture :
http://www.flickr.com/photos/113910914@N05/12115458315/hugblueParticipantAnd another thing ..
All the translations with WPML, when translated :
Name, Birthday, Looking for a, I am a, Marital status, City. CountryEverything can be taken from WPML when swithcing language.
Just not the group names.
hugblueParticipantI changed all to english characters except for :
Физически данни (Physical)
So you can see all is functioning except for this one.When the page is switched to Bulgarian.
All text in cyrillic can be showed.So is there a way for it to accept cyrillic in the group names ?
Is a little strange. That in some places it works perfect.
And in some other areas it soesnt work.hugblueParticipantHmm
I tried to remove the cyrillic characters. Then it worked perfectly.
So Abe. Is there any way to make it accept toher types of characters ???
And im so happy for the code from you.
Just need this last thing to be ok..
And super many thanks.
hugblueParticipantHi abe ..
I inserted the code and double checked for group names, that they were correct.
But it gives no result.
It is still the same. Sorry.
hugblueParticipantBut i will look at the guide again and see if i can figure it out :
https://archived.seventhqueen.com/forums/topic/how-to-add-more-tabs-next-to-the-profile-image
With a little luck. Maybe i could.
hugblueParticipantSo after every message i post ..
I would have to wait 48 hour +++ to get a answer ?Just asking.
After all i did pay for this theme.
It would be easier if you just told me if you had no time.. OR …
hugblueParticipantCan someone guide me in how this works :
These are the new names :
Лични данни (About me)
Обобщение за мен (Myself Summary)
Търся (Looking for)
Стил на живот (Lifestyle)
Физически данни (Physical)This is my code right now :
<?php/**
* @package WordPress
* @subpackage Sweetdate
* @author SeventhQueen <themesupport@seventhqueen.com>
* @since Sweetdate 1.0
*/
/**
* Sweetdate Child Theme Functions
* Add extra code or replace existing functions
*/
//customize profile tabsadd_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' => __('Looking for', 'kleo_framework'),
'group' => 'Търся (Looking for)',
'class' => 'citetab');
$bp_tabs['base'] = array(
'type' => 'regular',
'name' => __('About me', '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');
}
}
Thz
hugblueParticipantI am not that strong in developing programs.
I would love to do it myself.
Hmm .. But you know ..
Experience.I think i will let these things be on your shoulders. 😉
hugblueParticipantHi Abe ..
I changed all the user names to european characters ..
So for now its ok.Thz.
-
AuthorPosts