Forum Replies Created
-
In reply to: Country drop down list
Hi Hans,
you have to digg in the prehistorical 1.0 version of BP
https://buddypress.trac.wordpress.org/browser/branches/1.0?order=name
where you can find this old coutry field and a csv file with different countries.
You can find some interesting code in buddypress 1.0/bp-xprofile/bp-xprofile-classes.phpGood luck !
In reply to: how to create a home page exactly like FacebookDo you really expect an answer ?
So far i know, email address are never public on a WP site…
Be inspired by reading those things:
https://codex.wordpress.org/Function_Reference/get_currentuserinfo
http://stackoverflow.com/questions/6051748/how-to-display-buddypress-profile-field-content-within-the-post-loopSee if this goes to your convenience.
Forum Tags
Add this filter to your child theme function.php
Cloud font values are set by default to 10 and 42.Seted to 10 and 30`remove_filter (‘bp_forums_tag_heat_map’,’bp_forums_tag_heat_map’);
function my_bp_forums_tag_heat_map( $args = ” ) {
$defaults = array(
‘smallest’ => ’10’,
‘largest’ => ’30’,
‘sizing’ => ‘px’,
‘limit’ => ’30’
);$r = wp_parse_args( $args, $defaults );
extract( $r, EXTR_SKIP );bb_tag_heat_map( $smallest, $largest, $sizing, $limit );
}
add_filter (‘bp_forums_tag_heat_map’,’my_bp_forums_tag_heat_map’);`Also in functions.php
WP Tag Cloud defined in wp-includes/category-template.php
`add_filter( ‘widget_tag_cloud_args’, my_tag_cloud_args );
function my_tag_cloud_args($in){
return ‘smallest=10&largest=12&number=25&orderby=name&unit=px’;
}`In reply to: time traveling should not be encouragedHello,
the values you haveto tweak are hardcoded in bp-xprofile/bp-xprofile-template.php:639
`for ( $i = 2037; $i > 1901; $i– ) {`
Change 2037 and 1901 to what you want
Note: defaut start year is 1901 + 1 year = 1902 in the output.In reply to: Best chat function for buddypress?hello,
do you know this one ?
https://github.com/sbrajesh/bp-chatIn reply to: Buddy Press problems!hello,
1) http://jeffersonsnewspaper.org/2012/tips-for-using-the-wordpress-admin-bar-with-buddypress/
2) ‘coz you’re in a bad mood…
3) aaaaaaaah !!!! and god in all this ?
4)
https://wordpress.org/extend/plugins/sudoku-wp-widget/
https://wordpress.org/extend/plugins/barrel-roll/
https://wordpress.org/extend/plugins/hello-hollywood/
https://wordpress.org/extend/plugins/emc2-popup-disclaimer/
https://wordpress.org/extend/plugins/hello-hal/In reply to: buddy press toolbarhello,
add this to your child theme’s functions.php
`// remove visit random menu on admin bar
remove_action( ‘bp_adminbar_menus’, ‘bp_adminbar_random_menu’, 100 );`did you know this plugin ?
Hi,
No answer but a single question…
Did you assign a page for forum ? If yes, and because you installed bbPress as standalone forum, a forum page is not necessary.
A forum page is only needed when you install BP including forums for groups.It seems that many people encouter such comment button problem since BP 1.5.6 update.
Perhaps try to change permalinks settings and test with BP Default…
In reply to: How do i insert “Read More” to all postshello,
this is a WP question. That said you can tag more into your post.
Read here: https://codex.wordpress.org/Customizing_the_Read_MoreAlso you can use some plugins, this one for example: https://wordpress.org/extend/plugins/more-fields/
Hi,
what languages are you using ?
what is the weigth of your translation buddypress-xx_XX.mo file ?In reply to: Remove, Dashboard and Visit tabs on menu barTo remove the “visit” menu on the buddybar, simply add this filter to your child theme functions.php
`remove_action( ‘bp_adminbar_menus’, ‘bp_adminbar_random_menu’, 100 ); `In reply to: [Resolved] Unable to style my admin bar menuThank you @imath
1) your solution works partialy.
The float applied to the span brings the number on the same line as the text, but the span content is upper the normal baseline.I had to adjust with heigh and lineheigth. Here’s the whole css i applied to the span:
Now it’s OK !span.toto { float:left; margin: 3px 5px 3px 15px; height:15px; line-height:15px; background: #dd0000; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; color: #fff; font-weight: bold; padding: 2px 8px; }2) The whole admin menu is coded without ending li tags for each list element. Closing tag for li is not required. http://webdesign.about.com/od/htmltags/qt/optional-html-end-tags-when-to-include-them.htm
In reply to: [Resolved] BuddyPress is eating my backslash !!!First, if you use code on your topics, use the syntax highlighter evolved plugin.
Than you can – If you don’t want to remove the filters – type 3 slashes instead of only one. Two will be stripped and one will appear. Depends on what you (and your users) exactly need to do. 🙂In reply to: Buddypress Teams?Hi,
maybe try this plugin ?
https://wordpress.org/extend/plugins/bp-group-hierarchy/In reply to: Building a child theme: overriding default.cssdefault.css is comming with bp and overriden at each update. Don’t touch it !
As soon as it exist, style.css from within your child theme has priority.So you can copy/paste the css parts you want to change to your child style.css and work on it. The only thing you must be carefull is to use the same ID and class names as from the original default when you work on existing styles.
Or add news at your convenienceIn reply to: Building a child theme: overriding default.cssHi, you don’t need to copy default.css to your child theme. Use instead style.css in the child theme and add your changes to the specific part taken from default.
Example: let’s say you want to change the width of div#content .left-menu from 170 to 200px
in default.css you have`div#content .left-menu {
float: left;
width: 170px;
}`In your child theme, you write this in the style.css file
`div#content .left-menu {
width: 200px;
}`https://codex.buddypress.org/theme-development/building-a-buddypress-child-theme/
In reply to: buddypress text editor suggestions?Hi,
you can use the code above “as is” and yes, you got the right path to topic.php
In reply to: [Resolved] Remove Comment under Activity FeedHi,
perhaps read this on codex ?
https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/In reply to: [Resolved] BuddyPress is eating my backslash !!!hello,
put this into your child theme functions.php:
remove_filter( 'bp_get_the_topic_post_content', 'stripslashes_deep' ); remove_filter( 'bp_get_the_topic_latest_post_excerpt', 'stripslashes_deep' );The raw solution:
Go to bp-friends/bp-friends-template.php and comment the whole case “is_friend” between line 329 and 344.The better solution:
rewrite the function bp_get_add_friend_button who contains the switch given in the above solution and put it in your child theme’s function file.In reply to: Sidebar positionIn mostly case you should have something like this at the end of your thème files :
</div><!-- .padder --> </div><!-- #content --> get_sidebar();In reply to: what does it do ?So it is the name “default _component” who finaly leads me to confusion.
But good to know from now, it’s only useable in member component.
Thank you @r-a-y !