Search Results for 'wordpress'
-
AuthorSearch Results
-
July 28, 2014 at 4:54 pm #185675
In reply to: adding photos to forum posts
danbp
ParticipantIt’s a bbpress question ! 😉
And it’s a bad idea, because users will have acces to your media library on the backend. So i warn you to use this option very carefully and allow only trusted users.You can use this plugin: https://wordpress.org/plugins/gd-bbpress-attachments/
or code yourself by following this example.July 28, 2014 at 5:59 am #185654In reply to: Buddypress not compatible with theme
shibbymintay
ParticipantI did step through the javascript execution and it seems like the nav bar is hidden once line 1504 in buddypress.js in /wordpress/blog/wp-content/plugins/buddypress/bp-templates/bp-legacy/js executes. It looks like this:
jq(‘body’).attr(‘class’, jq(‘body’).attr(‘class’).replace( /no-js/,’js’ ) );
I’m honestly not sure what this line of code is doing and I cannot edit this file as I get a ‘permission denied’ otherwise I would just try commenting it out.
July 28, 2014 at 5:12 am #185653In reply to: Buddypress User Login Fail :(
heilyn
ParticipantCheck your registration in WordPress general setting. Your “anyone can register” button should be checked.
July 26, 2014 at 7:54 pm #185618In reply to: Padding Issue after Admin Bar Removal
danbp
Participantscrolling down the member page provides a funny elastic effect ! 😉 Really cool, but not what you want of course.
I disabled js on the browser and the effect disapeared immediatly.
So i think there is a js conflict, probably with some of your theme’s script.
check for the elements
`<div class=”col span_3>
<a>
<img alt=”Foxtrot Tango” /> `You mention salient to be your theme but the source code indicates castle ? Did you rename it for a child theme usage ?
Some script don’t support this…You use also a plugin to remove the admin bar.
<!--Plugin Global Hide Admin Tool Bar 1.6.1 Build 2014-04-16 Active ---> <!-- This website is patched against a big problem not solved from WordPress 3.3+ to date -->Huh ?
Don’t know if the second comment belongs to that plugin, but if yes, WP is currently in 4.0 phase, so a 3.3 “problem” maybe solved.
Google to find a simplier solution to remove the toolbar. There is also a easy and light solution in on the WP codex.add_filter('show_admin_bar', '__return_false');in theme’s function or bp-custom.php would do the job on front-end !Don’t use a hammer to kill a fly ! 😉
July 26, 2014 at 7:50 pm #185617In reply to: Buddypress broken since 2.0
dede924
ParticipantOk, I installed wordpress on a free service, so you can see the problem for yourself. When someone leaves a comment, it is not displayed in the stream activities, and activities of custom posts types are not displayed even embedded in the file bp-custom.php in the plugins folder code. As nobody seems to have this problem, it may be me doing something wrong. I can give you administrator credentials in private message if you want.
WEBSITE: http://exovideo.olympe.in/
July 26, 2014 at 4:47 pm #185612In reply to: BuddyPress not working
@mercime
Participant@webt89 Unfortunately, there are themes with proprietary templating systems that hijacks the loop which allows BP to be compatible with WP themes. There could still be a way around it.
1. https://codex.buddypress.org/themes/theme-compatibility-1-7/
2. Examples of creating a
buddypress.phpfile to customize BP pages -> https://codex.buddypress.org/themes/bp-theme-compatibility-and-the-wordpress-default-themes/In your case though, you cannot copy over the page.php source code to your buddypress.php. What you would need to do is get the plain HTML structure of that section and replace some code with the WordPress Loop which includes the_title and the_content.
You could try asking the premium theme author for that simple
buddypress.phpfile which you need to upload to your theme folder in server or hire a developer to do so.July 26, 2014 at 4:27 pm #185609In reply to: buddypress.js not loading
GhostPool
ParticipantNothing as far as I know, the installations are identical.
There’s nothing in mu-plugins that relates to BuddyPress and bp-custom.php is not present.
This is a new install on a live server with a standard version of WordPress (3.9.1), not WordPress multisite.
July 26, 2014 at 2:18 pm #185600In reply to: No Registration and Activation Page
Henry Wright
ModeratorHi again @pietro_sferrino,
1 – HOW TO ADD A FRONT-END LOGIN FORM. I do NOT want people see the wp-default form for login. I want to show it in a front-end page. Actually, is not a matter of what I want … that is ho it HAS to workTheme My Login is the plugin to handle that for you. Give it a try here: https://wordpress.org/plugins/theme-my-login/
Point 2 is a little more complicated, yes it can certainly be done but it will require you to create a template. For information on the BuddyPress template hierarchy, see here: https://codex.buddypress.org/themes/theme-compatibility-1-7/template-hierarchy/
July 26, 2014 at 8:56 am #185593In reply to: New Users in Back-end
July 25, 2014 at 10:55 pm #185579In reply to: No Registration and Activation Page
Henry Wright
ModeratorBuddyPress should automatically create registration and activation pages for you. You can check by going to your website. For example
example.com/registrationorexample.com/activate.To create a WordPress navigation menu and add the activation and registration pages to it, see the WordPress Menu User Guide.
July 25, 2014 at 7:14 pm #185576@mercime
ParticipantYou can either copy over https://buddypress.trac.wordpress.org/browser/tags/2.0.1/bp-templates/bp-legacy/buddypress/groups/create.php by adding buddypress/groups/ folders and add changes yo want to make after line #185 OR add info by hooking into
do_action( 'bp_before_group_invites_creation_step' );for the Group Invite section in your theme’s functions.php fileJuly 25, 2014 at 6:44 pm #185574In reply to: Registration Page Issue
@mercime
Participantchange the edit the boxed included by default
@osamanuman just copy over https://buddypress.trac.wordpress.org/browser/tags/2.0.1/bp-templates/bp-legacy/buddypress/members/register.php into wp-content/themes/your-theme-name/buddypress/members/ folder (create folders if you don’t have them yet) then edit that register.php and save.if I want to add mission and about us in the same registration page, how can it be done
Any field you create in the “Base” profile field group will show up in registration form. https://codex.buddypress.org/buddypress-components-and-features/extended-profiles/
July 25, 2014 at 5:50 pm #185570In reply to: [Resolved] disable nickname/pseudonym
@mercime
Participantwhen admin create a users he is forced to enter a pseudonym
@victord34 you mean a “username”. That is a WordPress requirement for registration, not BuddyPress. But since BP is a plugin for WP, we use those usernames in different instances.July 25, 2014 at 5:29 pm #185569In reply to: Create custom notifications
nicmare
Participantdid you read this example in the documentation? https://bbpress.trac.wordpress.org/browser/tags/2.5.3/includes/extend/buddypress/notifications.php
there is a function for that: bp_notifications_add_notification( $args )
July 25, 2014 at 1:00 am #185540In reply to: [Resolved] disable nickname/pseudonym
@mercime
Participant@victord34 start off with https://wordpress.org/plugins/buddypress-real-names/
July 24, 2014 at 9:13 am #185511In reply to: Different profile types and different user roles
jeffacubed
ParticipantI’m in exactly in the same boat as @kamillamonkey on this one – “It wont change it from the DEFAULT ROLE set in WordPress/Settings/General/New User Default Role [Subscriber].”
I can go in after a new user registers and ‘manually’ switch the user role, but alas, at least for me, I’m not getting the roles assigned based on the user_roles & cases as outlined above when they register.
I’m using BuddyPress 2.0.1 & WordPress 3.9.1
Seems odd that the new user role would not be assigned, as the tutorial/code in @noizeburger ‘s example looks very solid! Any chance this has to do with something new/recent in BuddyPress 2.0.1?
-Jeff
July 24, 2014 at 4:00 am #185492@mercime
Participant@ubiq00 Ask your hosting company if they can host BuddyPress installations and point them to the codex link above. You might need to upgrade as some shared hosting plans can’t handle BP.
Since you’re new to WordPress and BuddyPress, might I suggest before upgrading hosting plans, that you test WordPress/BuddyPress via local install through XAMPP https://make.wordpress.org/core/handbook/installing-a-local-server/installing-xampp/
July 24, 2014 at 3:10 am #185484In reply to: BuddyPress.org Theme
@mercime
Participant@philmeyer It’s open source now but it’s customized for this site so you would need to make the adjustments to work on your site https://buddypress.org/2014/03/open-sourcing-buddypress-org/
@kpd10435 the screenshot is from WP profiles page https://profiles.wordpress.org/johnjamesjacoby
All code is open sourced at https://meta.trac.wordpress.org/browser/sites/trunk Only thing is, it’s just not a matter of downloading the theme. If you’re a developer there would be matter of having the time and knowing how to customize plugins and theme for your site.July 23, 2014 at 12:39 pm #185458In reply to: $bp->bp_options_nav wrong user links
danbp
Participanttry by adding this at the begin of your function
$user_id = bp_get_activity_user_id();If you’re working on the Toolbar, the correct way to add a menu is like on this example:
/* add links/menus to the admin bar*/ /* more details here: http://wpengineer.com/2113/add-menus-to-the-admin-bar-of-wordpress/ */ function mytheme_admin_bar_render() { global $wp_admin_bar; $wp_admin_bar->add_menu( array( 'parent' => 'new-content', // use 'false' for a root menu, or pass the ID of the parent menu 'id' => 'new_media', // link ID, defaults to a sanitized title value 'title' => __('Media'), // link title 'href' => admin_url( 'media-new.php') // name of file 'meta' => false // array of any of the following options: array( 'html' => '', 'class' => '', 'onclick' => '', target => '', title => '' ); ) ); } add_action( 'wp_before_admin_bar_render', 'mytheme_admin_bar_render' );A similar method is used to add a tab. Here on a user profile.
function bpfr_my_setup_nav() { global $bp; $mytab=array( 'name' => 'My Tab', 'link' => 'http://example.com/wp-content/themes/twentythirteen/my_extra_page.php', 'slug' => 'my-tab', 'css_id' => 'my_custom_tab', 'position' => 100, 'user_has_access' => 1, 'screen_function' => 'xprofile_screen_my_tab' ); $bp->bp_options_nav['profile']['my-tab']=$mytab; } add_action('bp_setup_nav', 'bpfr_my_setup_nav');July 23, 2014 at 12:17 pm #185457In reply to: How to make a "post gallery" that has member ratings
danbp
Participantthis is not a BP support, it’s a WP and theming domain.
1) no !
2) depends of the number of books and their type
3) this is default behavior when WP insert a picture into a post
4) a conditionnal should be added to the page or the post content. WP question anyway.FYI see here:
http://code.tutsplus.com/articles/how-to-create-a-simple-post-rating-system-with-wordpress-and-jquery–wp-24474July 23, 2014 at 7:25 am #185446danbp
Participanttake a look here, for inspiration at least
http://wordpress.stackexchange.com/questions/125754/buddypress-conditionally-filter-directory-based-on-xprofile-fieldJuly 22, 2014 at 11:50 pm #185436In reply to: Confirm Email Address – Registration Form – HELP
arielmeadow
ParticipantI’m curious if anyone has any additional guidance on this — I have an on-staff developer who could enact this if anyone can suggest how.
We get a frustratingly large number of registrations for emails like reddysmith@gmial.com and laurabrown@yaho.com … it’d save a lot of hassle to force email confirmation on registration.
I understand that this plugin used to add the function, but is outdated and no longer works:
https://wordpress.org/plugins/bp-xtra-signup/July 22, 2014 at 8:03 pm #185431July 22, 2014 at 6:01 pm #185424In reply to: "Read more" not working on group activities
danbp
ParticipantJuly 22, 2014 at 5:10 pm #185423danbp
ParticipantDo you mean the group admin screen on back end ?
Have you tried to strip the shortcode ?
$content = strip_shortcodes($content);
return $content;Removing some filters may also work ?
http://wp-a2z.com/oik_api/kses_remove_filters/
Or, sorry if i’m wrong, see here a similar question, with a clever answer which maybe help you further. -
AuthorSearch Results