Forum Replies Created
-
see: https://buddypress.org/support/topic/dashes-in-usernames/#post-169926
Though this looks like it might be resolved in bp 1.9
try replacing the ‘wp’ with ‘bp_actions’
function bp_remove_feeds() { remove_action( 'bp_actions', 'bp_activity_action_sitewide_feed', 3 ); remove_action( 'bp_actions', 'bp_activity_action_personal_feed', 3 ); remove_action( 'bp_actions', 'bp_activity_action_friends_feed', 3 ); remove_action( 'bp_actions', 'bp_activity_action_my_groups_feed', 3 ); remove_action( 'bp_actions', 'bp_activity_action_mentions_feed', 3 ); remove_action( 'bp_actions', 'bp_activity_action_favorites_feed', 3 ); remove_action( 'groups_action_group_feed', 'groups_action_group_feed', 3 ); } add_action('bp_init', 'bp_remove_feeds');wordpress/buddypress uses the template file ( ie footer.php ) in the child theme directory if it exists, otherwise it uses the parent’s file.
*.php files are simple text files and normally everything means something. Most things have opening and closing tags which you need to be aware of, but in general, what you put in the child theme’s file will then be used…
functions.php and style.css are loaded after the parent theme’s versions.
The only file a child theme needs is a style.css which will overwrite rules in the parent’s css
Actually I was trying to keep it simple and I don’t know what theme you are using.
Copy footer.php from the parent theme directory to your new child theme direcory and change that line to what you want.
If you are using bp-default then that line is https://buddypress.trac.wordpress.org/browser/tags/1.8.1/bp-themes/bp-default/footer.php#L15 – just replace the text between the paragraph tags with a simple text line
( or even the whole line as the <p> </p> tags arent’t critical but help with styling )
The main point of a child theme is that you can upgrade the parent theme and still keep your edits.
To create a child theme of bp default you need to create a new directory ie: /wp-content/themes/bp-child/
In that directory you need to create a style.css simple text file with a header at the top of the file ie:
/* Theme Name: A BP Child Thene Theme URI: http://buddypress.org Description: A Buddypress child theme. Version: 0.1 Author: Me Author URI: http://example.com Template: bp-default Tags: buddypress */The Template: bit is important. The /* and the */ ‘comment out’ what is between them so the browser doesn’t try to interpret as css.
After the header comes the style rules and properties such as were quoted above.
To follow through with an example from your other question using the bp-default theme.
First you need to copy footer.php from /wp-content/plugins/buddypress/bp-themes/bp-default/ into the /bp-child/ theme directory.
In that file should be the following line 15:
<p><?php printf( __( 'Proudly powered by <a href="%1$s">WordPress</a> and <a href="%2$s">BuddyPress</a>.', 'buddypress' ), 'http://wordpress.org', 'http://buddypress.org' ); ?></p>Replace that line with something like:
<p>© <?php echo date('Y'); ?><a href="<?php echo home_url( '/' ) ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"> <?php bloginfo( 'name' ); ?></a>. </p>Put what you want between the paragraph tags ( <p> and </p> ) – it could just be simple text. Use a text editor not a word-processor…
Then preview the bp-child theme and the footer text should have been changed.
I would suggest backing up your files and database before attempting to edit files….
further info:
https://codex.buddypress.org/themes/building-a-buddypress-child-theme/
https://codex.wordpress.org/Function_Reference/get_bloginfoCan you get into the site with ftp or a file navigator/explorer in your web hosting control panel?
Navigate to /wp-content/plugins/bp-group-tinychat-pro-1.2.1/ then delete or rename the /bp-group-tinychat-pro-1.2.1/ folder.
This should cause WordPress to de-activate the plugin.
rename/delete the plugin folder like before: /bbpress-pencil-unread/ ?
Can you get into the site with ftp or a file navigator/explorer in your web hosting control panel? Navigate to the bp-privacy folder ( /wp-content/plugins/bp-privacy/ ) and rename or delete it.
This should cause WordPress to de-activate the plugin.
@barboncaves
Have you tried disabling Show Avatars in WordPress Admin > Settings > Discussion? ( – the avatars section is lower down the page )You might need to customise your child theme’s style sheet. Using bp-default the following might be useful:
.activity-list .activity-content { margin-left: 25px; }I haven’t checked anywhere else…
You don’t need the
media="all"bit.Also it is better not to repeat properties that stay the same so:
#buddypress div.item-list-tabs#subnav { background: #0E0C0C; }Should work.
It certainly works in chrome on your website. Do you see it in chrome?
I don’t know what you mean by your ‘theme css box’? If you mean that your theme has an option to add ‘raw’ css then it may be added before other style sheets / rules and therefore over-ridden, but I can’t diagnose that from here.
This should go at the end of your child theme’s style.css file – To over-rule earlier properties. If your theme doesn’t enable child theme’s then it should go at the end of the theme’s style.css but that is sub-optimal.
Unless it has been disabled you should be able to add this in the editor area of your WordPress’ admin’s appearance section although it would be better done in a text editor and the style.css uploaded via ftp.
Select the developer tools window.
In the bottom left corner of the developer tools window you should see a magnifying glass icon. If you hover over it you get the message: select an element in the page to select it
Once selected if you hover over items on the page it will show you extra details.
Click on an item, such as a page title and the developer tools window finds the html on the left side of the Elements tab.
On the right side you will see all the css rules relating to that particular html item.
Look down the list until you find a colour property that isn’t crossed out ( crossing out means the property has been over-ridden. )
Click on the colour and a selector should appear to allow you to change it. You should see the results straight away
If you deselect/untick the colour other colours that were previously crossed out may then be used.
Once you know which css rule is being affected, you then need to add it to your child theme.
So for instance to change the text colour and background of your theme you may be able to add something like
body { background-color:#30F color:#F00; }Some simple colours are recognised by css, such as
red.You may need to add other selectors with
bodyto increase the importance ( ability to over-write ) of the rule.Hope that helps….
http://www.w3schools.com/css/default.asp
Try looking at the html of the webpage using the developer tools in Chrome, Safari or Internet Explorer, or use Firebug with Firefox, or Opera’s Dragonfly…
fair enough… I don’t use either…
There are two different ways to disable buddypress registration on https://gist.github.com/r-a-y/5578432
Please don’t ‘hijack’ other people’s topics.
Are you logged out when you go to the register / activate pages? If not then what you describe is normal behaviour as those pages are redundant when you are logged in.
If you are still having problems please start a different topic and provide more relevent details – see https://buddypress.org/support/topic/when-asking-for-support-2/
What happens if you replace the capital letters in your theme name with lowercase and remove the space ( replacing it with a hyphen for instance ) ?
I don’t think either is allowed…
If you look in developer tools* you will see that the blank space is replaced…
*Chrome, Safari or Internet Explorer, or use Firebug with Firefox, or Opera’s Dragonfly…
Looking at the Chrome source code ( f12 ) I can see something has gone wrong, as most of the header has dropped to the body section and instead an old version of jquery has been added as well as the current version added later. This is bound to cause problems.
The only other thing there is shareaholic-analytics.js being loaded. Does the same thing happen if you disable that plugin?
If not then you need to do basic troubleshooting such as checking with bp default theme or a known good theme such as twentytwelve. If that doesn’t work try disabling all plugins except buddypress and see if the error goes away, then re-enabling 1 by 1 until the problem occurs.
There are no ‘future events’ in buddypress itself so it would need a plugin or custom programming…..
https://wordpress.org/plugins/events-manager/ supports buddypress but I haven’t used them together!
https://buddypress.org/support/topic/when-asking-for-support-2/ !
Line 1447 of the buddypress file global.js relates to the comments section….
see:
https://buddypress.trac.wordpress.org/browser/trunk/bp-themes/bp-default/_inc/global.js?rev=7349#L1447
That line has changed from previous versions….A simple google search with part of the 2nd line lead me to:
https://wordpress.org/support/topic/jquery-error-on-36-upgrade-jquery-1102minmap-404?replies=16
and:
https://core.trac.wordpress.org/ticket/24994What theme are you using.
If not bp-default, or a child of it, try with bp-default or a theme that is known to work well such as twenty twelve.
When you click on comment do you get any errors in the console area of developer tools or equivalent?