Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 16 replies - 1 through 16 (of 16 total)

  • darrenmeehan
    Participant

    @darrenmeehan

    Thanks for the replies. sorry I wasn’t checking here! There’s currently no notifications, but they’re high up on the todo list.


    darrenmeehan
    Participant

    @darrenmeehan

    @bphelp thanks, I’ve forked your plugin and installed it, will test it out and get back to you once I finish some work.


    @deafnation
    thanks for testing it out! What exactly happened? did anything work? What theme were you using?


    darrenmeehan
    Participant

    @darrenmeehan

    Thanks! And yes the Github is the latest version. It’ll be where all development takes place even when the plugin is on the WordPress repo


    darrenmeehan
    Participant

    @darrenmeehan

    I’ve a few options with where to release the plugin, but for now I’d be happy to have a few users test it out to ensure it’s working on a variety of sites. I’ve some other work to do the next while but I’ve some other work to post over to the Github repo. Thanks again!


    darrenmeehan
    Participant

    @darrenmeehan

    @bphelp I’ve tried contacting the developer but there was no way of contacting him that worked. I’ve sent off an email to plugins@wordpress.org to discuss getting commit access to the plugin as I feel this would be best for current users of the plugin, as well as give the plugin a better launch pad if I’m honest.

    Thanks for the kind words!


    darrenmeehan
    Participant

    @darrenmeehan

    Sorry @bphelp I don’t understand what you mean.


    darrenmeehan
    Participant

    @darrenmeehan

    @shanebpdev Thanks for the input, yeah its even currently a sweet plugin which was why I wanted to get it out the door for users so to speak.
    I remember when this plugin was first released and people loved it, so I’m hoping the feel the same now! I’ve a lot on my plate, but I plan to get as much work done to this plugin as I can. Where my effort goes to in BP Like depends on its users!


    darrenmeehan
    Participant

    @darrenmeehan

    Hi @Asynaptic its more like Facebook’s Likes, though not yet as fleshed out. Requested screenshot. BP Like


    darrenmeehan
    Participant

    @darrenmeehan

    I’m currently working on some support and tidying up code. I’m not sure whether to fix a few things at a time or to do the massive rehaul I’d like to. Smaller amounts would be more manageable though I’d like to know from experienced plugin developers which is easier when you’ve different users using your plugins.

    Information on BuddyPress Like


    darrenmeehan
    Participant

    @darrenmeehan

    Found bp_get_activity_type()


    darrenmeehan
    Participant

    @darrenmeehan

    I didn’t find anything to easily get the activity type of an item by its ID, does anyone know of any? Maybe I’m missing something.


    darrenmeehan
    Participant

    @darrenmeehan

    I was able to get this fixed myself. By checking if $bp_like_comment_id was empty using PHP’s empty() function I was able to if it was an activity item or a comment I was dealing with. an example for anyone wondering

    			if ( empty( $bp_like_comment_id ) ) {
    			    echo "this is not a comment";
    				
    			}
    			else {
    			   echo 'this is a comment';
    			}	

    darrenmeehan
    Participant

    @darrenmeehan

    Thanks for your help Shane, I wasn’t thinking properly as a programmer – I spent more time trying to figure out what I didn’t know, and less time using what I did. My variable wasn’t global, though reading into PHP having this is a bad idea. So I moved
    `if(is_front_page())
    {
    $dm_number = 6;
    }
    else
    {
    $dm_number = 20;
    }`

    into the same function as where the variable is being used. The random parameter doesn’t seem to be doing anything, I’m going to try and narrow this problem down today. Thanks again for your help! You’ve me thinking the right way now :D


    darrenmeehan
    Participant

    @darrenmeehan

    Oops thanks for that Shane! I’ll read over some more PHP again. I think I’ve made the required changes, but its still not working. I’ve posted the whole file to here https://gist.github.com/2882028. I’d love if I could figure out where I’m wrong.


    darrenmeehan
    Participant

    @darrenmeehan

    Try using double quotes. So it would be

    `if ( bp_has_members( “type=online&per_page=30”) ){

    }`

    I’m not sure if it’ll work for you, but I’ve been having some problems with bp_has_members() and using single quotes broke it totally!


    darrenmeehan
    Participant

    @darrenmeehan

    Based on what I see at https://buddypress.org/community/groups/localization/forum/topic/how-to-translate-submenus-slugs/ I skimmed through trac to see if there was any tickets on this,https://buddypress.trac.wordpress.org/ticket/2086 came up, but it doesn’t look like its possible without editing core yet.

Viewing 16 replies - 1 through 16 (of 16 total)
Skip to toolbar