Trent Adams (@trent)

Forum Replies Created

Viewing 25 replies - 1,001 through 1,025 (of 1,181 total)
  • In reply to: Tags with spaces

    Right now, I think the only way you can add multiple names in tags is after it is created. Then, you can add the multiple tags at once.

    Trent

    I have thought about this a was thinking that it really doesn’t matter, but my preference would be to get the login integration with WP first if you are going to have it and this doesn’t apply to everyone because not everyone is going to sync logins with WP. The reason is that seems to be the hardest part and you have to have your key admin being the one you want and associated with the right user in WP.

    Once you are ready to go, then test the import of phpBB becauase if it doesn’t go according to plan, you can just empty tables in bbPress and the hardcoding part for integration is still done.

    Trent

    In reply to: Simply doesn’t work

    This is the same on one of my servers. It doesn’t work either way, but Rewrite works with WP….strange.

    Trent

    In reply to: Plugin – Member List

    Sorry Ardentfrost. One more thing. If someone puts a URL for a website that is stupid long (spammers of course), it will make the memberlist go outside of the page. Is there a way to limited the characters that the website can be when listed in the memberlist?

    Trent

    I still haven’t figured out how to fix this error and get the correct timestamp, so help is still needed and appreciated!

    That being said, I have a version that works for me without any errors, but I had to place an incorrect timestamp in for each entry to do it. That is why I changed the template to get rid of the date in the PM interface.

    It is working for me, but I can hardly wait to work with Ardentfrost to have a version that works ‘out of the box’.

    Trent

    In reply to: Simply doesn’t work

    I will have to open this up to the community because personally, I can’t scratch anymore ideas on this out of my head!

    Trent

    You want all the tags the same size? That is what the second code you have means. I guess it doesn’t like having tags all the same size. For reference, check out:

    https://bbpress.org/forums/topic/67?replies=5#post-295

    Trent

    If I delete the table, it works for the first logged in visitor to view the site, but no others. I am still at a loss. That is with the variable set to false.

    Trent

    Ok…I fixed the other errors (still waiting for Ardenfrost to see if they will work or if there is a better way), but I can’t get rid of the following error when I post or reply:

    bbPress 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 '19:54:11' at line 1]

    SELECT * FROM bb_privatemessages WHERE id_sender = 14 AND created_on = 2006-12-09 19:54:11

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/forum/bb-includes/db.php:147) in /var/www/html/forum/bb-includes/pluggable.php on line 160

    The error is generated from the following code in the plugin itself:

    function pm_new_message( $id_receiver, $id_sender, $pmtitle, $message ){

    global $bbdb, $bb_table_prefix;

    $created_on = bb_current_time('mysql');

    $bbdb->query("INSERT INTO ".$bb_table_prefix."privatemessages

    (id_sender, id_receiver, pmtitle, message, created_on)

    VALUES

    ('$id_sender', '$id_receiver', '$pmtitle', '$message','$created_on')");

    $rmess = $bbdb->get_row("SELECT * FROM ".$bb_table_prefix."privatemessages WHERE id_sender = $id_sender AND created_on = $created_on");

    return $rmess->pm_id;

    }

    I would ask anyone that might have an idea for me here to let me know. It doesn’t have a problem with the bb_current_time for posting normally, so I can’t understand why it doesn’t like the timestamp on this one. I have mySQL 4.1.21.

    Anyone?

    I am working on getting those errors fixed for my board. I emailed you about what I have tried. It will take some time, but we will fight through the errors! Keep posted for future progress!

    Trent

    This seems to be the line that it has problems with:

    bb_get_user($pmmessage->id_sender)->user_login

    Anyone know how I could change syntax not to get an error?

    Trent

    So far……

    I noticed that there are some places where bb_users are called and for some of us that use wp_users, we will get some errors. I found this in message.php so far.

    When I sent my first message, I got this error:

    bbPress 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 '23:45:07' at line 1]

    SELECT * FROM bb_privatemessages WHERE id_sender = 14 AND created_on = 2006-12-08 23:45:07

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/forum/bb-includes/db.php:147) in /var/www/html/forum/bb-includes/pluggable.php on line 160

    I found an error in /my-templates/postmsg.php on line 8:

    Parse error: parse error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /var/www/html/forum/my-templates/postmsg.php on line 8

    Still working on those right now……

    Trent

    This works for me! Excellent. I will report back with any errors or ommisions!

    Trent

    I have tried it on the latest TRAC version as well as a normal 0.73 version and neither works. Unfortunetely, I never tried it on 0.72 so I don’t know if it ever would have worked. I will try on my other server and see what happens.

    Trent

    In reply to: Simply doesn’t work

    Ok….try this as it must be in main .htaccess and not seperate.

    get rid of the .htaccess in bbpress directory and try this in .htaccess for wordpress.

    # BEGIN WordPress

    <IfModule mod_rewrite.c>

    RewriteEngine On

    RewriteBase /

    RewriteCond %{REQUEST_FILENAME} !-f

    RewriteCond %{REQUEST_FILENAME} !-d

    RewriteRule . /index.php [L]

    # END WordPress

    RewriteBase /bbpress/

    RewriteRule ^forum/([0-9]+)/page/([0-9]+)$ /bbpress/forum.php?id=$1&page=$2 [L,QSA]

    RewriteRule ^forum/([0-9]+)$ /bbpress/forum.php?id=$1 [L,QSA]

    RewriteRule ^topic/([0-9]+)/page/([0-9]+)$ /bbpress/topic.php?id=$1&page=$2 [L,QSA]

    RewriteRule ^topic/([0-9]+)$ /bbpress/topic.php?id=$1 [L,QSA]

    RewriteRule ^tags/(.+)/page/([0-9]+)$ /bbpress/tags.php?tag=$1&page=$2 [L,QSA]

    RewriteRule ^tags/(.+)/?$ /bbpress/tags.php?tag=$1 [L,QSA]

    RewriteRule ^tags/?$ /bbpress/tags.php [L,QSA]

    RewriteRule ^profile/([0-9]+)/page/([0-9]+)$ /bbpress/profile.php?id=$1&page=$2 [L,QSA]

    RewriteRule ^profile/([0-9]+)/([a-z]+)$ /bbpress/profile.php?id=$1&tab=$2 [L,QSA]

    RewriteRule ^profile/([0-9]+)/([a-z]+)/page/([0-9]+)$ /bbpress/profile.php?id=$1&tab=$2&page=$3 [L,QSA]

    RewriteRule ^profile/([0-9]+)$ /bbpress/profile.php?id=$1 [L,QSA]

    RewriteRule ^view/([a-z-]+)/page/([0-9]+)$ /bbpress/view.php?view=$1&page=$2 [L,QSA]

    RewriteRule ^view/([a-z-]+)$ /bbpress/view.php?view=$1 [L,QSA]

    RewriteRule ^rss/$ /bbpress/rss.php [L,QSA]

    RewriteRule ^rss/forum/([0-9]+)$ /bbpress/rss.php?forum=$1 [L,QSA]

    RewriteRule ^rss/topic/([0-9]+)$ /bbpress/rss.php?topic=$1 [L,QSA]

    RewriteRule ^rss/tags/([a-z]+)$ /bbpress/rss.php?tag=$1 [L,QSA]

    RewriteRule ^rss/profile/([0-9]+)$ /bbpress/rss.php?profile=$1 [L,QSA]

    </IfModule>

    Trent

    Does anyone else have any ideas that we might be missing here?

    Trent

    In reply to: Simply doesn’t work

    Hmm….maybe somebody with a little more permalinks knowledge has some ideas?

    Trent

    I still don’t my online status update with that var true or false. Any ideas?

    Trent

    Hmm….I don’t have that var in that download Thomas….

    The URL is actually http://la-school.com/2006/downloads/onlinelist_1_3-fix.zip

    Trent

    Try something like:

    #front-page #discussions {

    margin-left: 170px;

    margin-right: -20px;

    width: 420px;

    }

    #front-page #rightbar {

    margin-left: 590px;

    width: 150px;

    margin-right: -20px;

    }

    I haven’t tested this, but it would be easier to just keep moving them to the right I think.

    Trent

    Same problem with the new version. If I logout it goes to no members online and stays there even if I log back in. I have mySQL 4.1.21

    Trent

    I am testing the new version. You should know that line 26 of the plugin has a syntax error that needs fixing. Change from:

    $bbdd->query

    to:

    $bbdb->query

    Trent

    when I installed the plugin it had my user online when I was testing it. After 5 minutes it said no one was online. I was still logged in and started viewing posts. It remained with saying that I was not online.

    If I then logout and login again, it still says no one is online. If I drop the table in the database and go back to the main page, it says I am online for 5 minutes and then goes back to saying no one again.

    What am I doing wrong or is this an error?

    Trent

    Take the cookie domain and path information right out for now. It should work without it anyways and let’s do some more testing.

    Trent

    Simon,

    I would change the cookie domain to be just awspress.com (without the period before it).

    That should get the logout link on bbPress working better. I was not able to login as TrentAdams and come back to WP with an account created in bbPress, but when I created an account Trent with WP and then went back to bbPress, the user worked and so did the integration. It didn’t matter which program I logged in Trent with, it worked going back and forth.

    That seems to me that the wordpress-integration plugin in bbPress is working and the bbpress-integration plugin in WP is not. I would uninstall that plugin and reinstall it after updating the cookie information in the config.php file for bbPress.

    Let me know how you make out and I can test it some more.

    Trent

Viewing 25 replies - 1,001 through 1,025 (of 1,181 total)