Forum Replies Created
-
Author
-
JohnDoeParticipant
Updated Code to :
//Custom City list
function bp_add_custom_city_list() {if ( !xprofile_get_field_id_from_name($bp_fields['city']) && 'bp-profile-setup' == $_GET['page'] ) {
$city_list_args = array(
'field_group_id' => 1,
'name' => $bp_fields['city'],
'description' => 'Please select your city',
'can_delete' => false,
'field_order' => 6,
'is_required' => true,
'type' => 'selectbox',
'order_by' => 'default');
$city_list_id = xprofile_insert_field( $city_list_args );
if ( $city_list_id ) {
$cities = array(
"city",
"city",
);foreach ( $cities as $i => $city ) {
xprofile_insert_field( array(
'field_group_id' => 1,
'parent_id' => $city_list_id,
'type' => 'selectbox',
'name' => $city,
'option_order' => $i+1
));
}
}
}}
add_action('bp_init', 'bp_add_custom_city_list');
JohnDoeParticipantCan you select both with that plugin @sqadmin , Login with your Username or Email Address
JohnDoeParticipantYeah but that’s not what i want really. i want them to see whats on it , but can’t post on their activity thingy. could this be possible?
i should make a list for custom work and pay for all this :p i’m asking way more then most people here do.
JohnDoeParticipantWould it help if i send you the chat folder? it’s Arrowchat, i tried support on their forums, but no help π
JohnDoeParticipantYou have Sweetdate and sweetdate-child theme, functions.php has to be edited in the child theme. Make sure your child theme is active.
the code can go anywhere between the php tags.
<?php
Code here
?>JohnDoeParticipant@adam, does this work for the modal or only for the register page? because i thought the regular register page allready had this?
JohnDoeParticipantOn the plugin support section found a topic about it , but i don’t really get the solution :
“You theme is not updated and he is for buddypres 1.5.
Buddypress was made a new update in the template pack, you can update it by your self by adding the missing file and make a modification.copy the file
plugins/buddypress/bp-themes/bp-default/members/single/activity/permalink.php
in your theme directory frisco-for-buddypress/members/single/activity/
Mabe it’s work, but i suggest you use another theme compatible with buddypress 1.8 or other wordpress theme.”
JohnDoeParticipant@wisinyyandel7 , that is correct like that , if your cometchat is loading slower i would place it in your footer btw.
JohnDoeParticipantI like the Auto-completion , better then the textfield now π
Can’t wait for 2.3. Keep up the good work Admin, great theme!JohnDoeParticipantWorks Great, pending activations can be seen in the Settings -> Buddypress
Would recommend this to everyone.
JohnDoeParticipanti did place the APP ID in Miscellaneous , and removed the WP Bouncer.
what about now?
JohnDoeParticipantand where would i add the HTML and JavaScript?
Thanks for doing this admin πJohnDoeParticipantOT : Your website loads pretty slow, and in your rev slider i would make your logo transparant.
Logo looks nice πJohnDoeParticipantTook my fb app out of sandbox mode, pasted the key in there again, still doesn’t seem to work
how could this have happend. πJohnDoeParticipantI think he means, the picture isn’t displaying correctly , but the grid and image values are the same.
Alot of people have this problem. And we know in the demo it shows normal but on our own site’s it doesn’t.
Hope there will get a fix for this soon. Rev slider is great! if it works.. :p
JohnDoeParticipantThat’s called, a Landing page π
in the index.php it says :
get_header(); ?>
and
<?php get_footer(); ?>
so if you want to do this, you can’t make the page withing WordPress, but make a custom page .
you could use the modal signup form code :
<form id=”register_form” action=”<?php if (function_exists(‘bp_is_active’)) bp_signup_page(); else echo get_bloginfo(‘url’).”/wp-login.php?action=register”; ?>” name=”register_form” method=”post”>
<div class=”six columns”>
<input type=”text” id=”reg-username” name=”signup_username” class=”inputbox” required placeholder=”<?php _e(“Username”, ‘kleo_framework’);?>”>
</div>
<div class=”six columns”>
<input type=”text” id=”fullname” name=”field_1″ class=”inputbox” required placeholder=”<?php _e(“Your full name”, ‘kleo_framework’);?>”>
</div>
<div class=”twelve columns”>
<input type=”text” id=”reg-email” name=”signup_email” class=”inputbox” required placeholder=”<?php _e(“Your email”, ‘kleo_framework’);?>”>
</div>
<div class=”six columns”>
<input type=”password” id=”reg-password” name=”signup_password” class=”inputbox” required placeholder=”<?php _e(“Desired password”, ‘kleo_framework’);?>”>
</div>
<div class=”six columns”>
<input type=”password” id=”confirm_password” name=”signup_password_confirm” class=”inputbox” required placeholder=”<?php _e(“Confirm password”, ‘kleo_framework’);?>”>
</div>Hope i helped u a bit
JohnDoeParticipantInstead of doing that, make a landing page, then when they are registered through there, make it redirect to your Homepage or whatever page you want.
JohnDoeParticipantNow i do π and i think u mean to let the first item be closed just like the others right? iv been looking for this to. But i don’t think it’s possible.
-
AuthorPosts