Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 10,926 through 10,950 (of 11,589 total)
  • Author
    Search Results
  • #1928
    willspill
    Member

    My bbpress is having trouble displaying stylesheets correctly. I am using the default style that bbpress comes with. I have it installed locally on a test environment.

    The admin section looks exactly how it should, but the forum itself does not. I have noticed that the path to the stylesheet is incorrect.

    <link rel=”stylesheet” href=”http://localhostbbpress/bb-templates/kakumei/style.css&#8221; type=”text/css” />

    notice how after localhost the “” is the wrong way.

    Not sure if anyone can tell me how to fix it.


    in the admin page, the stylesheet path is correct

    <link rel=”stylesheet” href=”http://localhost/bbpress/bb-admin/style.css&#8221; type=”text/css” />


    my config.php looks like this

    // If your bbPress URL is http://bbpress.example.com/forums/ , the examples would be correct.

    // Adjust the domain and path to suit your actual URL.

    // Just the domain name; no directories or path. There should be no trailing slash here.

    $bb->domain = ‘http://localhost&#8217;; // Example: ‘http://bbpress.example.com&#8217;

    // There should be both a leading and trailing slash here. ‘/’ is fine if the site is in root.

    $bb->path = ‘/bbpress/’; // Example: ‘/forums/’

    #57970
    fel64
    Member

    Front-page.php I believe is used to create the ?new=1 page.

    Near the very bottom, look for a <?php endif; else : ?> line. Below this it should have code for <h3 class="bbcrumb"> ... and then <?php post_form(); endif; ?>

    The code between the else : and the endif; are what executes to make the ?new=1 page. Looking at my theme in comparison, I think that the </div> underneath the else : ... endif; should actually be above it. Try it. If it works, come back and tell us please, because then we should probably make a trac ticket. Never noticed this before – I hacked up kakumei into my template straight away and assumed it to be a fault of mine in rewriting the horrible if : endif; method into nice braces.

    [Edit] Just tested it myself, and there are five </div> in the page source in kakumei and only four <div. Pretty sure that’ll be your problem.

    ganzua
    Member

    Hi;

    The “Add new” link that is just below “Latest Discussions” title in bbpress frontpage messes my bbpress theme.

    Latest Discussions

    Topic — Add New »

    Whenever you click that “add new” you are taken to a new page with this link; …/bbpress/?new=1 and I can see the header and footer ok but sidebar and post-form are messed.

    Which template files are used to create the ?new=1 page? I can’t locate my mistake.

    #57960
    gjaw88
    Member

    Here is the site. NO I’m not using this for my site, this is just a test and is what domain name my friend offered haha. Nothing is inappropiate on this site, it is just for testing purposes before I buy my own domain.

    http://www.saladtossers.org/wp/bbpress/

    ‘code'<?php

    // ** MySQL settings ** //

    define(‘BBDB_NAME’, ‘mike_i126wor’); // The name of the database

    define(‘BBDB_USER’, ‘mike_i126wor’); // Your MySQL username

    define(‘BBDB_PASSWORD’, passwordhere’); // …and password

    define(‘BBDB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value

    // Change the prefix if you want to have multiple forums in a single database.

    $bb_table_prefix = ‘bb_’; // Only letters, numbers and underscores please!

    // If your bbPress URL is http://bbpress.example.com/forums/ , the examples would be correct.

    // Adjust the domain and path to suit your actual URL.

    // Just the domain name; no directories or path. There should be no trailing slash here.

    $bb->domain = ‘http://saladtossers.org&#8217;; // Example: ‘http://bbpress.example.com&#8217;

    // There should be both a leading and trailing slash here. ‘/’ is fine if the site is in root.

    $bb->path = ‘/bbpress/’; // Example: ‘/forums/’

    // What are you going to call me?

    $bb->name = ‘test site’;

    // This must be set before running the install script.

    $bb->admin_email = ’email@gmail.com’;

    // Set to true if you want pretty permalinks.

    $bb->mod_rewrite = false;

    // The number of topics that show on each page.

    $bb->page_topics = 30;

    // A user can edit a post for this many minutes after submitting.

    $bb->edit_lock = 60;

    // Your timezone offset. Example: -7 for Pacific Daylight Time.

    $bb->gmt_offset = 0;

    // Change this to localize bbPress. A corresponding MO file for the

    // chosen language must be installed to bb-includes/languages.

    // For example, install de.mo to bb-includes/languages and set BBLANG to ‘de’

    // to enable German language support.

    define(‘BBLANG’, ”);

    // Your Akismet Key. You do not need a key to run bbPress, but if you want to take advantage

    // of Akismet’s powerful spam blocking, you’ll need one. You can get an Akismet key at

    // http://wordpress.com/api-keys/

    $bb->akismet_key = ”; // Example: ‘0123456789ab’

    // The rest is only useful if you are integrating bbPress with WordPress.

    // If you’re not, just leave the rest as it is.

    $bb->wp_table_prefix = ‘wp_’; // WordPress table prefix. Example: ‘wp_’;

    $bb->wp_home = ‘http://www.saladtossers.org/wp&#8217;; // WordPress – Options->General: Blog address (URL) // No trailing slash. Example: ‘http://example.com&#8217;

    $bb->wp_siteurl = ‘http://www.saladtossers.org/wp&#8217;; // WordPress – Options->General: WordPress address (URL) // No trailing slash. Example: ‘http://example.com&#8217;

    /* Stop editing */

    if ( !defined(‘BBPATH’) )

    define(‘BBPATH’, dirname(__FILE__) . ‘/’ );

    require_once( BBPATH . ‘bb-settings.php’ );

    ?> ‘code’

    #57870
    fel64
    Member

    Your HTML has improved. This is your current structure of major div elements:

    div id="wrap"
    div header [1]
    div header [2]
    div wrap [x]
    div right
    div sidebar
    div content
    div hottags
    div discussions
    div footer

    You have two div elements with id wrap. IDs should always be unique, and the second one, marked with [x], is empty anyway so you can go ahead and delete it. You also have duplicate headers. The content of header [2] should be the only thing in header [1]. Div sidebar should be at the same level as div header is, not a child element. You can also delete the div right, as it’s kind of pointless.

    Div footer should not be in content. It should be on the same level, not as a child. That should fix some problems with it, too. You can take out both float: left; and display: inline; in the CSS file for div content – they seem to cancel each other out, and floating it is unnecessary anyway and could come back to bite you later.

    Your main problems in IE seem to be (seem, I don’t have dev tools for it) that major wrap is not centered and that content is just wide enough to conflict with sidebar. Slowly decrement the width of content and test if that makes it work. I am surprised it’s not centered in IE7, I’m fairly sure that the CSS margin: 0 auto; worked. However, to center it in IE6, you need to add the text-align: center; property to the wrap element (in CSS). To counter the effect this has on text, you need to add text-align: left; to header, sidebar and content.

    When logged in, the div class post at the very bottom of the sidebar is not closed. You can just get rid of it I think. You are also using li elements for your Private Message Manager and Community Forum links, without actually having opened a ul or ol for them, which would probably cause problems so just remove the li tags.

    That’s a start, anyway. Try it and we’ll see if it’s fixed anything.

    #57869
    mfaxion
    Member

    fel64. Thanks for the input on the HTML!

    Created a test account for people to see the Account and problems.

    username=demo

    psswrd=demo

    mysoberlife dot com

    I added div id=wrap, div id=header, & div id=right to my bbpress template. That solved all position issues in Mozilla. However IE is even more of a mess now.

    #1915
    wittmania
    Member

    OK, so I have a WP/bbP integrated blog/forum that also uses bbPress instead of comments. It works really well, with the only problem being that the “Latest Discussion” is almost always just a list of the last 10 blog posts since we don’t get a whole lot of comments. To fix this, I worked up a plugin that grabs the last “X” topics that have 2 or more posts and displays them in a table just like the Latest Discussion table.

    You can see exactly what I am talking about here.

    And, no, it doesn’t play nice with my bb-Topic-Views plugin. It sucks, I know. Maybe I’ll figure out how to fix this later…

    Would anyone else be interested in a plugin like this? If so, I’ll spend the time writing up the documentation, etc. so it can be released as an official plugin. If I don’t hear from anyone, I will probably not waste any more time on it since it is already working as I want it to on my site.

    Anyone? Anyone? Bueller?

    #57868
    fel64
    Member

    #1: There are no style rules to tell the forum to go into the column. It’s just made of unstyled divs inside the body element. I don’t know how comfortable you are with HTML, but they should go inside the div with id wrap. That would really fix the greatest issue. You don’t need CSS to do that, since the wrap element would already do that (and the forum could actually be next to the sidebar).

    #2: Please create a test account for us to see the HTML that’s causing a problem, or log in and copy the HTML to a pastebin and link to it here. My clue would be that there’s something wrong with the HTML, by the way. Is this an IE7 exclusive problem?

    #57867
    bbx
    Member

    Oh great! Thx, it’s just what I needed.

    #57657
    chrishajer
    Participant

    cweb: I think this is fixed in the latest trac version and will be in 1.0:

    https://trac.bbpress.org/ticket/599

    #55833
    chrishajer
    Participant
    #57866
    chrishajer
    Participant

    How about this for including the latest bbPress posts in your WordPress sidebar?

    https://bbpress.org/forums/topic/359?replies=30

    #55832
    bbx
    Member

    I have a question related to this.

    If I can use a RSS feed on my WP Home Page, is there maybe a “Latest Discussions” feed from my bbPress forum that I could use?

    bbx

    #1898
    bbx
    Member

    Hi

    I would put in my sidebar the latest discussions of the forum (exactly the same as the one on bbpress homepage).

    As I was unable to enable BB functions in WP (and vice versa), I was wondering if there was another way to do that.

    If not, could you help me with enabling BB functions in WP?

    Thx.

    bbx

    #55831
    Nicki Faulk
    Member

    “Another way to do .. parse your forum rss feed.”

    Exactly what I was going to suggest. If the WP theme is widgetized, its user should have the RSS widget available, so he/she can just plug in the link to your bbPress install’s RSS feed. If not, he/she can use any number of RSS-in-sidebar plugins to accomplish this. (Or if they’re like me, do it by hand and use a plain RSS-to-PHP script.)

    #57709
    Sam Bauers
    Participant

    Here’s a plugin for this.

    http://www.network.net.au/bbpress/plugins/post-count-titles/post-count-titles.latest.zip

    However, my hosts DNS servers are having some issues so it may timeout on some people. It should be added to the official plugin browser soon.

    #1889
    igos
    Member

    I have 2 bbpress instalation.

    First is public and use akismet.

    Second is for testing and doesn’t use akismet.

    I don’t know if it is a bug, but on public forum every my post treaten like a spam even when i’m logged in.

    On second forum, it doesn’t post unless I press “Undelete entire topic”.

    What I need:

    If someone post topic or reply it automaticaly show to public, and if akismet says it could be a spam it should only warn on special page, not block post.

    #1888
    omarvelous
    Member

    Hey Guys.

    I got the forum installed and all. Added the blurb above the config, added a .htaccess to bbpress/ root, and all the other steps suggested….

    But can’t seem to get the links to work on the main page?

    Was using firefox, switched to IE and the theme appears to work in IE not firefox…. that was one thing I noticed… not as important…

    When I click to start a post, i get the forum, and when i post I get “The page isn’t redirecting properly” in Firefox, and in IE it tries to load forever.

    Then wehn I go back to the main forum page…. there the new post is…

    When I click on the post title or forum title, it tries to access in firefox, then i get the same error.

    Now i’m testing all this on my local pc, using Xampp which is basically Apache as it’s server. I recently created a .htaccess file for my wordpress root, but it’s currently blank, does it need something? I’d like to get pretty permalinks working, but at the moment, that is the least of my worries.

    Any assistance for this?

    It is greatly appreciated!

    Thank you!

    Omar

    #57702
    M
    Member

    Wow, so much hate… I’m not trying to insult anyone’s sense of intelligence by making this appear easier than it is. It’s just dead simple. I see no great complexity in it. It’s still a “basic MySQL query.”

    Why muck around in the usermeta? That’s far too much work if you ask me.

    Perhaps I’m wrong.

    function get_user_title( $id ) {
    global $bbdb;

    $pc_query = "SELECT COUNT(post_id)
    FROM $bbdb->posts
    WHERE poster_id = $id
    AND post_status = 0";
    $post_count = $bbdb->query( $pc_query );

    if( $post_count <= 10 ) {
    $title = "Noob";
    } elseif( $post_count <= 20 ) {
    $title = "Might stick around";
    } elseif( $post_count <= 30 ) {
    $title = "Title for 30";
    } elseif( $post_count <= 40 ) {
    $title = "Over the hill";
    .
    .
    .
    } elseif( $post_count <= 90 ) {
    $title = "Post whore";
    } elseif( $post_count > 100 ) {
    $title = "Regular";
    } else {
    $title = "Error";
    }

    return $title;
    }

    This way you don’t have to mess around with updating anything… it’s generated on the fly.

    Do take note that I haven’t tested the code. I wrote it in about 5 minutes, so I didn’t get around to testing. It’s the concept I’m talking about though.

    #57666

    In reply to: Tags not separating

    Arlo
    Member

    I am running the latest alpha…it was switched to commas? Can it be switched back? Spaces I think are much more common a tag method than commas (or can it be hacked to acccept both?)

    #57665

    In reply to: Tags not separating

    fel64
    Member

    Yes, that’s an interesting oversight; it seems that the tag-adding field when making a new post is comma-delimited in version 1.0-alpha. If of course you’re still running 0.81, I have no idea but it might be worth to test the comma delimiting.

    #55077
    delete
    Member

    I just downloaded this plugin and used with the current version 0.8.1 and it seems to work for me. At first I was marked with 1 but after using this plugin and saving myself as 0 and creating some test accounts no new accounts seem to be marked as “1” anymore. So, It seems to have work for me. Thanks for releasing this.

    #56697

    In reply to: Plugin: Avatar Upload

    fel64
    Member

    Anaon, delete the old files from this plugin, download the plugin again and put the files back where they belong. Hopefully that will work. If not, download the latest version of bb and replaces the files on your server with new ones. It’s a strange error which seems to indicate to me that loading bb-load.php did not succeed fully.

    If a required file requires another file and that fails, does the original requirement also fail or generate a warning/error?

    #56213
    klaussterz
    Member

    The crazy thing about it is: If i synchronize XAMPP with my Laptop and test bbPress on it with Firefox, it works fine. Back on my PC. I have the same trouble as before.

    #57616
    Trent Adams
    Member

    Nothing off the top of my head. Do you have a URL to test on?

    Trent

Viewing 25 results - 10,926 through 10,950 (of 11,589 total)
Skip to toolbar