WordPress.org

Ready to get started?Download WordPress

Forums

bbPress Topics for Posts
Parse error: syntax error, unexpected '}' in .../index. (10 posts)

  1. Webinaut
    Member
    Posted 2 years ago #

    I am getting the following error preventing activation of the plugin: Parse error: syntax error, unexpected '}' in /usr/home/vir138/www/htdocs/wp-content/plugins/bbpress-post-topics/index.php on line 137

    Parse error: syntax error, unexpected '}' in .../index.php on line 137

    http://wordpress.org/extend/plugins/bbpress-post-topics/

  2. Tim S
    Member
    Posted 2 years ago #

    Try deleting the plugin and reloading it. Basically, it sounds as if there's an extra '}' in the code. This could be due to a corrupt download and installation of the plugin

  3. David Dean
    Member
    Plugin Author

    Posted 2 years ago #

    Looks like I left some short open tags in the most recent release, which could be the cause of your problem. They are fixed in the development version, available now, and the fix will be included in the next release.

    Please let me know if that resolved this problem for you!

  4. drsim
    Member
    Posted 2 years ago #

    Thanks alot, i was just going to post the same question and got your reply instead. :) going to try the dev version, hope it works.

  5. drsim
    Member
    Posted 2 years ago #

    It does not let me change the option of
    "Only the [5] [most recent] replies"
    no matter what i enter it always stays 5 in the drop down.
    and it also triggers an error on the post page

    Parse error: syntax error, unexpected $end in C:\xampp\htdocs\pf\wp-content\plugins\bbpress-post-topics\templates\comments-bbpress.php on line 30

  6. David Dean
    Member
    Plugin Author

    Posted 2 years ago #

    drsim - another short open tag, try dev version. :)

    Also has a fix for the reply count issue. Thanks for reporting these!

  7. drsim
    Member
    Posted 2 years ago #

    Thanks David, will have a go in short while.
    One more thing thou. Is there any way that already existing posts or pages with comments can be transferred as topics and replies?
    I already have about 400 posts with a lot of comments. and the reason i want bbpress in my blog so that long discussions can be mvoed to forum. and right now your plugin only work if you publish a new post.
    I have tried bbsyn, it doesn't work.
    It would be nice if you can put an option of migrate of sync in your plugin to convert existing contents to bbpress.

    Thanks in advacne

  8. David Dean
    Member
    Plugin Author

    Posted 2 years ago #

    drsim - that's a pretty big undertaking, and it's complicated by the fact that comments are threaded but replies aren't. This may be coming, but is still very much in the idea stage.

    How would you want threaded comments to be represented in a flat forum topic?

  9. drsim
    Member
    Posted 2 years ago #

    David, threaded comments can be printed as normal replies, and i think this is acceptable. but it is very important to have existing comments moved to replies, other wise we can loose a good amount of discussion data.

  10. drsim
    Member
    Posted 2 years ago #

    here is the website which i am working on.
    http://beta.palestinefacts.org/
    it has very long comments and i want to move all the comments to the forum as topic and replies. and on the post page only 5 recent comments will show and rest will go to the topic page. like your plugin works. but currently if i make comment on the homepage, all the existing comments got away.. i hope you get what i m trying to accomplish here.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic