Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 46,726 through 46,750 (of 68,967 total)
  • Author
    Search Results
  • #92516
    rich! @ etiviti
    Participant

    something 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’ );
    `

    #92513
    techguy
    Participant

    Do you know of any plugins that implement these types of cron? I learn better looking at other example code and building it from there.

    #92510
    Hugo Ashmore
    Participant

    Thinking 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.

    #92508
    Hugo Ashmore
    Participant

    256 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.

    #92505
    ezbizniz
    Participant

    Any idea what I should set the memory_limit to?

    #92504
    ezbizniz
    Participant

    These are my resource limits in php.ini:
    max_execution_time = 30
    max_input_time = 120
    memory_limit = 256M

    #92503
    Paul Wong-Gibbs
    Keymaster

    BP registers all existing blogs on a multisite install when the plugin’s activated — it’s probably using all the memory.

    #92501
    Hugo Ashmore
    Participant

    50,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.

    #92500
    Pisanojm
    Participant

    I’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.

    #92497
    Roger Coathup
    Participant

    @porscheheritage

    Yes, 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.

    #92495
    rich! @ etiviti
    Participant
    #92493
    t.sjogren
    Participant

    Hi
    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

    Question: Is this a known bug?

    #92491
    PH (porsche)
    Participant

    You 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
    @pollyplummer

    #92489

    In 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.

    #92486
    James 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.

    #92482
    Dia Ritoch
    Participant

    I 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.

    #92479
    Hugo Ashmore
    Participant

    @mercime Thanks for the heads up

    #92477
    @mercime
    Participant

    @hnla plugin being created by someone at this time, hopefully out within next few days.

    #92471
    pcwriter
    Participant

    @Travel-Junkie

    I 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?

    #92464
    pcwriter
    Participant

    @Iain Manley

    Sorry my workaround isn’t working as hoped… the easy solutions aren’t always the best ;-)

    #92450
    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.

    #92451

    In reply to: I Need This Feature

    Hugo Ashmore
    Participant

    @brlc Please don’t duplicate posts , you won’t get any faster a response and it’s bad nettiquette

    Closing this thread please continue here

    #92447

    In reply to: Username as subdomain

    thelandman
    Participant

    Well if this helps you @hnla from being sarcastic, then I’ll also thank @mercime for their feedback

    #92444

    In reply to: Username as subdomain

    @mercime
    Participant

    @hnla, agreed @boonebgorges is “Divine Oracle”, I certainly didn’t see that coming, wow! :-)

    #92435

    In reply to: Username as subdomain

    Hugo Ashmore
    Participant

    @boonebgorges and from this day forth thou shall be known by the name ‘Divine Oracle’ :)

Viewing 25 results - 46,726 through 46,750 (of 68,967 total)
Skip to toolbar