Search Results for 'wordpress'
-
AuthorSearch Results
-
September 29, 2015 at 12:11 am #244894
In reply to: Profile Field Text Area Max Character or Word Length
danbp
ParticipantHi,
read here, maybe it helps
https://buddypress.org/support/topic/how-to-check-if-the-length-of-field-is-too-long/or try:
https://wordpress.org/plugins/buddypress-xprofile-validate-with-regex/September 28, 2015 at 6:25 am #244863In reply to: Code for adding new members to groups automatically?
danbp
ParticipantHi,
This question was asked many times in the past. Search the forum. Ie.
September 27, 2015 at 11:06 pm #244855In reply to: Lost Password not working
Henry Wright
Moderator3 reports in 3 weeks sounds as though there could be an issue here. Can you open a ticket on Trac?
https://buddypress.trac.wordpress.org/
You can use the same username and password that you use here in the forum to log in. Please provide as much background info as you can regarding your setup.
September 27, 2015 at 10:46 am #244834In reply to: Best Theme for Busy Community?
Henry Wright
ModeratorThere’s currently also 29 themes in the WordPress Theme Dir tagged “BuddyPress”. See here. I’m not sure if any of these will be different to the themes you’ve seen already at BP Inspire, but it’s worth taking a look 🙂
September 25, 2015 at 8:26 pm #244798In reply to: Activity stream disappears in WordPress dashboard
Skvirly
Participant@danbp:
Yes permalinks are enabled. This is a copy of my .htaccess file
“# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule># END WordPress”
Anything that needs to be changed ?
September 25, 2015 at 1:13 pm #244785In reply to: Error 404 on all components of buddypress
nagarjunsarathy
ParticipantHi,
I am facing the same issue.
My WordPress version- 4.3.1
BuddyPress version- 2.3.3
Theme- Twenty Thirteen
Plugins used- Branded Login Screen, Register Plus Redux.As an Admin, able to edit my profile but not able edit profile as an user.
And all components of BuddyPress is throwing 404 error.
Can anyone please help me as I am new to this field.Thanks
September 25, 2015 at 11:46 am #244782In reply to: Activity stream disappears in WordPress dashboard
danbp
ParticipantHi @skvirly,
unfortunately, i think nothing about your issue, except that it seems that something is interfering somewhere.
The best practice in such case is to start from the begin.
Activate WordPress and 2015 theme. Check that anything is correctly working.
Then activate BuddyPress. Re-check.
Then bbPress. Re-check.
Then, activate Sweet Date theme. Re-check.If all is Ok, and only if all, you now have a base install of WP/BP/bbP and your theme working correctly. There shouldn’t be any notice or warning at this stage. If you got one, it’s a probleme with the theme.
If this is ok, you add one plugin. And re-check. This normally make things easier to debug.
As it is apparently related to xprofile, it could be possible that if you use contactform plugin for your register page, that something is wrong with that plugin. But this is only a hypothesis, not a certainty.Note that php memory_limit of 128 mo is enought to run a script, when BP is running on a single install. Aside, note also it’s default for php 5.6 version.
Happy debuging.
September 24, 2015 at 9:44 pm #244777In reply to: Display an excerpt from xprofile field
September 24, 2015 at 9:07 pm #244776In reply to: Stopping html codes and more…
Henry Wright
Moderatora) If I click to “View” the message (not the html link), in the majority of cases I’m taken to the error page. I’m not clear why this is the case?
Did you happen to delete those activity items? The reason I think you are getting the error page is because those activity items don’t exist.
b) Is there a way to disable html coding in these message boxes?
Yes. You need to filter the text so that all HTML tags are stripped out. There are WordPress functions that can do this for you. See
wp_filter_nohtml_kses().Ref: https://codex.wordpress.org/Function_Reference/wp_filter_nohtml_kses
2. How do you get the edit facility to appear under Profile? I have Extended Profiles checked. I can only see “View” and “Change Profile Photo”.
This could be a theme issue. Try activating TwentyFifteen to see if you get the edit facility appear.
3. Is there a way to disable the html coding for all of the message boxes i.e. site-wide, private, public, groups and members?
Yes, but it isn’t as straightforward as updating a setting. You’ll need to filter each one, using
wp_filter_nohtml_kses()to strip out the tags, as mentioned above.Hope this helps!
September 24, 2015 at 4:33 pm #244762In reply to: Bug Report (class-bp-attachment-avatar.php)
Henry Wright
ModeratorHi @damland
Thanks for the report. Bug reports can be opened on Trac:
https://buddypress.trac.wordpress.org
The username and password you use here in the forums will work there too.
September 24, 2015 at 8:54 am #244745In reply to: Hold new profiles for approval?
danbp
ParticipantHi,
see if this plugin fit to your need:
https://wordpress.org/plugins/bp-registration-options/September 23, 2015 at 5:05 pm #244725In reply to: Change text on Registration page
Henry Wright
ModeratorThere is a guide available showing how to get started with Poedit. It isn’t technically demanding, but you do need to follow the steps carefully. Hope this helps!
September 23, 2015 at 4:40 pm #244724In reply to: Change text on Registration page
Eskymo
ParticipantHi danbp
I’ve read through that before and it doesn’t sound so easy to me.
I’m not a PHP, BuddyPress or WordPress expert I’m afraid, so editing core files is not something I feel comfortable doing. Plus if I wanted to add an image where would I do that? That’s why I was hoping there was a way to do this using a template file as I want to do more than just change the page title.
I don’t know how to generate a .MO file and I wouldn’t know how to edit a .PO or a .MO file either or what to put in them.
If you offer any further support, that’d be great.
So far, I’ve copied this file: buddypress/bp-themes/bp-default/registration/register.php into my child theme and edited it and added content form tips where I want them, but I’m still left with the ‘Create an Account’ text at the top that I can’t get rid of – any ideas?
Evie
September 23, 2015 at 3:34 pm #244718danbp
ParticipantYou can add custom option fields for References and Places Worked:
Not sure that adding a memberlist as drop down is very clever. What if you get a community of hundreds of members ?
To get database info, see here: (that’s a common WP task)
https://codex.wordpress.org/Class_Reference/wpdbSeptember 23, 2015 at 11:47 am #244707In reply to: Hiding Admin from Members List
Eskymo
ParticipantThanks for the link, but I’m not a WordPress or Buddypress coder, so it’s all a bit beyond me to be honest…
September 22, 2015 at 11:25 am #244674In reply to: Home URL redirects to Members page
Henry Wright
ModeratorThe Theme My Login plugin is useful in handling redirection. Taken from the plugin’s feature list:
Redirect users upon log in and log out based upon their role
I’ve done this myself using the plugin and can confirm it works quite well with BuddyPress installed.
September 22, 2015 at 8:52 am #244667In reply to: feature/plugin request Promote content
danbp
ParticipantSee this plugin:
https://wordpress.org/plugins/invite-anyone/or this one (experimental, by @imath)
https://github.com/imath/workmatesSeptember 22, 2015 at 6:51 am #244659In reply to: How to avoid spam registration in buddypress
Arvind
ParticipantHi
@Jose
Your reply [You need an API Key because your WordPress has to “talk” with WangGuard server, it is like Akismet, you need and API Key, but it is free. In any way, if you need to get a “Premium” API Key, it will be 12€/year. I think it is very cheap….] does not answer what Vignesh has asked: how to get API if one is starter and yet to get to the mark of $200-5k queries..
At least I could not figure out.
If I had, I could give it a try..
Best,
ArvindSeptember 21, 2015 at 9:26 pm #244650In reply to: Featured image for directories (page ID)
danbp
ParticipantBuddyPress use 3 pages by default: members, groups and activity and a small bunch of templates depending the context.
These 3 pages are not used as ordinary WP pages, and exist for internal usage with WordPress, as slug placeholder only. These pages must stay empty and independant of any template or model.The best way to add featured images, is to hook into an existing function/filter or action. There’s no need for a static page.
For more complex addition, you can use plugin.php template file which exist in /single/ directory of members and groups component template.
See get_posts and get_the_post_thumbnail on WP Codex
Post type of featured image isattachementRead also about BuddyPress:
or a working example similar to what you try to do (if i understand you correctly).
https://buddypress.org/support/topic/my-contributions-tab-with-subtabs/#post-244609September 21, 2015 at 10:18 am #244624In reply to: Reduce Large Numbers to Human Readable Formats
Henry Wright
ModeratorYou will need to use hooks. The basic idea is to attach a custom function to the relevant filter hook then inside your custom function you can use
number_format()to group the thousands.September 21, 2015 at 9:11 am #244621In reply to: menu logged out list
danbp
ParticipantSeptember 19, 2015 at 3:44 am #244580mcpeanut
Participant@ch1n3s3b0y Hi there, im gonna chime in on this as im starting to believe that buddypress can most definately scale vary well (even though its not been proven yet to scale to say a million users+ i think its quite possible), as henry may remember from previous threads i have commented in i have decided to look into the ultimate server configurations to try and find the best way to actually move forward into my own buddypress build.
This has meant concentrating and learning about lots of different server configurations for the past couple of years in-between my other projects.
Do you think Buddypress can support hundreds of thousands, if not millions of users?
Lets just switch this notion right on its head, rather than ask yourself if buddypress can scale to a millon users start asking yourself if your server setup and configuration can scale to a million concurrent users instead.
The key to success on a buddypress active and busy site becomes more of a server and administration task rather than how you have buddypress setup on a basic server config (before long you will bottleneck somewhere if you do not setup for expansion).
I know it seems daunting to think about all of this rather than install it build it and launch it and expect it to scale! But to me doing something half hearted isnt the way forward with a serious build on any project. If you prepare and understand the potential problems before you have that killer network built with 100s of thousand of concurrent users its much better to be prepared than to sit back and go NOW WHAT! when you finally grind to a halt and noone can use your site anymore and you dont know how to fix and expand it. Proactive is the way forward.
I am currently testing my buddypress install on one of my servers with nginx and HHVM (hip hop virtual machine) that was created by and is used by facebook instead of standard php, this speeds up the PHP execution speed PHP code is translated into C++ compiled into a binary and run as an executable to really speed up the way php works, therefore making everying load much much much much faster! I have only just started messing around with HHVM and will keep you updated. is anyone else actually running HHVM? if so please do share with me your finding, to me this seems the way forward with any buddypress installed website.
Also as i have stated before once i have decided on my final server configurations and im 100 percent happy with exactly how my setups work with wordpress/buddypress to scale to massive amounts of users i will create a post and guide on how i have it all set up, but still will take me more time yet. and also as stated before if anyone else does want to give there 2 cents on it feel free because on these forums there is not much talk about actual configs that people are using, even though i do realize this is server tech department, i also believe it is a valid issue for buddypress because instead of questions about scalability there could also be a few answers which is my ultimate goal. 😉
September 18, 2015 at 11:43 pm #244578In reply to: Having problem, I get log out now and then
Henry Wright
ModeratorI’m pretty sure WordPress sets authentication cookies when you log in. Make sure these aren’t being deleted by your browser.
September 18, 2015 at 9:29 pm #244575In reply to: [Resolved] Create Menu Link for Subnav Page
danbp
ParticipantHi @qurgh,
use
bp_loggedin_user_domainfunction andwp_nav_menu_itemsfilter to add the item to an existing menu, like this:bp_loggedin_user_domain( 'kag/ship/' )See here for a working example:
https://buddypress.org/support/topic/url-for-menu-to-logged-in-users-profile-page/WordPress reference:
https://codex.wordpress.org/Navigation_MenusBuddyPress reference
September 18, 2015 at 8:49 pm #244571In reply to: [Resolved] period or special characters in username
alpha2
ParticipantYes it is. But rather than using a plugin (for this project i am nearly at 53 active plugins…too much) maybe its better to use a function.
i use this thread to ask you another question, some users (registered before i applied this plugin) named their account with a period: john.doe . Actually it’s not a big deal because buddypress (or wordpress natively) transform this dot into hyphen in each link.On one specific page template, I have special function i created with the help of a dev to display all users by a custom taxonomy (ranks)
Only mater is that every hyperlink that link to account like john.doe are display like this http://www.website.com/members/john.doe and not http://www.website.com/members/john-doe
I search into the code and found this:
<div><?php $user = get_user_by('id', $gold ); ?><a href="<?php echo site_url();?>/members/<?php echo $user->user_login;?>/buddyblog/"><?php echo bp_core_fetch_avatar( array( 'item_id' => $gold, 'type' => 'full' ) ); ?></a><a href="<?php echo site_url();?>/members/<?php echo $user->user_login;?>/buddyblog/"><?php echo $user->user_login; ?></a>Performances: <?php echo count_user_posts( $gold ); ?></div>I must change how is display the username.
Thank you for your time and your help!
-
AuthorSearch Results