-
danbpfr replied to the topic Deleting Admin Sub-menu items in the forum How-to & Troubleshooting 11 years, 8 months ago
the thing to understand with PHP is to never use a function name twice on a same action. A function name is and must be unique.
In the WP ecosystem, you can act on templates throught the child theme. Generally […]
-
danbpfr replied to the topic Removing featured image function from header – bpdefault in the forum How-to & Troubleshooting 11 years, 8 months ago
Bravo !
-
danbpfr replied to the topic How to move the notifications bubble from right to left? in the forum How-to & Troubleshooting 11 years, 8 months ago
i know BP, no need to give me a test user access: that have no effect on your code.
You removed many things in the toolbar i guess. So i would recommand you reload a fress bp-default folder, with untouched css […]
-
danbpfr replied to the topic Deleting Admin Sub-menu items in the forum How-to & Troubleshooting 11 years, 8 months ago
why did you asked in your first post what to put into your themes functions.php ? Thought his was the right place to put the changed function. The only thing you have to do is to create a child theme […]
-
danbpfr replied to the topic Deleting Admin Sub-menu items in the forum How-to & Troubleshooting 11 years, 8 months ago
ok, go to bp-members/bp-members-buddybar.php:108 (bp 1.6)
function bp_members_adminbar_admin_menu()
same routine as on previous answer
-
danbpfr replied to the topic Removing featured image function from header – bpdefault in the forum How-to & Troubleshooting 11 years, 8 months ago
hi @number_6,
Number 2: – Why did you resign ? 😀
sticky is a WP setting. This can be done/undone when you publish a post.
The only sticky or featured related code i found is in the child theme […]
-
danbpfr replied to the topic Member home page: "All Activity" in the forum How-to & Troubleshooting 11 years, 8 months ago
<?php
if
( bp_has_activities(
'user_id=1895624'
) ) : ?>
https://codex.buddypress.org/developer/developer-docs/loops-reference/the-activity-stream-loop/
buddypress/bp-activity/bp-activity-classes.php
-
danbpfr replied to the topic How do i get the groups im admin of? in the forum How-to & Troubleshooting 11 years, 8 months ago
witch BP version do you use ?
-
danbpfr replied to the topic Deleting Admin Sub-menu items in the forum How-to & Troubleshooting 11 years, 8 months ago
hi @adenicol,
you’re using the old buddybar or an old BP version, right ? Here is a solution to remove items in BP 1.5 > 1.6.x with buddybar activated, but be aware that some menus changed place in the upcoming […]
-
danbpfr replied to the topic How to move the notifications bubble from right to left? in the forum How-to & Troubleshooting 11 years, 8 months ago
@shahzaib147, so far i know there is only one Toolbar in WP
If the code works on the backend bar it should also work on the frontend !
That’s the case on my test site. Have you refreshed the page (F5) ?Or […]
-
danbpfr replied to the topic How to move the notifications bubble from right to left? in the forum How-to & Troubleshooting 11 years, 8 months ago
hi @shahzaib147,
Moving the notification count to left.
Replace the notification on the right with a link.Here is my solution !
Copy/paste the code […]
-
danbpfr replied to the topic Admin bar modification in the forum How-to & Troubleshooting 11 years, 8 months ago
hi @hnla,
no Hugo, it’s not “my code” ! Found it on the web and linked to it only as example purpose.
Here’s another link, probably better than the previous who explains clearly some admin_bar […]
-
danbpfr replied to the topic Admin bar modification in the forum How-to & Troubleshooting 11 years, 8 months ago
have you tried to aply the old css trick margin: auto to the div containing the bar ?
http://designshack.net/articles/css/how-to-center-anything-with-css/
-
danbpfr replied to the topic How to split out BuddyPress notifications drop down items to their own top level in the forum Installing BuddyPress 11 years, 8 months ago
i have already helped you here for the same question: https://buddypress.org/support/topic/how-to-add-images-to-a-custom-toolbar/#post-156520
Let me tell you that you don’t ask for help now, but search somebody […]
-
danbpfr replied to the topic Hide the main nav bar from visitors in the forum How-to & Troubleshooting 11 years, 8 months ago
don’t know your theme, sorry !
Remind that it’s a premium theme with Unlimited Live & Q&A Support from the WordPress experts, for anything to do with WordPress at all!
So you have to ask the […] -
danbpfr replied to the topic [Resolved] How to add images to a custom toolbar? in the forum Installing BuddyPress 11 years, 8 months ago
Did you opened bp-core-buddybar.php and wp-includes/admin-bar.php to see how menus are coded ?
it’s my code who generate the error.
that said, you may use this
'href’ => bp_loggedin_user_domain() . bp_get_messages_slug() . ‘/view/,
‘href’ => bp_loggedin_user_domain() . bp_get_friends_slug() . ‘/requests/,
-
danbpfr replied to the topic [Resolved] How to add images to a custom toolbar? in the forum Installing BuddyPress 11 years, 8 months ago
Did you opened bp-core-buddybar.php and wp-includes/admin-bar.php to see how menus are coded ?
it’s my code who generate the error.
that said, you may use this
‘href’ => bp_loggedin_user_domain() . […]
-
danbpfr replied to the topic Buddpress 1.7b2 and BBpress kills site, MAMP local dev in the forum How-to & Troubleshooting 11 years, 8 months ago
bbPress version please ?
-
danbpfr replied to the topic [Resolved] How to add images to a custom toolbar? in the forum Installing BuddyPress 11 years, 8 months ago
try using this for the friend request url (not tested)
‘href’ => ( ‘bp_loggedin_user_domain() . bp_get_friends_slug() . ‘/requests/’ )
and this for the messages
‘href’ => ( ‘bp_loggedin_user_domain() . bp_get_messages_slug() . ‘/view/’ )i also answered to you he…[Read more]
-
danbpfr replied to the topic [Resolved] How to add images to a custom toolbar? in the forum Installing BuddyPress 11 years, 8 months ago
try using this for the friend request url (not tested)
‘href’ => ( ‘bp_loggedin_user_domain() . bp_get_friends_slug() . ‘/requests/’ )
and this for the messages
‘href’ => ( ‘bp_loggedin_user_domain() . […] - Load More
@chouf1
Not recently active