benjaminsaarde (@benjaminsaarde)

Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • In reply to: Multisite

    @benjaminsaarde

    Participant

    Hi again,
    I have been searching the web for a solution:
    My idea is to delete the default links, and get the link to peoples primary blog. When they fill out the bbpress form-reply.php, I want to get their user ID. From that user ID I can get the link to their primary blog.
    Right now I got this:

    //In my functions.php(the 2 is an example of a user id):
    $GLOBALS[‘mytheme_thisismyvar’] =2;

    //In my Loop-single-reply.php:´
    <?php
    $yeps=$GLOBALS[‘mytheme_thisismyvar’];
    ?>

    <?php
    $user_info = get_userdata($yeps);
    $blog_details = get_blog_details($user_info->primary_blog);
    echo ‘siteurl.’>’.$blog_details->siteurl.’‘;
    ?>

    I want to get the user id from the bbpress form-reply.php to be $yeps? I thought about using get_the_author_meta?
    Thank you

    In reply to: Multisite

    @benjaminsaarde

    Participant

    That’s what I feared, I just had to give it a try 😉 thank you.
    I also recently posted another question in the WordPress forum. This one should be easy and advisable:
    https://wordpress.org/support/topic/jquery-31/
    If you know that, I would very much appreciate your guidance. Thanks.

    In reply to: Multisite

    @benjaminsaarde

    Participant

    Ok. I want people to make their own site with wordpress multisite, I want all users to have one multisite and one say in the bb-press forums. I am not that good at php. Do you maybe know some articles which could help me make some php to do this? I don’t don’t know where to end or begin. Thank you.

    In reply to: Multisite

    @benjaminsaarde

    Participant

    Anyone?

    In reply to: Multisite

    @benjaminsaarde

    Participant

    They won’t. I don’t want to use the bb-press profiles. Do you know how to do it?

    In reply to: Multisite

    @benjaminsaarde

    Participant

    I am not sure I understand your question. I want a forum like this one. If I click at your or maureenashs name, I will be redirected to your bb-press profile. I want a feature on my site where instead of being redirected to the bb-press profile I want people to be redirected to the person’s subsite.

    @benjaminsaarde

    Participant

    Thank you very much for your answers. Because of what you told me and further research, I have chosen to let everybody comment and post on everything.
    Maybe one of you can answer me on this:
    I need a way for people to sign up with Facebook and Google. I want people to be able to choose between two different kind of free memberships, when they sign up. I want this, because I want the plugin “rating widget” to be enabled to only one of the memberships.
    What should I do?

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