Forum Replies Created

Viewing 15 replies - 481 through 495 (of 718 total)
  • Plugin Author donmik

    (@atallos)

    As I say before to jancbeck. It is not possible to create repeating fields using my plugin… My plugin only add new types of field… it does nothing more. Sorry…

    Plugin Author donmik

    (@atallos)

    I have no solution in your case. You need to check the other plugins. Try to deactivate plugins one by one until you find if one of them are the reason why my plugin don’t work for you.

    As I say before, in my test site, the uploading of image in registration is working as expected, so maybe it can be a conflict with a plugin installed in your site.

    Plugin Author donmik

    (@atallos)

    I don’t know if some plugin exists to do this, but you can do it coding for sure.

    Maybe this link can help you:

    http://buddypress.org/support/topic/create-a-list-of-users-from-extended-profile-field-value/

    Plugin Author donmik

    (@atallos)

    I don’t know where is the problem. You need to check other plugins you are using or versions of wordpress and buddypress.

    In my case, latest versions of buddypress, wordpress and my plugin, all work as expected but maybe I have a conflict with an other plugin you are using.

    Plugin Author donmik

    (@atallos)

    Hi,

    I believe the creation of directory failed, so I think the problem is maybe with permissions. You need to check if uploads and profiles directories have write permissions: 755.

    Plugin Author donmik

    (@atallos)

    Great! 😉

    Plugin Author donmik

    (@atallos)

    If you are using a custom theme, you need to write this code in your theme and not the buddypress default theme. In your case, for cbox theme, you can find the file in:

    /wp-content/themes/cbox-theme/registration/register.php.

    Remember if you use this code, you need to delete the css code I posted previously because it will not work with the javascript.

    Plugin Author donmik

    (@atallos)

    No, no, you need to put the javascript in your theme files. I don’t know what theme you are using but if you use default buddypress theme, you need to put this code in:

    wp-content/plugins/buddypress/bp-themes/bp-default/registration/register.php
    for registration.

    You can write the code at the end of the page.

    Plugin Author donmik

    (@atallos)

    I don’t know any plugin or way to allow a user to add fields.

    If you need to allow your users add dynamically communities, maybe you can do it with javascript. Create a textbox and with javascript create the feeling for the user that he is creating new fields for every community. Then you can save all data separated by commas or semicolons in the original field…

    Plugin Author donmik

    (@atallos)

    Hi,

    It’s javascript you can put it in the php or any javascript file loaded in register and search pages. If you use javascript you will not need the css code.

    Plugin Author donmik

    (@atallos)

    You’re welcome!

    Yes, you need to push the field area down adding more margin-top or you can increment margin-bottom for the label to push down the field. There is more than one solution, you need to decide what solution is better for you. In my opinion, I believe you’ll need add custom css for each case.

    For the “BRIEF BIO”, you need to add:

    textarea#field_11 {
      margin-top: 20px;
    }

    You can apply this to all textareas but in some cases it would not be good, you should need more margin-top or less. You need to study each case of your form. While I’m writing this, I was thinking instead of doing all this, maybe it was more easy using javascript to move the description.The next code would be much easier if you want to try and forget about position: absolute….

    <script>
        jQuery('p.description').each(function() {
            // Saving the parent div.
            var parent = jQuery(this).parent();
            // Searching for first label: Title of field.
            var label = parent.find('>label:first');
            if (label.length == 0) {
                // Searching for the title of field when field is checkbox.
                label = parent.find('span.label');
            }
            // Writing a copy of description after label.
            label.after(jQuery(this).clone());
            // Removing the original description.
            jQuery(this).remove();
        });
    </script>

    In the register page, you have this css applied to the title of checkboxes:

    #profile-details-section .checkbox span.label {
      margin-left: -1.3em;
    }

    You only need to apply this css also in your search form like this:

    .checkbox span.label {
    margin-left: -1.3em;
    }
    Plugin Author donmik

    (@atallos)

    I try to help you.

    To put the description below the title of the field, you need to use position: absolute. I’ll try to explain.

    First, create a class for the <div class=”editfield”> that is wrapping title, field, visibility and description.

    .editfield {
      position: relative;
    }

    Then, add this css to the class “form.standard-form p.description”. We are removing margin-top negative and put 0px. We are saying position: absolute and positionning 15px from top. The top is the previous div “editfield”. So it will appear just below the title of field but over the field.

    form.standard-form p.description {
      margin: 0 0 15px;
      position: absolute;
      top: 20px;
    }

    We need now to separate the field from the title to create space for our description. You can do this adding margin-bottom to the label (title of field) or adding margin-top to the fields. That’s all for description.

    For checkboxes, create this instruction in css:

    .editfield .checkbox label {
      text-transform: none;
    }

    The last one, I’m not sure I understand what’s the problem with visibility option. Maybe you need to minify the text or change the font, so it will not emphasize much on the rest?

    Plugin Author donmik

    (@atallos)

    You’re welcome!

    Plugin Author donmik

    (@atallos)

    Yes, it’s a bit complicated at first but there is a plugin you can use and makes it very easy: WP-Types. I highly recommend you this plugin if you want to use custom post types.

    Plugin Author donmik

    (@atallos)

    I don’t understand what you are talking about… In wordpress, you can create custom post types. If you create one custom post type you can use it for this field’s type.

    Imagine you want to add a country field. You can create a custom post type named country and create all the countries you need in this post type. Then you create the field country selecting custom post type and choosing country as the post type. When your user fill the form, he would see a select box with all countries you create and he will be able to select one.

Viewing 15 replies - 481 through 495 (of 718 total)