Skip to:
Content
Pages
Categories
Search
Top
Bottom

I am a new buddypress plugin developer and busy to create a new plugin


  • informerfrk
    Participant

    @informerfrk

    I am a new buddypress plugin developer and need to know more about developing… In my plugin I have two parts of code. Only one code at a time should be run. When a code will run, other will not be run. I want to add an admin settings page where admin can choose which one of the code should be run… Please help me to do this…

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

  • bp-help
    Participant

    @bphelp

    @informerfrk
    Not sure without more detail what your looking for but you can look over one of my plugins that does this. Please note it hasn’t been updated in about 10 months. Maybe you can get something out of it and I am sure there are many other plugins you can study as well.
    https://wordpress.org/plugins/home-page-to-bp-profile-plus-privacy/


    informerfrk
    Participant

    @informerfrk

    Thanks… But I want the settings option in admin dashboard for admin… Just look at these two code….

    if ( $activity->component != 'groups'

    And also
    if ( $activity->component != 'friends'

    I want to add an option page in admin dashboard menu where the site owner can select which code should be run without having any coding knowledge… I want to add two radio button options “friends” and “group”…

    @bp_help


    informerfrk
    Participant

    @informerfrk

    Thanks… But I want the settings option in admin dashboard for admin… Just look at these two code….

    if ( $activity->component != ‘groups’

    And also
    if ( $activity->component != ‘friends’

    I want to add an option page in admin dashboard menu where the site owner can select which code should be run without having any coding knowledge… I want to add two radio button options “friends” and “group”…

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘I am a new buddypress plugin developer and busy to create a new plugin’ is closed to new replies.
Skip to toolbar