Search Results for 'buddypress'
-
AuthorSearch Results
-
September 15, 2010 at 3:56 pm #92516
In reply to: Cron Tasks with BuddyPress
rich! @ etiviti
Participantsomething like: (what i use for sitemap generator for a daily function call)
`
//on plugin activation register cron
function myplugin_activation() {
wp_schedule_event( time(), ‘daily’, ‘myplugin_wp_cron_call’ );
}
register_activation_hook(__FILE__, ‘myplugin_activation’);//on plugin deactivation remove cron
function myplugin_deactivation() {
wp_clear_scheduled_hook( ‘myplugin_wp_cron_call’ );
}
register_deactivation_hook(__FILE__, ‘myplugin_deactivation’);//hook the action to call from wp_cron
add_action( ‘myplugin_wp_cron_call’, ‘myplugin_some_function_to_hook_for_wp_cron’ );
`September 15, 2010 at 3:28 pm #92513In reply to: Cron Tasks with BuddyPress
techguy
ParticipantDo you know of any plugins that implement these types of cron? I learn better looking at other example code and building it from there.
September 15, 2010 at 2:39 pm #92510In reply to: Can’t activate BuddyPress
Hugo Ashmore
ParticipantThinking about it you may want to increase the max_execution_time to perhaps double? never needed to adjust this figure myself but with 50,000 blogs to cycle through that execution time might be too short? In fact I would try adjusting that before the mem limit to see if it helps.
September 15, 2010 at 2:35 pm #92508In reply to: Can’t activate BuddyPress
Hugo Ashmore
Participant256 is pretty big, what you set it to depends on what is available, and also bear in mind what the limit is actually put in place for which is to prevent a script crashing your server, if you set the limit to all available memory you would be in trouble if a badly written script looped and started to use up all your system memory. If you can try increasing the memory allocation in chunks testing each time to see if that is the problem and at what point or extra amount everything settles down and works, then add a bit of headroom.
September 15, 2010 at 1:46 pm #92505In reply to: Can’t activate BuddyPress
ezbizniz
ParticipantAny idea what I should set the memory_limit to?
September 15, 2010 at 1:45 pm #92504In reply to: Can’t activate BuddyPress
ezbizniz
ParticipantThese are my resource limits in php.ini:
max_execution_time = 30
max_input_time = 120
memory_limit = 256MSeptember 15, 2010 at 1:45 pm #92503In reply to: Can’t activate BuddyPress
Paul Wong-Gibbs
KeymasterBP registers all existing blogs on a multisite install when the plugin’s activated — it’s probably using all the memory.
September 15, 2010 at 1:35 pm #92501In reply to: Can’t activate BuddyPress
Hugo Ashmore
Participant50,000 users and blogs, really!? that’s certainly going to put BP through it’s paces. What’s your PHP script memory limit set to out of interest.
September 15, 2010 at 1:26 pm #92500In reply to: Can’t activate BuddyPress
Pisanojm
ParticipantI’m just wondering how long it would take a server to integrate 50,000 blogs with BuddyPress… sometime I would imagine… It will be interesting to find out what your problem is as more people reply to your thread.
September 15, 2010 at 11:58 am #92497Roger Coathup
ParticipantYes, BuddyPress would definitely benefit from a serious UX review. Theming is much harder work than it should be. It’s far too tightly coupled to the core, with too much presentation code / decision making embedded and difficult to change. The permalink activity pages are definitely the worst presented and often most useless aspect of the default setup.
That said – the default setup can never be made to please every user. It’s perfectly reasonable / normal to have to create and modify your own bespoke template files to get the site you want. It’s the same for WordPress, Drupal, Expression Engine – any content management system you care to name.
Copying everyone under the sun on your post, is unlikely to win you many fans! However, there really should be somewhere more obvious and accessible to raise thoughts about the interface and BP experience.
My tuppence worth: make the API much finer grained (e.g. accessing the activity stream elements by part, rather than monolithic string), loosen the presentation coupling as much as possible, and put out a default theme that’s based on a finer grained access, and therefore much easier to understand how to re-work and restyle. This would encourage more theming, more unique uses of BuddyPress and push the boundaries.
September 15, 2010 at 11:24 am #92495In reply to: Create groups only admin
September 15, 2010 at 10:52 am #92493In reply to: WP in Subdirectory, BP 1.3svn, home link incorrect
t.sjogren
ParticipantHi
If i install WP in a subdir then the homelink is incorrect. This is because the call for the homelink is set by the tempatetag site_url() and not bloginfo(url). So to correct this edit line 48 in header.php in bp_default theme like this.
Before:
After:WARNING. This changes will be lost if you upgrade buddypress. A bettter way to do it would be to create a child theme and copy header.php to the child theme. Or even better create a function in functions.php that fixes this.
Nav code cut-out frpn header.php
-
<li class=”selected”>
<a href=" ” title=””>Question: Is this a known bug?
September 15, 2010 at 10:32 am #92491PH (porsche)
ParticipantYou know..I just realized that the writing a plugin or making changes to any files is a terrible way of addressing this. It should be a default User Experience behaviour of Buddypress… thats its purpose. I dont under stand why a “reply” button cant be default and if they arent a member or not logged in it should ask them to log in or start an account. its just really basic.
CC:
@johnjamesjacoby
@DJPaul
@apeatling
@jeffsayre
@crashutah
@boonebgorges
@nuprn1
@pollyplummerSeptember 15, 2010 at 9:24 am #92489In reply to: Avatar crop error
thelandman
Participant@tiam, @aelofoge, Make sure you are running jquery 1.4.2. Ensure that your theme/childtheme isn’t trying to call a different version of jquery. Or make sure at one of your plugins aren’t using their own version of jquery. I had the same problem and I solved it by making sure I was using the correct version of jquery.
September 15, 2010 at 8:17 am #92486James Smith
Participant@DJPaul I’m on php 5.1.6 and get this problem. Other unusual bits about my setup are that it’s a sub-directoy install and I’m using a proxy for all outgoing script connections.
September 15, 2010 at 6:18 am #92482In reply to: adding content to the 1.2 default theme homepage
Dia Ritoch
ParticipantI got this solution from Mr. Brajesh Singh:
This is a problem with Buddypress 1.2
There are a few ways to fix this though.
In your bp-custom.php, put these lines, and it should work.define(“BP_HOME_BLOG_SLUG”,”blog”);
function bpdev_blogs_setup_root_component() {
/* Register ‘blog’ as a root component */
bp_core_add_root_component( BP_HOME_BLOG_SLUG );
}
add_action( ‘bp_setup_root_components’, ‘bpdev_blogs_setup_root_component’ );And to some who may not know where to put the bp-custom.php, bp-custom.php should be created in wp-content/plugins NOT in wp-content/plugins/buddypress.
September 15, 2010 at 5:31 am #92479In reply to: Limit the size of user updates
Hugo Ashmore
Participant@mercime Thanks for the heads up
September 15, 2010 at 3:39 am #92477In reply to: Limit the size of user updates
@mercime
Participant@hnla plugin being created by someone at this time, hopefully out within next few days.
September 15, 2010 at 2:13 am #92471In reply to: Buddyvents – New Events Plugin
pcwriter
ParticipantI like the way you “whipped one up”, with geocoding to boot!
It’s simple, elegant, and has all the required elements. Nice touch with the date picker too
Creating an event and uploading an image is a snap.Noticed 1 thing not working though: “Show new events” activity filter displays “…no activity” message.
Darn… now that I’ve created an event, I wanted to edit it, but I can’t access the site anymore… EDIT: never mind that…it’s back.
Like @Mike, can I “get my hands on it” too?
September 14, 2010 at 9:53 pm #92464In reply to: Modifying / Customising the registration process
pcwriter
Participant@Iain Manley
Sorry my workaround isn’t working as hoped… the easy solutions aren’t always the best
September 14, 2010 at 8:08 pm #92450In reply to: Job offer : custom hack for BP members page
Hugo Ashmore
Participant@kikkoroma there is a jobs board group for posting job requests in, could you repost in that group please.
Closing this thread, anyone interested can contact directly to the email address.
September 14, 2010 at 8:05 pm #92451In reply to: I Need This Feature
Hugo Ashmore
ParticipantSeptember 14, 2010 at 7:25 pm #92447In reply to: Username as subdomain
thelandman
ParticipantSeptember 14, 2010 at 6:42 pm #92444In reply to: Username as subdomain
@mercime
Participant@hnla, agreed @boonebgorges is “Divine Oracle”, I certainly didn’t see that coming, wow!
September 14, 2010 at 5:46 pm #92435In reply to: Username as subdomain
Hugo Ashmore
Participant@boonebgorges and from this day forth thou shall be known by the name ‘Divine Oracle’

-
AuthorSearch Results