Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '\"wordpress\'

Viewing 25 results - 18,376 through 18,400 (of 26,846 total)
  • Author
    Search Results
  • #88609

    In reply to: Same avatar

    Rich Pedley
    Member
    #88608

    In reply to: Same avatar

    leander8728
    Member

    Hmmmm okay! I hope there was an easyer way to do this, like a plugin or something. But i give it a try to look into the WordPress and bbPress files!

    #88606

    In reply to: Same avatar

    leander8728
    Member

    “When joe average says “hey, how do i upload an avatar like jim bob over there?” and your answer involves him leaving your website, signing up for a wordpress account and then… etc. it’s over!”

    But my WordPressMU blog en bbPress forum is connected with a bridge. So a user has one account for the WordPress en bbPress installation. If he upload a avatar on WordPress (because profile pages in bbPress links to the profile pages in WordPress, so i use only WordPress for profile pages) it cames on wordpress, but not in bbPress. And that is wat i would.

    I use Gravatars for the standard avatars, but it is more personal to upload your own avatar. And to upload a avatar twice (WordPress and bbPress) isn’t very user friendly.

    Thx,

    Leander

    #88595
    chrishajer
    Participant

    You can expire all their login cookies by changing the secret keys in your bb-config.php file. See the note (which is present in wp-config.php but not in bb-config.php I don’t think):

    https://core.trac.wordpress.org/browser/trunk/wp-config-sample.php#L41

    #88605

    In reply to: Same avatar

    Gravatars is a wonderful tool, and those of us who are technical or on multiple forums can see their advantage. The average joe blog, probably can’t; or doesn’t have one already.

    When joe average says “hey, how do i upload an avatar like jim bob over there?” and your answer involves him leaving your website, signing up for a wordpress account and then… etc. it’s over!

    Gravatars are a nice default, but it’s far from a solution for the majority of forums out there.

    To give a few examples:

    1) I only uploaded an avatar to Gravatars last week. This aint my first or only forum and i’m slightly more technical and active on forums that the average joe user.

    2) On my largest bbPress site (which isn’t that big compared to others on here) less than 1% of users have a gravatar, and definately less than 5% of active users do ( i made on of those Gravatar walls for them last week after Matt posted a link to one on planet.wordpress.org)

    It’s definaely something I’d recommend to everyone to see what teh Gravatar uptake on their forums is actually like.

    3) Depending on the forum, human avatars aren’t ideal. I run a forum for my brothers warcraft group. 2-300 users, about 30 active each day. Since enabling avatars for them, not 1 picture of them; just loads of gnomes and green skinned dudes.

    Sadly, as a forum, one of bbPress’ big downfalls from an end user perspective is personalisation (and Avatars being one).

    #88603

    In reply to: Same avatar

    leander8728
    Member

    Because i use Gravatars, but users have the rights in WordPressMU to upload there own Avatar’s. The standard avatars are Gravatars.

    #34314

    Topic: Same avatar

    in forum Plugins
    leander8728
    Member

    Hi,

    I would like to get the same avatar in bbpress as in WordPressMU. On this moment, the WordPressMU and bbpress avatars are different. Is there a plugin to get the same avatar from WordPressMU in bbpress?

    Thanks,

    Leander

    #34312
    paulhawke
    Member

    Purely a matter of taste – and a chance for everyone to weigh-in with their own opinion without anyone being “wrong” – what’re your preferred development tools when dealing with PHP, and more specifically, with WordPress / bbPress code?

    In my day-job I live and breath Java code and use JetBrains IntelliJ IDEA, which itself doesnt support PHP out of the box but a sister product from JetBrains (was called “WebIDE” and now I think is “PHPStorm”) does an exceptionally good job of supporting development in PHP. I was also pleasantly surprised and find myself occasionally using NetBeans v6.8 too. Both development environments allow very fast cross-referencing of methods. Both tools mirror local development remotely – handling the upload/download of changes.

    If I’m not in an IDE, then it’s TextWrangler on my Mac or UltraEdit on a PC, uploads handled using FileZilla.

    Coop1979
    Member

    Hi all –

    I’m new here, but have been doing a lot of research recently on moving my bridged Drupal/vBulletin site to WordPress and bbPress. There have been many changes with vBulletin management and policies lately, and many people are looking for alternatives to VB as their forum software. The only obstacle keeping me from jumping into bbPress is a direct vBulletin -> bbPress import script.

    In my opinion, this is the only thing keeping bbpress from really catching on fire. If anyone has the know-how to do it and is interested, I can help fund the script. If anyone else would like to throw in to help the creation of it, please chime in. Once it’s done we can give it to the community and watch bbpress explode.

    #88253
    pagal
    Participant

    Topic has been resolved…

    credit goes to kevinjohngallagher…

    for more info visit

    https://bbpress.org/forums/topic/using-login_form-from-bbpress-on-a-wordpress-site

    #88466
    pagal
    Participant

    @ kevinjohngallagher… now it works :D

    @ mr_pelle..I’m really sorry that after using bb-load.php into wp I was facing various problems..they are pointed at

    https://bbpress.org/forums/topic/wordpress-registration-and-login-via-bbpress

    @ kevinjohngallagher… I really appreciate your help that you safe me from using bb-load.php into wp ..thanks, :-)

    Now I’m agree with your statement i.e.

    Remember, hardcoding is your friend, because YOU control it :)

    #34307
    Terranb
    Member

    Hi All. I had registrations using bbpress (but also registering in wordpress) working fine with beta 1.

    Now with beta 2 if I try to register in bbpress I get the message “Email Email is required” even though I’ve entered an email. My guess is that beta 2 changed how the emails are stored in the database maybe?

    Registering through wordpress works fine, but it’s doing what it always did which is make the bbpress role “Inactive (no role)” which means it’s not instant, and I have to go in to make the change.

    I had a plugin installed that fixed this problem, but it stopped working with another update.

    Any thoughts on how to fix either of these so things work again?

    #88465

    @pagal

    Hi Pagal,

    the code you’ve linked to looks quite identical to both mine and Gautam’s; but to clarify that also only going to work on WordPress files (not bbPress) unless you have Deep Integration enabled and working.

    Presuming then that you’re working from wordpress and/or with deeply integrated bbpress this code should help:

    if ( !$user_id ) {

    $current_user = wp_get_current_user();

    $user_id = $current_user->ID;

    } else {

    $user_id = (int) $user_id;

    }

    if ($user_id != 0)

    {

    $userdata = get_userdata($user_id);

    $pagal_this_is_the_username_you_want = $userdata->user_login;

    }

    #88464

    Morning lads,

    Sun is shining here, hope you’re all having a great day.

    @mr_pelle

    I think we’re going in circles a little here; and its a position we’ve all been in and can feel your pain a little.

    I see where I might have confused you yesterday.

    Including the WordPress loader in the bbPress config file, so that bbPress has access to WordPress functions, is where most (if not all) of the deep integration questions/work/answers have been derived from. It’s a one way system, calling wordpress functions in bbpress. It’s not a two way system (where wordpress can call bbpress functions, and vice versa).

    Hardcoding is not a good choice IMHO, because it means you have to update many pages everytime you change your mind just on a single line of code

    Not really. You’d have to edit it once in the header in wrodpress and once in the header in bbpress. Being absolutely frank with you, that is the minimum you have to do everytime you make a change to your themes anyway because bbpress and wordpress don’t load the same theme files.

    The way to think of bbPress and WordPress is of two separate systems that share login cookies and you can fake each’s themes make look like each other.

    It’s a tough nut to get round, espeically with them being built and maintained by the same company (who are usually awesome at this sort of thing), but really, and it pains me to say this, they don’t integrate. You/me/everyone read the front page and assume it’s not [trying not to say the word ‘lie’ here]; and we expect it to be one thing and it’s not. I don’t say that to casue annoyance, i’m just tyring to manage expectations a little.

    bbPress and WordPress are two separate systems which can be made to share login cookies.

    Wasn’t bbPress born for this (and more)?

    Nope.

    bbPress was born for the sole purpose of running the wordPress support forums.

    Cookie integration was a nice idea added sometime around 0.8 (as i recall), was awesome for 5 weeks with 0.9 before a wordpress update broke it. Automattic got round to fixing it some 14 months later.

    bbPress playing nice with wordpress is a nice hook on the front page, it is not now, nor shall be, it’s purpose. (hence Matt telling people to not use the software, and that he’s scrapping it to become a wordPress plugin instead).

    Not to mention that the code you suggested does not handle login errors…

    Yeah it does. Login errors are always handled on the login page. (wp-login.php and bb-login.php). All we’ve built is a form that points to those pages.

    If you login successfully you’ll be redirected back to your page, if not you’ll hit the original/default login page with the error.

    if you’re looking to recreate the wp-login/bb-login page on every/all pages with all the functionality that entails, then you’ve a much bigger job on your hands, and if i’m honest, i’d head to the wordpress forums for some help there (in my experience wordpress is fussy about wp-login being used).

    #86870
    Xevo
    Participant

    Already got it working, did something wrong while installing bbpress back then.

    #86869

    I’ve integrated with 3.0 and 2.92 so it does work.

    Just to check: you did change bb-config-sample.php to bb-config.php didn’t you?

    #88463
    pagal
    Participant

    Dear buddies I want to correct you both..

    the code was https://codex.wordpress.org/Function_Reference/is_user_logged_in

    <?php

    if ( is_user_logged_in() ) {

    echo ‘Welcome, registered user!’;

    } else {

    echo ‘Welcome, visitor!’;

    };

    ?>

    and with this there is no need to call bb-load.php into wp…

    Now I’ve replaced kevinjohngallagher’s html form with, Welcome, visitor!.. and its working fine now..

    but the problem is the after login I want to display the register user’s name and his profile and log out link..suppose

    Edit My profile | Admin | Log out wanna replace with “Welcome, registered user!”

    but I’m not able to execute the php code to display the logged in user name into echo ‘php code’;

    is there any solution?

    Thanks

    #88462
    mr_pelle
    Participant

    mikkelsen said:

    I want to call up <?php login_form(); ?> from bbPress and show it in my WordPress header.

    I thought bbPress were not yet loaded in his WP header…

    Hardcoding is not a good choice IMHO, because it means you have to update many pages everytime you change your mind just on a single line of code. Not to mention that the code you suggested does not handle login errors…

    I’ve successfully completed a “deep integration” and I’m currently testing another pretty integrated installation, without users db sharing and it works fine.

    Why do you think bbPress and WordPress don’t play that nice together (reguardless of what the front page of this website says)? Wasn’t bbPress born for this (and more)?

    #88461

    I’m really confused, how can you be using bbpress and not have bb-load be called? bbPress doesn’t load if it’s not called :S

    First:

    If you’re building a wordpress website and want to include bbPress functions, I’d strongly suggest re-reading this:

    Deep Integration, the allowing of wordpress functions to be called in bbPress, is totally unsupported and unintentional. If you can hack it to make it work then cool, but really, you’re on your own for the most part.

    Calling bbpress functions in wordpress is always always always going to cause issues in the long run. it wasn’t built for it in any way shape or form. It’s a square peg in a round hole scenario, and if you can push something through then awesome, but sometimes it’s just not worth it.

    Second of all, you could do this:

    <br />
    if(function_exists('bb_is_user_logged_in'))<br />
    {</p>
    <p>}<br />

    Third:

    in WordPress:

    <br />
    <?php<br />
    if ( is_user_logged_in() ) {<br />
    // Logged in user<br />
    // Hardcode your form here<br />
    } else {<br />
    // Not logged in<br />
    // Hardcode your form here<br />
    }<br />
    ?><br />

    in bbPress:

    <br />
    <?php<br />
    if ( bb_is_user_logged_in() ) {<br />
    // Logged in user<br />
    // Hardcode your form here<br />
    } else {<br />
    // Not logged in<br />
    // Hardcode your form here<br />
    }<br />
    ?><br />

    Overall:

    I suppose what I’m trying to put across to mr_pelle, pagal and mikkelsen is that you’re trying to come up with an eloquent/easy/catch-all solution that doesn’t really exist.

    bbPress and WordPress don’t play that nice together (reguardless of what the front page of this website says). Integrated cookies (logged into one means you’re logged into the other) is really where the buck stops; and any deeper integration is really really unsupported.

    You’re best bet, without a shadow of a doubt, is to hardcode things to look and act the way you want them; and treat wordpress and bbpress differently. The realism is if you can’t code, then bbPress is definately not for you – sadly. We can help and guide the best we can, and there are some great people helping on this board, but at the end of the day, we can’t give out generic answers that are sure to work I’m afraid (honestly we’d love to).

    #88460
    mr_pelle
    Participant

    The simplest and most straight forward solution is to work out what you want to do, and code that directly.

    In this case:

    <?php
    if ( is_user_logged_in() || bb_is_user_logged_in() ) {
    // Logged in user
    // Hardcode your form here
    } else {
    // Not logged in
    // Hardcode your form here
    }
    ?>

    You cannot call bb_is_user_logged_in() without prior inclusion of bb-load.php, though…

    #88459

    Well thats the bit thats up to you, you can have anything you want in there, just add the HTML you need. For most people though you can just copy the HTML output of the form you currently have. For me, that’s this:

    <form class=”login” method=”post” action=”/forums/bb-login.php”>

    <label>Username: <input name=”user_login” type=”text” id=”user_login” size=”13″ maxlength=”40″ value=”” tabindex=”1″ />

    </label>

    <label>Password: <input name=”password” type=”password” id=”password” size=”13″ maxlength=”40″ tabindex=”2″ />

    </label>

    <input name=”re” type=”hidden” value=”” />

    <input type=”hidden” name=”_wp_http_referer” value=”/forums/” /> <input type=”submit” name=”Submit” id=”submit” value=”Log in »” tabindex=”4″ />

    <input name=”remember” type=”hidden” id=”remember” value=”1″ tabindex=”3″ checked />

    </form>

    #34306
    bluesteel1
    Member

    I have a WordPress blog integrated with BBpress.

    and I”m having trouble Akismet.

    I activated the Akismet plugin after I

    installed BBpress then several days later I noticed no one was posting. I

    thought this was strange because in those few days I had about 100 people

    register.

    I selected the check box next to “Create a page that shows spam

    statistics” on the Akismet page. The page showed there was 26 post in the spam section.

    I selected spam in the drop down box but the messages do not show up even

    after I click on filter. I don’t know of any other way to get to the

    messages to see if they are all spam.

    I deactivated Askismet and a post showed up within 30 minutes. Any ideas? I would like to have a

    spam filter.

    #88458
    pagal
    Participant

    @ kevinjohngallagher … I’m not a techi person.. can you please tell me what code of bbpress will use in “Hardcode your form here” and”Hardcode your form here” to show the bbpress login form into wordpress…

    #88457

    Hey guys,

    You’re really trying to do something here that was never intended.

    bbPress was coded to create the same (or a readable) cookie from wordpress.

    Deep Integration, the allowing of wordpress functions to be called in bbPress, is totally unsupported and unintentional. If you can hack it to make it work then cool, but really, you’re on your own for the most part.

    Calling bbpress functions in wordpress is always always always going to cause issues in the long run. it wasn’t built for it in any way shape or form. It’s a square peg in a round hole scenario, and if you can push something through then awesome, but sometimes it’s just not worth it.

    The simplest and most straight forward solution is to work out what you want to do, and code that directly.

    In this case:

    <?php

    if ( is_user_logged_in() || bb_is_user_logged_in() ) {

    // Logged in user

    // Hardcode your form here

    } else {

    // Not logged in

    // Hardcode your form here

    }

    ?>

    Remember, hardcoding is your friend, because YOU control it :)

    #88456
    pagal
    Participant

    @ mr_pelle & Gautam … I’ve tried it.. but nothing happened… I’m also searching the same solution..but not found any answer yet.. can you people please solve this topic…

    We really need it..

    here is my topic…

    https://bbpress.org/forums/topic/wordpress-registration-and-login-via-bbpress

    Thanks,

    pagal

Viewing 25 results - 18,376 through 18,400 (of 26,846 total)
Skip to toolbar