I did add that same code to the functions.php for the theme the subdomain is running — it didn’t work there.
As I continued to experiment, I thought it would be useful to disable something in the logged-in state so I could more easily see when it was working without logging in and out (to switch themes and such.) In doing so I figured out that I have to use the priority the menu-item was originally added with:
add_action( ‘bp_adminbar_menus’, ‘bp_adminbar_thisblog_menu’, 6 );
becomes:
remove_action(‘bp_adminbar_menus’, ‘bp_adminbar_thisblog_menu’, 6);
Without the “6” it won’t work. I’ve tried it with the priority I found in bp-core-buddybar.php, but since it does work in one theme and not another I’m wondering if maybe a theme can change this somewhere?
EDIT: Yup, a theme can change it … if it overwrites the original function with one with a new name but exactly the same code. *headdesk*. Searching for a unique bit of CSS I tracked down where the login code was actually being generated — not by buddypress, but not visually distinct from it either.
remove action bp_login
create you’re own function for login then add action
Then, remove it from sub themes
What about putting the remove action in the sub domains functions.php file?
Install BuddyPress Profile Privacy plugin
I’ve read the tutorials, and am trying to alter the log-in item on the buddypress menu. I want to replace it with an Ajax login so it will stay on the current page, but the first step is to disable the existing log-in. I’m using this code in functions.php to try to disable it:
remove_action( ‘bp_adminbar_menus’, ‘bp_adminbar_login_menu’);
I’ve looked at the Buddypress code in file bp-core-buddybar.php, and this code seems correct, and all the tutorials I’ve found say it is. When I add it to functions.php in the theme used by my main installation, it works as expected and the login menu for the main site (call it site.com) is disabled.
But I can’t get the login menu to disable on the subdomain sites (call it sub.site.com) Those sites are running a different theme than the “parent” site, but adding the same code to the theme they run doesn’t disable the menu.
I tried running the subdomain blog with the parent theme, and the login menu correctly disables, so this is probably a theme-problem, rather than a subdomain problem. What sorts of things should I look for in my custom theme, that could prevent disabling the menu from working?
You are not alone, there are many threads all over this forum , for example this : https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/comment-reply-button-problem-page-not-found/
, I haven’ t found a solution for this till now on this forum too –
If you’re using BP 1.5, it’s done the same way as you would do in regular WP installation.
https://codex.wordpress.org/Creating_a_Static_Front_Page
– Create a blank new Page titled e.g. Blog, News, etc. and publish it
– Go to admin dashboard Settings > Reading >Front Page Displays > A static page. Select “Activity” for Front page and then select “Blog” or whatever you named the new Page, for your Posts page.
To log into your admin area, delete or rename the plugin directory ( /wp-content/plugins/buddypress-kaltura-media-component/ ) using ftp or cpanel. WordPress will deactivate it….
That plugin is shown as incompatible with bp 1.5 in august. The error is the same – https://codex.buddypress.org/releases/1-5-plugin-compatibility/
Further info about that particular error is on: http://code.google.com/p/buddypress-media/wiki/DOCS_BP_FixingPlugins_phpError
yo friends, i have a problem with bbpress sidewide + buddypress, without group forum, the post doesn’t count. is there a plugin or some hack to trick the post count??
I get below error message after trying to activate the kultura media plug-in. I tried clicking other menu buttons but I get the same message. I logged out and tried to login but the same message appears. Now I can not log in to my admin panel anymore. Please help me resolve this problem. thanks.
Fatal error: Class ‘BP_Group_Extension’ not found in /home/hexebela/public_html/cuyapoconnection.com/wp-content/plugins/buddypress-kaltura-media-component/bp-media-group.php on line 5
https://github.com/sbrajesh/bp-global-unified-search
Global Unified Search plugin by Brajesh does this for you.
@paul Gibbs i see.. can u give me the search code example? each theme have the different way right? i wanna look at the structure
Post Update button missing on version 1.3, was working prior to this. Tested on different themes. Running latest wordpress 3.21 and buddypress 1.5
Anyone else seen this problem please
Jeff
@mercime how can I implement to your expert’s code feature post image with for example fixed width=100 height=100?
Thanks a lot…
In my end I get a parse error
Parse error: syntax error, unexpected ‘{‘ in xxxxxxxx/index.php on line 41
?
Thanks mercime for awesome help as always..and thanks Xevo. I’m learning:o)
@mercime thank you , works perfect .
It’s not a plugin. It’s just a customised search.php template. Basically, we have each component template loop on it, and pass each the search parameter. The rest is just making it look like a grid. It’s very simple.
Apologies if this is the wrong thread to ask, but i’m currently working on creating a wiki section of my site and need some ‘guidance’. While, afew have done amazing jobs bridging MediaWiki to work with Buddypress (@boonebgorges comes to mind) and to be honest, i had the bridge all setup and was about to pay someone to port my wordpress theme to mediawiki but i decided to customise one of the existing wordpress-wiki plugins to suit my needs. I just think its alot easier keeping the user inside wordpress rather than moving them between software.
Anyways, Next on my to-do list is ‘infoboxes’. If you have a look at the wordpress wikipedia page, http://en.wikipedia.org/wiki/Wordpress their is an infobox on the side with a summary of information about wordpress.
The code something like this (not going to post it all, but you get the idea)
{Infobox software
| name = WordPress
| logo = 250px
| website = [http://wordpress.org/ wordpress.org]
}}
Quick and easy code for users to implement. Is it possible to do that with Shortcodes? for example:
[infobox id=”software” name=”Wordpress” logo=”Wordpress.png”]
ect?
Not asking any of you to code it all for me but, i’m concidering paying someone to code it and wanted to find out from you guys if shortcodes are the best way to get that type of functionality or if theirs a better way? or; should i just scrap the idea and buy a mediawiki skin?
I just like to know what i’m talking about before i go harassing developers :p
What’s is buddypress.org search plugin using at? when we do a search, it search everything, in forum activity and anything. i looking for that plugin
How to show status update or all activities in the home page from all users?
I got it working with the code I gave you.
A new version of Graphene theme came out since you last posted here. When you upgrade Graphene theme, you’ll lose all the BP template pack folders transferred before, and you’ll have to run BP template pack plugin’s compatibility process again via Appearance > BP Compatibility. Then follow the instructions I posted before https://buddypress.org/community/groups/installing-buddypress/forum/topic/where-are-my-sub-menus/?topic_page=1&num=15#post-115080
Per same instructions in that post, add the following at the very bottom of graphene theme’s style.css file after other styles.
`/* BuddyPress Compatibility Style Mods */
.post .avatar {
position: static !important;
}
table.forum {
margin: 0 !important;
}
table.forum tr > td:first-child, table.forum tr > th:first-child {
padding: 15px !important;
}
div#item-header h2,
form#whats-new-form h5 {
clear: none !important;
}
div#item-header ul {
list-style-type: none;
}
div.dir-search {
margin: -20px 0 0 !important;
}
div.item-list-tabs {
margin: 25px 0 20px !important;
}
div.item-list-tabs ul,
div#object-nav.item-list-tabs ul,
div#subnav.item-list-tabs ul {
font-size: 13px;
margin-left: 0 !important;
}
div.item-list-tabs ul li:first-child {
margin-left: 15px !important;
}
div#subnav.item-list-tabs {
margin: -15px 0 15px !important;
}
#activity-stream {
margin-left: 0;
}
.padder div.pagination {
margin: -20px 0 0 !important;
}
ul.item-list {
list-style-type: none;
margin-left: 0;
}
body.activity-permalink div.activity {
padding: 20px;
}
body.activity-permalink .activity-content {
padding: 0 !important;
}`
I read somewhere that if you want to use only a site wide forum you need to turn off the forums component of BuddyPress. Then, the redirects will stop.
That’s what did it for me.
The slugs you wanted are what I used as examples in 3rd option for installing both group and sitewide forums https://codex.buddypress.org/getting-started/installing-group-and-sitewide-forums/3/#change-slugs-both-forums