Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'questions'

Viewing 25 results - 276 through 300 (of 2,115 total)
  • Author
    Search Results
  • #260003
    Boone Gorges
    Keymaster

    Hi @danbp – Sorry to hear that you’re having issues with the Group Type functionality. Your posts contain a couple different comments and questions, which I’ll try to address separately.

    First: An orderby=group_type parameter sounds like an interesting enhancement idea. It’d possibly be even more interesting if we could “group” results by type, but our group loops aren’t easily set up for that.

    Group type data is stored in the WP taxonomy tables. This decision was made because groups are in are many-to-many correspondence with types: a group can have multiple types, and a type can have multiple groups. But it does make it difficult to sort by type, both technically and conceptually. Technically, WP itself doesn’t natively allow sorting by taxonomy term for posts. Conceptually, if a group belongs to more than one type – say, ‘aaa’ and ‘zzz’ – it’s not clear where in the alphabetical order it should go.

    That said, if you really wanted to sort by type, you could do it by filtering the group query SQL, and joining against the term_relationships and term_taxonomy table. The query would have to look something like this:

    SELECT ... JOIN $wpdb->term_relationships tr ON (tr.object_id = g.id) JOIN $wpdb->term_taxonomy tt ON (tt.term_taxonomy_id = tr.term_taxonomy_id) WHERE ... tt.taxonomy = 'bp_group_type' ... ORDER BY tt.name

    > And when you click for example on All Groups (the default group directory page) you remain on /groups/groupname/type/typename/. Bad UX !

    For 2.7, we’re disabling AJAX for these queries, because of these UX concerns. Thanks for reporting the issue.

    > My feeling about group type, is that it is implemented to be used inside of group create step first and in a single group as second. In brief, it’s an information for single groups.

    As I see it, the issue here is that you’re trying to combine grouping-by-type with the groups loop. Your use case is valid, but I don’t think it’s the only, or even the primary, use of group types. Just having the ability to filter by group type (example.com/groups/type/foo) is very useful for many implementations.

    Thanks for sharing your thoughts – it’s really helpful as we continue to improve the group types feature.

    #259940
    danbp
    Participant

    As already said: it’s constructed.
    The site url is defined in WP general settings and stored in wp_options table
    The user name is stored in wp_users table
    For the other questions about DB, read:

    BuddyPress Database Diagram

    WordPress database schema

    #259898
    karennadine
    Participant

    I have moved my site from Ning to Wp/Buddypress with a bbpress integration a few weeks ago. I was able to import a lot of content except the forum topics/responses.

    What I did was this:
    – used the export tool from Ning
    – used the import tool to import ning to Buddypress
    All my members (not that many, around 34 at that time) and their profiles, usernames, etc were transferred. All blogposts from Ning were imported as well.
    It was easy for members to activate their account on my new Wp/Buddypress site.

    The only down thing was that I had to manually copy topics and responses from the forum since I was unable to import this due to an error in the json file. I tried to repair that file but with no succes.

    I hope this helps, should you have any questions please let me know. Like you I browsed many old topics and was unable to find any recent topics, so I just started out with trail and error to do it all myself.

    Karen

    metalhead
    Participant

    So just to be clear, my registration form does not ask for real name. It asks for username, email address, password, and then it proceeds to the extended profile questions. But it does NOT ask for “Display Name,” it just copies whatever the user typed for username into the “Display Name” field. A friend of mine created the function, and I am not extremely PHP literate, but this is working on my site.

    I’m a little embarrassed, because I don’t know exactly where in the code is this function that my buddy created for me, so I will have to give you the URL to my register.php file, and then you can view it in it’s entirety. (Code view with your browser.)

    Click here to see my register.php

    #259761

    In reply to: Online Status

    Julian
    Participant

    @danbp I use the widgets “BuddyPress Friends” and “BuddyPress Members”. I use 1 sidebar. The theme supports 2. I have no specific sidebar. Have I answered all the questions?

    #259554
    danbp
    Participant

    Hi,

    you’re on the BuddyPress support forum where we can’t help for third party plugins.
    If you have questions related to bbPress (if you use this plugin), you have to ask on their support.

    For BuddyPress for Sensei plugin or WC Sensei, you can check the doc and/or ask on the plugin support too.

    #259309

    In reply to: Who’s Online Widget

    tronix-ex
    Participant

    Well I appreciate your quick responses over my questions but I have to find a way because its my client requirements.

    Could you help me in these items please?

    1. how to get the total number of current online users?
    2. I need to add auto refresh on the current online users list
    3. how to get the last activity date of each current online user?

    Thanks again,

    #259308

    In reply to: Who’s Online Widget

    danbp
    Participant

    I have no real idea for this. You have to code that as nothing ready to use exist. Similar question here.
    Note also that BP pages are dynamic, so what ever you can built won’t, imo never, be exact.

    Ie. user A is on a profile activity and another is on members directory. What would you get ? At best, only the /members/ page… that is a bit vague, no ? And who cares, outside evtl. you ?

    Note also that the nav history is browser territory, and that each client has different settings, even deactivated history, so you can’t really trust user’s history…

    My recommandation would be: don’t loose your time trying to do this. BP let members know about there activities, focus on this and encourage it, instead of tracking there navigation. 😉

    #259299
    danbp
    Participant

    Hi,

    you are on the BuddyPress support.
    bbpress questions should be asked on bbpress support.
    And as you use Loco Translate plugin, and apparently have an issue with it, you have to ask on the LT plugin support.

    To get more about chinese translation, help and much more, please read the Polyglots blog.

    #259212
    danbp
    Participant

    Hi,

    color scheme’s are usually defined by the theme. Positioning elements needs some ID’s or class correctly defined and a medium knowledge for HTML & CSS handling.

    if you create a child theme, you can change a lot of things related to BuddyPress, including CSS.

    Read through the theme guidelines on BP Codex to get a general overview and check also the documentation of your theme.

    Unfortunately, you use a premium theme and, as we have no access to his code, we can’t assist you more for it. Any questions related to it should be asked on your theme support.

    But don’t hesitate to search the BuddyPress forum using keywords like css, template and so on…

    #258878
    ngiderin
    Participant

    Hi @shanebp, thank you for creating an awesome plugin and responding.

    We are so impressed looking up into WC Vendors Map and we are now getting interested to apply WC Vendors Map.
    We see that the store are already embedded into the pop-up window, and when we click on them, the shop and products are shown promptly, which we really like.
    Yet there are still some lingering questions:

    1. Can WC Vendors Map displays the vendor’s current location automatically?
    Our vendors are very mobile, we would love to enable them to update their current location easily.

    2. We are going to display vendors by their roles (category), would WC Vendors Map able to sort which category (vendor roles) are on display?
    This is the main thing that made us choose Geo My Wp (for their Exclude Members add-on).

    3. Can the vendor set the time when they would be showing on the map based on their working hours (whether they are on business or OFF business)?
    We are concerned of the density (over-crowding) of map markers on the map displayed.

    Could you please answer us by the order of the numbers above, we are hoping that WC Vendors Map can be the solution.

    If no, is there any suggestion that you may advise us to accomplished the points above, whether they are plugins or add-ons.

    We are looking forward to hearing from you @shanebp, thank you for your time and advice.

    #258672

    In reply to: activity primary key

    danbp
    Participant

    Hi,

    a mysql error has nothing to do with BuddyPress.
    #1062 – duplicate entry ‘190’
    Normally you re-import datas in empty tables when you restore. In your case it seems that an entry with an ID ‘190’ was already in bp_activities table…

    More details here
    http://stackoverflow.com/questions/29545733/error-1062-duplicate-entry-in-mysql

    http://www.w3resource.com/mysql/administration-tools/phpmyadmin-tutorial.php

    #258624
    claudiosinopoli
    Participant

    Hi danbp!
    Thanks for your prompt reply.

    Replying your questions:
    – Yes, group creation is allowed for all users
    – Yes, it works in the usermenu

    You can visit my website at http://www.claudiosinopoli.com/sinergy/ and login with the following
    user: aldo
    pwd: aldo

    As you can see if you are in the page http://www.claudiosinopoli.com/sinergy/groups/ you get the button but when you are in http://www.claudiosinopoli.com/sinergy/members/aldo/groups/ the button is missing.

    The same is happening with the Twenty-Sixteen (see HERE)

    If required I can give you admin access.

    #257943
    danbp
    Participant

    Haven’t you found that plugin ?

    Introducing BP Group Activities Notifier plugin for BuddyPress

    Don’t omit to read the comments too. They’re several questions who can interest you.

    #257812

    In reply to: Register LABEL

    danbp
    Participant

    Hi,
    have you done this ?

    – create a new field
    – enter Birthday as title
    – give a description
    – Under Type section, select date selector
    – save

    When you’re on a profile’s edit page, you should see
    – title
    – date selector (day, mounth, year)
    – This field can be seen by:….
    – the field description

    If you highlight the whole and check his source code, you would see something like:

    <fieldset class="datebox">
    
    	<legend>Birthday</legend>
    
    	<div class="input-options datebox-selects">		
    		<label for="field_xx_day" class="bp-screen-reader-text">Select day</label>
    		<select id="field_xx_day" name="field_xx_day">
    			<option value="">----</option>
    		<label for="field_xx_month" class="bp-screen-reader-text">Select month</label>
    		<select id="field_xx_month" name="field_xx_month">
    			<option value="">----</option>
    		<label for="field_xx_year" class="bp-screen-reader-text">Select year</label>
    		<select id="field_xx_year" name="field_xx_year">
    			<option value="">----</option>
    	</div>
    </fieldset>

    If you can read this code but don’t see it’s ouput on your theme, you have to find which CSS rule is handling the labels.

    Could be a simple contrast issue or something omitted somewhere.
    To get sure of this, try first with one of Twenty’s theme.

    And if possible, answer the questions you already received from Paul and give some details about your install: used theme and plugins at least.

    danbp
    Participant

    Yes, that was already clear. But what about the other questions ?

    #257081
    Henry Wright
    Moderator

    Forum topics are a bbPress thing. If you have questions related to those, bbPress is the best place:

    https://bbpress.org/forums/

    #256995

    In reply to: Profile Print

    r-a-y
    Keymaster

    You’d have to add a custom “Print” button in your template. Or perhaps you could use a WordPress plugin.

    If you go the custom code route, here’s an article that might help:
    http://stackoverflow.com/questions/16894683/how-to-print-html-content-on-click-of-a-button-but-not-the-page

    #256823
    danbp
    Participant

    @eli225, please calm down. @sharmavishal is only trying to help you !

    It’s not easy trying to help people asking questions without giving much details. It’s the case with this topic and your previous. Have you even read this before asking ?

    This is not possible: Buddypress Profiles Display In Wrong Order as it is not BP but the site admin who determines this.

    xprofile fields and xprofile field groups (what you call section i suppose ) are drag’n’dropable.

    If despite a correct positionning in the backend, the order changed on front-end, two possibilities: the drag’n’drop was to fast or there is a js error/latentency/cookie somewhere. And this is generally due to the theme in conflict with a plugin (which could be BP).

    Unfortunately, kleo is a premium theme for which you can’t expect assistance here, as we have no access to it’s code.

    For the part related to BuddyPress, note that the actual version works flawlesly with the xprofile component. Nobody related a similar issue to yours recently.

    So back to handcrafted annoying but very related questions:
    What do you call section ?
    Which type of field do you use ?

    Also related to general debug work:
    Have you tested with another theme ?
    Have you tested without any other plugin as BP ?

    #256818
    knowitallnz
    Participant

    Hi Jrzvw,

    Were you able to fix this?

    I can’t find where to start a new questions so i will just add to this one?

    My current site only shows the members that were active. There is 50 WP members registered but only 22 showing on ALL MEMBERS page. I feel the amount of members showing will influence the amount that will join up. SO this one time I would like to have it show all registered members and after it can just add them as they are active.

    I tried : add_filter( ‘bp_get_total_member_count’, ‘bp_core_get_total_member_count’ ); in the theme function.php and also bp-custom.php BUT it did nothing.

    I tried a few other suggestions e.g one that did make the last activity of all users registered to be a certain time, however this made all the Members look as they are logged in. Is there any code I can insert in function.php that will show the members registered and not just the active ones?

    Cheers.

    Link to my test site:

    BP 2.6.11
    WP 4.5.3

    coffeywebdev
    Participant

    I think ‘bp_init’ is the wrong hook.. Try using ‘bp_core_signup_user’

    function save_wc_address() {
     	if ( wp_verify_nonce( $_POST['bp_settings_general'] ) ){		
    
    		$user_id = sanitize_text_field( $_POST['user_id'] );
    
    		//sanitize input data
    		$billing_phone = sanitize_text_field( $_POST['billing_phone'] );
    
    		//update user meta
    		update_user_meta( $user_id, 'billing_phone', $billing_phone);
    
    	}
     }
     add_action( 'bp_core_signup_user', 'save_wc_address');

    source:
    http://wordpress.stackexchange.com/questions/160475/how-to-increase-password-requirements-for-registration

    #256639
    gorbett
    Participant

    thanks for all the help. I ended up doing something like this in my functions.php child theme:

    function assign_username() {
        if ( isset( $_POST ) ) {
            $_POST['signup_username'] = create_username();
        }
    }
    add_action( 'bp_signup_pre_validate', 'assign_username' );
    
    function create_username() {
        $i = 0;
        $username = $_POST['field_3'] . $_POST['field_4'];
         while ( username_exists( $username ) ) {
             $username = $username . ++$i;
         }
        return $username;
    }

    However, now I have some weird behavior that is asking me if I want to leave the page when submitting the form (typical window.onbeforeunload event when entering information: http://stackoverflow.com/questions/1119289/how-to-show-the-are-you-sure-you-want-to-navigate-away-from-this-page-when-ch) although I have no idea what is triggering it on my custom register.php (https://pantest.centralus.cloudapp.azure.com/register/).

    So I think my code above solves my $_POST issue, but now I have another one. Going to run through some tests to debug it now.

    Thanks again for the prompt help. Was hoping people still check out these forums.

    Jeremy Pry
    Participant

    Thanks all for the quick replies. I don’t mean to ignore all of your helpful questions and suggestions, but those may not be needed anymore.

    After getting a chance to speak with a colleague who’s been out of the office for a while, I was able to identify the problem here. A function from a custom plugin was filtering both the bp_before_has_activities_parse_args and bp_after_has_activities_parse_args filters, and the specific problem was that it was setting $args['include'] to an empty string. This removed the comment ID that was supposed to be part of the query, and resulted in the wrong query. We don’t know why it was doing this in the first place, but it has been corrected and the infinite loop has been fixed.

    Regardless, it may be beneficial to include some checking in this code to prevent the possibility of an infinite loop even for edge cases like this.

    #256590
    tonywillis
    Participant

    So is this is definite “Object cache doesn’t work inside W3 Total Cache” because it breaks password resets? This seems to be my experience.. I’ve whitelisted registration, membership (Paid Memberships Pro) and activation pages in the page cache but seem to have issues with password reset and account activation since using activating xcache Object Cache within W3.
    So my questions are:
    1) is there a different object cache plugin I could use alongside w3 (which is great for its page cache etc)?
    2) is this issue unique to xcache? Could I use APC instead?
    3) are there any other integrated cache solutions that work with Buddypress that include object cache? The benefits to my site speed have been huge since activating.. It’s just the account activation issue
    Thanks

    #256578
    coffeywebdev
    Participant

    also ‘bp_signup_validate’

     function bp_password_beefing() {
     global $bp;
    
     if ( !empty( $_POST['signup_password'] ) )
       if ( strlen( $_POST['signup_password'] ) < 6 )
        $bp->signup->errors['signup_password'] = __( 'Your password needs to be at least 6 characters', 'buddypress' );  
     }
     add_action( 'bp_signup_validate', 'bp_password_beefing');

    source:
    http://wordpress.stackexchange.com/questions/160475/how-to-increase-password-requirements-for-registration

Viewing 25 results - 276 through 300 (of 2,115 total)
Skip to toolbar