Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 25,376 through 25,400 (of 32,481 total)
  • Author
    Search Results
  • #69723
    matiaspunx
    Member

    yeah you need to use the addslash function to insert data in your db…

    I think you need to edit the phpbbtobbpress.php ;)

    _ck_
    Participant

    Good news, Sam has backported the fix from 1.0 into 0.9 also.

    https://trac.bbpress.org/ticket/1059#comment:2

    You can either download the 0.9 branch version or wait for 0.9.0.5

    #72735

    In reply to: Edit Welcome Email?

    _ck_
    Participant

    The “welcome email” (just really the password) message is sent via bb_send_pass which is sadly hard coded in registration-functions.php without any filters or actions to affect it.

    The non-emailed registration success message is in the register-success.php theme template which can be edited.

    However like all things bbPress, there is always a way around limitations, it’s just a bit more complex than it should be.

    The “send password” trigger is done inside of the pluggable bb_new_user function which can be completely replaced, or supplemented.

    To replace the function, you could copy it right out out pluggable.php and put it into a mini-plugin and edit away. The part that needs to be changed is near the end where it says bb_send_pass( $user_id ... ) You would basically copy how the bb_send_pass function works and replace the text inside.

    It would be ever so slightly easier but probably more messy for the new user to send an additional email beyond the password email via the do_action('bb_new_user', $user_id, $password); trigger.

    #72656

    In reply to: bbPress Integration

    Jimmy B.
    Participant

    Alright, so good news, it’s all working. I actually ended up including bb-load into my sites login script, then calling the login function when a successful login happened on my site, this then set cookies for my site and bbPress. I also have it so that when a successful registration takes place on my site it also inserts the user into the bbPress users database with the proper information. I snagged the MD5 password plugin for bbPress, modified it to change passwords to sha1 (which is also what my site uses).

    Then I snagged the freshly baked cookies plugin for bbpress so that it also sets WordPress cookies. I got the external DB auth plugin for WordPress so that it uses the bbPress users table for authentication. I’ve killed registrations through WordPress and bbPress…so you can only register through my site. So now it works that a user registers and logs in through my site, and when they have a successful login they can use my site and WordPress and bbPress.

    Thanks for the help! :)

    #72700
    _ck_
    Participant

    Also note that you edit the es_ES.po file which then makes the new es_ES.mo file when you save the changed in poedit.

    Their es_ES.po is here: http://ayudawordpress.com/descargas/bbpress/bbpress-es_ES.po.zip

    #72699
    chrishajer
    Participant

    The program you need is poedit. http://www.poedit.net/

    WordPress has pretty good instructions for doing it, and the process is similar with bbPress:

    https://codex.wordpress.org/Translating_WordPress

    #64902

    In reply to: can’t log in anymore

    matiaspunx
    Member

    i have a same issue, but my user already exist in bbpress, when i send a password recovery bbpress send me an email with the new pass, when i try to login i cant…

    I think i do sometthing wron with integration :(

    PD: i still can login in wp…

    #72697
    _ck_
    Participant

    Poedit will automatically re-save the .mo file when you edit and save the .po file by default unless you’ve changed the default settings.

    the mo file is in here, it’s all you need

    http://ayudawordpress.com/?dl_id=96

    in bbPress 0.9 put it into bb-includes/languages/

    in bbPress 1.0 put it into my-languages/

    and change in your bb-config.php

    define('BB_LANG','es_ES');

    #66538
    Billy Wilcosky
    Participant

    Good news! I am integrated 100% for the first time in over a year!! Woo!

    The only thing I need to do later is I am going to redirect any logging in or logging out through bbpress. Because I can’t log out from wordpress now, but if I log out through bbpress, then it logs me out of bbpress and wordpress correctly. So this is really not a big deal, I will just change any log in/log out links in wordpress to the bbpress log in/log out links.

    The way I was able to get my reverse integration to work was by following the normal reverse integration instructions, then I chose to install Ann’s plugin which downgrades the 2.7 wordpress cookie set up to the 2.5 cookie set up.

    :)

    #72712
    matiaspunx
    Member

    yeah, im looking at the users table and every field is filled right.

    I convert from phpbb with bbpress 0.9.0.4 everything works fine. Then i upgrade to 1.0-Alpha-6 and everything works wrong :P

    there are some NEW tables like term_taxonomy with 1 row only, just my user is ported to term_relashionships table, i dont have many knowledge with mysql, what im doing wrong?

    #5092

    Hello

    I’ve been using bbpress 0.9.0.1 for months without any big problem. But this time, I don’t know at all what happens :

    When I post a new topic or reply to a topic, everything goes well except that instead of redirecting me to the topic, bbpress shows a blank page.

    I see nothing special in error logs…

    I tried to delete my cookies and post again but this doesn’t solve the problem.

    Do you have any idea ? What could it be ?

    I took a look at bb-post.php. If I echo “test”; before this line :

    $post_id = bb_new_post( $topic_id, $_POST );

    Then it works. But if I put it after, then it doesn”t display test.

    So bb-post doest post the stuff, but there may be an error after that.

    Thanks a lot for your help… I’m stuck!

    Gautier

    bedbugger
    Participant

    Oh… or maybe you just meant how many topics are displaying on a page. I see what you mean. I will fix that. :-)

    #56785

    In reply to: Plugin: Avatar Upload

    Billy Wilcosky
    Participant

    Thank you chrishajer! There was not only a space at the top of the code, but there was also a space at the very bottom. I removed the space at the top and still got the error except it said line 142 instead of line 1… so I figured out there was a space at the bottom.

    I have another question if you are familiar with this plug in. In the bb-avatar-upload.php file there is an option you can turn on that will show the avatars from thumbnails. This is turned off by default. If I turned this on, would it just create a seperate thumbnail image for each avatar? If so, what is the advantage? Faster page load time?

    #56784

    In reply to: Plugin: Avatar Upload

    chrishajer
    Participant

    Take a look at the unsharpmask.php file and see if you have a space on line one before the <?php. I just downloaded a copy of it and the first line looks like this:

     <?php

    ^ space there

    There can’t be any whitespace before the opening <?php. See if your file has whitespace there and if so, delete it so the first character in the file is <.

    #72719

    In reply to: What is what?

    chrishajer
    Participant

    Regarding blog address and WordPress address, you can get those in your WordPress admin. They’re generally the same, but not always. It pays to check. It’s located here, but on your domain:

    http://www.example.com/wp-admin/options-general.php

    #64303

    In reply to: Dutch translation

    _ck_
    Participant

    bruinfelix, your bbpress install looks very good and matches your wordpress side – I don’t understand why you don’t like the theme, it works well.

    It would be nice if you released the .mo file – all the other bbPress installs that I can find in your country have “hard coded” their templates directly with the translations which is not good.

    You’d be helping many other people and giving back to the community. I noticed you are using several of my plugins so it’s good to give back. The more people use bbPress, the more people will convert other WordPress themes.

    #64302

    In reply to: Dutch translation

    bruinfelix
    Member

    @kevinjohngallagher

    For a answer on youre question, see above ;)

    #64300

    In reply to: Dutch translation

    bruinfelix
    Member

    No, i dont release the file ;)

    And during the lack of good theme’s available, i’am planning to uninstall bbPress ;-)

    #72621
    Null
    Member

    Aaahhhh that explains a lot :) Going to add the patch en see if it works.

    #72619
    Null
    Member

    Update:

    Tested some stuff. I have this now:

    function bbport_location() {
    if (substr($_SERVER["REQUEST_URI"],strrpos($_SERVER["REQUEST_URI"],"/")+1) == "view.php?view=port"):
    return "port-page";
    endif;
    }

    add_filter( 'get_bb_location', 'bbport_location' );

    The problem is that it doesn’t return port-page. If I echo get_bb_location tis will still show: view-page instead of port-page. So why isn”t it updated? Why isn’t it returned?

    #64299

    In reply to: Dutch translation

    _ck_
    Participant

    I see that you completed this, did you want to share the nl-NL.mo file?

    There are about two dozen other Dutch bbPress sites but it looks like they hard-coded their template translations which is a shame.

    #72659

    In reply to: Tag filtering plugin

    _ck_
    Participant

    I just realized I should also point out that my Related Topics plugin will also give the greatest weight to other topics with the most tags to the one you are on. It essentially does a multi-tag search internally.

    I don’t know what would be a good user interface to pick multiple tags but the query and resulting view are fairly straightforward to code.

    bedbugger
    Participant

    Update:

    My host was able to help.

    “Due to the amount of posts contained within the treatment forum, bbpress was reaching the maximum execution limit set by PHP which in effect caused the software to stop processing the feed.”

    They put in a custom php.ini to allow a longer execution time and now the RSS of the topics works fine.

    I may still need a consultant some time, so the question still stands, but this crisis is averted. :-)

    #5088
    mspecht
    Participant

    I have just completed a brand new install of R2014, although the issue happens with A1.6 as well. The site works fine with with both database and cookie WordPress integration (WPMU 2.7).

    When I add require_once( dirname(__FILE__) .’/../wp-blog-header.php’ ); to my bb-config.php I get the following error:

    PHP Fatal error: Call to a member function hide_errors() on a non-object in /home/site/public/wp-includes/functions.php on line 345, referer: http://mydomain.com/forums/

    Line 345 is $wpdb->hide_errors(); within function get_option

    Obviously my BB install has not fully loaded up my WP environment. I have tried all sorts of ways to get this to work without any luck.

    I even tried to build my bbPress templates by reproducing the WP functions I need but found that meant I need to re-write a huge portion WP which seems silly and a huge waste of time. Although the 8 hours I have spent trying to solve this might have built a fair bit :-).

    Any tips on how to sort this out?

    #72707

    In reply to: Spam Registrations

    Olaf Lederer
    Participant

    Hi,

    I have the same problem 50 registrations a day :(

    I removed the URL field from the registration form (and other pages) and hope that this will help.

Viewing 25 results - 25,376 through 25,400 (of 32,481 total)
Skip to toolbar