Search Results for 'buddypress'
-
AuthorSearch Results
-
January 27, 2015 at 10:05 pm #233031
In reply to: profile pics
griswolddad
ParticipantTwenty Fifteen, meaning the theme? I’m currently using an updated Twenty Fourteen theme, which I prefer the look. Is it necessary to change? I’m on the updated wordpress version and the most update buddypress version.
January 27, 2015 at 7:58 pm #233027In reply to: Help changing contact in profile!!
shanebp
ModeratorIt’s best to make your changes in the language file.
If you only want to change a label or two, you can use functions. The tricky part is knowing which filter hooks to use: gettext or gettext_with_context.
In your case, you need both:
function example_gettext_with_context( $translated, $text, $context, $domain ) { if ( 'buddypress' !== $domain ) return $translated; switch ( $text ) { case 'Friends': return 'Contacts'; default: return $translated; } } add_filter( 'gettext_with_context', 'example_gettext_with_context', 11, 4 ); function example_gettext( $translated, $original_text, $domain ) { if ( 'buddypress' !== $domain ) return $translated; switch ( $original_text ) { case 'Friends <span class="%s">%s</span>'; return 'Contacts <span class="%s">%s</span>'; default: return $translated; } } add_filter( 'gettext', 'example_gettext', 10, 3 );January 27, 2015 at 10:02 am #233017In reply to: Buddypress = website dowm
casesolver
ParticipantHi Paul, Henry,
From the X theme support forum understaying answer.
As the I reinstalled the theme 2 x and did not know where to insert the given code, I deleted the BP plugin and reinstalled… nothing lost and all working fine, that was some stress. Thank you, it’s nice to know that there is so much help and learning from you all.—-
Hi there,
Thanks for writing in! If bp_get_activity_directory_permalink() is not recognized, it is most probably because the file doesn’t exist for buddypress or outside it’s scope.
To resolve the issue temporarily, comment out the following line.
/* ? bp_loggedin_user_domain() : bp_get_activity_directory_permalink() */
You can try updating your theme to the latest version or if you already have the latest version, try re-installing the theme files.
Hope that helps.
—-January 27, 2015 at 8:06 am #233012djsteveb
Participant@jerryroxas – welcome to the wonderful world of wp and bp!
Here is what you are likely to find out.. when asking for support in the bp forums people are going to ask if your problem exists when you switch to the default wp theme and turn off all plugins except bp.
If your problem does not exist in the default setup, then re-enable your other plugins one by one and see if the issue is caused when another plugin is activated. If the problem is caused by another plugin (in your case I am guessing the members plugin) – then you will likely be asked to go find the support forums for that plugin and ask them over there, as it’s not a bp problem, and you are unlikely to get (free) support here.
If your problem does not exist with all plugins, change your theme to what you were using and see if the problem exists. IF problem exists only with the non-default theme, then you need to ask for support with your theme designer.
If you come back here and say that you need such and such functionality and the other theme designers and plugin authors are not helping you, then you will likely be directed to the coders jobs board when you can offer cash for solutions. (And those solutions that you pay for will likely not be guaranteed to work, or work in the future when wp and bp have updates.)
I will add some extra light on your situation however, from what I have seen the next version of buddypress is supposed to have core functionality support for some kind of member levels thing.. see https://buddypress.org/2015/01/buddypress-2-2-beta-2/ –
whether or not that new function will work right at all, or work for the type of situation in which you are trying to create with the permissions / members plugin you are currently playing with, I don’t know. I myself have had some luck with using press-premit-core for some content restriction situations, but I have not looked to see if those affect activity stream registering.. I may play with that some and see.
January 27, 2015 at 1:19 am #233009In reply to: Admin Area Turned to Persistent Blank Page
Tranny
ParticipantI got this in the debug.log file:
[27-Jan-2015 01:16:12] PHP Fatal error: Call to undefined function bp_is_user_inactive() in /home/xxxxx/xxxxx.com/wp-content/plugins/buddypress/bp-core/bp-core-caps.php on line 264What does that mean?
January 27, 2015 at 12:58 am #233007In reply to: Pre loading members
Henry Wright
ModeratorImporter plugins are always welcome here at BuddyPress! 😀
cc @djpaul
January 26, 2015 at 11:53 pm #233003In reply to: @mentions interface doesn’t work
danbp
ParticipantDisabling search engine visibility in WP settings did the trick.
To get @mention properly on group notice, read here please:
https://buddypress.org/support/topic/how-to-mention/January 26, 2015 at 11:23 pm #233001In reply to: Would like read only no rights to create docs
shanebp
Moderatorclosed – duplicate of this.
January 26, 2015 at 11:11 pm #232997In reply to: Admin Area Turned to Persistent Blank Page
Tranny
ParticipantI bumped memory limit from 128MB to 512MB – as I expected, it did not resolve the issue. Activating the plugin results in the blank screen and the whole admin area returns nothing but blank screens from that point on. Renaming the buddypress subfolder resolves the problem as it deactivates the plugin.
I honestly did not think memory limit had anything to do with the problem, but I wanted to try it nevertheless to have it confirmed.
As for error logs – I learned from my webhost that we don’t have them enabled due to high traffic to the site. Daily logs were 2Gb in size.
Are developers gonna consider looking into this issue? There must be a deeper underlying issue. Bumping up memory limit is not a solution. If memory limit was a potential issue, it would have already demonstrated itself as such as I watched my site grow, and tried a number of plugins over time.
January 26, 2015 at 9:50 pm #232991In reply to: @mentions interface doesn’t work
chcsuter
ParticipantHi
I’ve just installed wordpress + buddypress
http://img15.hostingpics.net/pics/917666Capturedcran20150126224242.png
does not work on messages, but if on the notes
http://img15.hostingpics.net/pics/758104Capturedcran20150126224645.png
the site is
http://gito.zz.mu/activity/username: gito1
password: 1234Best regards
(Topic modified by moderator)
January 26, 2015 at 8:18 pm #232981In reply to: @mentions interface doesn’t work
Henry Wright
ModeratorUnless you’ve created bp-custom.php yourself, you won’t have one.
If you can verify that you’re using Twenty Fifteen, no plugins activated, and have made no custom code changes, then please feel free to open a ticket on Trac. Please provide the developers with as much info as you can (see here) and describe the problem you’re seeing in as much detail as you can. Also, feel free to reference this thread.
January 26, 2015 at 5:57 pm #232974In reply to: Buddypress = website dowm
casesolver
ParticipantHi Henry,
Yes tomorrow we tried twenty fifteen, all was working.
Last week X theme had 3 updates. BuddyPress has a special place in it. I have to use BP because of the core idea of this website, FreeSkills.net is a timebank, that nice plugin is build with BP.
I’ll send again a question to the X forum.
Many thanks for your attention and help. Kind regards of AnneJanuary 26, 2015 at 5:04 pm #232972In reply to: Buddypress = website dowm
Henry Wright
ModeratorThe error log seems to indicate the problem is coming from the theme
x. For example:wp-content/themes/x/framework/functions/global/plugins/buddypress.php on line 478
Can you try reverting to the Twenty Fifteen theme to see if the issue is resolved?
January 26, 2015 at 5:01 pm #232970In reply to: Buddypress = website dowm
casesolver
ParticipantHi, thanks for your quick reaction:
We spent an hour to find the solution and the remote idea came up because of the difference logged in and out.
From the error log:
Sun Jan 25 04:00:26 2015] [warn] [client ] mod_fcgid: stderr: PHP Fatal error: Call to undefined function bp_get_activity_directory_permalink() in /var/www/vhosts/freeskills.net/httpdocs/wp-content/themes/x/framework/functions/global/plugins/buddypress.php on line 478, referer: http://freeskills.net/
January 26, 2015 at 4:06 pm #232964In reply to: Avatar upload on sign up, s2members
ouegy
ParticipantHi @henrywright
I’ve taken a slightly different approach as I couldn’t figure out customising the s2member form.
What now happens is the user registers and is assigned a restricted membership level (level_1) and automatically logged in and redirected to /profile/change-avatar.
At the point that the user clicks
<input type="submit" name="avatar-crop-submit" id="avatar-crop-submit" value="<?php esc_attr_e( 'Crop Image', 'buddypress' ); ?>" />in change-avatar.php, is there some sort of event hook that could fire on this to change the user’s role eg. make them a full member (level_2)
It’s a requirement that the user uploads a photo to become a member of the community.
Thanks again
January 26, 2015 at 2:04 pm #232951In reply to: Avatar upload on sign up, s2members
Henry Wright
ModeratorThere’s a lot more to uploading an avatar than just saving the meta. Check out
xprofile_screen_change_avatar()to see how BuddyPress handles the process.Along with saving meta info, you’ll need to handle the actual file and save it to your file system (just as BuddyPress does). Then there’s cropping to think about too.
Hope this info helps.
January 26, 2015 at 1:58 pm #232950In reply to: Avatar upload on sign up, s2members
ouegy
ParticipantJust checking the DB, all meta_values are longtext and I cant change to BLOB for that specific row…
Is there some way I might be able to use the code behind the form on the /change-avatar/ page and store whatever file is uploaded in the correct table for BuddyPress?
January 26, 2015 at 1:48 pm #232948In reply to: Avatar upload on sign up, s2members
ouegy
ParticipantHi @henrywright
It’s currently being saved to wp_usermeta and is associated with the user.
the meta_key is wp_avatar_upload and the meta_value image.jpg
Where does buddypress store the avatars?
January 26, 2015 at 1:00 pm #232945In reply to: Create custom register.php page
Henry Wright
ModeratorHi @mvaneijgen
Take a look at the BuddyPress Template Hierarchy article. It explains how BuddyPress will look for specific template files inside your theme if you’ve created them. These then override the default.
January 26, 2015 at 12:31 pm #232944In reply to: Pre loading members
Henry Wright
ModeratorThe wp_users table description can be found here:
https://codex.wordpress.org/Database_Description
And here’s the BuddyPress database diagram:
Hope that helps you.
January 26, 2015 at 10:18 am #232941In reply to: no access to /settings/
djsteveb
ParticipantIs this with one of the default wp themes like twenty-fifteen / twenty-fourteen?
you have tried deactivating all plugins except buddypress to see if the problem is related to a plugin?
if yes and yes, I would go to permanlinks, note what they are set to, change permanlinks to a different setting and save.. then try your settings tab.. then go back and change your permanlinks back to how you want them.. and save..
January 26, 2015 at 10:11 am #232940In reply to: Activity/sign up page
djsteveb
Participantgo to dashboard -> Settings -> Reading.. change home page to be activity.. and make your blog posts a new page called “whatever” you have to make a new page called “whatever or site blog” or something first.
Should be able to make a div block that includes some welcome message info and a sign up form and plop that into the header of your theme.. have is conditional like “if_is_home”.. one of the themes I use on a site (bp-social) does something like this, but it uses “if_is_logged_out(notlogged_in)”, then display a content block that has some welcome info and a sign in / sign up for in it.. that block does not appear once someone is logged in..
I imagine there may be some plugins in the wp-repo that add a content block conditionally.. might be easy if your theme has header widget areas..
So yeah I think there are several ways to do this with buddypress, if I understand what you mean.
January 25, 2015 at 11:12 pm #232930In reply to: [Resolved] Friendship request not working
FlickChicks
ParticipantNote: I’ve checked all of the appropriate boxes on the BP settings menu (including Friend Connections) and I’ve even deactivated and re-activate Buddypress. Nothing seems to work.
January 25, 2015 at 8:51 pm #232923In reply to: avatar does not show
Alocin82
ParticipantHi,
thanks to wait…i update WP now 4.1 and buddypress the last one….
i activate the fifteen themes…
But nothing change….no avatar…any help?
thanks a lot !January 25, 2015 at 10:43 am #232909In reply to: How to assign a WP user role based on a registration
spiritix
ParticipantHello guys
What I used is:
– BuddyPress with combination of either bbP private groups plugin or Members plugin or Restrict Content Pro – bbPress plugin
– I created extended BuddyPress profile fields in registration
– I restricted access to the forum with one of above mentioned plugins
– I used my code mentioned in the beginningHow it looks like:
– my code works like a charm! once you choose User1 type in registration, it applies subscriber role, User2 subscriber as well, contributor for User3 – THIS WORKS.
– what does NOT work is restriction via plugins. Have no clue why. With members plugin od pivate groups, I set Forum1 to be accessable ONLY to User3 type of user, but User1 and User2 can access too! Why?! It has nothing to do with my code, after registration you can clearly check it in WP Users that the role has been assigned.If I knew hot to restrict access to the forum based on the WP Role, my code would be sufficient to solve this. Can you help with that part?
@youmin – are upi saying in BB 2.2 access to forum based on the WP role is fixed? -
AuthorSearch Results