Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 20,126 through 20,150 (of 68,967 total)
  • Author
    Search Results
  • #167252
    mgrmn
    Participant
    #167250
    mgrmn
    Participant

    Its made in wp-content/plugins/buddypress/bp-groups/bp-groups-template.php starting from line 1766

    Line 1027 /wp-content/plugins/buddypress/bp-groups/bp-groups-screens.php
    Line 21 /wp-content/plugins/buddypress/bp-themes/bp-default/groups/index.php

    #167247

    In reply to: Creating New Plugins

    modemlooper
    Moderator

    You really need to wrap the if class in a function that loads after all plugins just to be on the safe side. The reason it works is because your plugin name is alphabetically after BuddyPress so it loads after but the proper way is to wait until all plugins are loaded and then give the error notice.

    #167244
    Shmoo
    Participant

    I found this video the best I’ve seen this far, because it keeps it very easy to understand.

    It starts with a very basic understanding of what Actions and what Filters do because they maybe sound very overwhelming? when you bump onto them for the first time.
    You don’t wanna know how many bbPress or BuddyPress projects I have deleted because I couldn’t understand what actions are, I knew they where spot that you can Hook into but making it happen and writing some code that finally gets Hooked into an action is a different story.

    Actions DO stuff.
    Filters CHANGE stuff.

    I’ve tried to make my own custom add_action for the first time just to see if I was able to Hook into that ‘ bp_group_header_actions ‘ and it worked.
    Something as simple as this added an empty span tag above the ‘ bp_group_header_actions ‘ code but the only question that still remains how to I get inside the HTML of this action.

    
    add_action ( 'bp_group_header_actions', 'my_stuff', 1 );
    
    function my_stuff() {
    	echo '<span></span>';
    }
    
    

    This empty span tag has to go inside that div before the a href tag.
    actions and filters

    #167243
    bp-help
    Participant

    @darrenmeehan
    Alright, then I will test it out and supply feedback. I have a plugin as well that has been submitted to the repo in the last 4 days that is yet to be approved but I could also use some others testing and supplying feedback. You can get it here: https://github.com/bphelp/private_community_for_bp_lite
    Thanks!

    #167242
    darrenmeehan
    Participant

    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

    #167241
    bp-help
    Participant

    @darrenmeehan
    I would be glad to test it out and give feedback. Is the github repo the most current version you have?

    #167240
    darrenmeehan
    Participant

    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!

    #167238
    crashy11
    Participant

    Ah, what can I do, I hope in new version of buddypress there will be option to turn off activity for certain account.

    It could be done with custom post type, but then again you need to integrate some code, because when you make post with custom post type, posts are not showing in category they supposed to show.

    Custom post types doesn’t show in activity stream and that could solve to problem, but then again…

    #167237
    bp-help
    Participant

    @darrenmeehan
    I think if an author abandoned a plugin for several years then they should give you commit access but that is just my opinion. I suppose the only way around it then is to fork it because it is GPL. Why not just call it BuddyPress Like Plus? Either way I think the improvements you made are pretty cool. So thank you for your hard work! 🙂

    #167236
    mgrmn
    Participant

    I hate to tell you this, but there is not a easy way to do what you want to do. And as far as the code, that will echo out ID / USERNAME, and will execute the remove_action function. But that is all it does.

    bp_blogs_record_post function can be found there –> /plugins/buddypress/bp-blogs/bp-blogs-functions.php. However I suggest and of course if you afford it, get a pro to do it for you

    #167235
    darrenmeehan
    Participant

    @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!

    #167234
    bp-help
    Participant

    @darrenmeehan
    I mean when are you going to fork it and have it on the WordPress repository, or have you gained permission from the original author to overtake the updates? I really would like to see this on the repository! Thanks!

    #167233
    darrenmeehan
    Participant

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

    #167232

    In reply to: Creating New Plugins

    bp-help
    Participant

    @modemlooper
    I have tested the plugin:
    https://github.com/bphelp/private_community_for_bp_lite
    As is it works as expected. If BuddyPress is installed and activated then the notice does not appear, however if you try installing the plugin without BuddyPress installed and activated then the notice appears. Can you test it so you will see what I mean because it simply works!

    #167231

    In reply to: Creating New Plugins

    modemlooper
    Moderator

    The reason of my last suggestion is you can not test if BuddyPress class if you do not call it after plugins_loaded. Previous code doesn’t work right because plugins load in the order they are listed in the admin. If your plugin is above BuddyPress then the BP class hasn’t loaded and the error notice will show even if BuddyPress is active. The last code fixes that by running function after all plugins are loaded.

    #167230
    bp-help
    Participant

    @darrenmeehan
    Any idea to the availability. Sounds cool and useful!

    #167228
    @mercime
    Participant

    @tengwah I’ve added a link to the WP codex page about child themes in the paragraph before “Let’s Start Building” section. Thank you for the reminder to add the reference for those who are new to child theming.

    #167227
    tengwah
    Participant

    I just found on the Show Options drop down menu, on the Appearance>editor page, a link…
    https://codex.wordpress.org/Child_Themes

    Just one quick look at that and I see a picture with a folder tree, and I now assume that I am suppossed to be creating this child theme folder inside my wordpress installation folder. Unfortunately I never saw anything simply writting that anywhere.

    That was the key thing I was missing here I guess, the whole time I was looking around inside wordpress application for something, when its in the ‘Installation’ files id say.

    I think they could have just written that somewhere. Obviously Its not really obvious.

    #167226
    tengwah
    Participant

    Thanks for replying, I still have a problem, because I have found that link already, and read through it but I still cant find how to create a child theme.
    On that site, in that document it says…

    [[
    Let’s Start Building!

    The bp-default theme is located in the BuddyPress plugin folder at /wp-content/plugins/buddypress/bp-themes/ so it can be updated along with the plugin. WordPress knows where it is, even though your own child theme folder is in /wp-content/themes/.

    A. Create a new theme folder

    The first step is to create a new theme folder and give it a unique name. For this example, the theme is called “BuddyPress Dusk” and so we’ll name our folder bp-dusk. We’ll be uploading the bp-dusk child theme folder to wp-content/themes/.
    ]]

    (that is the first instructional step) This doesnt make sense to me, cause I dont know where I should be and how to do this…this is what I am asking for help with. I cant find anything that actually tells me how you start to create a child theme.

    #167219
    @mercime
    Participant
    #167218
    darrenmeehan
    Participant

    @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!

    #167216
    darrenmeehan
    Participant

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

    #167215
    shanebp
    Moderator

    @darrenmeehan
    >I’m not sure whether to fix a few things at a time or to do the massive rehaul I’d like to.

    The old ‘improvements vs. legacy support’ dance.

    It’s a free plugin ( and a sweet one ) so do what’s best for you.

    I’d do the overhaul and require BP 1.7 + going forward.

    #167212
    @mercime
    Participant

    @tengwah If you want to keep the changes that you’re making to the BuddyPress Default theme, I suggest that you create a child theme and make the modifications there.

    Simple way to remove the tags, add the following to your child theme’s stylesheet:
    #commentform p.form-allowed-tags { display: none; }

Viewing 25 results - 20,126 through 20,150 (of 68,967 total)
Skip to toolbar