Search Results for 'wordpress'
-
AuthorSearch Results
-
February 18, 2014 at 8:58 pm #178596
In reply to: Profile Fields adding html
micahcb
ParticipantOk great thank you. I am new to php. Should I put it in the /wordpress/wp-content/plugins/buddypress/bp-themes/bp-default/functions.php or one of the other ones? Does it matter where in the file I put it? Thanks!
February 18, 2014 at 4:44 pm #178591John James Jacoby
KeymasterThe problem here is the
bp_has_message_threads()function itself. It comes with hardcoded checks to override the$boxtosentboxorinboxbased on the results ofbp_is_current_action().You could try something this, in lieu of
bp_has_message_threads():function bp_custom_has_message_threads( $args = '' ) { global $messages_template; $r = wp_parse_args( $args, array( 'user_id' => bp_loggedin_user_id(), 'box' => 'inbox', 'per_page' => 10, 'max' => false, 'type' => 'all', 'search_terms' => isset( $_REQUEST['s'] ) ? stripslashes( $_REQUEST['s'] ) : '', 'page_arg' => 'mpage', // See https://buddypress.trac.wordpress.org/ticket/3679 ) ); if ( bp_is_current_action( 'notices' ) && !bp_current_user_can( 'bp_moderate' ) ) { bp_core_redirect( bp_displayed_user_domain() ); } $messages_template = new BP_Messages_Box_Template( $r['user_id'], $r['box'], $r['per_page'], $r['max'], $r['type'], $r['search_terms'], $r['page_arg'] ); return apply_filters( 'bp_has_message_threads', $messages_template->has_threads(), $messages_template ); }February 18, 2014 at 2:19 am #178576In reply to: Activity problem
alex80ks
ParticipantWordpress installed in root directory (Linux server)
Upgraded from 3.8
I havent notice when this is started but i think maybe one or two versions before becouse im trying to keep it updated.
Version of buddypress is latest.
I use child theme ob bp-default (list of files:style.css,function.php,header.php,page.php and single.php nothing else)
I have some custom functions two functions can affect maybe. One is for removing query string=version and second is for registeringhttp://code.jquery.com/jquery-1.7.1.min.jsscriptFebruary 17, 2014 at 10:25 pm #178571Ben Hansen
Participantthis link might help you understand how the two work together:
multisite is just activated by a setting in your wordpress config file it can be done before or after buddypress but if you are starting from scratch id probably do the multisite first, then add any plugins.
February 17, 2014 at 4:58 pm #178554In reply to: Root profiles deprecated in 1.9.2?
Henry Wright
ModeratorJust had a response from Paul, he confirmed root profiles are here to stay. profiles.wordpress.org uses them!
February 17, 2014 at 10:48 am #178530Henry Wright
ModeratorHi @aquapan
Have you thought about using multisite? This may or may not work for you – see the Codex for more info on it:
February 17, 2014 at 6:40 am #178524In reply to: Untraceable spam user
rdclark
ParticipantIn case someone else sees this problem, you can get the same thing (a flood of user accounts with no email and often no role) if you’re using the WP e-Commerce Plugin.
See the discussion here: https://wordpress.org/support/topic/spam-users-in-wp_users-after-wpsc-upgrade
February 16, 2014 at 12:31 pm #178508Henry Wright
ModeratorHi @josswinn
Is this ticket related to your problem by any chance?
February 14, 2014 at 11:47 pm #178434In reply to: change the "term" avatar to "profile photo"
Henry Wright
ModeratorI’m 99.87% sure the change-avatar URL (slug) is hard coded. See this ticket for more info:
February 14, 2014 at 10:40 pm #178428In reply to: Buddypress Profiles feature request
somethingelse
Participantbtw – got THAT little suggestion from this thread which seemed to be exactly what i wanted to do…
https://wordpress.org/support/topic/convert-text-area-into-wp-editor
February 14, 2014 at 12:02 pm #178388In reply to: log gin off reroute to wrong page
Henry Wright
Moderator@dverburg-1 I’m not aware of a setting in BP core. But, there is a plugin which lets you do that.
Theme My Login
https://wordpress.org/plugins/theme-my-login/The redirection feature is the bit that does what you need.
February 14, 2014 at 9:54 am #178385In reply to: Including post categories in the activity stream
Henry Wright
ModeratorI’m not aware of an exact tutorial but to give you an overview of what needs to be done…
You can use
wp_get_post_categories()to get a list of categories for a particular post.For more information on how to use
wp_get_post_categories(), see:
https://codex.wordpress.org/Function_Reference/wp_get_post_categoriesadd_filter()will let you hook your filter function tobp_blogs_activity_new_post_actionhttps://codex.wordpress.org/Function_Reference/add_filter
More info on WordPress filters:
https://codex.wordpress.org/Plugin_API#FiltersFebruary 13, 2014 at 9:16 pm #178357In reply to: WordPress in it's Own Directory for BP2.0?
bigtreesjoe
ParticipantSo, are the minimum system requirements changing for BuddyPress 2.0 to support “Giving WordPress Its Own Directory”?
February 13, 2014 at 3:39 pm #178348In reply to: testing translations
danbp
ParticipantHi @jf_trumpet,
the plugin you’re speaking about is intented for load your BuddyPress with translations provided by translate.wordpress.org
This means that if you’re site is in swedish, the plugin will automatically upload the swedish BP translation. Or similar if you’re site is in italian.
If you need some multilingual settings you have to use another plugin, like WPML for example.
More about BuddyPress translation and internalization here.
Normally you declare the site language from within the wp-config.php file.
For ex. define (‘WPLANG’, ‘it-IT’);
If you just want to test ONE other language, simply change this define to another language.Be also aware that you can only define one language in wp-config.
February 13, 2014 at 3:52 am #178333In reply to: BuddyPress Training or Tutorials
julianprice
Participant@cuisire_ceo It depends but found the following most useful after googling so much to only come up with garbage past dated scraped/syndicated content.
The most important question is what the Purpose for Your BuddyPress Use/Community. The only way I have wrapped my head around it is to work backwards but with that said…
Heres What I consider some of the Best Round Ups and Buddy Pep to Follow:
Tammie Lister @mercime http://wordpress.tv/?s=tammie have some great talks and also have just googled for any slides from the various presentations. If not able to see video.
Also check out her book that only seems most current: https://buddypress.org/2013/11/buddypress-theme-development-by-tammie-lister/
Boone Gorges @boonebgorges http://wordpress.tv/speakers/boone-gorges/ and most notable this presentation: http://wordpress.tv/2013/12/10/boone-gorges-herding-cats-with-the-buddypress-activity-component/
or anything Boone from Youtube via WordPressNYC great example http://www.youtube.com/watch?v=gPpU3ySo5q0 in understanding of GROUPS.Of course John James Jacoby jjj @johnjamesjacoby (sorry jjj: he rambles often:) but found this useful in just using a simple profile I believe this is the session maybe others can reference it “WordPress Profiles” http://wordpress.tv/2013/10/04/john-james-jacoby-everything-you-want-to-know-about-bbpress-and-buddypress/
So you probably thinking Wow but you have not answered anything on installing 🙂 Believe me it helps so much to think big picture of your whole community than start working backwards as single page/components to map similarities to constructed it.
This is one of the most useful tutorial of theme I had purchased which the developer went MIA but it was an AHA moment for me. Because Buddypress are Custom Post Types thats Relational Data/Fields
http://www.youtube.com/watch?v=Cc3Er4S4EeQ & http://www.youtube.com/watch?v=s7b9TFw6ZAQ
. I know what you thinking this is not my intent or not relevant. Start watching #2 at 2:16 to think in context of Simalirty.Finally, The only other best other video tutorial that just a setup instruction. I have found online was BuddyBoss (don’t even own the Theme) http://www.youtube.com/playlistlist=PL5kBYJSuuvEj3KqG_lnAa9MxpZumjtTdY
and Mathis on VIMEO. The biggest problem is finding the resources in a central location so I have to track down.
I hope that helps as resources. It really would depend on how you see your community of your people and how its relational in context
February 13, 2014 at 2:26 am #178330In reply to: Move Buddypress
julianprice
ParticipantI would think you could use the normal import/export wordpress plugin as long you have the buddy press installed. How much do you needing to export to import.
February 13, 2014 at 1:20 am #178327In reply to: Profile Link
jslom
ParticipantThis will allow php in your widgets
https://wordpress.org/plugins/php-code-widget/February 12, 2014 at 6:27 pm #178322In reply to: Profile – Sorry!
John James Jacoby
KeymasterTo be completely upgrade proof, I would make an
mu-pluginout of it.https://codex.wordpress.org/Must_Use_Plugins
That way it’s always running when BuddyPress is running, and it will never go away unless you explicitly tell it to by deleting or modifying your code.
Look! You’re writing your own plugins today!
February 12, 2014 at 4:36 pm #178318John James Jacoby
KeymasterUnfortunately, you can’t assume that because your account has a certain role, that you’re able to do certain things, especially once you start installing membership plugins that directly manipulate the way roles and capabilities work.
(Role/cap problems are amongst the worst to troubleshoot in WordPress, IMO. There is no UI to help you, and there is little documentation available to guide you through the complex process of unraveling WordPress’s role based access control. It’s also my experience that most role/membership plugins are quirky, and can oftentimes leave your users and roles in a very crippled and polluted state.)
Do any of these plugins that you’re using place limitations on types of posts that users can see? Is it possible you blocked Topics on accident?
I wrote a bbPress plugin almost a year ago to try and provide a bbPress specific solution to roles and capabilities, and troubleshooting why specific users are blocked from certain things:
https://github.com/johnjamesjacoby/bbp-capabilities
You’ll need to install it on your site manually with your favorite FTP program. After installing the plugin, visit your Users in
wp-adminand try editing a user that’s having issues viewing topics. At the very bottom, underneath their Forum Role, will be a large table of bbPress capabilities, the current permission, the source of that permission, and allow you to manipulate it. Anything highlighted in yellow is a deviation from the role (saved to the user instead) and there is a button to reset the user’s capabilities back to match the default role.Hopefully this all helps track this down.
February 12, 2014 at 3:01 pm #178316In reply to: Preserving whitespace from bp profile fields
terraling
ParticipantGod bless WordPress (and google).
Don’t suppose many people have heard of it, but there is a function
wpautop()which wraps text sections in <p> tags to preserve linebreaks.Thanks for your input @henrywright
February 11, 2014 at 11:53 pm #178281In reply to: ERROR: Your reply cannot be created at this time.
trainingforamarathon
ParticipantI’m using Enfold as the theme, I’m using a variety of plugins such as datafeedr, cubepoints, social media stuff (facebook button, acurax social media, events plugin, countdown plugin, adsense, askimet, buddypress mymood, social login, jetpack, and a couple more. The versions include: Buddypress 1.9.2 and WordPress 3.8.1 running Enfold theme.
What do you think?
February 11, 2014 at 10:24 pm #178275John James Jacoby
KeymasterDo you have any WordPress Role editing plugins installed? Or membership plugins like S2Member?
It’s possible something has altered your role capabilities so that bbPress’s read_topics capability is broken.
Or, it’s possible it’s just a template issue. The query itself happens in
bbp_has_replies(), so start your debugging there to see if it’s a template problem, or a dataset problem.February 11, 2014 at 9:16 pm #178273In reply to: Server overloaded. SQL injection and BP in logs
John James Jacoby
KeymasterIf the Activity meta table really was deleted, you’ll want to restore that table (and likely the entire database) from before your attack occurred.
If you have evidence of BuddyPress being the attach vector (and not simply that your site is running BuddyPress) please follow the instructions provided at the link below:
February 11, 2014 at 5:54 pm #178266In reply to: WordPress in it's Own Directory for BP2.0?
bigtreesjoe
ParticipantThis is a supported and well documented wordpress installation configuration (https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory).
There is a very specific caveat in the buddypress installation documentation stating that it Does Not support this sort of wordpress installation.
See the fifth bullet down on https://codex.buddypress.org/getting-started/before-installing/before-installing/I thought that perhaps with the revised URI re-write, this WP installation configuration might finally be supported
February 11, 2014 at 5:14 pm #178264In reply to: WordPress in it's Own Directory for BP2.0?
Paul Wong-Gibbs
KeymasterEr. I’m not sure this is a valid WordPress setup?
How exactly does BuddyPress not work with this at the moment? Does everything else work fine, including blog permalinks?
-
AuthorSearch Results