Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 25,326 through 25,350 (of 32,570 total)
  • Author
    Search Results
  • #57163
    possessed
    Member

    Hi,

    I’ve got the same problem, but with another host(Hosteurope).

    I solved it after I’ve asked my hoster. When sending an Email from my host, I need to add a -f parameter to the sendmail function.

    Doing so in BBPress you will need to add a valid (and known for the server) Email-adress in line 90 of your bbpress-root-folder/bb-includes/backpress/class.mailer.php file from

    /**

    * Sets the Sender email (Return-Path) of the message. If not empty,

    * will be sent via -f to sendmail or as 'MAIL FROM' in smtp mode.

    * @var string

    */

    var $Sender = '';

    to

    var $Sender = 'from@your-domain.com';

    I hope this might help some of you :)

    bb

    #72926
    Justin Tadlock
    Participant

    Use this:

    <?php forum_description( array( 'before' => false, 'after' => false ) ); ?>

    #72378
    brettbum
    Member

    I’m seeing this same problem in WordPress all by itself. Don’t think this is a BBpress problem but a WordPress problem. Don’t see anyone that seems to have a handle on it yet. :(

    #6617

    Topic: target _blank

    in forum Troubleshooting

    After some searching @ this forum, I’m really confused on how to make replies links to open on a new window by default. I’ve found some tweaking plugins by CK, but I think that was a really early version and didn’t worked out.

    I’m using 9.0.4. Anyway to target=”_blank” links and bbCode-lite?

    #73164
    chrishajer
    Participant

    Also, you don’t log in directly at bb-login.php like you can with wp-admin. You need to enter your login details in the front page of your forum, and if you are keymaster (or administrator or moderator), you will be shown the Admin link next to your name and that’s how you get to the back end. If you don’t have the Admin link then you’re not logged in as keymaster.

    #73155
    _ck_
    Participant

    Make this into a mini-plugin and it will add the tags as meta on topic pages:

    function bb_tweaks_tags_as_meta_keywords() {
    global $tags;
    if (!empty($tags)) {
    $keywords=""; foreach ($tags as $t) {$keywords.=$t->raw_tag.', ';}
    echo "n".'<meta NAME="keywords" CONTENT="'.trim($keywords,", ").'">'."n";
    }
    }
    add_action('bb_head', 'bb_tweaks_tags_as_meta_keywords',8);

    #73089
    _ck_
    Participant

    make it into a mini-plugin, ie.

    <?php
    /*
    Plugin Name: No Profit Edit
    */
    function bb_tweaks_no_profile_edit($retvalue, $capability, $args) {
    if ($capability=="edit_user") {return bb_current_user_can( 'administrate');}
    return $retvalue;
    }
    add_filter('bb_current_user_can', 'bb_tweaks_no_profile_edit',10,3);
    ?>

    Save it as no-profile-edit.php put into my-plugins and activate.

    Make sure you don’t put any spaces at the beginning or end of the file.

    #73088
    cyclune
    Member

    Chrishajer is right. I have bbpress linked with WordPress. I don’t want the users to change their own profile with wrong email adresses or new user names.

    _ck_ – where do I have to insert this piece of code???

    cyclune

    #73141
    bruinfelix
    Member

    @PierrottorreiP

    Take a good look ;-)

    It isnt even a wordpress theme! :D

    #73148
    _ck_
    Participant

    To edit a .mo file you first need to have the .po version of it.

    Then you can edit it with POEDIT

    If you don’t have any of those things, first get POEDIT

    http://www.poedit.net/download.php

    If you only have a .mo file and not the .po but wish to add/edit the translations, you can “decompile” or reverse the .mo file into a .po file from the command line with poedit , ie.

    START -> RUN

    /program files/poedit/bin/msgunfmt ab_AB.mo > ab_AB.po

    #73139
    bruinfelix
    Member

    Then you must be more specific, on who you asking a question ;)

    #73087
    _ck_
    Participant

    untested, in theory:

    function bb_tweaks_no_profile_edit($retvalue, $capability, $args) {
    if ($capability=="edit_user") {return bb_current_user_can( 'administrate');}
    return $retvalue;
    }
    add_filter('bb_current_user_can', 'bb_tweaks_no_profile_edit',10,3);

    #73130
    _ck_
    Participant

    Go into your wp-config.php and put the line

    @define(COOKIE_DOMAIN,'.diskinserted.com');

    then go into your bb-config.php and put the line

    $bb->cookiedomain = '.diskinserted.com';

    Make you you remove any existing versions of the lines first.

    Make sure you clear all cookies for your website.

    Then try logging in and testing again.

    #73137
    bruinfelix
    Member

    I use the latest wordpress MU version (trunk), and just the alpha-6 version of bbPress ;-)

    Ohw, and a recent version (also trunk) from the buddypress website ;-)

    #59345

    In reply to: Adding a new User Type

    firstangel
    Member

    I have saved, uploaded, activated. No new membergroup anywhere :(

    #73092
    chrishajer
    Participant

    Actually, I think the problem is that there is no space after the <?php, the comment starts right away.

    You have this:

    <?php// ** MySQL-asetukset ** //

    It should be this:

    <?php // ** MySQL-asetukset ** //

    Or just put the comment on the next line.

    #73135
    bruinfelix
    Member

    I did it, and you can find the information for it, already on this forum ;-)

    #73097
    Test
    Member

    Thanks for all your info. :)

    #73119
    rhammons
    Member

    Looks like I got the cookies hammered out after opening up my safari preferences and finding the cookie code in there… So now when I’m logged in in WP it seems to be consistent with the account logged into BBP, except I still have no admin options in BBP. Hrmph. Any ideas?

    #73118
    rhammons
    Member

    Looks like the user table’s shared, as I can log in with all the various wpmu users into the forum, I just don’t have any admin privileges. I tried walking through the bb-config changes that are on here, looking especially at the cookie information, and I think I have it all right. Only thing I can’t find is the wp auth cookie code information… where should i find that?

    #72986
    sydarex
    Member

    I’ve solved.

    Listening to _ck_, I’ve worked a little around the settings in the database. I found that some settings are stored in the bb_topicmeta table. There are some records with topic_id “0”. Obviously there are no topics with id 0 – so I deduced that are general settings.

    I’ve just took the values generated by the fresh installation and put them in the old database. Now everything works fine.

    Thank you all for help; particularly to _ck_ that sent me to the right way.

    Bye bye! :)

    #6605
    rhammons
    Member

    Hello, I’ve run into this issue twice now upon trying this. I’ve got WPMU installed on a subdomain, added the BuddyPress plugin, and that’s it. Then I go to add my BBPress as a sub-directory to said subdomain and install it just fine, using the same database – set up an administrator account, etc. I log into it, and try to do the integration to WP, add the secret code, add the cookies line to my wp-config.php, tell it to share users, etc. Once I submit that integration page I’m logged out, and I can’t log in any more with the administrator account i made for BBPress, but I can log in with my WP Admin’s account, but here’s the ringer, I no longer have any administrative privileges – so the BBPress install becomes useless. What do you think I am doing wrong, or should be doing otherwise? My goal is to simply have this forum integrated into WPMU/BuddyPress. Any pointers would be appreciated, thank you!

    #73093
    bruinfelix
    Member

    Maybe when they realse the 2.8 version of WordPress ? ;-)

    #73080
    C Bog
    Member

    i wanted to modify my template, in order to send the user to the last page of the selected topic. (this was before i discovered the topic_last_post_link() function).

    in order to do this, i manually computed the last page number and send it to topic_link() through the $page parameter. nothing happened so i looked at the code and found the error i’ve mentioned. after replacing that line with the one i’ve suggested, everything seemed ok.

    any thoughts?

    #51937

    In reply to: Language

    bruinfelix
    Member

    Strange :-)

    I have a: “nl_NL” mo file in the folder: “my-languages” in the root of my installation of bbPress, and it just works just fine ;-)

Viewing 25 results - 25,326 through 25,350 (of 32,570 total)
Skip to toolbar