BuddyDev

Search

Replies

  • Participant
    Level: Enlightened
    Posts: 36
    Jimmy Cheung on #35537

    Hi Ravi,

    I was matching and taken out the functions.php and bp-custom.php few at a time, I even overwritten these both files. it kept have links failure to 404?

    However, It was a lucky tried this morning, I restored a whole backup from 2-3 days ago. I already clicked over 30 times from the buddypress menu, and regular menu. NO BROKEN LINKS TO 404 YET. 🙂 🙂 🙂

    No matter whats? I still have to cross my finger tho. I will keep my eyes open on the clicks if it happens again?!!!

    After I did the backup, it’s all good. Appearance, maybe it was from others what I had done that caused it?!

    Well, I’m glad it’s ok for now. But still have to knock on wood.

    Thanks Ravi for helping.

    • This reply was modified 3 months ago by Jimmy Cheung. Reason: rephase
  • Participant
    Level: Enlightened
    Posts: 36
    Jimmy Cheung on #35529

    Hi Ravi,

    I just uploaded an older functions.php and keep on clicking different links and menus over 10 ++ times. It seems working fine. no 404 pages yet!

    I wonder it could be cross functions issues with other one?

    Since I loaded the older function.php . Please let me try again to matching which OTHER newest functions causing the 404????

    I really like to get to the bottom of this to see which actual function caused it? And is it important to keep or not for other one?

    It will take some times for me for matching. Please wait for my next reply?!

    Also I may need to renamed the menu name? I was using the same menu!

    Thanks,

    • This reply was modified 3 months ago by Jimmy Cheung. Reason: rephase
  • Participant
    Level: Enlightened
    Posts: 36
    Jimmy Cheung on #35527

    Oh btw, forgot to say, I even saved the permalinks, clear all cache. over 20 times.
    I even clear all purge from the cpanel.

  • Participant
    Level: Enlightened
    Posts: 36
    Jimmy Cheung on #35526

    Hi Ravi

    Thanks for writing back, this is what I did step-by-step. (I tried both ways, I like the wordpress more)

    ————————————————

    Step 1 – I copy and pasted PUT THESE 2 functions IN THE FUNCTIONS.PHP

    add_action( ‘after_setup_theme’, ‘buddydev_register_menus’ );
    function buddydev_register_menus() {

    register_nav_menu( ‘bp-profile-extra-links’, __( ‘Extra profile links’ ) );
    register_nav_menu( ‘bp-group-extra-links’, __( ‘Extra Group links’ ) );
    }

    add_action( ‘bp_member_options_nav’, ‘buddydev_add_profile_extra_links’ );
    function buddydev_add_profile_extra_links() {

    if ( has_nav_menu( ‘bp-profile-extra-links’ ) ) {
    wp_nav_menu( array( ‘container’ => false, ‘theme_location’ => ‘bp-profile-extra-links’, ‘items_wrap’ => ‘%3$s’ ) );
    }
    }

    ——————————————

    Step 2 – I WENT TO THE EDIT MENU TO [CHECKED MARKED] AND SAVE.
    SAME THING WHAT THE PHOTO SHOWN.

    [X] Extra profile links
    [X] Extra Group links

    SAVE MENU
    ——————————————

    THAT’S ALL ????????!!!!!!!!!

    All the MENU also showning on the buddypress tabs along with the default.

    NOW, Whenever I clicked any these new link tabs, and even the original TOP MENU links,
    it’s like rotates and take turns. sometime it goes to the 404 page and sometime it doesn’t?

    Am I missing anything that’s why it gives me 404?

    Please advise, Thanks,

  • Participant
    Level: Enlightened
    Posts: 36
    Jimmy Cheung on #35319

    Hi Brajesh,

    Well, that is a 3rd party plugin vs what I tries to accomplish. I thought to give a tried for asking.

    Thanks for letting me to write more details for helping.

  • Participant
    Level: Enlightened
    Posts: 36
    Jimmy Cheung on #35314

    Ops, I also want to add extra information

    Let’s say if this shortcode works? Then if there’s a functions, when the wrong MEN gender click on the WOMEN forum? the function will/can redirect to [WOMEN ONLY FORUM] page. Vice Versa.

    But, if function can do that? That’s ok, I more wanted and most important is the MEN vs WOMEN forum.

    Thanks

  • Participant
    Level: Enlightened
    Posts: 36
    Jimmy Cheung on #35312

    Hi Brajesh,

    Ok, this forum can has different shortcodes for different forums. I can create [forum = 2nd], [forum = 3rd] and so on…

    What I want is to create TWO forums are the same. If the men click on the [WOMEN ONLY FORUM], no can do. or if the women click on the [MEN ONLY FORUM], no can do as well.

    This way, the wrong gender can’t read/post/reply it unless they are MEN or WOMEN.

    Is there’s a way I can use below shortcode for it? I’m not sure which one below? But example?
    https://buddydev.com/docs/buddypress-member-types-pro/controlling-content-visibility-buddypress-member-types/

    [bpmtp-show-if-member-type] [MEN ONLY FORUM] [/bpmtp-show-if-member-type]

    [bpmtp-show-if-not-member-type] [WOMEN ONLY FORUM] [/bpmtp-show-if-not-member-type]

    [bpmtp-hide-if-member-type] [/bpmtp-hide-if-member-type]

    [bpmtp-hide-if-not-member-type] [/bpmtp-hide-if-member-type]

    ————-

    Please advise, I hope you understand what I try to say/do?
    Thanks

    • This reply was modified 3 months, 1 week ago by Jimmy Cheung.
  • Participant
    Level: Enlightened
    Posts: 36
    Jimmy Cheung on #35201

    Hi Brajesh,

    Ok, I don’t need it after all. I figured works the same way as the Member types plugin. Just ask to make sure before hand.

    Thanks for your info.
    Jimmy

  • Participant
    Level: Enlightened
    Posts: 36
    Jimmy Cheung on #35200

    Hi Brajesh,

    Thanks for your information. Well, I’m sure we all can’t wait to see when it’s out.

    Please send out the released date to my email list.

    Please do send a demo if any also.

    Thanks, Jimmy

  • Participant
    Level: Enlightened
    Posts: 36
    Jimmy Cheung on #35166

    I’m adding extra information for the plugin. Just a chance to trick or made them to upgrade +++

    It doesn’t have to be free members. It can be different membership level for it’s features.

    Silver level – Unlimited click photos.
    Bronze level – Unlimited click photos and timer.
    Gold level – Unlimited for all 3 features.

Subscribe