Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 27,926 through 27,950 (of 32,462 total)
  • Author
    Search Results
  • #3116
    m415
    Member

    What is the code for posting the author’s name in bbpress? I know <?php post_author_link(); ?> is the name with the link, but is there a different way to get just the name?

    #63912
    seidl
    Member

    Man, I should have thought of that. :P I turned off the “pretty” permalinks until I figure out how to use them without breaking the forum. Until then I’ll see if there isn’t already a post about pretty permalinks here, or else I’ll create one.

    Thanks.

    John Conners
    Participant

    Having done a completely new install of bbPress 0.9.0.1 (to make sure there wasn’t a problem with my existing templates / plugins), when I log in and browse to any topic page I get a javascript error on the following line in bb-includes/js/topic-js.php:

    favoritesToggle[ 1 === isFav ? 'removeClass' : 'addClass' ]( 'is-not-favorite' );

    Apparently favoritesToggle[....] is not a function, according to Firefox.

    Apart from that, great work!

    #3118
    silent1643
    Member

    okay not sure if this is the right forum category but i’ll ask here

    how can i make the forum display on a wordpress page? is there an object html code or something for doing this?

    ie i want the same header, footer, and sidebar as my blog, i just want the bbpress forum to show up in my content window where a normal blog post would be shown

    thanks in advace

    #63814
    Swap
    Member

    Thanks, Sam! Love the new version. I stopped using bbpress until yesterday when one of my clients needed a complicated setup. The new wp integration is so easy :)

    #63850
    lilnigsta
    Member

    Hey guys thanks for all your work on this project, I appreciate much, now I’m off to open my new present. :)

    #63812
    Swap
    Member

    CK, I guess they released 0.9 stable just when I was working on the beta build. What do you recommend? Should I do a file refresh or stick with whatever I have? :)

    #3113
    retrospec
    Member

    bbPress makes things look just lovely :)

    i’ve got a work in progress set up based on a theme I found, then modified it to my own needs.

    http://retrospec.sgn.net/forums/

    What does anyone think?

    #63901
    12thharmonic
    Member

    From the upgrade instructions “The installer will either create a new config file or show you the contents to paste into a file manually. As soon as your new config file is created and validated by the installer, you should be redirected to your bbPress front page.”

    This did not occur. It continued as new. I tried a third time with a fresh upload.

    The errors at the top of the page I neglected to include in the first post:

    bbPress database error: [Table ‘headonra_forum.bb_users’ doesn’t exist]

    SELECT ID FROM bb_users WHERE user_login = ‘admin’

    bbPress database error: [Table ‘headonra_forum.bb_users’ doesn’t exist]

    SELECT ID FROM bb_users WHERE user_nicename = ‘admin’

    bbPress database error: [Table ‘headonra_forum.bb_users’ doesn’t exist]

    INSERT INTO bb_users (user_login,user_pass,user_nicename,user_email,user_url,user_registered) VALUES (‘admin’,’$P$BvJa/4bE7omVr/FndtNTXivJARhjWM1′,’admin’,’12thharmonic@gmail.com’,”,’2008-04-03 10:58:26′)

    bbPress database error: [Table ‘headonra_forum.bb_usermeta’ doesn’t exist]

    SELECT * FROM bb_usermeta WHERE user_id = 67 AND meta_key = ‘bb_capabilities’

    bbPress database error: [Table ‘headonra_forum.bb_usermeta’ doesn’t exist]

    INSERT INTO bb_usermeta (user_id,meta_key,meta_value) VALUES (’67’,’bb_capabilities’,’a:1:{s:9:”keymaster”;b:1;}’)

    bbPress database error: [Table ‘headonra_forum.bb_users’ doesn’t exist]

    SELECT * FROM bb_users WHERE ID = 67

    Warning: Cannot modify header information – headers already sent by (output started at /home/headonra/public_html/forum/bb-includes/db-mysql.php:106) in /home/headonra/public_html/forum/bb-includes/functions.php on line 2248

    ___________________________________

    I could not log in with new or old details.

    Restoring old version one more time till some advice comes down.

    #63844
    olgaberrios
    Member

    Hi! Thanx! I have a question. Installer says:

    bbPress is already installed, but appears to require an upgrade.

    Perhaps you meant to run the upgrade script instead?

    I click on upgrade script and it says:

    You’re running in safe mode which does not allow this upgrade script to set a running time limit. Depending on the size of your database and on which parts of the script you are running, the script can take quite some time to run (or it could take just a few seconds). To throw caution to the wind and run the script in safe mode anyway, remove the first few lines of code in the bb-admin/upgrade.php file. Backups are always a good idea.

    Any idea?

    #63899
    Ivan
    Member

    I resolved! I have tried a new install and this time i create a new keymaster with a different name that my old moderator name and it works!! (i think was this).

    I didn’t anything else different that my first install

    :)

    #3111
    Ivan
    Member

    I have upgraded to bbpress 0.9 with some critical problems:

    I cannot create de keymaster

    When i have gone to my forum the post not appeard (I out the correct database)

    When i tried to login i anly see a blanl page :(

    #63824
    serimu
    Member

    _ck_ thanks for your reply,

    I contacted to technical service, and they said they opened multiview option. But it did not work. And they gave me virtual host configuration:

    The error I saw is, ” page not found error”

    I use wordpress in my root directory, and I use bbpress in subfolder named as forum. I think wordpress’ .htaccess file do not interfere with the one for forums.

    I also asked for httpd.conf settings, but the technical stuff said, directadmin uses very clean httpd.conf settings, and their virtual host setup is nearly the same thing, so they gave virtual host settings:

    <Directory /home/abc.com/public>

    Options +Includes -Indexes +MultiViews

    </Directory>

    Technical stuff also, did not figure out why this problem occurs. And he also said multiviews option could reason some security problems.

    #3104
    sgatz
    Member

    I’ve written my own custom plugin to have bbPress use my site’s authentication system (it’s not wordpress). It’s working beautifully (for the most part). I replace bb_is_user_logged_in and bb_current_user (and the latter sets bb_set_current_user).

    The problem is this: AJAX calls to add a new tag, to remove an existing tag (your own or as admin), or to delete a post all fail with a “you don’t have permission to do that”. I see that other plugins have had that problem too. However, if I submit the request using the old school (non-AJAX) url, it works just fine.

    So I’m guessing there’s something unique in the AJAX calls and that code seems dense to me. Can anyone suggest some places to check first?

    #57792
    kinthehouse
    Member

    macbis, after 8 months since you posted I kept hitting this when I tried to install bbPress in a subdirectory inside WPMU. Your fix worked just dandy! Thank you.. now on to doing the rest of the integration. :-)

    chrishajer
    Participant

    No listing in the plugins tab means the plugin is malformed and is seen as just a file in that directory, not a plugin. You are going to need a plugin header, something as simple as this:

    <?php
    /*
    Plugin Name: No 404s
    */
    ?>

    https://codex.wordpress.org/Writing_a_Plugin

    #62932
    Shagalaga
    Member

    Thx!!! nice support here :-)

    #63801
    chrishajer
    Participant

    Seems pretty silly to me too. They could at least put that code in the template and comment it out if they don’t want it to appear, like you see in WordPress themes sometimes.

    icesar
    Member

    Thanks for the reply Chris. Yes, I’m using 2.3.3 right now. The content of the plugin code is exactly as above:

    function mbob_flush_rewrites() {
    global $wp_rewrite;
    $wp_rewrite->flush_rules();
    }
    add_action('init', 'mbob_flush_rewrites');

    function mbob_add_rewrites($wp_rewrite) {
    add_rewrite_rule('forums/topic', 'forums/topic.php');
    add_rewrite_rule('forums/forum', 'forums/forum.php');
    add_rewrite_rule('forums', 'forums/index.php');
    $wp_rewrite->rules = array_merge($wp_rewrite->non_wp_rules, $wp_rewrite->rules);
    }
    add_action('generate_rewrite_rules', 'mbob_add_rewrites');

    And I’m not getting a specific error really. Simply that when I upload no404s.php with this code to my wp-content/plugins directory, there is no listing in the Plugins tab to even activate it.

    #63810
    kernow
    Member

    I have xammp (installed on a USB key) and upgraded to WP 2.5 and since then the forum no longer works. Will test on localhost first before I go live I think :)

    #58947
    parabolart
    Member

    in functions.php find function get_profile_admin_keys() {, and move $bb_table_prefix . 'title' => array(0, __('User Title')) from that function’s array to function get_profile_info_keys()

    icesar
    Member

    So close! I have this same issue with my regular installation of WP, and I only realized today (after 3 months) that this is the reason my forums – http://argentinastravel.com/forums/ – are not getting indexed!

    I tried creating a plugin from the code above, but I couldn’t activate it. Can someone please help me with a step by step fix for a regular WP install? Gracias!

    #63808
    chrishajer
    Participant

    Well, it was imminent 19 hours ago :-)

    https://bbpress.org/forums/topic/bbpress-084-release-date?replies=39#post-14842

    It will be here soon enough. Hang in there.

    #63804

    In reply to: Conditional tag?

    chrishajer
    Participant

    How about in your WordPress header.php try to wrap the breadcrumb call with something that happens only on bbPress pages. So, if your forum is in a directory called “forum” or something, maybe you could check the REQUEST_URI for the presence of forum. Then you wouldn’t show the breadcrumbs if you were on a forum page. Something like that?

    #63819
    chrishajer
    Participant

    Looks very nice, nice job.

    I clicked on a link in one of the forums though, and Firefox wanted to open the file with WordPad rather than open in the browser. This was the link:

    <a href="http://www.refueled.net/forum/topic.php?id=106">No Page Templates to Chose From?</a>

    PHP files normally open just fine for me on the Internet, this seemed sort of weird.

    UPDATE: the second time I clicked the link, it opened fine in the browser. I always forget to take a screenshot when this happens since i figure it will just happen again. Oh well. Sometimes, I think Apache or PHP fail to parse the PHP files and they get sent through with the wrong mime type or something. I have had this happen once before where I saw the source of a PHP file, which would be bad, since there are sometimes passwords and connection details in there. Of course, I didn’t capture a screenshot of that either.

    Anyway, your forum looks very nice. Nice job.

Viewing 25 results - 27,926 through 27,950 (of 32,462 total)
Skip to toolbar