Forum Replies Created
-
i’ll need to pull it from the database like bp_core_get_user_displayname(), but the first and last name are custom fields i created in the buddypress registration form (http://www.cbtnest.com/img/regfields.jpg), how/where can i find out what those variables are named?
on my wordpress/buddypress site i want to offer webinars that users can register to with one-click using a properly formatted link, basically just need to know how to output the first and last name buddypress variables from the registration form, like you showed me above with the email address…
sorry for the noob mistakes, which code were you asking for?
i hope that’s what you meant… ?
<div class="register-section" id="profile-details-section"> <h4>Profile Details</h4> <div class="editfield field_1 field_first-name required-field visibility-public field_type_textbox"> <label for="field_1"> First Name (required) </label> <input id="field_1" name="field_1" type="text" value="" aria-required="true" > <p class="field-visibility-settings-notoggle" id="field-visibility-settings-toggle-1"> This field can be seen by: <span class="current-visibility-level">Everyone</span> </p> </div> <div class="editfield field_15 field_last-name required-field visibility-public alt field_type_textbox"> <label for="field_15"> Last Name (required) </label> <input id="field_15" name="field_15" type="text" value="" aria-required="true" > <p class="field-visibility-settings-toggle" id="field-visibility-settings-toggle-15"> This field can be seen by: <span class="current-visibility-level">Everyone</span> <a href="#" class="visibility-toggle-link">Change</a> </p> <div class="field-visibility-settings" id="field-visibility-settings-15"> <fieldset> <legend>Who can see this field?</legend> <ul class="radio"> <li class="public"> <label for="see-field_15_public"> <input type="radio" id="see-field_15_public" name="field_15_visibility" value="public" checked='checked' /> <span class="field-visibility-text">Everyone</span> </label> </li> <li class="adminsonly"> <label for="see-field_15_adminsonly"> <input type="radio" id="see-field_15_adminsonly" name="field_15_visibility" value="adminsonly" /> <span class="field-visibility-text">Only Me</span> </label> </li> <li class="loggedin"> <label for="see-field_15_loggedin"> <input type="radio" id="see-field_15_loggedin" name="field_15_visibility" value="loggedin" /> <span class="field-visibility-text">All Members</span> </label> </li> <li class="friends"> <label for="see-field_15_friends"> <input type="radio" id="see-field_15_friends" name="field_15_visibility" value="friends" /> <span class="field-visibility-text">My Friends</span> </label> </li> </ul> </fieldset> <a class="field-visibility-settings-close" href="#">Close</a> </div> <p class="description"></p> </div>
sure, which code are you referring to?
thanx for your help
right, thanx, but how can i get the buddypress variables for first name and last name? here’s the registration page users fill out:
found it, BuddyPress Group Calendar was the culprit, redundant because i also have Events+
that worked!
thanx for the great support! very appreciated 🙂
d-uh 🙂
any chance you can tell me from my code below which is the right name to substitute instead of .mytextbox ?
would it be bp-login-widget-user-login and bp-login-widget-user-pass ?
(relatively new to css, sorry)<div class="block"> <div class="block-border"> <div class="block-content"> <div id="bp_core_login_widget-3" class="widget widget_bp_core_login_widget buddypress widget"> <h4 class="widgettitle"></h4> <div class="widgetcontent"> <form name="bp-login-form" id="bp-login-widget-form" class="standard-form" action="/wp-login.php" method="post"> <label for="bp-login-widget-user-login">שם משתמש</label> <input type="text" name="log" id="bp-login-widget-user-login" value="" width="10" />
i tried adding the following code to my active theme’s style.css file but it didn’t work. should i be adding it to a specific buddypress file?
.mytextbox { width: 100%; }
thanx that worked 🙂
but if i shouldn’t hack core files, where do i correct the width of the login input fields which are too long for my sidebar?
FINALLY! thank you!!
are there any side effects due to this change?
thanx!
ok, i’m just starting out so no rush, i’ll wait for the official announcement on the 16th…
thanx!