Forum Replies Created
-
Author
-
hotloverspassion
ParticipantYou answered to this topic but in the other one by mistake…I think your head will be soon spinning from my posts 🙂 haha
The other topic relates to different issuehotloverspassion
ParticipantHi Radu,
until now I had difficulties to identify CSS selector…I got it now! Thanks for your “lecture” 🙂
What a magic! 🙂
This will make my life much easier…and yours too 🙂 hahaThanks a lot!
hotloverspassion
ParticipantHi 🙂
No luck, sorry.
It has the same result as the image “after log in” I sent you in previous message, with the header picture smaller appearing right at the top of the page. But with this change I have lost capability to display the form to non logged in users and hide it to logged in users. The form itself is not the issue. It is the header image I want to hide under the same condition as the register form ( so it will be there for not logged in users together with the register form ,but it will be hidden for logged in users as the register form is )
Hope it makes sense 🙂
hotloverspassion
ParticipantHi,
here are my credentials. My site is not live yet, so the link wouldn’t be much of help 🙂hotloverspassion
adminand here is the code from home-register-form.php from child theme
text/x-generic home-register-form.php
PHP script text
<?php
/* Hide the starting and ending columns if used as shortcode */
global $bp_reg_form_show_cols, $bp_reg_form_show_carousel, $bp_reg_form_title, $bp_reg_form_details;
if (!isset($bp_reg_form_show_cols)) { ?><?php } ?><h4 class=”white-text”>
<?php
/* if set via shortcode */
if (isset($bp_reg_form_title)) {
echo $bp_reg_form_title;
} else {
_e(“Create an Account”, ‘kleo_framework’);
}
?>
</h4>
<p class=”reg-form-details”>
<?php
/* if set via shortcode */
if (isset($bp_reg_form_details)) {
echo $bp_reg_form_details;
} else {
_e(“Just fill in the fields below and we will get a new account set up for you in no time.”,’kleo_framework’);
}
?>
</p><!–Search form–>
<form id=”register_form_front” action=”<?php if (function_exists(‘bp_is_active’)) bp_signup_page(); else echo get_bloginfo(‘url’).”/wp-login.php?action=register”; ?>” method=”post” class=”custom form-search”><label class=”right inline”><?php _e(“Username”,’kleo_framework’);?>:</label><input name=”signup_username” required=”required” type=”text” placeholder=”<?php _e(“Required”,’kleo_framework’);?>”><!–end row–>
<label class=”right inline”><?php _e(“Email Address”,’kleo_framework’);?>:</label><input name=”signup_email” type=”text” required=”required” placeholder=”<?php _e(“Required”,’kleo_framework’);?>”><!–end row–>
<label class=”right inline”><?php _e(“Password”,’kleo_framework’);?>:</label><input type=”password” name=”signup_password” required=”required” placeholder=”<?php _e(“Required”,’kleo_framework’);?>”><label class=”inline”></label><input type=”password” name=”signup_password_confirm” required=”required” placeholder=”<?php _e(“Confirm”,’kleo_framework’);?>”><!–end row–>
<?php do_action(‘kleo_register_form_extra’); ?>
<button class=”button radius front-form-button”><i class=”icon-user”></i> <?php _e(“Sign Up”,’kleo_framework’);?></button>
<?php do_action(‘fb_popup_register_button_front’); ?><span class=”notch”></span>
</form>
<!–end search form–><?php
/* Show latest profiles carousel */
$show_carousel = false;
if (function_exists(‘bp_is_active’)) {
if (isset($bp_reg_form_show_carousel)) {
if ($bp_reg_form_show_carousel == 1) {
$show_carousel = true;
}
} elseif(sq_option(‘home_search_members’, 1) == 1) {
$show_carousel = true;
}
}if ($show_carousel): ?>
<!–Form footer–><?php do_action(‘kleo_bps_before_carousel’);?>
<?php echo do_shortcode(‘[kleo_members_carousel]’);?>
<!–end form-footer–>
<?php else: ?>
<?php $main_color_rgb = hexToRGB(sq_option(‘button_bg_color_hover’)); ?>; <?php echo ‘border-bottom: 10px solid rgba(‘.$main_color_rgb[‘r’].’, ‘.$main_color_rgb[‘g’].’, ‘.$main_color_rgb[‘b’].’, 0.3)’; ?>”><?php endif; ?>
<!–end form-wrapper–>
<?php if (!isset($bp_reg_form_show_cols)) { ?>
<!–end row–>
<!–end twelve–>
<?php } ?>Thanks 🙂
hotloverspassion
ParticipantCompare my pictures:
“Original home page” image with the register form and the header picture as it should be
“After log in” image is showing my home page after I’ve hidden the register form using the code in this topic. As you can see, the header picture got smaller and appears just at the top of the page ( I highlighted it in green color for you to see 🙂 That’s why I would like to also hide this header picture for logged in users so the home page won’t look messy.hotloverspassion
Participantsorry, I’m not with you…
Do you need a link to my website where the form is or the actual php file where I amended the text?hotloverspassion
ParticipantHi,
here are my credentials. My site is not live yet, so the link wouldn’t be much of help 🙂hotloverspassion
adminPlease find attached images.
Thanks 🙂
Petra
P.S. I’m not worried about the location of the register form yet as the image is there just for testing purpose. The image might be the same or completely different, I’m not sure yet. Once my site will be nearly ready, I will have to purchase the images so I’m leaving it to the last.
hotloverspassion
ParticipantSorry, forgot to attach the images 🙂
[attachment file=”Search form.png”]
[attachment file=123689]
hotloverspassion
ParticipantHi,
thanks for your suggestion, but I would prefer not to use any plugin for this issue as I don’t want to end up with too many plugins. My site is in English so I won’t find much of use of the mentioned plugin anyway.I’ve been searching through the forum and found the following advice:
To edit the text in a mixed form you need to find the register modal in page-parts of your ftp file and copy it to child theme following the same path, so it looks like sweetdate-child/page-parts/home-register-form.php
1- Go to your ftp file manager or filezilla
2- Go to wp-content/themes/sweetdate/page-parts
3- Copy the file home-register-form.php
4- Go to wp-content/themes/sweetdate-child/
5- Create the folder page-parts
6- Paste the file home-register-form.php inside the new folder page-parts in child theme.
7- Edit the file, find the text and change it, then save.Which I have done and it worked! But how can I make the font bigger and put the text in the form in the middle like I have done in my search form, so the styling of both forms would be the same? I just wasn’t sure where exactly and what exact code to put into the above mentioned php without ruining it all 🙂 Please compare the images attached.
Thanks 🙂
FYI: With the search form, I have put the following code inside the MAIN FORM table in wp-admin->Sweetdate->Buddypress->Search form customization:
<h4 style=”text-align: center;”><span style=”color: #ffffff;”>Search our members and</span>
<span style=”color: #ffffff;”> find your passion right now!</span></h4>
<h5 style=”text-align: center;”><span style=”color: #ffffff;”>(You can also use our <span style=”text-decoration: underline;”>advanced search)</span></span></h5>Not sure whether it was the right way of doing it, but it works. But as there is no such a table to put similar code into for the registration form, I believe that this would have to be done via css… I am still newbie and don’t want to mess everything up.
hotloverspassion
ParticipantHi,
I tried your code above and it works great! But I would also like to hide the header image as now after the form is gone, the site looks messy with the image smaller and right at the top of the page along with the navigation menu. I was thinking to hide the image using display: none; but I can’t locate the css for the header image. Can you send me the code?
Thanks 🙂hotloverspassion
ParticipantHi,
I would also like to change the text in the Register form, but when I follow your guidance, I am able to change only search form ( wp-admin->Sweetdate->Buddypress->Search form customization->MAIN FORM, or HORIZONTAL FORM ). Both mentioned forms refer to a search form but not to a register form. Any other idea?
Thanks for help 🙂hotloverspassion
ParticipantHi dsniche,
I’m having the same problem. I’ve already mentioned it to the guy from Geo My WP and he said that he will try to resolve the problem as I wasn’t the only one facing this issue.
BTW, have you found out how to hide the text “your search returned x members” yet? As this would be the temporary solution for me for now 🙂hotloverspassion
Participantthanks Radu for another option ( just in case I need it ) 🙂
BTW great support! Thanks to you all for what you do!hotloverspassion
ParticipantAre you using plugin BP Force Profile Photo? Coz I was counting on this to make everyone who register to upload photo. How can someone skip this part? When I try to register, once I log in, it doesn’t let me to do anything unless I upload a photo…
hotloverspassion
ParticipantTry Conditional profile fields for BuddyPress plugin 🙂
http://buddydev.com/plugins/conditional-profile-fields-for-buddypress/ -
AuthorPosts