Search Results for 'buddypress'
-
AuthorSearch Results
-
April 17, 2013 at 6:16 pm #161975
In reply to: Template of this forum
@mercime
Participant@tbermudas templates for support forums at BuddyPress.org and bbPress.org are custom-made for the site. For starters though, you can create a Page Template for the Forums home page, add the topics shortcode for content. For sidebar, you would look at bbp_list_forums() and output what you need. This question would be better addressed at https://bbpress.org/support/
April 17, 2013 at 6:04 pm #161971modemlooper
ModeratorThemes that were made before 1.7 may have issues as most are a derivative of the bp-default theme. Especially if they include a lot of custom template files and code.
The developer posted a comment https://buddypress.org/support/topic/buddypress-1-7-is-now-available-2/page/2/#post-161686
April 17, 2013 at 5:53 pm #161969In reply to: Disable HTML in activity updates
Ypswytch
ParticipantI’m a newbie to php and the wordpress/buddypress way of doing things, and I seem to learn best by seeing examples, so I’m posting my “action” for overriding the allowed tags. I was able to get one other approach to work where I removed filters on bp_activity_filter_kses and added my own, but this version also works and seems cleaner. If anyone knows of a better approach, please let me know. I’m all about optimizing my code.
#********************************************************* # set allowable html tags #********************************************************* function my_allowed_tags() { global $allowedtags; $allowedtags = array( 'a' => array( 'href' => array (), 'title' => array ()), 'abbr' => array( 'title' => array ()), 'acronym' => array( 'title' => array ()), 'b' => array(), 'blockquote' => array( 'cite' => array ()), 'cite' => array (), 'code' => array(), 'pre' => array(), 'del' => array( 'datetime' => array ()), 'em' => array (), 'i' => array (), 'q' => array( 'cite' => array ()), 'strike' => array(), 'strong' => array(), 'sub' => array(), 'sup' => array() ); // adding any additional tags this way because it's easier to read $allowedtags['h1'] = array(); $allowedtags['h2'] = array(); $allowedtags['h3'] = array(); $allowedtags['h4'] = array(); $allowedtags['h5'] = array(); $allowedtags['h6'] = array(); $allowedtags['u'] = array(); $allowedtags['center'] = array(); $allowedtags['big'] = array(); $allowedtags['small'] = array(); $allowedtags['tt'] = array(); $allowedtags['br'] = array(); $allowedtags['p'] = array(); $allowedtags['dl'] = array(); $allowedtags['dt'] = array(); $allowedtags['dd'] = array(); $allowedtags['ul'] = array(); $allowedtags['ul']['style'] = array(); $allowedtags['li'] = array(); $allowedtags['li']['style'] = array(); $allowedtags['ol'] = array(); $allowedtags['ol']['style'] = array(); $allowedtags['font'] = array(); $allowedtags['font']['size'] = array(); $allowedtags['font']['color'] = array(); $allowedtags['font']['face'] = array(); } add_action( 'bp_activity_allowed_tags', 'my_allowed_tags', 10 );April 17, 2013 at 5:09 pm #161966In reply to: Renaming Components
rafferjr
Participanti followed the instructions but im confused as to what to upload and how to point the language files. i edited the newly created buddypress-en_Us.po file and created the folder languages in the wp-content folder. but it does’nt seem to be taking.
1) am i uploading the filed buddypress-en_US.po and .mo to that folder? and if so how do i tell buddy press to read from those launguage files the script i used from the example isnt working.
April 17, 2013 at 4:57 pm #161963In reply to: Site not showing now
@mercime
Participant@tgoedde Please do provide more information about the issue and your installation. When and where does the message show up? Also https://buddypress.org/support/topic/when-asking-for-support-2/
April 17, 2013 at 4:19 pm #161958Renato Alves
ModeratorYou can add as much as fields as you want. The students would fill them according in their seetings page (here you could change the name for one more appealing) and those fields are searchable by default so you would not have a problem with it.
Bu BuddyPress does all you want out of the box.
April 17, 2013 at 3:59 pm #161953In reply to: sort group members by displayname in members.php?
JohnnyJonJon
ParticipantFYI, due to time constrains just had to edit source: line 1235 on /buddypress/bp-groups/bp-groups-classes.php – display_name ASC
$members = $wpdb->get_results( apply_filters( ‘bp_group_members_user_join_filter’, $wpdb->prepare( “SELECT m.user_id, m.date_modified, m.is_banned, u.user_login, u.user_nicename, u.user_email, pd.value as display_name FROM {$bp->groups->table_name_members} m, {$wpdb->users} u, {$bp->profile->table_name_data} pd WHERE u.ID = m.user_id AND u.ID = pd.user_id AND pd.field_id = 1 AND group_id = %d AND is_confirmed = 1 {$banned_sql} {$exclude_admins_sql} {$exclude_sql} ORDER BY display_name ASC {$pag_sql}”, $group_id ) ) );
} else {
$members = $wpdb->get_results( apply_filters( ‘bp_group_members_user_join_filter’, $wpdb->prepare( “SELECT m.user_id, m.date_modified, m.is_banned, u.user_login, u.user_nicename, u.user_email, u.display_name FROM {$bp->groups->table_name_members} m, {$wpdb->users} u WHERE u.ID = m.user_id AND group_id = %d AND is_confirmed = 1 {$banned_sql} {$exclude_admins_sql} {$exclude_sql} ORDER BY display_name ASC {$pag_sql}”, $group_id ) ) );
}April 17, 2013 at 3:29 pm #161949In reply to: Re-enabled group forum
Jeff
ParticipantBP 1.7, BBPress 2.3, WP 3.5.1, Theme: BuddyBoss
This is a major problem. I have to delete my groups!? Ok fine. Thankfully I’m in development stage right now so I removed the groups along with their associated forums. Here’s what I did next to reproduce the error:
1. Removed all groups.
2. Removed the associated forums and purged from trash. Only one site-level forum remained.
3. Recreated the groups and elected to have a forum for each one.
4. Viewed each group and clicked on Forums link. So far so good! The forum displays as expected.
5. Visited the new Groups section (BP1.7) from admin console. All groups show fine.
6. Selected one group to view it within admin console. I did notice that in the Discussion Forums meta box, the checkbox was selected but no forum was selected in the dropdown. Hmmm.
7. Clicked Save for the group. No problem.
8. Visited the group from front end, clicked on Forums link, BOOM!Errors:
—————————————————————
Mopar Club Connections → Forum
Public GroupWarning: substr() expects parameter 1 to be string, array given in /var/www/vhosts/jsmedianetworks.com/httpdocs/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 776
Warning: strpos() expects parameter 1 to be string, array given in /var/www/vhosts/jsmedianetworks.com/httpdocs/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 783
Warning: explode() expects parameter 2 to be string, array given in /var/www/vhosts/jsmedianetworks.com/httpdocs/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 789
Warning: Invalid argument supplied for foreach() in /var/www/vhosts/jsmedianetworks.com/httpdocs/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 789
Warning: substr() expects parameter 1 to be string, array given in /var/www/vhosts/jsmedianetworks.com/httpdocs/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 776
Warning: strpos() expects parameter 1 to be string, array given in /var/www/vhosts/jsmedianetworks.com/httpdocs/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 783
Warning: explode() expects parameter 2 to be string, array given in /var/www/vhosts/jsmedianetworks.com/httpdocs/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 789
Warning: Invalid argument supplied for foreach() in /var/www/vhosts/jsmedianetworks.com/httpdocs/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 789
I don’t know if this is BuddyPress or BBPress issue.
-JeffApril 17, 2013 at 3:14 pm #161948banata
Participanthello, could it be related to this :
https://buddypress.org/support/topic/resolved-search-page-component-missing/
I use same themes, using custom community too
April 17, 2013 at 2:59 pm #161947Sea Jay
ParticipantI’m aware that, in the past, there used to be two admin bars: the WPAdmin bar shown to logged-in users and the Buddybar shown to all users, including a log-in/register link for new users.
I believe I understood that the BuddyBar was being deprecated. Does that mean non-logged in users will see BuddyPress options on the main WP-Admin bar? (I am developing with a private site, so cannot see the options.)
I’m looking for documentation that might help us understand the change.
I am using Responsive theme, but have looked in source code and no longer see both bars.
@mercime
ParticipantI have it set in gen admin options to allow for registration and all pages necessary for BP with their corresponding links which you can see on the top of my site???
@ghyatt I don’t see any links to the BuddyPress pages at the top of your site using Chrome, Firefox and Safari. Looking at source code however, I see that it’s there and covered via stylesheet of “This is a demo store for testing purposes — no orders shall be fulfilled.” purple band at the top of your site.1) Not the issue, but recommend fixing -> Some of your BP pages have -2 in the URL like /register-2, /members-2, /activate-2, and /groups-2 which means that you probably moved the original register, members, activate, and groups page to Trash bin but did not delete the pages permanently. So when you created a new Register page for example, -2 was appended to the page slug.
2) Re layout of your BuddyPress pages – looks like your theme has a custom-coded page which does not follow the regular WordPress templating system. That’s why the BP theme compatibility is off, including the missing submit button. Change to Twenty Twelve theme and you’ll see the Submit button in the Register page. You’d need to create a buddypress.php file https://codex.buddypress.org/developer/theme-development/a-quick-look-at-1-7-theme-compatibility/
April 17, 2013 at 12:54 pm #161939In reply to: BuddyDroid – BuddyPress for Android
timvango
Participanthello,
The userrpofiles works great!
Can you make this also for the groups, so you can post directly to groups?
That would be great!April 17, 2013 at 11:57 am #161936xprt007
ParticipantHi
I appreciate your response. Actually as mentioned in my post on that page, there seems to be something missing in my installation for doing just that, although I already have the recommended buddypress 1.7. I do not have that mentioned interface which has the option to add new members, but might be mistaken & need some little more guidance.
Kind regards
April 17, 2013 at 11:08 am #161930In reply to: Custom Activity feed – need help with code
Henry
Memberhttps://codex.buddypress.org/developer/developer-docs/loops-reference/the-activity-stream-loop/
This will help. Use “max” to output only the last 5 entries.
April 17, 2013 at 7:56 am #161925In reply to: [Resolved] Group forum Gives Error (updated 1.6>1.7)
John Conner
ParticipantFound the solution: http://wpmu.org/daily-tip-fix-for-buddypress-group-forums-error-when-creating-a-new-topic/
Hope these common problems getting solved in buddypress 2.0 and later 🙂April 17, 2013 at 7:26 am #161923In reply to: Here is one for the techies
Henry
MemberThe main reason is I am using the Twit Connect plugin which seems to be the only plugin which let’s a member register via Twitter that is compatible with BuddyPress. When a user  signs up their email isn’t captured as Twitter doesn’t make it available via their API. They also don’t have a password given to them but I assume BuddyPress creates one automatically for them. So if the user wants to log in in future they always have to use their Twitter to connect. There is no fall back on a username and password. My idea is to get them to add their email and password via general settings. But there is the problem of the current password requirement.
Any ideas how I could best approach the problem?
April 17, 2013 at 7:20 am #161922In reply to: BuddyDroid – BuddyPress for Android
yaakhi
ParticipantCan you implement this
https://github.com/johnkil/SideNavigation
instead of dropdown box for choosing filters ?April 17, 2013 at 5:59 am #161918In reply to: [Resolved] BuddyPress Error – When the activated
darrylnuyda
Participantmercime thanks,
the problem solve, thanks for helping. and now I am looking the new themes for my buddy press.
April 17, 2013 at 5:48 am #161916In reply to: Author posts on profile page
@mercime
ParticipantThere’s also this plugin with posts on profile and also allows posting in front end of site http://buddydev.com/buddypress/introducing-buddyblog-allow-users-to-blog-from-their-buddypress-profile/
April 17, 2013 at 5:36 am #161915In reply to: [Resolved] BuddyPress Error – When the activated
bp-help
Participant@darrylnuyda
I am not certain but it sounds like a php 5.4+ error.
Try adding this code to your themes functions.php between the opening and closing php tags:
`
error_reporting(E_ERROR | E_PARSE);
`
I am not saying this is a fix but it seemed to help me on several installations. Please still supply the info @mercime requested in case there is a better solution.April 17, 2013 at 5:32 am #161914In reply to: Login and Register Link
@mercime
ParticipantI’m new to buddypress but believed a login and register link would be placed in the header by default?
Not by default. It depends on the the design by theme author.
However, instead do I need to insert my own links or buttons within the header.php to make this work?
Yes. You would need to create those. See lines 8 through 59 of https://buddypress.trac.wordpress.org/browser/tags/1.7/bp-themes/bp-default/sidebar.php for code. Then adjust style to taste.
April 17, 2013 at 5:21 am #161913In reply to: [Resolved] BuddyPress Error – When the activated
darrylnuyda
ParticipantHi @mrcime,
I don’t have any plugins use in the wordpress. version 3.5 latest.
when I decided to use the buddy press I’m shock when the error pop up in header part.
so, how can I fix this? can you help me?
April 17, 2013 at 4:10 am #161910In reply to: toolbar not appear
nirzol
Participantthx , I find the patch tooo here :
https://buddypress.trac.wordpress.org/ticket/4771that give this patch :
https://buddypress.trac.wordpress.org/ticket/4803hope it will be in the next update 🙂
April 17, 2013 at 3:54 am #161908In reply to: BuddyDroid – BuddyPress for Android
yaakhi
ParticipantThank you, worked great! Keep up the devlopment.
April 17, 2013 at 3:38 am #161905@mercime
ParticipantThat plugin has been updated for BP 1.6 per site’s plugin page. The best place to report on issues with the plugin is at plugin dev’s site http://buddydev.com/buddypress/buddypress-sitewide-activity-widget-for-buddypress-1-2-and-above/
-
AuthorSearch Results