Forum Replies Created
-
@jstormthakid not sure I understand the question.
BP is installed and activated, therefore it is ‘added’ as it were, you can’t have all template tags / functions working on any old page things don’t work like that, on certain screens BP has created them thus knows what they are for and provides objects to them on a general page BP hasn’t any knowledge it exists so you need to use bp globals or functions as above that do work on any screen / page.
In reply to: Forum colour/ colorYou’re would to need to find this ruleset:
#bbpress-forums li.bbp-header {
background: #000;
}and change the background color as demonstrated but it’s going to be a little trickier than that probably requiring you to copy the bbpress stylesheet to your theme to modify.
This though is a question for bbPress forums not BuddyPress bbp is a separate plugin from BP and has it’s own styles. You will find more info and help on their forum.
In reply to: Site compatibility with BuddypressIn fact you have posted on this sidebar issue 14 hours ago so please continue in that thread now not this one:
https://buddypress.org/support/topic/sidebar-got-moved-down-forums-too-long-help/In reply to: Site compatibility with Buddypress@latenightbeeradvocate You have hijacked someone else’s thread here, this is considered bad form on tech forums and confusing as a response is still awaited from the OP.
In future please don’t hijack threads start your own and describe the issues you are having particular to your site.
In reply to: How to make a private community?@mr_yoshimura ‘heads up’ ? how is this helpful or informative? what doesn’t work? What, if anything, have you done to try and narrow down the problem, do you need any help from the community to try and get it working or see what your issue is with it?
No it won’t, ‘Sharing’ is really something handled by third party plugins.
Maybe you can explore the possibilities of taking over the plugin, or maybe employing a developer to look into getting it updated ?
In reply to: [resolved] Avatars missing after database transferSo what url are they showing, where are the links trying to grab the images from, you need to give us some clues as to what’s happening or what you’ve tested, ruled out etc.
The link to your site isn’t a huge help given it’s under a maintenance page at present.
In reply to: [Resolved] Creating Category Label In ForumsThis is really a bbPress forums question which is why the link earlier to the getting started guide on their support site.
In reply to: Group Avatar uploaded to C:\Almost certainly the way you have IIS configured, which is why I said at outset it’s hard to help.
Not sure as I can’t recall how we had our IIS servers set up but this doesn’t feel like the correct document root necessarily ‘netpub\wwwroot’ or at least in there you should be setting up site folders. Have you configured local development domain names in your hosts file to make life easier and corresponding folders under ‘wwwroot’?
Is the site otherwise performing in all other respects correctly?
Don’t directly link to the ‘raw’ version of the pastebin code, we can’t easily edit to show revisions.
If you look at bp-default theme sidebar.php you’ll see examples of how user links , avatars etc can be rendered; you’re trying to run functions that are only populated from BP classes when on those component pages, so they will fail on normal WP pages.
This would get you the user name and link:
bp_core_get_userlink( bp_loggedin_user_id() )
In reply to: Group Avatar uploaded to C:\It will with additional tweaking, check out the WP codex for guides on using IIS.
It’s a long time since I’ve had to use IIS in a production or localhost environment so I’m not best placed to advise further
In reply to: Group Avatar uploaded to C:\It’s going to be hard for us to resolve your localhost server issues it’s a little outside the remit of this forum.
I would say don’t use IIS unless you have to for some reason but instead download a LAMP package such as Xampp which is far more WP friendly and generally easier to use and configure.
Please start a fresh topic rather than resurrecting 3 year old ones which may well have little relevance code wise as the app iterates through new versions.
Also you need to explain a little further what you are trying to do; custom CSS ? So what do you propose you hook that css onto?
In reply to: BuddyPress 1.7 beta 2 working with our theme?
You’re going to need to supply some sort of detail if you want help. Starting with the theme in use might be good?
In reply to: Get group by creator_id?That works, with the addition of the else section to generate li elements for no result – although better is not to generate a list construct to render a message as it’s technically not a list. Splitting markup is never a great idea although marginal however where normally having markup in functions in core files not a great idea where one manges the function from a theme perspective I would be happy with the function generating the full rendered output which in this instance is why I suggested that approach I guess.
In reply to: Delete user account@demetrius-pop why are you asking about this user? I see that they are both a member of your site and have also posted a question here on BP support, also if you don’t know who they are it tends to suggest that your signup process is indeed working!
In reply to: Delete user accountI was signed as Paul
Yep I really meant what type of user admin? Sole admin for the site at present?
In reply to: Delete user accountNo!
In reply to: Delete user accountSigned in as what user?
Have you not already asked this question about registering, but regardless explain then what happens? If you say you have enabled user registration what then happens when you try. Without actually providing any detail all we can do is guess at what may be wrong.
In reply to: Can’t create a groupYou’ll need to give us a little more detail than you have. That SC shows a BP user account screen and that’s saying that this user has no groups that they are a member of. Have you any groups created? If you have groups created has this user joined any? Do your BP settings allow all users to create groups or just admins?
This looks to be a custom theme, have you tried bp-default theme ? Do you have a group create button on your groups directory?
In reply to: 1.6.5I don´t change the cores file, only bp-default theme.
Yes but where? that’s why I bothered to try and elicit that information from you and explain the various scenarios and possible optios to proceeding as the possible inference was that you had been modifying core files or modifying core template files, and that is still unclear, but as long as your clear on your options now… Happy to have helped.
@bphelp all the further requirements you want to add can be found in the various core files, I know no better than you at this stage and would have to be reading through those files to identify what functions, variables etc I had to work with to achieve what I wanted, I did something similar to this a while back for custom WP pages dragging user data out, the only way I managed that was by studying the core files.
Without wanting to sound harsh 🙂 it’s down to you to finish now, the bits like avatars shouldn’t be too hard to figure now you’ve got this far.
When it’s finished get it placed on the WP plugin repo.
In reply to: 1.6.5Have you edited any files that live in the directory:
wp-content/plugins/buddypress/
If you have then you will lose those changes if you do an automatic upgrade and have made a rod for your own back.
You will need to identify these changes and copy them to a child theme i.e copy the template files to the child theme where BP will use them in place of it’s own ones living in the parent plugin directory.
If you have made changes to any files other than actual theme files i.e core files then you have no option but to update and then manually copy those changes to the new files, but editing core files for any reason is never ever recommended and shouldn’t be done. Any changes a theme needs to effect can be done via hooks & filters via the child theme functions.php file or bp-custom.php file in plugins directory.
@chouf1 Ah right wasn’t aware of that prohibition on adding tips and code snippets, last time I looked there were a few. As long as they follow some form of best practise they ought to be ok.
On this basis “nor to learn how to customize it.” then to codex BP loops will need to be removed as they are technically customizations.
In reply to: Get group by creator_id?@designnz Just in case it’s not obvious do ensure you render that loop in ‘ul’ tags:
I would add an
if($groups) { ?>
<ul>
<?php
rest of the code here
?>
</ul>
<?php } ?>