Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 12,726 through 12,750 (of 32,678 total)
  • Author
    Search Results
  • zintax
    Participant

    Hello BP Community.

    I’m currently working on a website that uses a combination of WordPress 3.6.1, Buddy Press 1.8, BAUT Pro, WPMU.org’s Membership plugin and an Auction Theme.

    A list of general info about the dynamic of the site:
    – The site will allow users to post items to be auctioned. A niche-specific ebay of sorts.
    – Upon Registration, users can choose to be either an Individual Seller, or a Pawn Shop. Depending on the user_type selected, a user is either assigned a Subscriber or a Contributor level (BAUT Pro does this)
    – If a user registers as a Pawn Shop, they’re later permitted to purchase a monthly subscription plan that will allow them to have a Custom Profile page where they can add a custom header, all their store locations, promotions, and much more. Individual users are not presented with any of this.
    – Finally, there is a DIRECTORY that lists all Pawn shops that have purchased the monthly subscription and links to each of their pages

    This last point is where I have the issue.

    Because I split users in Subscribers and Contributors upon registration, I’m able to use my members-loop.php page to list all Contributors. This gives me an updated list of all users that were registered as Pawn shops, but I would like that SQL Query to also LEFT JOIN with my membership table, where it only lists Contributor level users that have an active subscription.

    My current solution was to add this line at the top of my members-loop.php:

    
    $subscribers = $wpdb->get_results('SELECT  <code>user_id<code>FROM</code>wp_m_membership_relationships<code>WHERE</code>expirydate

    >= NOW( ) ‘ , ARRAY_N );

    .. then, y added the following:

    
         while ( bp_members() ) : bp_the_member();
    	
         if(count($subscribers[0])>0){
    	if (in_array(bp_get_member_user_id(), $subscribers[0])) {
              ...
            }
         }
    
         endwhile;
    

    Essentially I skip any user that is not part of the initial array. However, this doesn’t work since this guy: bp_members_pagination_count() and this guy bp_members_pagination_links() still show the total amount of Contributors/Pawn shops.

    I’ve concluded that the ideal solution would be to try and alter bp_members() only when accessing that specific page so that I may extend the actual MYSQL query, that way I get the correct count and pagination.

    What do you think?
    Am I way off?
    Is there a better way?

    bp-help
    Participant

    @shaungreen
    I am not sure I am following you but if you deactivated that plugin and a new user can register and activate an account and login successfully then this is not a BP or bbPress issue. It needs to be taken up on that plugins support forum if you insist on using this plugin. Otherwise you may want to look into alternatives! I have used:
    https://wordpress.org/plugins/bp-force-profile/
    It forces a user to complete the required xprofile fields before they can interact with the site and seem like a good deterrent against spam registrations.

    Shaun
    Participant
    Shaun
    Participant

    Hi @bphelp

    Its looks like its the following plugin;

    At the moment I want to moderate membership signup which the plugin provides to cut down on spam members. Would I be best speaking to the plugins forum?

    #172803
    Henry
    Member

    Did that make sense? where I said “This would work well if (2) wasn’t happening to begin with. Then again if (2) wasn’t happening to begin with you wouldn’t have the problem.” – I should have actually said (1)!

    #172801
    Henry
    Member

    @starapple

    This webpage has a redirect loop

    This is likely to result from two redirects in place. 1. wp-login.php is redirecting to the BuddyPress login page. 2. The BuddyPress login page is redirecting back to the wp-login.php page.

    From this, I’m assuming you’re using the firmasite_redirect_bp_signup_page function? This would work well if (2) wasn’t happening to begin with. Then again if (2) wasn’t happening to begin with you wouldn’t have the problem.

    The solution here would be to find out how BuddyPress is redirecting people away from wp-login.php and remove that redirect. I think r-a-y’s remove_action gist is what you want. The rest of the code you’ve added I think is safe to remove.

    #172799
    starapple
    Participant

    No luck. With the add_filter code I get a time out on the server with this message from Chrome:

    This webpage has a redirect loop

    Reload Less
    The webpage at http://www.site.com/wp-signup.php has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer.
    Learn more about this problem.
    Error code: ERR_TOO_MANY_REDIRECTS

    Without the filter, I just end up with the BuddyPress registration page.

    Maybe the plugin is outdated. It uses the format http://www.site.com/?reglevel=author, which, come to think of it isn’t odd because that’s the same as for logging out.

    Chris2012
    Participant

    Hi,
    I am trying to create a members-only site with WordPress V3.6.1 and although I have made some progress, I have some problems.

    I have 3 plugins installed, and am not sure if they are conflicting, superfluous or complementary. In addition to Buddy Press v1.8.1 and Buddy Press Login Redirect v 2.1, I have WordPress Access Control V3.1.4 activated. I have also tried a number of others which I have de-activated, but am not sure to what extent, if any, some of the data I am seeing is a legacy of those plugins.

    At present I seem to have discrepancies between the user profile as shown on the WP admin dashboard and the members profile on the site, eg the site shows the fields created using the WP Dashboard Users/Profile Fields (which I assume is a BP process); this includes Address and Notes Fields. However the profile accessed through the Dashboard/All Users Edit User does not show these, but does include fields named First Name, Last Name, Nickname(required) & Biographical Info, which I suspect are hangovers from one of the other plugins which I tried. I have added these to the Profile Fields, but the data displayed in two views of the user profile doe not match, so I imagine that the new fields have different names to the originals. In fact having inspected the two pages, I see that what is “last_name” on the dashboard is “field_7” on the User profile setup.

    I imagine that editing the user-edit.php should solve the problem but I am not confident that I could to this and feel that it should not be necessary each time I update the user profile set up, so there must be a simpler solution. Can you please suggest how I get the wp-admin/user-edit form to align with the wp-admin/ profile setup?

    I would also like to provide the option to display a member’s email address on the profile page, but at present the only way I can find of doing that is to create a second email field, but asking members to enter it twice does seem unprofessional.

    I hope that makes senses and that someone will be able to suggest a simple solution.

    #172795
    starapple
    Participant

    Gentlemen, thanks for your prompt and direct replies. I will share the results soon.

    #172794
    aces
    Participant

    fair enough… I don’t use either…

    #172793
    bp-help
    Participant

    @aces
    Actually the second snippet on that page is a redirect which works well when combined with r-a-y ‘s code.

    #172792
    bp-help
    Participant

    @starapple
    Create a bp-custom.php if you dont have one already. For more on that see:
    https://codex.buddypress.org/plugindev/bp-custom-php/
    Then copy both snippets from the below link into bp-custom.php :
    https://gist.github.com/r-a-y/5578432

    #172791
    aces
    Participant

    @starapple

    There are two different ways to disable buddypress registration on https://gist.github.com/r-a-y/5578432

    #172790
    starapple
    Participant

    Greetings. Is there a way to enable the standard wordpress registration link /wp-login.php?action=register to avoid using the BuddyPress registration?

    I use the RegLevel plugin in special communication and links for some invitees to register in a particular role. The URL now redirects to the BuddyPress registration instead of the unique page for the role.

    #172789
    szed
    Participant

    I already tried it. But it display only the loop, not the form.
    Also, i use this plugin : https://wordpress.org/plugins/buddypress-activity-plus/

    daved42
    Participant

    The avatars do not displaying, and they were a few days ago. All the other user information, such as activity and custom fields display. I changed the permalinks yesterday to include %category% and changed some Wordpesss SEO settings. I have confirmed the avators are in the wp-content/uploads/avatar directory and looking at the browser source code the.

    My site name WordPress Address (URL) and Site Address (URL) are not the same.

    Any ideas?

    #172773
    Hugo Ashmore
    Participant

    Please never advise people edit core files. Core files must never be edited as you may cause unintended issues to develop and changes will be overwritten on update.

    The code Henry showed is how one displays a tag cloud in template files https://codex.wordpress.org/Function_Reference/wp_tag_cloud

    The question is how your theme is handling this, directly coded to sidebar/s? some function that is called in some manner? hard to tell how the theme manages it so you really need to address the question to the theme author, also it not really a BP question really as this is a WP function.

    #172770
    zorro1965
    Participant

    Thanks but the http://www.bpinspire.com/ I thought was more of a showcase for BP sites instead of a demo play area.

    Also, is http://bpdevel.wordpress.com possibly and indication that BP may be moving toward being part of or supported by core WP team in the future?

    #172769
    bp-help
    Participant

    @zorro1965
    BP is still in active development. You can view some sites here:
    http://www.bpinspire.com/
    Keep track and feel free to participate here:
    http://bpdevel.wordpress.com/

    #172762
    Biswadip
    Participant

    Thank you thank you @cpagan200 and @halo-diehard – you have saved me hours of perplexment and bemusement with your germane intervention.

    #172754
    bp-help
    Participant

    @jptdesrosiers
    Never tried it but you can:
    https://wordpress.org/plugins/baw-invitation-codes/
    On the front page follow the link to the Developers tab for the version that should work with BuddyPress! Let us know how it works out for you!

    #172749

    In reply to: 'Survey' Project

    @mercime
    Participant

    I would like to create a section where people can sign in and answer questions and add their image and then have people see their answers.

    @cortttt Sure. Use BuddyPress Extended Profile Fields to highlight the best of your community https://codex.buddypress.org/buddypress-components-and-features/extended-profiles/
    Make sure that Extended Profiles is checked in wp-admin Settings > BuddyPress > Components

    At the top of the sections would be a running total…total years lost to illness

    Check out https://wordpress.org/plugins/buddypress-xprofile-custom-fields-type/ and then customize the plugin to include the running total years lost to illness or use/rename birthday field

    #172746
    @mercime
    Participant

    @mattadams premium theme clubs usually have forums support for its members. Have you tried searching the forums re BuddyPress compatibility or asking if theme author can provide it? We have no access to the premium file so have no clue what proprietary templating system it’s using that’s circumventing easy integration with BuddyPress.

    One solution could be as simple as creating a buddypress.php file which contains the WordPress loop with the_title and the_content tags along with the necessary HTML structure and theme tags. You’d then upload that file to the root of your theme’s folder in server and that’s it.

    Theme Compatibility & Template Files

    Template Hierarchy

    Good luck!

    #172743

    In reply to: No sidebars?

    @mercime
    Participant

    @fpats BP works with nearly all WordPress themes. It doesn’t work perfectly in themes with proprietary templating systems but there’s a solution for that.

    You can ask the theme author for a buddypress.php file which has the WP with the_title and the_content among the theme’s template tags for that specific theme. Upload that buddypress.php to the root of your theme folder in server and all BuddyPress components will use that file to autogenerate content.

    #172742
    bp-help
    Participant
Viewing 25 results - 12,726 through 12,750 (of 32,678 total)
Skip to toolbar