Search Results for 'wordpress'
-
AuthorSearch Results
-
June 2, 2015 at 11:47 am #240039
In reply to: Changing labels without localization
danbp
ParticipantHi @henrywright,
it’s not exactly a problem ;-), more a pure php fact.
As of WP Codex about gettext filter (codex.wordpress.org/Plugin_API/Filter_Reference/gettext)
This filter hook is applied to the translated text by the internationalization functions (__(), _e(), etc.). IMPORTANT: This filter is always applied even if internationalization is not in effect, and if the text domain has not been loaded. If there are functions hooked to this filter, they will always run. This could lead to a performance problem.Some related articles:
June 1, 2015 at 10:43 pm #240031In reply to: Changing labels without localization
Henry Wright
ModeratorHi @joshdrok
An alternative way of changing text is to use the
gettextfilter. See this article for more info:https://codex.wordpress.org/Plugin_API/Filter_Reference/gettext
June 1, 2015 at 10:06 pm #240027In reply to: Hacking BP Classes to Search OR Instead of AND
Henry Wright
ModeratorHey @vanleurth
You could use the bp_parse_args filter for this. It will allow you to perform a meta query.
Hope this info helps š
June 1, 2015 at 8:01 pm #240018In reply to: wp-login.php Login form page
Henry Wright
ModeratorTry the Theme My Login plugin.
June 1, 2015 at 7:54 pm #240016In reply to: I NEED HELP! REGISTRATION PAGE NOT WORKING
shaquana_folks
ParticipantHello @hnla,
Didnāt mean to be āshoutingā through this message in the subject line, itās because this is the 4th time Iāve tried to get my message through this BuddyPress forum and out of all my messages from a few days back, I noticed that this recent one I just did was the one that actually went through and I did the other messages just the same exact way as Iāve done before so I donāt understand why my messages havenāt went through the other times. So itās just been a very frustrating time for the past couple of weeks trying to get help and I havenāt received further help so far from anyone so Iām just trying to resolve everything. But youāre right, and Iām trying my best to work with everyone to get the most feedback that I possibly can to get the job done and resolve these problems.
The off site frame 404 not found page should be working fine now. I just updated the permalinks and when I went to click on the register link, the registration page (as well as the actual website link) was working properly from my end.
As far as the BuddyPress plugin goes, I didnāt know that BP doesnāt have a setting for people to upload files, however when you go to the registration page on my site, thereās an āChoose Fileā section for people to upload a picture file (for their profile page) on there as someone is filling out the actual registration form, so I just assumed that feature automatically comes with the BuddyPress plugin.
There shouldnāt be nothing wrong with the theme for I had double-checked already from my backend and I spoke to a representative through my hosting provider and after explaining everything to them, they said that I would have to get in contact with one of the BuddyPress developers to resolve the issue and if itās an issue from the hosting plan, to inform me about it that way I can contact them again to let them know what the specific problem is. So Iām basically going back and forth between BuddyPress and my hosting provider explaining the same thing, therefore Iām pretty much stuck on what to do, so thatās why Iām asking for anyoneās help if possible, because Iāve done everything on my end to the best of my ability.
So here are some screenshots that I hope will be helpful of what I actually was doing through the registration process and hopefully someone can come up with a solution as far as why this is not working properly:
SCREENSHOTS FROM MY MAGNUS WORDPRESS THEME FOR REGISTRATION PAGE:
Screenshot 1
Screenshot 2
Screenshot 3
Screenshot 4
Screenshot 5
Screenshot 6
Screenshot 7Then I did the same exact process with one of the WordPress default themes from my dashboard:
SCREENSHOTS FROM THE TWENTY FIFTEEN WORDPRESS THEME FOR REGISTRATION PAGE:
Screenshot 1
Screenshot 2And as you can see, the same result happens. So can someone please explain to me why this is happening? Is it a BuddyPress coding issue? Or is it from my end? Any feedback would be greatly appreciated.
Thank you.
June 1, 2015 at 4:41 pm #240007In reply to: Changing labels without localization
danbp
ParticipantThey are so many topics on this forum explaining how to do this ! If you think it’s not correctly documented, add your contribution to the Codex.
That said, i made you a working buddypress-en_US file you can download with almost(hopefully) all groups related strings changed to Alliance. Some are not modified, but you can add your own words with poEdit.
June 1, 2015 at 10:38 am #239997danbp
ParticipantOf course you can customize it, but as that need to rewrite the whole who’s online class, you would perhaps prefer to use an already made work ?
Try BuddyPress Friends On-Line, which comes with a friend on-line widget.
Install it, activate the widget and you’re done.
June 1, 2015 at 8:12 am #239993danbp
ParticipantCould be a solution:
https://wordpress.org/plugins/bp-show-friends/June 1, 2015 at 12:13 am #239985In reply to: Custom profile fields on BP multisite
CodeMonkeyBanana
ParticipantI’ve been staring at the code for a while and it’s starting to make sense.
I’m not great with databases but looking at the function I gather it changes a few fields into primary keys that point to the data table so fields can be individual.
It runs the table modification code on the
dbdelta_create_querieshook.The wordpress codex seems to say that this action will happen anytime a database or a table is created.
Am I right in saying that this only ever has to be run once? Can I just run it once on admin init then remove it and add the
modify_bp_global_xprofiles_tablenamesat runtime or have I misunderstood it?May 31, 2015 at 10:39 pm #239981In reply to: End User Blog
danbp
ParticipantYou already have a blog if you run WordPress.
Depending of how many authors you expect, and money you have, you can opt for MS and allow a complete blog (like the main blog) to each user. But a blogging farm is a BIG project who need space and powerfull server ressource. BuddyPress is tailored for that. But are you tailored to assume ? šA good compromise for small and middle project is BuddyPress Groupblog wich comes with P2, an extra front-end editor theme. So you have two answer in one plugin.
BuddyPress handles essentially members. Publishing is WP’s job and giving users a possibility of front-end publishing instead of back-end is an endless pros and contras discussion. And in any case, a long front-end dev work. At least.
May 31, 2015 at 10:15 pm #239979In reply to: [Resolved] Warning: strstr(): Empty needle
danbp
ParticipantThat issue was solved in BP 2.2.2
A topic with some explanation can be read here.You’re using a theme which latest release was 2013, before WP changed page title handling.
Suggest you use a more recent one. Try also one of Twenty’s theme to check that the error message is no more there, and that your page title is correctly showing.May 31, 2015 at 9:41 pm #239977Mickey
ParticipantI have changed the text in new po and mo files uploaded it to proper folder and nothing has changed.
I am confused by this, This example uses en_US as the sample language definition, and thus buddypress-en_US.mo is the name of the language file you will create. Youāll need to replace āen_USā with the locale of your WordPress site.
So the two file names should not be named
buddypress-en_US.mo
buddypress-en_US.poIs this the same for everyone using English or is it different for every user? Perhaps thats why its not working for me.
THanksMay 31, 2015 at 7:50 pm #239970In reply to: My search page returns to the activity page
danbp
ParticipantBP doesn’t use a specific search page like WordPress does. Try to adjust your theme via a child theme or see theme support.
Codex is your friend !May 31, 2015 at 7:33 pm #239967danbp
ParticipantThis doesn’t need enhancement, as it is a unique string. You can modify it to your need very easily by using the language file (read here)
The exact phrase used in BP 2.2.3.1 is:
There was an error sending that message. Please try again.If you see “cant send a message”, you use an old BP version or a third party plugin. Check for this first if it is the case.
FYI, there is also a ticket about error message, so consider your question as “work in progress”…
May 31, 2015 at 1:37 pm #239953In reply to: Messages break theme
danbp
ParticipantAre you using this theme ? https://wordpress.org/themes/weaver-xtreme/
Just tested it and seems to work correctly. As this theme comes with 30 (!) sub-themes, i haven’t tested all skins, just default and Black&White, but haven’t seen the issue you describe.
Have you tested accordingly to Henry’s suggestion, and have you tried with other (sub-)theme colorsCan you provide a screenshot of what you get ?
May 31, 2015 at 12:59 pm #239947shanebp
ModeratorI’ll bet you’re using
echoin your shortcode functions.So their output appears before the page content is rendered.
Usereturninstead ofecho.
https://codex.wordpress.org/Shortcode_APIMay 31, 2015 at 1:12 am #239939In reply to: [Resolved] BP CSS Classes Locked in Menu Dashboard
Osisis
ParticipantNot sure how to mark this topic resolved, but I’ve decided to go about this in another manner. I followed the BP model and have my admin bar acting in the capacity of a menu and deleted my primary menu. Is working out pretty well thus far. For anyone else that’s interested I
Removed “howdy, $name” just because to me it screams WP
function custom_adminbar_welcome() { global $wp_admin_bar; $name = wp_get_current_user()->display_name; $avatar = get_avatar( wp_get_current_user()->ID, 28 ); $class = $class = empty( $avatar ) ? '' : 'with-avatar'; $wp_admin_bar->add_menu( array( 'id' => 'my-account', 'title' => __('') . $avatar, 'class' => $class ) ); } add_action( 'wp_before_admin_bar_render', 'custom_adminbar_welcome' );Removed WP links and change logo
add_action( 'wp_before_admin_bar_render', 'custom_adminbar_welcome' ); function rebranding_wordpress_logo(){ global $wp_admin_bar; //the following codes is to remove sub menu $wp_admin_bar->remove_menu('about'); // Remove the about WordPress link $wp_admin_bar->remove_menu('wporg'); // Remove the WordPress.org link $wp_admin_bar->remove_menu('documentation'); // Remove the WordPress documentation link $wp_admin_bar->remove_menu('support-forums'); // Remove the support forums link $wp_admin_bar->remove_menu('feedback'); // Remove the feedback link $wp_admin_bar->remove_menu('site-name'); // Remove the site name menu $wp_admin_bar->remove_menu('view-site'); // Remove the view site link $wp_admin_bar->remove_menu('updates'); // Remove the updates link $wp_admin_bar->remove_menu('comments'); // Remove the comments link $wp_admin_bar->remove_menu('new-content'); // Remove the content link $wp_admin_bar->remove_menu('w3tc'); // If you use w3 total cache remove the performance link //and this is to change wordpress logo $wp_admin_bar->add_menu( array( 'id' => 'wp-logo', 'title' => '<img src="http://test.theblackxperience.com/darklogo45.png" />', 'href' => __(home_url()), 'meta' => array( 'title' => __('eQubator'), ), ) ); } add_action('wp_before_admin_bar_render', 'rebranding_wordpress_logo' );Moved BP child menus up to make them primary menus
function make_parent_node( $wp_admin_bar ) { if ( ! is_user_logged_in() ) { return false; } $wp_admin_bar->add_node( array( 'id' => 'my-account-activity', // id of the existing child node (New > Post) 'title' => '<span class="ab-icon"></span><span class="ab-item">'._x( '', '' ).'</span>', // alter the title of existing node 'parent' => false, // set parent to false to make it a top level (parent) node )); $wp_admin_bar->add_node( array( 'id' => 'my-account-friends', // id of the existing child node (New > Post) 'title' => '<span class="ab-icon"></span><span class="ab-item">'._x( '', '' ).'</span>', // alter the title of existing node 'parent' => false, // set parent to false to make it a top level (parent) node )); $wp_admin_bar->add_node( array( 'id' => 'my-account-messages', // id of the existing child node (New > Post) 'title' => '<span class="ab-icon"></span><span class="ab-item">'._x( '', '' ).'</span>', // alter the title of existing node 'parent' => false, // set parent to false to make it a top level (parent) node )); $wp_admin_bar->add_node( $args ); } add_action( 'admin_bar_menu', 'make_parent_node', 999 );Added CSS to turn the menu items into dashicons
#wp-admin-bar-my-account-friends .ab-icon:before{ font-family: "dashicons" !important; content: "\f307" !important; } #wp-admin-bar-my-account-messages .ab-icon:before{ font-family: "dashicons" !important; content: "\f466" !important; } #wp-admin-bar-my-account-activity .ab-icon:before{ font-family: "dashicons" !important; content: "\f130" !important; } #wpadminbar .quicklinks li#wp-admin-bar-bp-notifications>a:before{ font-family: "dashicons" !important; content: "\f319" !important; }Only problem I’m having now is that for some reason the logo has decided to move itself to the right, but that’s another question for another topic. But hope this helps someone else.
May 30, 2015 at 10:46 pm #239937In reply to: My favorites
jessicana
ParticipantHello,
Do you believe that I deleted all the users (including me admin) using this reference and I do still see that the members are 2!!
Weird… So weird.
Thanks
May 30, 2015 at 6:33 pm #239922danbp
ParticipantCould this cause any problems.
Don’t know, but looks so, no ?
It’s even better to install WP (and plugins) manually via FTP on your server, as not all automated installer are using updated version or correctly setup preconfigured install. If you’re sure you can do this, do it. š
And if you’re sure you can do this, run phpinfo first, so you’ll also be sure you can (or not) use latest WP on that host. Remember that if you want to use WP + BP, you need php 5.4 and at least 64 mo of php memory_limit (128 recommended).
I would also recommend you to read some general information about WP installation previously to any other action.
May 30, 2015 at 5:28 pm #239920torbenlund
ParticipantHi again,
Thanks for the answer š
I still have an issue with the login in the sidebar. It still sents me to the /wp-login.php where I see a “Blocked” text.
I have installed WordPress with the “One Click Installer” on One.com. Could this cause any problems.
I haven“t been running the phpinfo because I“m not sure how to run it.
I can try to install WordPress manually if you think it would help?
Thanks for helping!
Regards
Torben
May 30, 2015 at 4:49 pm #239919danbp
ParticipantIf your site is slow is not related to the fact of adding/removing a link, even programmatically ! š
Unadapted host plan, wrong settings, network issue, poor wifi connection and many, many other things can slow down a site.Have you at least the minimum requirements to use WP and BP ?
https://wordpress.org/about/requirements/Run phpinfo if you’re unsure.
May 30, 2015 at 4:23 pm #239917In reply to: My favorites
danbp
ParticipantWhat do you think?
Hum… 🚧 🎢 🙏 !
Have you checked the right table ? It’s not in _bp_activity_meta, but in _usermeta, at least concerning the case of site admin.
I mentionned this topic for information on this ticket:
https://buddypress.trac.wordpress.org/ticket/3794May 30, 2015 at 3:35 pm #239915In reply to: My favorites
jessicana
ParticipantHello,
I found something about this, see:
https://buddypress.trac.wordpress.org/ticket/4393By the way, I followed the steps above and I have it in my database a:0{ā¦some content ā¦.}. I have not changed anything. What do you think?
Thanks
May 30, 2015 at 12:17 pm #239903In reply to: Auto assign new member to group upon registration
danbp
ParticipantIf you feel comfortable with php, here’s a gist from @imath to autojoin users to groups.
Modify it to add the member_typeA little different, BuddyPress Registration Groups
May 29, 2015 at 7:09 pm #239887danbp
ParticipantHave you removed BP Remove Profile Links plugin, as it was tested up to: WordPress 3.6 beta2 BuddyPress 1.8 beta1. Could be outdated after 2 years and without need if you use the snippet now.
You have also to test your site with one of Twenty theme first.
-
AuthorSearch Results