Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 9,201 through 9,225 (of 22,677 total)
  • Author
    Search Results
  • #167153

    In reply to: Creating New Plugins

    bp-help
    Participant

    @hnla @mercime @modemlooper
    I agree there needs sorting out and consistency in how to check for BP etc.
    I just got an email from Mika E one of the plugin reviewers and she says

    But … why?

    BuddyPress has loader actions you can hook into: https://plugins.trac.wordpress.org/browser/buddypress/trunk/bp-core/bp-core-actions.php#L34

    (I’m sitting next to JJJ right now and he pointed this out). So you don’t have to call loader.php, which is slower in the long run, and instead you hook into BP at the appropriate point.

    The whole thing it looks like you’re doing is adding this action:

    add_action( ‘admin_notices’, ‘private_community_for_bp_lite_install_buddypress_notice’ );

    And you want to only add that notice IF BuddyPress is loaded, right? So why not the smaller check? If you do that, you won’t have to call bp-loader, because you’re hooking in after it’s loaded.

    Why would I want my install buddypress notice to display if they have buddypress installed and the requirement for BP is met? That makes no sense. Right now it is setup to display only if someone using wordpress does not have BP installed and activated which is what it does and should do correct?
    I don’t get it! Any of you guys have advice?
    Thanks again!

    #167151
    @mercime
    Participant

    @nanaimomen The problem is more like the theme is using a proprietary templating system. BuddyPress works in nearly all WordPress themes. Regular WP tags like the_title() and the_content() should be in the theme’s page.php file for the BP Theme Compatibility magic to work, i.e., you no longer need to revise 16 template files manually like before.

    To resolve your issue, open up your theme’s page.php file and Save As > buddypress.php and ask the theme author to replace theme’s corresponding tags with the_title() and the_content(). Upload that updated buddypress.php file into your theme’s folder in server and you should be good to go.

    @mercime
    Participant

    all content and users are mirrored/shared across the networks/sites


    @mike245
    Strange. Only users not the content should be shared across the network for that plugin as far as I know. Have only used the other BP Multinetwork plugin, so don’t quite know why that’s happening in your installation. Recommend that you post at plugin’s support forums https://wordpress.org/support/plugin/bp-multi-network

    mik.e245
    Participant

    @mercime Sorry, I forgot to mention that I’m already using BP Multi Network and Networks for WordPress! Unfortunately, they’re doing the wrong thing: while each network/site now has Buddypress working, all content and users are mirrored/shared across the networks/sites. Instead I need to have Buddypress working on all networks/sites, with *separate* content but *shared* users. Is there any way to do this?

    Thank you!
    Bill

    #167131

    In reply to: Create Group

    mgrmn
    Participant

    One I am with /groups/ I can go to /groups/create/ and it will show me the form. Thank you.

    As far as “Page title is not within the WordPress loop”, where do I look to get fixed, cause all the PB pages have the same thing, just say “Page”

    #167130

    In reply to: Creating New Plugins

    modemlooper
    Moderator

    It all depends on how the plugin functions. if you have WP options saved and then use bp_include to load plugin your settings won’t load fast enough for BuddyPress to use options.

    bp_include is used for code that accesses BuddyPress code. So you know that BuddyPress is loaded before you execute code. It should not be used to detect if BuddyPress is active.

    you can use https://codex.wordpress.org/Function_Reference/is_plugin_active

    or check if ( class_exists( ‘BuddyPress’ ) )

    #167129

    In reply to: Create Group

    @mercime
    Participant

    @mgrmn There should be a “Create a Group” button beside the page title in the Groups Directory page. https://codex.buddypress.org/user/buddypress-components-and-features/groups/#groups-directory

    If the “Create a Group” button doesn’t show up in your theme, that’s because the_title tag of page template is not within the WordPress loop. To resolve this issue, you can create your own link to the Create Groups page, just append /create to the URL of your groups directory page
    e.g.
    groups page -> http://example.com/groups
    groups create page -> http://example.com/groups/create

    Alternatively, if you prefer, you can instead add the patch to include the groups/create link in BP MyAccount section of the WP Toolbar https://buddypress.trac.wordpress.org/ticket/1838 – coming out in BP 1.8

    #167128
    mgrmn
    Participant

    Not sure, but I believe you need to add get_currentuserinfo(); for the part getting user info.

    Try something like this to debug and see if you get any reponse at all.

    function debug_userinfo() {
    	global $current_user;
          	get_currentuserinfo();
    	echo 'Username: ' . $current_user->user_login . "\n";
          	echo 'User email: ' . $current_user->user_email . "\n";
          	echo 'User first name: ' . $current_user->user_firstname . "\n";
          	echo 'User last name: ' . $current_user->user_lastname . "\n";
          	echo 'User display name: ' . $current_user->display_name . "\n";
          	echo 'User ID: ' . $current_user->ID . "\n";
    }

    See wp codex https://codex.wordpress.org/Function_Reference/get_currentuserinfo

    @mercime
    Participant

    @mike245 by default, there’s only one instance of BuddyPress per WordPress (single or multisite) installation. What you want – multiple BuddyPress installations in one Multisite install – is not possible without a BP multinetwork plugin. There are two plugins available and of those two, since you want a shared userbase, you would need https://wordpress.org/plugins/bp-multi-network/

    #167106
    Ben Hansen
    Participant

    yeah the hostile trick is a good way to “trick” your computer thinking a domain exists somewhere its doesn’t thus allowing you to not need to change the domain in the first place. that being said as Hugo mentions the codex pages tend to try to address the entire learning curve of any particular process meaning that they are giving you a bunch of options on that page you don’t need to be able to follow the entire thing to employ one of the listed techniques.

    Another thing you may want to consider (depending on the amount of content your site will have prior to going public) is to simply build out on a dummy domain then reconstruct on a fresh install as soon as you are able to grab the domain. Regular wordpress content can even be exported from the construction site and then imported into the new site. Unfortunately no such process exists for buddypress data (groups, non post creating users and activity) but generally speaking those things shouldn’t take all that long to recreate unless your community section is going to be gigantic.

    David Cavins
    Keymaster

    Shuklaamar- Be aware that if you edit core files as that web page suggests, you’ll have to make that same edit every time you update WordPress.

    Honestly, my experience with WordPress on IIS hasn’t been that great. The rewrite/redirects are one thing, but the FastCGI implementation is not very robust, which can cause grief.

    Polly- Your problem doesn’t appear to be related to the original question. I think you’re right that the problem is the theme, so contacting the theme author would be a good start.

    -David

    shuklaamar1509
    Participant

    I Solved the Issue. Please follow the link : http://webloggerz.com/how-to-remove-index-php-from-wordpress-url/

    #167094
    shuklaamar1509
    Participant

    I Solved the Issue. Please follow the link : http://webloggerz.com/how-to-remove-index-php-from-wordpress-url/

    #167089
    Henry
    Member

    There isn’t a button or setting that will move everything for you. You could pay someone to do it if you’re not comfortable with doing it yourself. The cost involved for moving a stand-alone WordPress install (files and db) should be reasonable.

    #167085

    In reply to: Creating New Plugins

    Henry
    Member

    Even though your plugin is BP related, it might be worth also posting the question in:

    https://wordpress.org/support/forum/plugins-and-hacks

    Your reach will be extended to the WP plugin dev community

    #167066
    shanebp
    Moderator

    BP also hard-codes urls all over the place instead of making them relative.
    Dunno why. Perhaps there is some setting to avoid this?
    And what about serialized strings?

    So use this:
    search / replace

    #167062
    Henry
    Member

    @4ella

    $query = new WP_Query( 'post_type=portfolio' );

    More info on how you can use the WP_Query class:

    https://codex.wordpress.org/Class_Reference/WP_Query

    #167060
    Henry
    Member

    There is a Codex page which will talk you through the steps you need to do when the time comes…

    https://codex.wordpress.org/Changing_The_Site_URL

    #167059
    Ben Hansen
    Participant

    all of that is handled by the wordpress side of things, buddypress shouldn’t have any trouble handling a domain change. obviously any permalinks would change however.

    mcpeanut
    Participant

    asynaptic thx for the reply i think i posted this in worng section.
    buddypress is installed and works fine…i dont need help from support on any of the matters on that page.
    i just need someone to tell me how to remove my website header image and my navigation bar from above anything thats buddypress related on my website.
    for instance do i need to create a budypress header php and if i do how do i exclude it from using my header image and navigation bar in wordpress pages? what would i add to the header php to stop these pages calling the header and nav bar.
    i dont know how much more clearer i can be on what i need to do, thats what i dont understand? im asking a simple enough question?
    showing someone a screenshot of my header wouldnt help its the same as anyone elses header just that it stretches to far down the page …its about 700px down the page by the time users have scrolled to the buddypress menus in the content area of my page, hence why i need to just remove my header and navigation bar from above my main content area on the buddypress pages (thus making it easier for users to navigate)!
    i also know nearly every experienced buddypress user will probably know how to do this but no-one will reply or help me out?

    Developer ICAN
    Participant

    Brilliant answer! Thank you very much for the help!

    Ben Hansen
    Participant

    i’d ask @jjj about it.

    Asynaptic
    Participant

    ah, ok so the plot thickens! now why can’t I see my own post then? very strange! I’ve also tried logging out and viewing the thread as well as viewing with another browser with no history of buddypress.com/support

    Ben Hansen
    Participant

    @synaptic I can see your post for what that’s worth also thanks for the link neat tool!

    Asynaptic
    Participant

    @richardicanie your response sounds like you got my original message but I can’t see it on this thread (the forum here stopped it from being published and gave me an error when I tried to resubmit it).

    anyway, about the site you mention: http://community.babycentre.co.uk/

    it doesn’t look like they are using wordpress at all. my guess after looking at the source code is that it is drupal

    in the future you can also check with builtwith.com

Viewing 25 results - 9,201 through 9,225 (of 22,677 total)
Skip to toolbar