-
hnla posted on the forum topic Adding menu items to the admin bar in the group How-To and Troubleshooting: 15 years, 9 months ago
Ok get what you wanted for the wp_list-pages running horizontally, trouble with that is with a fixed width layout one might run out of space, testing on my fluid layout and the adminbar looked far too crowded. It would be possible to offer some form of configuration file that would would allow for certain defaults […]
-
hnla posted on the forum topic Adding menu items to the admin bar in the group How-To and Troubleshooting: 15 years, 9 months ago
@pcwriter I’ve had to do a fairly extensive rewrite on the function for a number of reasons: 1/ There was a significant degree of malfomed ul child nesting which prevents drop down aspects working correctly primarily I’ve removed the opening and closing UL elements as they are not required and cause issues. 2/ Not sure how […]
-
hnla posted on the forum topic Sidebar sticking to the bottom of the page in the group How-To and Troubleshooting: 15 years, 9 months ago
Hmm yet you did move the sidebar back to where I told you it needed to live! 🙂
-
hnla posted on the forum topic Sidebar sticking to the bottom of the page in the group How-To and Troubleshooting: 15 years, 9 months ago
At some point you have made some changes to your layout or something has if this theme is essentially the bp-default the #sidebar is in the wrong position for a floated sidebar following after content elements.
#sidebar needs to be inside #container not outside – move #sidebar just before the closing tag for #container.
-
hnla posted on the forum topic Adding menu items to the admin bar in the group How-To and Troubleshooting: 15 years, 9 months ago
@pcwriter The error with the function has_nav_menus() can be easily rectified with a check for 3.0 I’ll look at your code and make some adjustments later. You possibly ought to have delayed submitting the plugin to the repository until a few checks had been run on the plugin, looking closer at the function I think some […]
-
hnla posted on the forum topic Where is the bbpress forum? in the group Creating & Extending: 15 years, 9 months ago
As is starting to appear the case a large majority of issues people have are often tracked down to simply using custom themes, it’s a wee bit frustrating. There are two paramount troubleshooting actions to follow that establish very quickly where the root cause of issues lies and ought to always be followed first and […]
-
hnla posted on the forum topic Adding menu items to the admin bar in the group How-To and Troubleshooting: 15 years, 9 months ago
I would say yes, but let Ray confirm that, I realise that my issue was probably running this in bp-custom before BP had intialised? as I was throwing errors on function calls so would think you should check if BP is active but Ray will know how best to proceed. Did you not include the […]
-
hnla posted on the forum topic Adding menu items to the admin bar in the group How-To and Troubleshooting: 15 years, 9 months ago
Ray your pate bin example is what I had, have to admit though it doesn’t work for me run from bp-custom or functions my original using $blog_id does though, anyhow this is pcwriters script so I’ll back off for the minute.
-
hnla posted on the forum topic Adding menu items to the admin bar in the group How-To and Troubleshooting: 15 years, 9 months ago
You have to add the global to the function scope. functions create a new scope and you need to bring the variable into that scope so it’s available to the function.
-
hnla posted on the forum topic after installation of buddypress – dashboard view is broken – menu tree of buddypress below the wp f in the group Installing BuddyPress: 15 years, 9 months ago
Christian to troubleshoot something on your behalf you really need to provide something to go on i.e a link to the site or at the least some more detail on your setup; otherwise you are asking for people to guess at what’s wrong and generally that does not find favour amongst coders on tech forums.
-
hnla posted on the forum topic Adding menu items to the admin bar in the group How-To and Troubleshooting: 15 years, 9 months ago
Yeah I did scope the variable, didn’t check what was available i.e dump it should have guessed at blog_id though, but I’m trying not to work at the moment 🙂
-
hnla posted on the forum topic Adding menu items to the admin bar in the group How-To and Troubleshooting: 15 years, 9 months ago
@r-a-y thanks Ray thought there was something other than I had. edit// Running this function in bp-custom.php or functions.php and I can’t get anything out of $current_blog and scoped just about everything I can think of. @pcwriter what portion of the function are you wrapping, I was simply thinking that the ul containing the community links was […]
-
hnla posted on the forum topic Adding menu items to the admin bar in the group How-To and Troubleshooting: 15 years, 9 months ago
This works after a bit of fussing 🙂
global $blog_id;
Then wrap the ul in :
<?php if($blog_id == ‘1’): ?>
<?php endif; ?>
That’s a bit rough and ready and not tested greatly. $current_site should have worked and provides more objects to use but didn’t seem to work for me.
-
hnla posted on the forum topic Adding menu items to the admin bar in the group How-To and Troubleshooting: 15 years, 9 months ago
Ah erm… 🙂 Not sure of the issues and would have to set up a test for myself, if it’s simply not displaying those links on sub blogs can you not use a conditional to check whether the main site is being viewed i.e site_id = 1 or whatever the correct method is. If and […]
-
hnla posted on the forum topic Where is the bbpress forum? in the group Creating & Extending: 15 years, 9 months ago
Are you sing a theme other than BP-Default? have you definitely got ‘Buddypress -> Componant Setup -> Groups ‘Let users create, join and participate in’ enabled
-
hnla posted on the forum topic Where is the bbpress forum? in the group Creating & Extending: 15 years, 9 months ago
Not sure in the case of this particular thread what the issue is or what needs figuring out, I’m puzzled,creating a new group should be obvious and not something hard to see so wonder if there is another problem. The philosophical quandaries you posed on the other thread are a slightly different matter; tend to […]
-
hnla posted on the forum topic How to change forum SLug in the group How-To and Troubleshooting: 15 years, 9 months ago
Always check through any available documentation in case there are relevant topics and examples:
https://codex.buddypress.org/how-to-guides/customizing-labels-messages-and-urls/Not sure you can do what you want easily though.
-
hnla posted on the forum topic Where is the bbpress forum? in the group Creating & Extending: 15 years, 9 months ago
You have BP activated don’t you? do you not therefore have a series of main links e.g ‘Activity’, ‘Groups’, ‘Forums'(an agregated view of any from topics in the groups) Clicking that top level ‘Group’ link should show a list of groups with an option to create more. If not do you have any options disabled […]
-
hnla posted on the forum topic Where is the bbpress forum? in the group Creating & Extending: 15 years, 9 months ago
Not sure but no? Groups activity streaming to forum, in what sense? within a group you can add updates or start/reply to forum topics both those should appear in the general activity streams, but perhaps I misunderstood you.
Create groups should be a clearly visible ‘Button’ when looking at the Groups Directory.
-
hnla posted on the forum topic E-mail domains blacklist doesn't work in the group How-To and Troubleshooting: 15 years, 9 months ago
Not sure why this wasn’t in core! or why there’s been so much faffing around on this topic when your solution looks pretty straightforward! An issue as I see it is to some extent nomenclature what is a ‘Domain’? is a domain ‘example.com’ or ‘.com’ the answer ought to be that they both are or […]
- Load More
@hnla
Active 7 years, 10 months ago