starrett (@starrett)

Forum Replies Created

Viewing 13 replies - 1 through 13 (of 13 total)
  • In reply to: bbSync

    fel, just wanted to let you know that your suggestion worked – as far as I can tell, the system is running great! Thanks so much for your help.

    In reply to: bbSync

    fel, everything seems to be working great except that when I use <?php bbrepliestext(); ?> I get this error message: “Fatal error: Call to undefined function: get_topic() in /path_to/wp/wp-content/plugins/bbsync/bbsync.php on line 495”

    Any suggestions?

    In reply to: bbSync

    fel, cool – the code you are using works great. Unfortunately, I’m still getting the IP address in the links that bbSync is creating in the forums – you can see an example of this here. Strangely, it’s also failing to grab the correct category when trying to make the links. Here’s the output on that page:

    http://208.***.197.39/wp/uncategorized/12-year-old-boy-dies-after-rock-n-roller-coaster-ride/

    I don’t really have any idea what is going on there. Oh, and one more little thing – is there anyway to have the number of replies appear on the WP page, as opposed to the replies themselves? I was discussing the plug-in with a buddy over the weekend and he suggested that might be useful. So, instead of listing the replies and then saying “Reply!” It would simply say something like “Join the discussion in the forums (4)” Just a thought. :)

    In reply to: bbSync

    fel, great progress! I just installed the new version, and while the more tag funciton is working perfectly, I’m having some problems with the links it’s creating in the new forum post that heads back to the original post in WP – it’s spitting out my IP address instead of the installation’s URL, and isn’t linking to the correct URL – and it doesn’t make the “Reply!” text on the WP pages link to the new post in the forums. Anything you’d like me to try out to see if we can get it working?

    In reply to: bbSync

    Thanks so much fel, that got everything working!

    In reply to: bbSync

    Thanks fel, that worked. Now my problem is it won’t let me in to the admin area – if I try to go to /path_to/forums/bb-admin/ it just spits me back out in /forums/. I figured this must have something to do with the rewrite rules, but I tried accessing them /path_to/forums/bb-admin/rewrite-rules.php and the same thing happens as when I try to access the normal admin area.

    In reply to: bbSync

    Ah ha! There aren’t any records in bb_forums, but the table is there. Any suggestions?

    In reply to: bbSync

    Well crap.

    I tried to upgrade to the new version of bbPress today, and now my entire setup is, well, broken. All I get from the forums is “Doesn’t look like you’ve installed bbPress yet, go here.” yet I have already installed them (it gave me this earlier, so I went in, cleared the database tables as there wasn’t anything important in the forums yet, and reinstalled completely) and have confirmed this by checking the database to make sure everything was there. Now I can’t post anything in WP because every time I try, the bbPress install gives me the same “Doesn’t look like…” message. I’ve gone ahead and disabled bbSync until I can figure out what is up.

    In reply to: bbSync

    Fel: I just made a small change to the felbbreplies(); function in order to get a reply link on pages where there aren’t yet any replies. I simply added echo '<h3><a href="' . bbreplylink() . '">Reply!</a></h3>'; to the else clause. If the topic has been created in the forums, it works perfectly, if not, the “Reply!” button simply links to the current page. Not ideal, I know, but it at least makes sure that the reply link appears, whether there are previous replies or not.

    I actually just installed the Upload Avatars plugin, but it doesn’t seem to be working correctly with bbsync – the<?php bbreplyavatar(); ?> portion of felbbreplies(); is returning the following on the WP pages: <img alt="admin avatar" src="http://path_to/wp/forums/avatars/" class="avatar" /> So it appears to know which directory contains the avatar, but doesn’t include the avatar’s file name.

    *Update* – I have just noticed that new forum replies don’t appear back in WP unless the original post is re-saved.

    In reply to: bbSync

    fel: Disabling the “Do you want me to load bbPress whenever to …” checkbox worked! I’m now getting the replies from the forum topics on indie pages. Just a few quick questions:

    How do you keep it from posting the entire original entry in the forums? (I know the “How much of your blog post do you want shown on the forums? Set it to 0 to get the full post.” option is there, but I don’t quite understand how to use it – for example, make it stop at the <!--more--> tag.)

    What are the rest of the tags (other than <?php felbbreplies(); ?> ) that we can use? I can go ahead and test them out, to make sure that the rest of them are working as well.

    Sneaky: Don’t worry! :)

    In reply to: bbSync

    fel: Success! I added $bb_roles to config.php, and it’s now creating new forum topics upon save of the post. However, it is still giving me the “Fatal error: Call to undefined function: get_topic() in /path_to/wp/wp-content/plugins/bbsync/bbsync.php on line 412” when I call <?php felbbreplies(); ?> on my indie pages, if the corresponding forum topic has replies – it doesn’t do anything otherwise. Any suggestions?

    In reply to: bbSync

    Fel,

    Thanks for the quick reply. I replaced the version I had with the version you just linked, and added the global $bbdb, $bb_cache; and I am now getting this message when I attempt to save a post:

    “Warning: array_filter() [function.array-filter]: The second argument, ‘Array’, should be a valid callback in /path_to/wp/forums/bb-includes/capabilities.php on line 275

    Warning: Invalid argument supplied for foreach() in /path_to/wp/forums/bb-includes/capabilities.php on line 279

    Warning: in_array() [function.in-array]: Wrong datatype for second argument in /path_to/wp/forums/my-plugins/forum-moderators.php on line 52

    Warning: in_array() [function.in-array]: Wrong datatype for second argument in /path_to/wp/forums/my-plugins/forum-moderators.php on line 52

    Warning: Cannot modify header information – headers already sent by (output started at /path_to/wp/forums/bb-includes/capabilities.php:275) in /path_to/wp/wp-includes/pluggable.php on line 329″

    In reply to: bbSync

    fel64,

    Thanks for all the hard work you put in on this. I just installed the latest (I assume) version of bbsync on my site, and I’m getting the following error message when I try to save a post in WP:

    “got opshuns

    got bb

    got currentuserinfo

    Fatal error: Call to a member function on a non-object in /path/to/my/forums/bb-includes/functions.php on line 607″

    I added “global $bbdb;” to my bbpress config.php like you suggest, and it didn’t seem to make any difference. As well, when I use the “<?php felbbreplies(); ?>” call on my indie pages I get the following:

    “doin’ felwptobb

    pre-query in felwptobb. bb_topicmeta = bb_topicmeta

    felwptobb post-query, topic_id = 2

    ~ 21:36 15th Jun 07 admin

    blah blah blah this is a test reply

    Fatal error: Call to undefined function: get_topic() in /home/.reactor/starrett/lifthill.com/wp/wp-content/plugins/bbsync.php on line 432″

    So it is bringing in and displaying the replies, but then it gives the error.

    I’m running WP 2.2 and BB 0.8.1.

    Thanks!

Viewing 13 replies - 1 through 13 (of 13 total)