Search Results for 'wordpress'
-
AuthorSearch Results
-
June 15, 2012 at 12:38 am #135793
aces
ParticipantYou don’t say what your add action is hooked to ( or what the line number refers to ). Do you have a `’walled_garden’` hook in your template?
I would suggest trying the following (I use something similiar but allow access to groups and forums):
`function sh_walled_garden()
{
global $bp;if( bp_is_register_page() || bp_is_activation_page() )
return;if( ! bp_is_blog_page() && ! is_user_logged_in() )
bp_core_redirect( bp_get_signup_page() );
}add_action( ‘bp_init’, ‘sh_walled_garden’ );
`
I also substitute `add_action( ‘wp_loaded’, ‘sh_walled_garden’ );` on a different site….
`bp_init` and `wp_loaded` are “native” to buddypress/wordpress so you don’t need to create your own template hook….This is in a bp-custom-php file – using buddypress v1.5.5 as I haven’t upgraded to 1.5.6 yet….
June 14, 2012 at 6:49 pm #135779shanebp
ModeratorHave you looked at this?
https://buddypress.trac.wordpress.org/ticket/4060>2. Right now we only have the following tables set to use MyISAM, the rest being InnoDB:
Yup, it’s a compromise – but for us the benefit of row-locking in InnoDB outweighed the fulltext issue.
We don’t generally allow text searches.And thanks for sharing your setup info.
Now that BP is being used for sites with larger and more active memberships, more devs are having these problems.
I think collecting info re tuning, caching, etc. approaches on a page somewhere in buddypress.org would be very useful and would generate some helpful ( and confusing ) discussion by us non-DBAs.June 14, 2012 at 6:28 pm #135778In reply to: How do i insert “Read More” to all posts
danbpfr
Participanthello,
this is a WP question. That said you can tag more into your post.
Read here: https://codex.wordpress.org/Customizing_the_Read_MoreAlso you can use some plugins, this one for example: https://wordpress.org/extend/plugins/more-fields/
June 14, 2012 at 6:13 pm #135775In reply to: Updating to WP3.4 -BuddyPress causing problems
richardpd
MemberHi-thanks modernlooper for your reply
(I have now updated to latest BuddyPress & bbPress plugins-my site runs both plugins!).Thankfully I have fixed the problem now but it was a bit tricky..
I now think the problem was an issue with x2 specific plugins-Wp Article Fetch & Tweet this.
On deactivating both of these from Network Admin (my site is running WP multisite) my blog (running WordPress & BuddyPress) is back to normal.
The Tweet this plugin is somewhat old & not updated so there could be some code issue with it. As for the WP Article fetch plugin I haven’t used it much so disabling it is no great issue!
(I will look for a new ‘Tweet this’ plugin as Twitter plugins are quite useful)I still though need to get BuddyPress forums working properly on my site (I have posted several times for help with this on the support forum here but still BuddyPress forums are not running well on my site! If I wasn’t so stubborn to try & get BP forums working I would have deleted it ages ago & used an alternative eg Vanilla plugin or other-so if anyone can help me I would be grateful-but I don’t really expect any response as sadly I have had such limited response in the past from here to help me with this! I think BuddyPress is a misnomer; it could be better called somethingelse but I won’t type it now!..
…).June 14, 2012 at 5:55 pm #135772@mercime
Participant== @jamesewelch => WordPress version 3.3.2 ==
Deactivate BuddyPress and bbPress. Upgrade to WP 3.4 first. Then activate and upgrade BuddyPress and bbPress to latest versions.
June 14, 2012 at 5:16 pm #135768TheBeardedOne
MemberThanks for the reply shanebp.
1. I’m using Batcache, https://wordpress.org/extend/plugins/batcache/ and Memcached Object Cache https://wordpress.org/extend/plugins/memcached/ both of these use memcached for caching. We’ve used W3TC in the past on our WP-only sites, but it got be a little to unstable for our tastes… So far these seem to be working good, though we have to remember to bounce memcached in addition to PHP-FPM when we make a code change.
2. Right now we only have the following tables set to use MyISAM, the rest being InnoDB:
bp_groups
bp_groups_groupmeta
bp_groups_members
usermeta
users
We tried having them all to InnoDB, but due to its poor text searching performance compared to MyISAM, we switch back those 5.
3. TMPFS is worth its weight in gold.
Wow, 30K, very impressive! I’m hoping that there is a lot of performance that can be squeeze out of our DB server, which will be looked at soon by actual DBAs (I do not in anyway claim to be one…). If not, I’m looking forward to BP 1.6 for some of those performance enhancements found from bug #4045!
June 14, 2012 at 10:19 am #135761cyclonunited
MemberHello, there is a simply solution, few Extension as Buddypress shows messages errors with PHP 5.4, we could hide them.
Bonjour, la solution ci dessous en attendant que Budypress et d’autres extensions ( a vérifier au cas par cas) ne provoque pas d’erreur avec le php 5.4.
We must hide the messages errors / Nous devons cacher les erreurs PHP :
In /wp-includes/class-wp-error.php
/***************************Add after the first < php *************************************/
> after php to close it, don’t appear in this message, don’t lost it to close php
> after php n’apparaît pas dans ce message, ne pas l’oublier pour refermer la balise.
/***************************Ajouter après la première balise< php *************************************/
error_reporting(0);
@ini_set(‘display_errors’, 0);Or simply directly to wp-config in the root.
Ou simplement dans le fichier wp-config à la racine.PLus d’info dans / Most info in : http://www.wordimpressed.com/wordpress/php-turn-on-or-off-error-reporting/
With each update of WordPress, we must using this solution
A chaque mise à jour de WordPress, il faut refaire la manipulation si besoin.Cordially / A bientôt.
CyclonUnited
June 14, 2012 at 9:43 am #135760bestofelectro
MemberBonjour, je suis aussi hébergé chez Legtux, je confirme le problème vient bien de la version de PHPmyAdmin, j’ai installer WordPress en local avec:
Wamp + PHPMyAdmin 5.4.3= buddypress ne fonctionnait pas
Wamp + PHPMyAdmin 5.3.3=buddypress fonctionne
Avez vous reussit à faire fonctionner Buddypress ? Sinon je propose de faire un message à l’administrateur Legtux pour voir si il ne peut pas downgrader phpmyadmin vers la version 5.3June 14, 2012 at 5:45 am #135754In reply to: Buddypress Teams?
@ChrisClayton
Participant@vienem to do what your trying to do (essentially cloning the groups functionality and giving it a different usage) is quite complex (I’ve done it for another site of mine, and it wasn’t quick. Can’t share the code at this time though as It needs to be polished with some personal stuff removed).
If you want to do it – I suggest doing it properly (I’ve seen sites trying to take shortcuts and to be honest, it never works) Look through the code in the bp-groups folder to see how the core developers have built the groups component, and using the Skeleton plugin (https://wordpress.org/extend/plugins/buddypress-skeleton-component/) to build it.
Just my suggestions.
June 14, 2012 at 2:02 am #135751Sofian J. Anom
MemberHave you tried this plugin?
https://wordpress.org/extend/plugins/diamond-multisite-widgetsJune 12, 2012 at 11:11 pm #135725@mercime
ParticipantPlease make sure that your WP installation has been set up properly – pretty-permalinks included – before installing BuddyPress. In this vein, please post your mod_rewrite issue at the proper forum https://wordpress.org/support/forum/localhost-installs
June 12, 2012 at 6:09 pm #135718In reply to: Customising html for navigation menu in child theme
@mercime
ParticipantNick, you should read Justin Tadlocks excellent tutorial on navigation menus at http://justintadlock.com/archives/2010/06/01/goodbye-headaches-hello-menus and also read https://codex.wordpress.org/Navigation_Menus
June 12, 2012 at 8:03 am #135696@mercime
ParticipantJune 11, 2012 at 8:03 pm #135678In reply to: Buddypress Teams?
vienem
MemberYeah I tried it and was almost perfect for what I needed but I needed to limit the hierarchy so that only core groups could make sub groups instead of it being infinite.
I did post on there forums but no replies with no luck
I’m still learning WordPress and Buddypress and browsed the code but couldnt see how I would limit them.June 11, 2012 at 7:39 pm #135676In reply to: Buddypress Teams?
danbpfr
ParticipantHi,
maybe try this plugin ?
https://wordpress.org/extend/plugins/bp-group-hierarchy/June 11, 2012 at 7:22 pm #135673In reply to: Building a child theme: overriding default.css
pgideonbolger
MemberHi Chouf1
Sorry, I’m not being clear enough. I’m already using style.css, but I’m finding that overriding the #nav rules in default.css more complicated than its worth.
What I’d like to do is override default.css in the theme with a local copy so I can comment out the section which is causing me problems and replace it with fresh rules in style.css.
This is more a WordPress question than a Buddypress one, but is it possible to get WordPress to load a theme css file by placing a copy in your child theme, or do I need to mess with the PHP to change the location? In the interests of BC and upgradablility I’d rather not trash all the CSS.
June 11, 2012 at 2:16 pm #135671Paul Wong-Gibbs
KeymasterJune 11, 2012 at 5:07 am #135655In reply to: Signatures on forum posts
@mercime
ParticipantNo, you’d need to create a totally different plugin to add signature to the Group Forums as it’s using the bbPress 1.0 custom BuddyPress version while that plugin is for the totally revamped bbPress 2.+ .
There was a plugin for the old BP1.2/bbPress1.+ but it was not updated for BP 1.5 https://wordpress.org/extend/plugins/buddypress-group-forum-extras/ you could try to update yourself or hire a developer to do so.
Other than the above, you could wait for BP 1.6 where Group Forums will be migrated over to bbPress 2.+ Sitewide Forums where you could use the signature plugin.
June 11, 2012 at 3:13 am #135649In reply to: Signatures on forum posts
@mercime
ParticipantNo signature plugin for BuddyPress Group Forums, but there is one for bbPress Sitewide Forums https://wordpress.org/extend/plugins/bbp-signature/
June 10, 2012 at 3:40 am #135627In reply to: Adding Dynamic Profile Link to Main Menu Item
@mercime
Participant@evolvedesign, please start a new topic next time. There’s a plugin for those using the bp-default or child theme thereof https://wordpress.org/extend/plugins/buddypress-profile-menu/
June 10, 2012 at 1:50 am #135623ktown28
MemberI’m not sure what I’m looking for in those files. So it seems when replying and commenting in wordpress post seems fine, but when I try to add comments or reply in the activity stream of buddypress I get the 404 page.
Error Console:
Timestamp: 6/9/2012 6:58:25 PM
Warning: Use of getAttributeNode() is deprecated. Use getAttribute() instead.
Source File: http://edmraveconnect.com/activity/
Line: 0
Timestamp: 6/9/2012 6:56:00 PM
Error: target.addClass(“loading”).prop is not a function
Source File: http://edmraveconnect.com/wp-content/plugins/buddypress/bp-themes/bp-default/_inc/global.js,qver=20110818.pagespeed.jm.V1Ix_wk8YG.js
Line: 31June 9, 2012 at 9:28 am #135609In reply to: Responsive BuddyPress Examples?
@mercime
ParticipantFrisco Theme for BuddyPress – https://wordpress.org/extend/themes/frisco-for-buddypress
Or use any responsive WP theme and install+activate the BP Template Pack plugin, then go through BP compatibility process. There’s a list of “template-packed” WP themes https://codex.buddypress.org/theme-development/wordpress-to-buddypress-theme/#template-packed-wordpress-themes for reference on how to go about it.
June 9, 2012 at 1:03 am #135595Studio Vanguard
MemberHi Paul,
Thanks for your in-depth reply. I will probably circumvent the default WordPress comment system and fully use Disqus. I sent an email to the Disqus team, however I’ve got a feeling that I’ll need to purchase their professional add-on package to get their full support on the implementation. From the information outlined in the OP article, I’d say that this was the route that the Telegraph.co.uk took as well in order to get your three way system up and running?
I’ll see what I can come with

James
June 8, 2012 at 11:03 pm #135592Paul Wong-Gibbs
KeymasterHi there!
I currently work for the Telegraph, so have first-hand knowledge. If you want to use Disqus, you need to get user authentication going between WordPress and Disqus. At the Telegraph, we have our own in-house authentication system, too, so we’ve got a three way connection between our system, WordPress, Disqus. It’s as tricky as it sounds, and it’s not perfect.
We also have to use the Disqus Single Sign On feature, which you have to pay money for.
Disqus do have a WordPress plugin https://wordpress.org/extend/plugins/disqus-comment-system but as I understand, it syncs between WordPress comments and Disqus comments (it never looks like you’re using Disqus).
I would suggest either using Disqus comments fully or WordPress comments fully. Not a mixture. Requiring people to sign in to Disqus via FB or TW I don’t think will realistically be a problem, as a lot of users have those social media accounts already. If you absolutely must have the Disqus / WordPress user authentication going, I’d suggest you get in contact with Disqus support at http://disqus.com/support/ and see what their thoughts are.
If you learn something, do share
June 8, 2012 at 10:52 pm #135591In reply to: Page titles with BuddyPress pages in subdirectory
Paul Wong-Gibbs
Keymasterhttps://buddypress.trac.wordpress.org/ticket/4242 (which you know about, since you posted the bug report. Thanks!)
-
AuthorSearch Results