Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 11,051 through 11,075 (of 11,584 total)
  • Author
    Search Results
  • Trent Adams
    Member

    I registered over at your forums to test this out. I registered and then logged into bbPress. I then went over to your blog and tried the /wp-admin/ link to find out if I was registered. It gave me the login page where I added my information and then was redirected to:

    http://mpm.org.au/wp-admin/

    That URL doesn’t exist. Is there something in your WP install that has the URL of the site as the first URL? That might be causing the problems.

    As well, do you have the integration plugin that pulls the registrations from bbPress across to WordPress? That way all users are in the wp_users and not the bb_users table.

    Trent

    #1667
    davetropeano
    Member

    I recently did my first bbpress install on localhost and it went miserably. I used the latest download from today.

    Checking on this forum I had the same path seperator issues and stylesheet issues others had, etc.

    My $bb->domain and $bb->path were fine. The fresh install just didn’t work properly under xampp and then again a retry on easyPHP.

    This is the solution and findings I found:

    1. The first issue is because in config.php and bb-load.php dirname(__FILE__) is used to get the base path for BBPATH. This is not a good thing on localhost Windows based installs.

    2. There are a number of attempted workarounds to this that I’ve read about in this forum. All of them that I saw didn’t work. Focusing on the issue with the stylesheet href not being correct I noticed that there was logic in the bb_get_active_theme_folder() function.

    By default, the installer does NOT create an option entry ‘bb_active_theme’ in the database table topicmeta. The code logic doesn’t make the correct uri.

    To fix this, do an install and then add a database field bb_active_theme in the topicmeta table.

    For example, I set mine to:

    http://localhost/dev/bbpress/

    Playing regular expression games to change x: and in general is not worth it. This seemed to be simple and worked right out of the box.

    #56345
    tegolino
    Member

    ops sorry for the swiching! I’m doing a tests!

    I have my-templates folder, but I want the same theme of my blog http://www.motiongraphics.it . When I switch to MW theme the error is

    Fatal error: Call to undefined function: get_settings() in /web/htdocs/www.motiongraphics.it/home/forum/

    my-templates/mw1.1/themetoolkit.php on line 331

    :((((

    #55693

    In reply to: Plugin: Latest Replies

    LMD
    Participant

    I’m not that surpised it didn’t work. Here is a different fix, editing the ‘bbPress Post’ plugin itself. I’m using line numbers to reference the code. I’ve based the line numbers on an UNEDITED version of the ‘bbpress_post.php’ file. So, if you open up a fresh version of the file that hasn’t been touched (i.e. do not use the version you previously added my ‘fix’ to – you no longer need that fix).

    Try these code changes:

    Line # 457 – replace with:

    bbpress_bb_new_post($topic_id, $content, $forum, $author, $now, $title);

    Line #533 – replace with:

    $wpdb->query("UPDATE ". $bb_table_prefix ."posts SET post_text='$content', post_title='$title' WHERE post_id=$bbpost_id LIMIT 1;");

    Line #540 – replace with:

    $otherdb->query("UPDATE ". $bb_table_prefix ."posts SET post_text='$content', post_title='$title' WHERE post_id=$bbpost_id LIMIT 1;");

    Line #585 – replace with:

    function bbpress_bb_new_post( $topic_id, $content, $forum, $author, $now, $title ) { // making new post in bbPress

    Line #587 – replace with:

    $wpdb->query("INSERT INTO ". $bb_table_prefix ."posts VALUES ('', $forum, $topic_id, $author, '$content', '$now', '127.0.0.1', 0, 1, $title);");

    Line #591 – replace with:

    $otherdb->query("INSERT INTO ". $bb_table_prefix ."posts VALUES ('', $forum, $topic_id, $author, '$content', '$now', '127.0.0.1', 0, 1, $title);");

    Note: this is assumes two things:

    1. That in the bbPress ‘posts’ table the ‘post_title’ field was added as the last field.

    2. That you do not have any other plugins that have added fields to the bbPress database.

    Let me know how you get on this time.

    #55692

    In reply to: Plugin: Latest Replies

    Aagh. Sadly I get SQL errors. But I can tell you the posts appear empty as well as closed in the forums, in line with your comments above. So thanks to you I know what’s going on and will try to get the other plugin developer to come take a look here. Thanks again!

    #55691

    In reply to: Plugin: Latest Replies

    louisedade, thanks so much for getting back to me on this and yes, I’ve emailed the other plugin developer but no response as yet.

    I am enormously appreciative of you going to the trouble of working on a possible fix. I hear what you’re saying about your views on its chances, but I will give it a try and head back here to let you know if it works or no.

    Other than that, I only hope the BBPress Post plugin author gets back to me on this. But yeah, thank you!

    #53816
    Atsutane
    Member

    Sorry my bad :) Forgot to update the readme file.

    #53815
    drcmanx
    Member

    doh, thx i was thinking it was going to be added into the plugin (like Akismet) and not the options tab.

    and the part you didn’t know was me thinking that it might be interfering with my other forum topic reader for another board.

    Thx for the plugin support!

    add an updated install readme ;)

    #49577
    Prebrov
    Member

    I’m still having that problem. I tried all solutions on this page, but had no luck getting pretty URLs. Forum is working fine, but whenever I apply .htaccess settings, either copy-pasted from this forum or from rewrite-rules.php, I get an error

    Not Acceptable

    An appropriate representation of the requested resource /forum/topic/1 could not be found on this server.

    Available variants:

    * topic.php , type application/x-httpd-php, language ru

    What could that be? I have the latest version of bbPress, it’s using wordpress database for authorization & authentication, but runs in a separate directory.

    #56185

    In reply to: Numbered Posts

    fel64
    Member

    I believe that if you attach this to your CSS file:

    ol#thread li {
    list-style-type: decimal;
    }

    you would see the post numbers without any extra code, certainly the most elegant method. There is likely already a definition for ol#thread, so you could simply add this property to that one. Bear in mind that this is entirely untested (will try it when I get home).

    #53814
    Atsutane
    Member

    With new version of plugin, u dont need to edit the file directly anymore. U can always get the new version from https://bbpress.org/plugins/topic/39

    From what i can see. SELECT * FROM topics WHERE It seem the bb table prefix is missing. Maybe u miss the setting.

    I dont know what u mean by “i still have the SMF forum that reads the forum topics” but u can find the option page inside wordpress option under “BbLD Option”

    #1653
    #53813
    drcmanx
    Member

    I’m just going to add onto this post with my error about the plugin.

    I edited the php at these two lines:

    Code:
    $bbpath = ‘/forum’; // Adjust the path to suit your bbpress
    $forum_slimit = ’10’; // Adjust the limit to show

    uploaded the plugin into wp-content/plugin and then added

    Code:
    <?php wp_bb_get_discuss_sidebar(); ?>

    to my sidebar. activated the plugin to get the following error:

    Code:
    WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ” at line 1]
    SELECT * FROM topics WHERE topic_status = 0 ORDER BY topic_time DESC LIMIT

    i still have the SMF forum that reads the forum topics with the line code:

    Code:
    <?php include (‘/forum1/extern.php?action=active’);?>

    so i have no clue what I did wrong… i’m thinking maybe its something I didn’t edit. Also i keep hearing about a option page for the plugin and can’t seem to find it.

    #56140

    In reply to: Some links do not work

    webscratches
    Member

    OK well I did a new install.

    The link do work now but the other problem is that the last posts I made do not show up in the Latest Discussions section. There is a new tag ‘trying’ which does display along with the tag ‘BBPress’ but when clicking on it does not seems to find any posts.

    http://forum.webscratches.com/

    Oh and BTW, in the Dashboard, when going to Topics or Posts, nothing is listed there. I am correctly listed as a Moderator and I am not in the Bozos list

    On a sidenote I had to set all files to 755 because I got a permission error (this is related to my hosting though I’m not sure it might have sth to do)

    #1649
    Vili
    Participant

    I’m not sure if I should ask this here or over at WordPress.org, but perhaps this is more of a bbPress question in the end.

    I have the latest bbPress and WordPress installations, and both are running fine. The user databases are integrated, and I have also managed to get bbPress to use my WordPress theme after some poking around.

    What I actually did with the theme integration was that I made bbPress to call the WordPress header and footer files instead of the bbPress ones, having in turn modified the WordPress files in a way that everything except for the page-specific content is in those two files. This way, the forum shows up where the WordPress content (posts, pages, etc.) would otherwise go. Life is good.

    My problem now is that I would like WordPress to recognize bbPress when it is serving a bbPress page. In other words, I would like to have something like an “if” condition for example in my WordPress header that checks whether the page currently being shown is a bbPress page. If I could do that, then I could do something like “if bbPress then echo bbPress headers, else echo WordPress headers”.

    The most basic solution that I could come up with was the following: before having a bbPress page call the WordPress header, introduce a variable like “$forumpage” and set it to “true”. Then simply include a check in the WordPress header that checks whether $forumpage is “true”. For some reason, however, this doesn’t work as the variable seems to get erased.

    I also tried something like using the condition if($forums) in the WordPress header, which I saw was in bbPress, but that gave no results, either.

    There probably is a(n easy) solution to all this, so I would really appreciate it if someone could point me to the right direction. I’ve spent most of the evening working on this, and have tried just about everything that I can think of and have read about on these forums and over at WordPress.org, but alas without the desired results.

    Thanks for reading!

    #50659

    In reply to: bozo

    Trent Adams
    Member

    You don’t need an SVN client to get the latest TRAC version. If you don’t mind downloading the entire package, you can just download the entire thing as a zip and then upload it to your server. That is the way I do it right now. I just know which files are changed and upload them.

    Trent

    #1637
    webscratches
    Member

    Hello,

    I just installed BBPress but some links appear to be broken. I tried to make new posts in order to test the forum but they would not show up either

    My forum is located here:

    http://forum.webscratches.com

    Does anyone knw where this could be coming from?

    thank you very much

    #56093
    Null
    Member

    Hi sul,

    I also think your problem is a php or sql version issue. I have 2 testservers at different hosting providers and it works great on both :) I will take a look at the version nrs perhaps you can upgrade/downgrade then…

    But that’s not the problem of this topic, I need to get rid of this double content showing :)

    #55632

    In reply to: Duplicate Posts

    I didn’t test the Safari problem myself but got the report from one of our key users so rather than go back and forward trying to track the problem down I just reverted the change.

    #56147
    Arlo
    Member

    Thanks for the responses.

    1) The link is stripped in the database. I had tested the “img” tag plugin, but disabled it because it didn’t work (it was actually having the same problem, stripping out the src="").

    2) I looked over baptiste’s thread. I guess it’s the same thing, but sadly there’s no solution there. I’m using a WP include as well.

    I don’t know if this is relevant, but I also had the stripslashes problem as well. That was fixed with a template hack. Is there a hack to fix this? It’s pretty much a show stopper…

    #1638
    Arlo
    Member

    I’m having an odd problem with posts. Hyperlinks are being stripped.

    This: <a href="http://foo.com">foo</a>

    Is being stripped down to: <a>foo</a>

    Any ideas? I’m running latest svn build, the .8.1 patch plugin, and a few other plugins.

    #55629

    In reply to: Duplicate Posts

    fel64
    Member

    Chris, really? What browser?

    The page really shouldn’t hang just because of

    onclick="this.style.display='none';"

    I’m also using 1.0-alpha, and I have no problems. Taking out the JS solved the problem?!

    That should be such standard JS code I’m surprised it doesn’t work in Safari. I’ll have to test it.

    #1636
    chrishajer
    Participant

    1.0 Alpha checked out March 25, 2007.

    I just noticed in my admin panel that there are four normal looking entries in “Recently Moderated” and then the last one just shows this:

    Topic title started by .

    The source shows this:

    <li>Topic titled <a href="http://www.example.com/forum/
    topic.php?id&page&replies&view=all"></a> started by <a
    href="http://www.example.com/forum/profile.php?id=1"></a>.</li>

    [edit – I added line breaks there since the code overflow was not displaying]

    So, some of it is in the source, but there’s no topic title and there’s no topic starter name (which should be admin based on the id). It’s also missing the topic id, the page id, replies, etc.

    Any thoughts?

    I did change the name of the Key Master to “Admin” in bb-includes/capabilities.php if that matters.

    I am using the following plugins if it matters:

    allow-images.php

    js_quicktags.js

    bb-emoticons.php

    notification.php

    bb-limit-latest-discussion.php

    onlinelist.php

    bb-memberlist.php

    since-last-visit.php

    comment_qt_4_bbpress.php

    wordpress-integration.php

    Thanks. ( I imagine I can get rid of bb-memberlist since user management seems to be integrated into the admin panel now. )

    #50699
    Arlo
    Member

    I’m on latest trac…is this filter present? I’m not seeing it anywhere.

    #55690

    In reply to: Plugin: Latest Replies

    LMD
    Participant

    Hello again, just finished examining code. There are two issues.

    The first issue is that the blog entries you are posting to bbPress appear as closed topics. This problem is totally unrelated to the “Add Titles to Replies” plugin, which does not touch the ‘topics’ table in the database at all. I suggest you enquire with the ‘bbPress Post’ author about this. Did you update that plugin on your forum at the same time as installing mine? That could be the source of the problem.

    Now, having said all that, the second issue is going to seem to contradict it. What I mean is, are you sure the topics are ‘closed’, or is it just that the content does not appear – that is, is it a phantom topic?

    This can occur when the ‘topics’ table gets updated, but the ‘posts’ table does not for some reason (usually a coding error). When you create a new topic in bbPress, you are actually simultaneously creating the topic and making the first post in that topic – so both tables get updated.

    This is where the problem involves my “Add Titles to Replies” plugin, because we have altered the ‘posts’ table, which may be causing an error in the ‘bbPress Post’ plugin code (that plugin writes to the database in a different way to the bbPress core).

    Still with me? Good…

    Now, I do not have access to an integrated WordPress/bbPress installation, so I have made a stab in the dark at trying to fix this the easy way. I’ve written a very short function (a bit of a hack really) that you can add to the ‘bbPress Post’ plugin.

    In the ‘bbPress Post’ plugin open the file called ‘bbpress_post.php’ and add the following code to the bottom of the page, just before the bottom PHP tag ?>

    /* Ugly 'Add Titles to Replies' Hack by LouiseDade */
    function bbpress_add_reply_title( $post_id, $topic_id ) {
    global $wpdb, $otherdb;
    $bb_table_prefix = bbpress_getoption('bb_prefix');

    if (bbpress_getoption('bb_other_base') === "no") {
    $topic_title=$wpdb->get_var("SELECT topic_title FROM ". $bb_table_prefix ."topics WHERE topic_id=$topic_id LIMIT 1; ");
    $wpdb->query("UPDATE ". $bb_table_prefix ."posts SET post_title='$topic_title' WHERE post_id='$post_id' LIMIT 1");
    } else {
    $topic_title=$otherdb->get_var("SELECT topic_title FROM ". $bb_table_prefix ."topics WHERE topic_id=$topic_id LIMIT 1; ");
    $otherdb->query("UPDATE ". $bb_table_prefix ."posts SET post_title='$topic_title' WHERE post_id='$post_id' LIMIT 1");
    }
    }

    Next, scroll up to the bbpress_new_post() function and at the bottom, before the closing curly brace, add:

    /* Added by LouiseDade - updates post reply title */
    bbpress_add_reply_title( $post_id, $topic_id );

    Then scroll up again to the bbpress_post_update() function and add the same code as above just before the closing curly brace again.

    Re-upload the plugin with the changes made and try posting a WordPress entry.

    If it works I shall jump around for joy, but unfortunately I have grave doubts about it. I think it might need to be done the hard-way, which involves rewriting some of the ‘bbPress Post’ plugin.

    Good luck!

Viewing 25 results - 11,051 through 11,075 (of 11,584 total)
Skip to toolbar