Forum Replies Created
-
Author
-
wttribe
Participanthi, thanks.
I found a quicker way: this plugin http://wordpress.org/plugins/jonradio-private-site/installation/
no coding. very quick to setup.
I made a great landing page and now it works.
For anyone that needs to hide the site from the public I suggest to use this plugin.
you can also set pages available to the public and the search engines!!Good solution. Thanks for your help, it was useful to get to the final solution. Thank you!
wttribe
ParticipantHi, when you go to facebook or twitter you cannot do anything since you are not logged in.
So When someone gets there you have a page with a video or explication and a sing up or sign in form.
How do I get people not logged in to a landing page like that? where people can do nothing but sign.up?
please help,
putting [membership level=…. is not a good solution.. I cannot do it for any page…
wttribe
ParticipantYeah. It definitely worked! thanks for your patience. I hope this trick can be useful to other users 🙂
Great support. Great theme!
Thaks
wttribe
ParticipantHi. I still have this problem. No chache plugin. Users are activated and joined the group.
In the group page i see it is 5 members and in the home page I see 0.
What’s the problem?
wttribe
ParticipantHi Abe, thanks for your help; did not work actually. Here is what I get:
The link created is this:
http://www.startempo.com/trova-competenze/admin/%E2%80%9Dhttp://www.startempo.com/trova-competenze/admin//profile/edit/group/1/#item-nav”any idea and this is what I wrote:
< a class=”send-message” href=”< ?php echo bp_loggedin_user_domain();?>/profile/edit/group/1/#item-nav”>< ?php _e(‘Edit Profile1’, ‘kleo_framework’);?>< /a>(I put spaces here not to have the code seen as html for this comment)
wttribe
ParticipantOk here is the link: http://www.startempo.com/it/trova-competenze/
if you go to page 2 or other.. it will generate a link without /it/ and you get 404 error
I really need this fixed! thank you for your precious support
wttribe
ParticipantHello, I already have it!
why am I experiencing such this problem?
I really need to solve this!!
If I go to settings and buddypress multilingual I see this yellow background notice…
The older activity translation has been disabled because Google discontinued their free machine translation API. Instead of the free translation API, Google now offers paid machine translation. We are considering adding support for this new API, which will allow BuddyPress activity streams to be translated again. This will require paying Google for the translation. If you are interested in the new paid translation for activity streams, please let us know. Visit BuddyPress Multilingual forum page and leave a comment. We will be looking at these comments and see if there is real interest in this.
how do I solve it?
thanks
wttribe
ParticipantHi great thanks.
I did a step more and put a link to it:< ?php if (bp_is_my_profile()) { ?>
< div class=”generic-button” id=”send-private-message”>
< a class=”send-message” href=”profile/edit/group/1/#item-nav”>Edit Profile< /a>< /div>
< ?php } ?>My question now is: how do I make that “Edit Profile” translatable with wpml?
I don’t find it in translation strings. How do I do it? thanks
wttribe
ParticipantMy colleague edited some parts of the theme files.
I deactivated most of the plugins. I’ll do it with all of them ad see what happens.
thanks
wttribe
ParticipantWell I checked and I cant spot same js file called with different versions.
here is the code (I uploaded a txt file for a check): http://www.startempo.com/versions.txt
wttribe
ParticipantI am not sure… you can check my site here: http://www.startempo.com/it/
what do you think? is there any conflict?
wttribe
ParticipantHello, I have a site in 2 languages with wpml.
I also have wp better mails.sometimes emails are sent in english some time in Italian.
for example one of my users requested a new password and he received a message in english. then the confirmation email was in italian.
it happens also when someone is mentioned or receives a private message (sometime ita and sometime english) how do I set it correctly??
wttribe
ParticipantThanks I also opened a ticket with them. When I have news I’ll put the solution here.. if there is one!
wttribe
ParticipantHEllo Josiah, I see you are not using BadgeOs with buddypress.
Did you try? I see it is not working for me..
wttribe
ParticipantOk I solved it. It was in the general-after-wrap.php
I added it there!
Thanks for your help!
wttribe
ParticipantHello, thanks for that. I did it and helped a little. thanks.
Now I have 2 sidebars. The one from the code you told me and the main one.
Here are the 2 files.
My custom theme:
<?php
/**
* The Template for displaying all single posts.
*
* @package WordPress
* @subpackage Sweetdate
* @author SeventhQueen <themesupport@seventhqueen.com>
* @since Sweetdate 1.0
*/get_header( ‘buddypress’ );
global $bp;?>
<?php get_template_part(‘page-parts/general-before-wrap’);?>
<?php /* Start the Loop */ ?>
<?php while ( have_posts() ) : the_post(); ?><?php
$status=get_post_custom_values(‘status’);
$user_assoc=get_post_custom_values(‘user_assoc’);
$skills=get_post_custom_values(‘skills’);$user_ref = get_userdatabylogin($user_assoc[0]);
$user_now = get_userdata( get_current_user_id() );?>
<?php if($bp->template_message_type==”success”) {
?>
<script> jQuery(document).ready(function ($){ $( “#sharenow” ).dialog({ modal: true, width: 550, height: 210 }); });</script>
<?php$sharetxt=__( ‘I created a new Need on StarTempo!’, ‘kleo_framework’ );
echo “<div id=\”sharenow\” title=\”Share\”><div class=\”textPop\”>”.esc_attr(sprintf(__( ‘Share your new need %s’, ‘kleo_framework’ ), the_title_attribute( ‘echo=0’ ))).”</div>”.ADDTOANY_SHARE_SAVE_KIT( array(“use_current_page” => true,”output_later”=> true, “linkname” => $sharetxt) ).”</div>”;
?><?php }?>
<!– Begin Article –>
<div class=”row<?php if( is_single() && get_cfield(‘centered_text’) == 1) echo ‘ text-center’; ?> <?php _e( $status[0], ‘kleo_framework’);?>”>
<?php do_action( ‘template_notices’ );$members_template->member->id = get_the_author_meta( ‘ID’ );
?>
<div class=”avatar”>
<?php bp_member_avatar(‘type=full&width=94&height=94&class=’); ?>
</div>
<article id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
<div class=”twelve columns”><?php if(is_single() && get_cfield(‘title_checkbox’) == 1): else: ?>
<?php if ( is_single() ) : ?>
<h2 class=”article-title”>
<?php the_title(); ?>
</h2>
<?php else : ?>
<h2 class=”article-title”>
” title=”<?php echo esc_attr( sprintf( __( ‘Permalink to %s’, ‘kleo_framework’ ), the_title_attribute( ‘echo=0’ ) ) ); ?>” rel=”bookmark”><?php the_title(); ?>
</h2>
<?php endif; // is_single() ?>
<?php endif;?><?php if(get_cfield(‘meta_checkbox’) != 1): ?>
<div class=”article-meta clearfix”>
<ul class=”link-list”>
<?php sweetdate_entry_meta(); ?></div><!–end article-meta–>
<?php endif;?></div><!–end twelve–>
<div class=”userData”><?php
$author = sprintf( ‘%3$s‘,
esc_url( bp_core_get_user_domain( get_the_author_meta( ‘ID’ ) ) ),
esc_attr( sprintf( __( ‘View all posts by %s’, ‘kleo_framework’ ), get_the_author() ) ),
get_the_author()
);$ca = xprofile_get_field_data( 300, get_the_author_meta( ‘ID’ ) );
$category = sprintf( ‘%3$s‘,
esc_url( get_search_link($ca) ),
esc_attr( $ca ),
esc_attr( $ca )
);
$p = xprofile_get_field_data( 299, get_the_author_meta( ‘ID’ ) );
$province = sprintf( ‘%3$s‘,
esc_url( get_search_link($p) ),
esc_attr( $p ),
esc_attr( $p )
);
$c = xprofile_get_field_data( 17, get_the_author_meta( ‘ID’ ) );
$city = sprintf( ‘%3$s‘,
esc_url( get_search_link($c) ),
esc_attr( $c ),
esc_attr( $c )
);
$assigned = sprintf( ‘%3$s‘,
esc_url( bp_core_get_user_domain($user_ref->ID) ),
esc_attr( $user_assoc[0] ),
esc_attr( $user_assoc[0] )
);?>
<?php _e( ‘Author’, ‘kleo_framework’ ); ?> <?php echo $author;?><br />
<?php _e( ‘Category’, ‘kleo_framework’ ); ?> <?php echo $category;?><br />
<?php _e( ‘Province/State’, ‘kleo_framework’ ); ?> <?php echo $province;?><br />
<?php _e( ‘City’, ‘kleo_framework’ ); ?> <?php echo $city;?><br /></div>
<?php
if (get_post_thumbnail_id()) { ?>
<div class=”twelve columns”>
<div class=”article-media clearfix”>
<?php the_post_thumbnail();?>
</div><!–end article-media–>
</div><!–end twelve–>
<?php } ?><div class=”twelve columns”>
<div class=”article-content”>
<?php the_content( __( ‘Continue reading <span class=”meta-nav”>→</span>’, ‘kleo_framework’ ) ); ?><div class=”need-status”><?php _e( ‘Status’, ‘kleo_framework’); ?>: <?php _e( $status[0], ‘kleo_framework’);?></div>
<?php if (!empty($user_assoc[0])): ?><div class=”need-assigned”><?php _e( ‘Assigned to’, ‘kleo_framework’ ); ?>: <?php echo $assigned;?></div><?php endif; ?>
<div class=”need-skills”><?php _e( ‘Skills’, ‘kleo_framework’); ?>: <?php echo $skills[0];?></div>
<br /><?php
if (get_the_author_meta( ‘user_nicename’ ) == $user_now->user_login) : ?>
<?php
$icl_object_id = icl_object_id(1025, ‘page’, true);
$icl_object_id2 = icl_object_id(7, ‘page’, true);
?>
” href=”<?php echo get_permalink($icl_object_id ); ?>?user=<?php echo $user_ref->ID; ?>&message=<?php _e(“Payment for Need: “, ‘kleo_framework’);?><?php the_title(); ?>”><?php _e(“Transfer STARS”, ‘kleo_framework’);?><?php elseif($status[0]==”Open”): ?>
</div><!–end article-content–>
</div><!–end twelve–>
</article><!–end article–>
</div><!–end row–>
<!– End Article –><hr>
<?php endwhile; ?>
<?php get_template_part(‘page-parts/general-after-wrap’);?>
<?php get_footer(); ?>
******************************************************************************************
And your general before wrap:
<?php
/**
* Before content wrap
* Used in all templates
*/
?><!– MAIN SECTION
================================================ –>
<section class=”<?php echo apply_filters(‘kleo_main_section_class’, ”);?>”>
<div id=”main”><?php
/**
* Before main part – action
*/
do_action(‘kleo_before_main’);
?><div class=”row”>
<?php /* Before content – action */ ?>
<?php do_action(‘kleo_before_content’); ?><!–begin content–>
<?php
if (sq_option(‘global_sidebar’) == ‘no’)
$content_class = ‘twelve’;
else
$content_class = ‘eight’;
?>
<div class=”<?php echo apply_filters(‘kleo_content_class’,$content_class); ?> columns”>************************************************************************************
What’s the best way to get rid of the main sidebar and have the custom one?
Hope you can help me. Thanks
wttribe
ParticipantHi I tried to de activate and then re-activate the plugin (both wpml core and string translator)
Nothing changed. Here is a screenshot:
wttribe
ParticipantHi, thanks for your help!
I did check carefully each file. Also the ones you told me above.
Everything seems to be set up.
The strange thing is that in one activity I saw this:
– Member x CREATED A GROUP xxx
– Member y HA CREATO UN GRUPPO yyySame activity, 2 different languages in the same page.
I don’t understand why!
How do I set all in my language?
wttribe
ParticipantOk I solved the problem. I report here for the others who might find the same problem.
I updated both wpml plugin and wpml strings translation plugin (they ware out-dated)
I switched the theme to the default wp theme.
I clicked on “translate with WPML”
and it worked.
Then I turned Sweetdate child theme back and run the scan for new strings to be translated.
It worked fine.
A little bit tricky but effective so far.
Thank you for your support!
wttribe
ParticipantHello,
thank you for your help!
in this case the breadcrumb is showing HOME / GRUPPI and GRUPPI is not clickable.
Plus it does not show the current group where the user is Ex. HOME / GRUPPI / HALLOWEEN PARTYIs that possibile to replicate the same as it was in english?
wttribe
ParticipantYes I always have that opened. I just missed that part. So sorry!
Did not want to waste your time!
Have a great weekend.wttribe
ParticipantThanks for you reply but that’s not what I needed.
I do not want some content to be displayed when logged in:
THE REGISTRATION button for example does not work if one is logged in and therefore it makes no sense to display it when someone is logged in.
How do I hide it when loggend in?
thanks
wttribe
ParticipantHi,
here is what I did. I opened buddypress bp-xprofile-template.php and changed from this
function bp_the_profile_field_name() {
echo bp_get_the_profile_field_name();
}function bp_get_the_profile_field_name() {
global $field;return apply_filters( ‘bp_get_the_profile_field_name’, $field->name );
}To this:
function bp_the_profile_field_name() {
echo bp_get_the_profile_field_name();
}function bp_get_the_profile_field_name() {
global $field;
$f_name = __( $field->name, ‘buddypress’ );
return apply_filters( ‘bp_get_the_profile_field_name’, $f_name );
}Nothing changed.
I have BP multilingual plugin activated.
In my wpml strings I did not find any new string…
wttribe
ParticipantHello I have a similar problem.
I need to translate profile fields.
I followed all these steps:
– WPML plugin
– WMPL String translation plugin
– From WPML -> String Translation -> Auto-register strings only when logged in as an administrator
– Make this core Buddypress change as in here: http://wpml.org/forums/topic/translate-buddypress-profile-fields/#post-64803
– Browse trough the site so the strings get registeredIt does not work.
What should I do?here is what I have:
– wpml 2.9.3
– wpml string translation 1.9
– buddypress 1.8.1
– buddypress multilingual 1.4.2
everything is updated to the latest version!!please help, I dont know what to do…
-
AuthorPosts