Search Results for 'wordpress'
-
AuthorSearch Results
-
June 19, 2014 at 2:11 pm #184225
In reply to: How do I move profile subnavs to Settings subnav
lflier
ParticipantThanks. I’ll try this as time permits.
In the meantime I can share with @josephfrio13yahoocom what I know about changing the BuddyPress subnav section:
1. You’ve seen a working example of creating a new subnav in the code I posted earlier. Just substitute your own output function for the xprofile_screen_change_avatar function in the line:
add_action( 'bp_template_content', 'xprofile_screen_change_avatar' );2. To remove a subnav item see my post here.
3. To change the default subnav, which you will have to do if you want to delete a default subnav, see the BuddyPress codex here, which has a nice example.
I’m sure Henry could do better, but I hope this gets you started. All of this can be done in a functions.php file. No modifications of the BP core should be necessary.
June 19, 2014 at 10:16 am #184215In reply to: Members Directory appearing on wrong page
xhan
ParticipantTurns out the code is searching for any page template with the word ‘member’ in it – and thats what my page template was called, I’ve raised a ticket for it https://buddypress.trac.wordpress.org/ticket/5721#ticket but I’ve just renamed my template file page-mem-application.php for now.
June 19, 2014 at 7:12 am #184207In reply to: [Resolved] Page not found error with buddypress
@mercime
Participant@simonvrolijk BP requires “pretty permalinks” to work, not “almost pretty permalinks” via appending index.php for Windows servers as I checked your Members Directory page at http://thesocialeconomy.nl/index.php/members/
Possible Solutions:
– https://codex.wordpress.org/Using_Permalinks#Permalinks_without_mod_rewrite
– https://codex.buddypress.org/getting-started/iis7-web-config/
– or contact webhostJune 19, 2014 at 1:11 am #184200jasonsherwin
ParticipantHi Guys,
I’m also experiencing this issue with a broken registration form.
Fresh wp + buddypress install.WP_DEBUG doesn’t report anything… the registration form just fails silently on submit.
I don’t have any weird directory naming going on like hope mentioned above^
I just had a fresh test wp install setup on mamp at http://localhost:8888/wordpress/
Tried renaming this dir in case it was some reserve word issue with ‘wordpress’… still no luck.wp 3.9.1
bp 2.0.1cheers,
– jason
June 18, 2014 at 10:27 pm #184197In reply to: redirect user login
modzirra
ParticipantSo, I’ve been combing these forums for weeks for a very similar problem, and being that this is the closest solution post, I thought I would ask here, extending the support for this problem.
I would like to redirect users during login in the following manner:
If logging in from the front page (site, not user): redirect to user profile
If logging in from anywhere else: redirect to original url (where original url is the url where the login process was initiated)Currently I am forced to run the following for backwards compatibility reasons:
WP: 3.7.3
php: 5.3.10
bbPress: 2.5.3
BuddyPress: 1.9.2 +5 complimentary pluginsActive Plugins
45+ with the most relevant being:
BadgeOS: 1.3.5 +4 complimentary plugins
Bowe Codes: 2.1
BP My Home: 2.0
BP RedirecttoProfileforBuddypress: 1.2
BP Simple Front End Post: 1.1.4
BuddyBlog: 1.0.4I’ve tried to edit the redirect plugin mentioned often here as well as with no luck.
Here is a sample of one of my latest attempts (a modification on redirect to profile plugin):
add_filter("login_redirect","bpme_redirect_to_profile",100,3); function bpme_redirect_to_profile( $redirect_to_calculated, $redirect_url_specified, $user ){ /* if no redirect was specified,let us think we want the current page */ if( empty( $redirect_to_calculated ) ) $redirect_to_calculated=$redirect_url_specified; /* if the user is site admin or not and it's the front page,redirect to his/her profile */ if( is_super_admin( $user->ID ) && is_front_page() ) return bp_core_get_user_domain( $user->ID ) . 'profile/'; if( !is_super_admin( $user->ID ) && is_front_page() ) return bp_core_get_user_domain( $user->ID ) . 'profile/'; else return $redirect_to_calculated; /*if site admin or not logged in,do not do anything much*/ }(I recognize that the admin user check is redundant, that was part of some debugging I was doing)
I find that every time I try to check for the front page, something happens to interrupt the redirect process. Without a check for front page: Working great! With the check for front page: No Bueno! I’ve been using several debugging plugins and if I understand them correctly, most of the issue has to do with the sidebar login location (it seems to ignore wp_login and login_redirect hooks/filters) and checking for the front page.
I tried many other plugins and most of the code (with minor adjustments for my needs) that was offered on the forums here, including the Ajax one, but most of our login process is done through the sidebar and they just don’t ever get called or triggered during the sidebar login process.
I would love some advice on how to adjust what I have and get it working properly.
Your help is appreciated, thanks!
June 18, 2014 at 6:10 pm #184182bp-help
Participant@titoesco
I personally haven’t tested this plugin with BP but if your adventurous you can give it a try.
https://wordpress.org/plugins/jonradio-multiple-themes/
It supposed to allow use of more than one theme. Good luck!June 18, 2014 at 2:31 am #184161@mercime
Participant@titoesco Activate BuddyPress and configure BP settings activating the Extended Profiles component only. BP is compatible with nearly all WordPress themes.
June 17, 2014 at 10:05 pm #184153touomiwilly
ParticipantI had the same issue, and I resolved it without deleting files and database.
To show group avatar, Buddypress uses a setting from wordpress. When it is disabled, Buddypress won’t show your group avatar. So, in admin, go to Settings > Discussion and make sure Show avatars is checked in Avatars section (you can find it at the bottom of the page).
Once I checked it, avatars started to show on my site. I hope it will be the same for you.
June 17, 2014 at 2:39 am #184134In reply to: Help with profiles
blu3shad0w
Participantwell the idea being is that I’m after creating a guild/clan plugin for the community that well kinda of sits on/makes use of wordpress and buddypress….
There are some plugins out there, but they don’t go far enough in terms of the way they do it.
If not create a plugin then well a how to so people can config it…
In regards to the conditional fields plugin is there a way to alter it so that the lower level can be say a picture, a number, a text field that you enter…or are you restricted to just a set option that you already fill out….
June 16, 2014 at 9:47 pm #184125In reply to: [Resolved] Avatars Loading from Wrong URL
shanebp
ModeratorIt’s not just avatars, it’s all images that are coming from what I guess is the old site.
How did you move your site?
Did you update the htaccess file?
Did you do a search & replace on the database to change urls?
June 16, 2014 at 6:07 pm #184123In reply to: Can't Edit User Profiles – NextGen Gallery Activated
@mercime
Participant@msegroves Changed title to add NextGen Gallery so others who are using that plugin might be able to assist you. Please also post at NextGen Gallery’s forums.
June 16, 2014 at 1:19 pm #184116In reply to: Ning Import
DoodleDogCody
ParticipantI have used that one, but like its title says it seems to only be for user imports. The other ning importer that is on wordpress.org, does seem to work with a little trickery on the file names though.
June 16, 2014 at 3:01 am #184102In reply to: Front End Profile Editing
paton400
ParticipantNo, I need to grant the user role permission to ‘edit users’. But by granting that, I’m granting them access too much access.
I want only want them to be able to change the information in other users profile fields. I don’t want them to be able to read private messages.
Is this a question for Buddypress, WordPress or my user role permissions plugin?
June 15, 2014 at 5:42 pm #184097In reply to: Frontend User Search
June 15, 2014 at 11:26 am #184081Henry Wright
ModeratorCheck out Roles and Capabilities. If your admin and custom roles share a common capability then you can distinguish these roles from the rest of the roles that don’t have that capability.
See
current_user_can() and user_can()You would use them like this:
if ( current_user_can( 'manage_options' ) ) { // The current user can manage options so do something special. }if ( user_can( $user_id, 'manage_options' ) ) { // The specified user can manage options so do something special. }June 15, 2014 at 12:40 am #184063In reply to: Help with profiles
blu3shad0w
ParticipantJune 14, 2014 at 12:48 am #184024In reply to: Upgrading BuddyPress 1.6.4 to 2.x
r-a-y
KeymasterHere is the BP release archive page:
https://codex.buddypress.org/developer/releases/This is what I would do. Disclaimer: Don’t blame me if anything goes wrong with your site. 🙂
Now with that out of the way. First of all, backup your database, your plugins and theme.
Next, make sure you have a development environment set up. Do not do this on a production site!
Disable all BP plugins to be safe.
I would update to the latest version of WordPress first. Then, upgrade to BuddyPress 1.9.2. Then, update to BuddyPress 2.0.1.
Update any outdated plugins and reactivate the BP plugins. Then, test your site out. See if there are any bugs.
Once you’ve confirmed everything is good, then do the same on your production site.
June 13, 2014 at 2:53 pm #184000Anonymous User
InactiveNo. You’ll need to add a common capability to the roles you are targeting, see
https://codex.wordpress.org/Function_Reference/add_capJune 13, 2014 at 7:22 am #183987Anonymous User
InactiveHi,
Depending on the theme you use (regular WordPress theme, BP Default or a child of it, or a standalone BuddyPress theme), you can override some templates to achieve your goal.
Have a look at the codex starting with this page : https://codex.buddypress.org/themes/theme-compatibility-1-7/a-quick-look-at-1-7-theme-compatibility/
If it’s a regular WordPress theme, then you can can add a
buddypressfolder in it and copy these templates into it respecting the ‘tree’ :
–bp-templates/bp-legacy/buddypress/activity/index.php
–bp-templates/bp-legacy/buddypress/members/single/activity.phpOnce done, you should have :
–yourthemefolder/buddypress/activity/index.php
–yourthemefolder/buddypress/members/single/activity.phpThen into these two files search for
bp_get_template_part( 'activity/post-form' );and you should see a line above an if statement containingis_user_logged_in().... Replaceis_user_logged_in()bybp_current_user_can( 'theminimumcapability' )where theminimumcapability is the the role capability you’re targeting. See the WordPress codex to define it : https://codex.wordpress.org/Roles_and_Capabilities
June 12, 2014 at 5:27 pm #183974paton400
ParticipantNow we are talking very basic WordPressing here.
Go to the appearance/menus screen and from there it’s pretty self explanatory.
click on ‘Create a new menu’, call it whatever you want, then select what pages you would like to appear in the menu.
Underneath the list of WordPress pages you see a tab full of Buddypress options that can also appear in the menu, one of which is the log-in/log-out button.
Regards
June 12, 2014 at 12:28 pm #183953In reply to: Hot can I display the profile fields groups in tabs?
danbp
ParticipantAnyway an image says more as words (in our case).
Check if this plugin can help you:
https://wordpress.org/plugins/buddypress-profile-tabs/June 12, 2014 at 8:07 am #183937danbp
ParticipantIn your first topic you asked: It is possible to turn off this notification?
Yes it is, and the solution is in the first link. The other link is given as reference to the code, who is in a core file. Such core files should never been modified directly.
You need to study a bit WP and BP codex to understand how to achieve this, and learn a bit more about buddypress customization. You are also free to hire a developer by posting at http://jobs.wordpress.net/ or somewhere else.
One easy way to begin is to search and read this forum first i guess.
June 12, 2014 at 7:55 am #183936In reply to: I want to use BP BUT is there a plugin for this use?
danbp
Participanthi @jjjaay9,
BuddyPress (BP) is a community plugin (a bundle of 8 distinct components and many other features) for WordPress. These components are all optionnal, but in any case, publishing is the territory of WordPress.
If you want to allow front-end publishing for your users, to avoid them going directly into the admin, search some plugin on the WP plugin repo or use a theme who provide such facility.For example consider the theme P2, it probably contains anything you listed. (so far i remember)
User guide is here.
June 12, 2014 at 7:44 am #183934In reply to: I want to use BP BUT is there a plugin for this use?
jjjaay9
Participanti found some plugins that MAY do this: answer/questions
However, if I used these plugins, how easy do they integrate with buddypress?
Can I customize to show these pages, and for users to have a default link to ‘create a question’ ?I mean, if they have ‘create post’ like a normal wordpress blog, then buying/using a question/answer plugin is kinda useless as most wont be able to find the link to it – and will automatically create a post instead.
Also, how would i know if it looks good or this plugin will integrate with BP?For example, would it show up as a sidebar saying recent questions like recent posts etc?
Otherwise if it doesn’t integrate with BP then there’s no point using BP if it has a question and answer section that acts normally as wordpress anyway.
If so, what are teh benefits of using BP AND a question/answer plugin?
one eg i think of is, users can private message eachotehr when someone posts a questionThanks
June 11, 2014 at 1:18 pm #183914In reply to: [Resolved] How to hide more than one profile field?
danbp
ParticipantGroup exclusion doesn’t work on a single install for the moment (only on MS).
More advice on this here:
https://buddypress.trac.wordpress.org/ticket/5650 -
AuthorSearch Results