Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 10,601 through 10,625 (of 11,589 total)
  • Author
    Search Results
  • #61182

    In reply to: Error while posting

    wrsantiago
    Member

    I am using 0.8.3 I upgraded the same day it came out and everything works great, I am very happy with everything, but this is so weird. Like you said their is something bad about this post.

    I am running the forum in bluehost.com as far as I know they are pretty good at keeping up to date with their upgrades so I am sure they have all their software up to date.

    I was installing PM to the forum when I notice the error so I deleted all the changes and deactivate the plugin to check if that was the problem but it turn out that even without the plugin the error keep coming up.

    Maybe I just found a bug on the latest version but I don’t know anything about coding so this is up to you guys.

    #58160

    In reply to: bbSync

    fel64
    Member

    Slex, indeed there’s some issue there. It probably needs further thinking about. However, like I said if you want to modify it to stop wp saving comments, or even to make bb add replies to wp comments, implement the change and I would definitely like to make a branch of bbsync.

    Vito, can you please open bb’s config.php file and add this line to it somewhere?

    global $bb_cache;

    That should fix that error (assuming you’re using the latest stable, .8.3!).

    No good news on making backdated topics I’m afraid, because there’s no way to use the API to create the topic and set the time of it to be in the past. You’d have to copy and modify some large blocks of code, which is exactly what I want to avoid with bbsync (regarding the problem that became with bbpress post, for example).

    However, if you edit an old post in wp and press save, it will create a new topic in bb for you (but with today’s date, rather than the appropriate one). It’s an unfortunate limitation of bbsync.

    #60750

    I’ve looked through the (two) plugins that allows us to restrict forums, and sadly, it seems your guesses are correct. The first one which allows you to allow users in to a forum based on member names is hardly compatible with the latest version of bbPress (and seems dead). I almost got it working right, except for the fact that it messed up my forum hierarchy, and some other bugs, which meant that threads couldn’t be posted to a certain forum without being in that forum, which was enough for me to rule it out.

    The other option, private forum as you tried out yourself, doesn’t allow us to do anything but restrict it to either members, mods or admins, which is the most viable solution to me at this point. It does mean however that I will need to give all my members who need access to the restricted forum moderator capabilities. Hardly ideal, but I’ll have to go with it for now.

    I’ll be looking at it this weekend though, and hopefully I can find a sort of solution to it. Right now I’m thinking of finding a way to strip moderators of actual moderating powers, but I really don’t know. Adding another usergroup (pretty simple) should work too, but it has to be reflected in the plugin as well, but I don’t have the coding skills (I don’t have any coding skills) to do that.

    Hopefully a gifted plugin developer will step in and solve this for us :)

    #58150

    In reply to: bbSync

    slexaxton
    Member

    Tested. Works. Good job Jaz… now I dont have to wonder how many months from now my hack would have caused a nuclear war in china.

    And just for the sake of completeness. I did not test the case where a user is a blog writer (can write new posts), but is not some sort of administrator on the forum. I can’t foresee needing this functionality, but if it doesnt work, dont get mad at me.

    Database redundancy time?

    #58149

    In reply to: bbSync

    jazbek
    Member

    Yeah, I think that did it. I just tested a post as a regular user and it worked without any errors. I am short on time right now so if anyone else has a chance to try it out, that’d be cool. Here’s all I did (all in felsyncpost()):

    1) added $bb_current_user to the globals

    2) commented out line 36

    3) added $bb_current_user = $current_user; in its place.

    Try it out. :)

    #58143

    In reply to: bbSync

    fel64
    Member

    Strange that it’s not catching if it’s a BB_User. That does seem to be the actual class name. Do you want to do some more testing on that? Are users usually instantiated as wp_User if it’s integrated? Or is it just if you set up the current user as bbSync does, from wp, that you get the user as a wp_User object? It’s up to you, if you could check that and arising questions out I’d be grateful as I’m all over the place right now.

    Thanks for your post, really! I feel a lot more confident about finding the solution now.

    #58142

    In reply to: bbSync

    slexaxton
    Member

    The fix that I made to that function has been tested now and it seems to work, but the fact of the matter is that it could have very well just broke that function all together. I think everything works to my satisfaction now though, so I probably wont worry about it until I run into some more problems. The only thing that gives me hope in that respect is that previously, that if statement was failing. meaning that the user was not a bb_user:

    if ( !( is_object($user) && is_a($user, 'BB_User') ) )

    so it would create new capabilities for the user (incorrectly at that). But when I changed it to wp_User, for some reason that if statement catches and just returns without creating the new capabilities that break access permissions. I don’t know why this works after looking into the code, but until I see negative side effects, I might turn a shy eye (<— i dont think thats a real saying…).

    Also, on the topic of redundant database entries, I think since we have the integration set up from the WP comment box, it wouldnt be incredibly difficult to simply take out the one database call (somewhere in the wordpress code never-never-land) that actually posts the comment to the database. So we’re not inputting a box from bbpress, but we would effectively stop wordpress comments from being saved to the database since we never actually look at them. This of course wouldn’t work if you were merely copying database entries in order to post the comments as posts in bbPress, but I dont think thats what you’re doing. It probably is two separate database INSERT calls, and I bet we can take the wordpress one out, and have identical functionality (assuming we took out wordpress comments and exclusively use felbbreplies()). It’s merely an optimization though, and unless the user base is larger than any of us probably are going to have it might not matter… I’ll look into it tonight when I get home, and let you know.

    sorry for the long post

    -Alex

    #58139

    In reply to: bbSync

    slexaxton
    Member

    This has been scarcely tested, but I think I have a fix for my bug… weird…

    in the bb-includes/capabilities.php file there is a function at the bottom that looks like this:

    function bb_give_user_default_role( $user ) {
    if ( !( is_object($user) && is_a($user, 'BB_User') ) )
    return;
    $user->set_role('member');
    }

    I changed it to look like this:

    function bb_give_user_default_role( $user ) {
    if ( !( is_object($user) && is_a($user, 'wp_User') ) )
    return;
    $user->set_role('member');
    }

    Instead of checking to see if the bb_user existed, we wanted to check to see if the wordpress user existed, assuming we merged our user table. For some reason, this seems like a bug in the bbPress code. Shouldn’t that be a variable prefix to begin with?

    #61114

    Just installed bbPress, and experiencing the exact same problem. Normal installation of WP 2.3 (latest version). No clue what might be wrong either.

    Making another user KeyMaster works however. So as a workaround I’ve registered a “dummy” to use for this only. Awesome.

    Edit: It turns out my “normal” account doesn’t have permission to edit tags either.

    #50218
    Trent Adams
    Member

    As mdawaffe mentioned, it was untested. As well, there have been core changes since, so somebody would have to ‘debug’ that little plugin. Anyone notice anything off the cuff on why it doesn’t work?

    Trent

    #2497
    brandotron
    Member

    When I try to activate Akismet in my site admin>plugins panel I get this error:

    Plugin could not be activated; it produced a Fatal Error.

    But then I notice that there IS an Akismet Spam tab in my content panel–and it’s blocking posts from normal users and marking people as Bozos. What the heck? Am I doing something wrong or is Akismet incompatible with the latest release? Ahhh! Frustrating!

    #61072

    In reply to: CSS

    Graeme
    Member

    Did you copy all of the rules?

    You should have copied all of these rules:

    /* Default table structure
    =================================== */

    /* 100% is a good starting width for most tables - this is a forum! */
    table { width: 100% }

    /* Login form (header.php)
    =================================== */

    .login {

    }

    .login p {

    }

    .login label {

    }

    .login #submit {

    }

    p.login {

    }

    form.login input {

    }

    /* Breadcrumbs (most templates)
    =================================== */
    .bbcrumb {

    }

    /* Notice (profile.php)
    =================================== */

    .notice {

    }

    .notice p {

    }

    /* Front Page
    =================================== */

    #front-page #hottags {

    }

    #front-page #discussions {

    }

    /* hot tags! */
    .frontpageheatmap {

    }

    #front-page #main h2, #forum-page #main h2, h2.post-form, #userlogin, #currentfavorites, #register {

    }

    #front-page #discussions ul {

    }

    .sticky {
    background-color: #ffffd0;
    }

    /* Topic Page (topic.php)
    =================================== */

    /* wrapper for topic */
    .infobox {
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
    }

    ul.topicmeta {
    display: block;
    margin-left 1.0; padding-left: 0em;
    }

    .topicmeta li {
    display: list-item;
    list-style: square inside;
    }

    #topic-info h2 {
    border: 0px;
    margin: 0px;
    }

    #topic-info {
    float: left;
    }

    #topic-tags {
    top: 1.0em;
    margin-top: 2.0em;
    float: right;
    }

    /* .nav used by topic.php & tag-single.php */
    .nav {

    }

    .nav span {

    }

    .nav span, .nav a {

    }

    #thread {

    }

    #thread li {
    margin-bottom: 1.0em;
    }

    #thread li ol, #thread li ul {

    }

    #thread li ol li, #thread li ul li {

    }

    /* following are used by post.php */
    .threadauthor {
    margin-left: -0px;
    overflow: hidden;
    width: 115px;
    position: absolute;
    }

    .threadpost {
    margin-left: 130px;
    width: 370px;
    background-color: #f5f5f5;
    padding: 10px;
    }

    .poststuff {
    font-size: 0.8em;
    border-top: 1px solid #e5e5e5;
    }

    .num, #forumlist small {

    }

    .postform {
    background: #f0f0f0;
    padding: 1em;
    margin-bottom: 1em;
    }

    .postform textarea {
    height: 12em;
    margin: 5px 0;
    padding: 5px;
    width: 96%;
    display: block;
    }

    .postform label { display: block; }

    .rssfeed { line-height: 20px; padding-left: 23px; background: url( "images/feed-icon-16x16.png" ) center left no-repeat; }

    #manage-tags {

    }

    #manage-tags li {

    }

    .submit {

    }

    .topiclink {

    }

    .topictitle {

    }

    #topic-move {
    margin-bottom: 1.0em;
    }

    /* Content - specific to the main content div
    =================================== */

    #content .frontpageheatmap a {

    }

    #content .infobox li {

    }

    #content .nav a {

    }

    #content .nav a:hover {

    }

    #content a:visited {

    }

    /* Profile Page
    =================================== */

    #profile-menu {
    padding-top: 0.5em;
    list-style: none;
    border-bottom: 2px solid #ccc;

    }

    #profile-menu ul {
    }

    #profile-menu li {
    font-size: 1.1em;
    background-color: #eee;
    padding: 4px 7px;
    margin: 0px;
    display: inline;
    position: relative;
    top: -3px;
    }

    #profile-menu li.current {
    background-color: #ccc;
    }

    #userinfo {

    }

    #userinfo dt {

    }

    #userinfo dd {

    }

    #useractivity {

    }

    .user-recent {

    }

    .user-recent .alt {
    background-color: transparent;
    }

    .user-recent ol {

    }

    .user-recent ol li {

    }

    /* Profile Edit
    =================================== */

    fieldset {

    }

    legend {

    }

    fieldset table {

    }

    fieldset table td {

    }

    fieldset p {

    }

    /* Other
    =================================== */

    #front-search {

    }

    #latest td, #forumlist td, #favorites td {
    border: 1px solid #f5f5f5;
    }

    #forumlist tr td div.nest {

    }

    #latest tr:hover, #forumlist tr:hover, #favorites tr:hover {

    }

    #latest th, #forumlist th, #favorites th {
    background-color: #e9ede8;
    border: 1px solid #f5f5f5;
    }

    #latest, #forumlist, #favorites {

    }

    .alt {
    background-color: #f9f9f9;
    }

    .bozo {

    }

    .alt.bozo {

    }

    .deleted {

    }

    .alt.deleted {

    }

    #60977
    jolaedana
    Member

    I’ve tested it with a user that has moderator permissions, and he can delete posts and add tags just fine.

    So it does, indeed, seem to be a keyholder/admin problem.

    #60976
    tbronson
    Member

    It seems to be a user thing. I’d been posting from a user that’d been established in WordPress. I updated it to Key Master in bbPress, so it should have all powers. But I found that, apart from tags, I couldn’t delete a post either, same no permission message (same as noted by Jolaedana above). So I logged out and logged in as Superadmin, the default account from bbPress installation, and voila, I can do everything, add tags, delete posts.

    That doesn’t solve the problem. I haven’t tested to see what happens with other users, both already registered from WP and registered through bbPress. But it’s a workaround for me, and a…clue. :)

    #2492
    jaxxx
    Member

    I’m currently editing the default theme template for the latest version. Everything is going well, except I can’t find the code reference for the “Reply” label (it shows up as <h2 class='post-form'>Reply</h2> in the HTML output. The rest of this section is editable in post-form.php. Where do I need to look to find the section (basically I just want to either remove this label and add a new one separately, or else be able to wrap some more code around it). The only other thing which may shed some light on this is the preceeding code: do_action( 'post_form_pre_post' ); but I have no idea what this function does.

    #61028
    Graeme
    Member

    I’ve just posted some updates. See this post on my site.

    I will tidy up the downloads page so you can still get to old versions. For now you can only access links to the latest themes.

    #58126

    In reply to: bbSync

    fel64
    Member

    Hey Joe,

    try adding $bb_cache and $bbdb to the list of globals in your config.php file (as outlined earlier in this topic, or ask if you’re unsure). That seems to cause the error publishing articles. That said, right now I also get an error publishing but it seems to work fine – I’ll look at that when I’ve got my dev machine again.

    The error for comments I don’t understand. Line 105 seems to be a function declaration: https://plugins-dev.bbpress.org/browser/bbsync/trunk/bbsync.php#L105, so how it could be missing an argument I don’t know. Are you using the latest version of bbsync, too?

    #2480

    Topic: bb-Bluesands

    in forum Themes
    Jim S.
    Participant

    I just wanted to mention that I’ve finished up my bb-Bluesands theme as a complement to my Bluesands theme for WordPress. Feel free to download and test it out – and let me know if you run across any bugs.

    #2483

    hey guys,

    i have little coding experience, i could do a fair pimp of my myspace page but that’s about it – this php stuff is all new to me. I’ve just installed bbpress as a subdirectory of my wordpress blog, and I want to do something really simple: I want to change the color of the rollovers when you mouse over the forum topic. On this guide I read, it said to change this line:

    #latest tr:hover, #forumlist tr:hover, #favorites tr:hover { background: #330099; }

    (specifically, the ‘background’ tag), but as you can see, although I’ve entered in a bright color and re-uploaded the style.css file, it remains a vague greyish sorta color.. where am I going wrong here?

    Thanks in advance folks..

    #2479
    kblog
    Member

    I just installed bbPress into the same database as my wordpress blog. Now I get an error when trying to use it.

    test blog: http://www.kidoinfo.com/stage/

    forum: http://www.kidoinfo.com/stage/bulletinboard/

    Maybe it’s because I don’t understand the difference in one of the setup parameters:

    “If you’ve installed bbPress into a subdirectory of your WordPress installation, define $bb->wp_home and $bb->wp_siteurl as your WordPress blog address and WordPress address”

    -I think they have the same address: http://www.kidoinfo.com/stage/

    (not this is a test version of the site that is password protected) NOTE: if it’s not possible to troubleshoot this error because the test site is behind a password, let me know and I’ll go ahead and put it in the public site, but I’d rather not until it’s all set up.

    Here’s the error I’m getting:

    You can check the settings in wp-config.php and see if they’re the same.

    Warning: Cannot modify header information – headers already sent by (output started at /home/kidoinfo/public_html/stage/bulletinboard/config.php:1) in /home/kidoinfo/public_html/stage/bulletinboard/bb-includes/pluggable.php on line 37

    Warning: Cannot modify header information – headers already sent by (output started at /home/kidoinfo/public_html/stage/bulletinboard/config.php:1) in /home/kidoinfo/public_html/stage/bulletinboard/bb-includes/pluggable.php on line 37

    Warning: Cannot modify header information – headers already sent by (output started at /home/kidoinfo/public_html/stage/bulletinboard/config.php:1) in /home/kidoinfo/public_html/stage/bulletinboard/bb-includes/pluggable.php on line 164

    and here’s the config info for WordPress blog and for bbpress:

    WordPress:

    wp-config.php

    <?php

    // ** MySQL settings ** //

    define(‘DB_NAME’, ‘kidoinfo_wrdp3’); // The name of the database

    define(‘DB_USER’, ‘kidoinfo_wrdp3’); // Your MySQL username

    define(‘DB_PASSWORD’, ‘xxxxxxxxxxxx); // …and password

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

    // define(‘DB_CHARSET’, ‘utf8’);

    // define(‘DB_COLLATE’, ”);

    // You can have multiple installations in one database if you give each a unique prefix

    $table_prefix = ‘wp_’; // Only numbers, letters, and underscores please!

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

    // chosen language must be installed to wp-content/languages.

    // For example, install de.mo to wp-content/languages and set WPLANG to ‘de’

    // to enable German language support.

    define (‘WPLANG’, ”);

    bbPress:

    config.php

    You can check the settings in wp-config.php and see if they’re the same.<?php

    // ** MySQL settings ** //

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

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

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

    define(‘BBDB_HOST’, ‘localhost’); // 99% chance you won’t need to change these last few

    define(‘BBDB_CHARSET’, ‘utf8’); // If you are *upgrading*, and your old config.php does

    define(‘BBDB_COLLATE’, ”); // not have these two contstants in them, DO NOT define them

    // If you are installing for the first time, leave them here

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

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

    // The full URL of your bbPress install

    $bb->uri = ‘http://www.kidoinfo.com/stage/bulletinboard/&#8217;;

    // What are you going to call me?

    $bb->name = ‘Kidoinfo Bulletin Board’;

    // This must be set before you run the install script.

    $bb->admin_email = ‘douglas.itkin@gmail.com’;

    // Set to true if you want pretty permalinks, set to ‘slugs’ if you want to use slug based pretty permalinks.

    $bb->mod_rewrite = ‘slugs’;

    // 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 = -5;

    // 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 = ‘xxxxxxxxxxxx’; // Example: ‘0123456789ab’

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

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

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

    $bb->wp_home = ‘http://www.kidoinfo.com/stage/&#8217;; // WordPress – Options->General: Blog address (URL) // Example: ‘http://example.com&#8217;

    $bb->wp_siteurl = ‘http://www.kidoinfo.com/stage/&#8217;; // WordPress – Options->General: WordPress address (URL) // Example: ‘http://example.com&#8217;

    /* Stop editing */

    if ( !defined(‘BBPATH’) )

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

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

    Thanks in advance for any assistance people can provide.

    jschleifer
    Member

    thanks for trying to solve this chris! I went and tried your options..

    “are there any underscore plugins in the plugin directory?”

    nope, there’s nothing at all in the plugin directory.

    “What if you put an underscore plugin in that orlder, if there are none now?”

    well I’ll be.. I simply touched my-plugins/_test.php

    and it worked.

    that’s just crazy weird.. huh. thanks for the help! :)

    #60933

    In reply to: Jump to last post

    fel64
    Member

    Pop this in a new .php file in your plugin directory.

    <?php
    /*
    Plugin Name: Page &raquo;
    Plugin URI:
    Description: Adds &raquo; to the end of topic titles, linking to latest post.
    Author: fel64
    Version: 0.7
    Author URI: http://www.loinhead.net/
    */

    if (!function_exists('is_tags')) {
    function is_tags()
    {
    return is_tag();
    }
    }

    if (is_front() || is_forum() || is_tags()) {
    add_filter('topic_title', 'fel_addlatestlink', 101);
    }

    function fel_addlatestlink($title)
    {
    global $topic;
    $felgtlpl = get_topic_last_post_link($topic->topic_id);
    $title = $title . '</a> <a href="' . $felgtlpl . '">&nbsp;&raquo;&nbsp;';

    return $title;
    }
    ?>

    #2472
    Graeme
    Member

    Hi,

    I’ve just launched a new site bbpressraw.com. The site provides a set of lean & mean bbPress themes that are designed to enable you to quickly develop your own custom bbPress themes. They should save you a great deal of time if you are trying to create your own theme from scratch.

    The themes are compatible with and have been tested with bbPress 0.8.3.

    A number of layout variations have been provided, including:

    • 1col_fixed: bbPress blank 1-column theme with fixed width
    • 1col_fluid: bbPress blank 1-column theme with fluid width
    • 2col_fixed_left: bbPress blank 2-column theme with left sidebar and fixed width
    • 2col_fixed_right: bbPress blank 2-column theme with right sidebar and fixed width
    • 2col_fluid_left: bbPress blank 2-column theme with left sidebar and fluid width
    • 2col_fluid_right: bbPress blank 2-column theme with right sidebar and fluid width

    For now the themes have been made available. During the next week I’ll be posting some tips to get you up and running quickly!

    Enjoy!

    jschleifer
    Member

    I just upgraded to the latest wordpress 2.3 and bbpress 0.8.3 and now when I try and access any page I get the following error at the top of the page:

    Warning: Invalid argument supplied for foreach() in bb-settings.php on line 173

    I checked the bb-settings.php file and the line looks like:

    foreach ( glob(BBPLUGINDIR . ‘_*.php’) as $_plugin )

    I checked BBPLUGINDIR to see if it’s been set correctly, and it does indeed point to the location of my-plugins.

    I’m running PHP5 with a mamp server on os x.. I’ve never had a problem with bbpress before (being using it for a few months now), and only saw this error with the upgrade.

    has anyone else seen this, or know how to remove it?

    cheers,

    Jason

    jolaedana
    Member

    I didn’t have any parent children forums- stayed away from that and kept it all top level.

    I basically just modified the basic theme that comes with the forums- the only thing I changed was the CSS, so the index.php file should be the same, aside from the few things I added in to call the “who’s online” list and the like.

    <?php

    require(‘./bb-load.php’);

    $bb_db_override = false;

    do_action( ‘bb_index.php_pre_db’, ” );

    if ( isset($_GET) && ‘1’ == $_GET ) :

    $forums = false;

    elseif ( !$bb_db_override ) :

    $forums = get_forums(); // Comment to hide forums

    $topics = get_latest_topics();

    $super_stickies = get_sticky_topics();

    endif;

    do_action( ‘bb_index.php’, ” );

    bb_load_template( ‘front-page.php’, array(‘bb_db_override’, ‘super_stickies’) );

    ?>

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