Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 11,876 through 11,900 (of 22,660 total)
  • Author
    Search Results
  • #137500
    Paul Wong-Gibbs
    Keymaster

    And if someone could be extra kind and create a trac ticket for this over at https://BuddyPress.trac.WordPress.org — be sure to link back to this discussion — I’ll be your BFF.

    Roger Coathup
    Participant

    It’s straightforward to do in BuddyPress – @hotsitez has already pointed you to the basic function for echoing profile field values (which is also documented in member-header.php), and I’ve told you which files you need to look at.

    As a PHP coder, you should be able to walk through those files to find the appropriate points in the code to hook actions in or modify your templates. You should also be able to search the BuddyPress codebase to find profile field functions you can call — start with the one @hotsitez gave you.

    You can also look on the documentation (codex) area of this site for information about the profile field loop which may help you further – and point you to how base and other profile field groups are handled.

    [Edit: and, if you want to learn about the action, filtering paradigm for development, you can find introductory articles on the wordpress.org codex]

    Well, yes and no @hotsitez….

    Here’s what I have:

    I went into WordPress/BuddyPress via wp-admin — then navigated to Buddy Press > Profile Fields

    On the Extended Profiles Fields page, I added a “Start Date” for our members to populate which is the date they started with our company. Then on the Base (Primary) tab on that page, I got my extended field positioned where I want it to display.

    Perfect (so far).

    Now what I want to do is apply some PHP to calculate how many months and years the person has been with our company and parenthetically display it next to the start date value on the member’s profile page in Buddy Press when people view a person’s profile.

    How To Do That?

    So where/how in member-header.php do I add that bit of PHP code? Note, I am a PHP coder, so I have no problem producing the code to make the calculation — I am not asking for that guidance. I simply need to know (a) what script/document file do I go to to add my code, (b) where in the page production stream in that script/document file do I add my code, and (c) how do I grab the start date value that is stored in the BuddyPress DB?

    This maybe too complicated for Buddypress to do, but I am willing to give it a shot.

    [Note: I toyed around with member-header.php per @hotsitez suggestion. The profile area that this script impacts is the upper “header’ area for a member. I am interested in getting into the flow of the Profile > Base page.]

    #137441
    Paul Wong-Gibbs
    Keymaster

    On multisite, all user registration is tunnelled through the same place. This is a standard WordPress behaviour. So yes, they’d see the BuddyPress registration templates.

    #137440

    In reply to: banner advertising

    Paul Wong-Gibbs
    Keymaster

    Yes. Just put them into your theme, as you would on any WordPress-powered site.

    Jason
    Member

    1. Which version of WordPress are you running?
    3.4.1
    2. Did you install WordPress as a directory or subdomain install?
    subdomain
    3. If a directory install, is it in root or in a subdirectory?
    n/a
    4. Did you upgrade from a previous version of WordPress? If so, from which version?
    n/a
    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g.
    permalinks, creating a new post, commenting.
    Yes, and it still is
    6. Which version of BP are you running?
    1.6 beta
    7. Did you upgraded from a previous version of BP? If so, from which version?
    1.5 something
    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
    nope n/a no conflicts
    9. Are you using the standard BuddyPress themes or customized themes?
    Frisco BPChild theme
    10. Have you modified the core files in any way?
    Not yet
    11. Do you have any custom functions in bp-custom.php?
    nope
    12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
    nope
    13. Please provide a list of any errors in your server’s log files.
    none
    14. Which company provides your hosting?
    Linode
    15. Is your server running Windows, or if Linux; Apache, nginx or something else?
    Nginx, fpm-php ubuntu

    ? This was really just a bump, I don’t think any of that info matters. My question is more of a developers question.

    #137432
    Roger Coathup
    Participant

    You’ll probably need to upgrade your BuddyPress version for compatibility with the latest version of WordPress.

    Unfortunately, a number of look / feel aspects typically change when you upgrade BuddyPress (particularly coming from a relatively old version). It often requires developer support to upgrade and retain your site’s design.

    Some questions that will help you get further support:

    What version of BuddyPress are you on / were you on previously?

    Which ‘off the shelf’ theme (if any) are you using?

    If bespoke theme – is it a child of another theme – which version?

    @mercime
    Participant

    @michaeljdornan best place to ask is at https://wordpress.org/support/plugin/bp-multi-network wpmuguru does answer forum questions

    Having said that, you can try this plugin which I know works with the other BP MultiNetwork plugin by sbrajesh http://buddydev.com/buddypress/introducing-join-blog-widget-for-wordpress-multisite/

    Roger Coathup
    Participant

    For details on adding a search form to a page, check out this documentation on WordPress.org.
    https://codex.wordpress.org/Creating_a_Search_Page

    To add your page to the main nav menu, visit Appearance.. Menus in wp-admin and configure your menu.
    https://codex.buddypress.org/extending-buddypress/how-to-set-up-your-main-site-navigation-using-the-built-in-wordpress-menus/

    And finally, the other page you are seeing is just the standard 404 page (page not found), which contains a search form by default.

    #137395
    Roger Coathup
    Participant

    @ndugger I don’t know of a plugin that supports these permissions — so, you’d would need to get your hands dirty in the PHP code. I would suggest assigning WordPress user roles to members, and then in the group template files enabling / disabling the Join capability based on user role.

    We (21inspired) have some plans with regard to photo albums, but they are a little way off.

    Roger Coathup
    Participant

    it’s not a function itself… it’s a call to the do_action() function, passing ‘bp_after_sidebar_me’ as the parameter. The call is being made in sidebar.php in the bp-default template folder.

    You can find these things by searching through a buddypress install in any good code editor / development environment.

    do_action() itself is defined in the core WordPress files. In this case, do_action() will invoke any functions that you hook onto the bp_after_sidebar_me action.

    #137381

    I’m using a theme called Salutation, and I used the workaround discussed here: https://codex.buddypress.org/releases/developer-and-designer-information/ under “Member settings pages are blank”

    This worked, but there’s no CSS / HTML formatting, everything is just stacked on top of each other. It seems as if it just needs a page template to feed off of in order to display correctly. Is there some way I can point the BuddyPress settings files to my WordPress settings page or vice versa?

    Roger Coathup
    Participant

    @frank13 — there is no specific script for a do_action ( ‘abc123’ );

    You have to register functions (hooks) that are invoked by the do_action — check out these pages from the WordPress Codex for more information on programming actions: https://codex.wordpress.org/Plugin_API

    #137373
    @mercime
    Participant

    @ploupas On the theme end, Mystique is version 2.5.7 in the WP theme repo. https://wordpress.org/extend/themes/mystique. Based on scan of its current page.php, my instructions above still hold.

    @mercime
    Participant

    == I can’t seem to save/change the Page Attributes of the BuddyPress created pages. ==

    It’s because you can’t do that at this time @blinkybill01.
    BP pages are using the BP template files transferred during the compatibility process, the very same files we’re going to revise here.

    == Also, I’ve noticed that with the most recent WordPress update, I’ve been getting more and more 406 errors. Is this something I should contact my hosting company about? ==

    Haven’t encountered those errors yet. Yes, you should contact your webhost since 406 errors are usually related to suhosin security extension or Apache mod_security and the like.

    #137368
    Roger Coathup
    Participant

    To learn about template files in WordPress, your best starting point is the WordPress docs: https://codex.wordpress.org/Template_Hierarchy

    modemlooper
    Moderator

    If you want just a list of your Pages then Roger’s suggestion is easiest.

    Study this: https://codex.wordpress.org/Function_Reference/wp_list_pages

    #137355
    Roger Coathup
    Participant

    You can also try increasing your PHP memory (as indicated by the error message you’ve received)… you should then be able to run BuddyPress without problem on your site.

    There are many ways to increase PHP memory (including some specific to WordPress)… please have a Google to find those.

    Roger Coathup
    Participant

    @likeitordont

    It sounds like you want to create a directory page for all the pages on your site… is that correct?

    The BuddyPress directories only exist for BuddyPress components like groups, members, etc.

    The pages on your site are just standard WordPress pages. If you want to create a directory page that lists them all, you would need to write your own template file with a custom WP_Query loop that just returns pages, or perhaps use a WordPress API function to return all pages.

    For more information on how to do this, you should visit the documentation on WordPress: https://codex.wordpress.org/Main_Page

    #137351
    modemlooper
    Moderator

    delete the BuddyPress folder from plugins to get to admin

    #137346
    danbpfr
    Participant

    Hi Venkatesh,

    most of buddypress content is generated by wordpress. So the Media settings can give you what you need.
    That said, where do you want a video upload possibility ? And what king of videos ? Yours orfrom users, or some videotube service ?

    #137342
    Roger Coathup
    Participant

    Take a look at this — you get the information from the basic WordPress user data:

    https://wordpress.org/support/topic/user-registration-date

    Remember to replace the user ID appropriately in the function I give

    angslycke
    Participant

    I solved this by editing the database information in the bb-config.php which is located in your WordPress root folder. The web host had used a script to edit the database information automatically in wp-config.php but the old database details remained in bb-config.php. Now all of my old forum posts are visible again.

    BlinkyBill01
    Participant

    @mercime, I found something interesting…

    So I created a page called “test”. While I was creating the page, I noticed in the Page Attributes that there are three options: Default Template, BuddyPress – Activity Directory, and Sidebar Template.

    When I saved as Activity Directory, the page showed up like my members page with the sidebar under the content. When I saved as Sidebar Template, the sidebar showed up correctly like it does on the homepage. When I tried to save as Default Template, I got a 406 error.

    Is my thinking wrong that when BuddyPress created the members pages, it saved them as Default Template as it had no way of knowing that there were options for the page saves?

    The even more strange part is when I go into the BuddyPress created Members Page, I can save as Sidebar Template and BuddyPress – Activity Directory, but no matter what it’s saved at, it doesn’t change. The looks of the design stays the same. (Also, I think that the “default template” is just the Activity Directory template.)

    So, I have no clue on what to do. I can’t seem to save/change the Page Attributes of the BuddyPress created pages.

    Also, I’ve noticed that with the most recent WordPress update, I’ve been getting more and more 406 errors. Is this something I should contact my hosting company about?

    Thanks.

    Links for reference:
    http://forcedreality.net/test/ – page saved as Sidebar Template
    http://forcedreality.net/test2/ – page saved as BuddyPress – Activity Directory
    http://forcedreality.net/members/ – BuddyPress created page, maunally edited to save as Sidebar Template, which isn’t working.

    modemlooper
    Moderator
Viewing 25 results - 11,876 through 11,900 (of 22,660 total)
Skip to toolbar