bbPress Plugin Browser »

Quote (0.2)

Download

Version: 0.2

Other Versions

Last Updated: 2007-3-13

Requires bbPress Version: 0.8 or higher

Compatible up to: 0.8.1

Author Homepage »

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(4)

Your Rating

Author: Michael Nolan

Tags: , ,

  1. Since the author seems to be MIA, here's a fully modified copy with most of the suggestions here a tweak of my own:
    http://pastebin.com/f54da753e

    Nested quotes seem to work okay? Was there a problem?
    Demo of nested:
    http://bbshowcase.org/forums/topic/put-your-test-posts-here?quote=7#post-240

    I'm going to try at some point to make a BBcode version of this that uses dynamic linking (where the link isn't hard coded) so it's less confusing to novice posters. ie.
    [quote=post123]This is quoted[/quote]
    is a bit more clear and easy to follow in the textarea box.

    Posted: 4 years ago #
  2. ithcy

    Member

    thanks __ck__, works great.

    Posted: 3 years ago #
  3. __ck__ you are my hero

    Posted: 3 years ago #
  4. bedbugger

    Member

    does this work in 0.9.0.2?
    thanks :-)

    Posted: 3 years ago #
  5. bedbugger

    Member

    Oh, and one more:

    Sorry to be inexperienced with this stuff but where in the post.php does the following go?

    <textarea name="post_content" cols="50" rows="8" id="post_content" tabindex="3"><?php bb_quote_message(); ?></textarea>

    Thanks again!

    Posted: 3 years ago #
  6. bedbugger

    Member

    Okay, please ignore my previous comments, I got this working.

    Thanks _ck_, it is good!

    However, my users may find the HTML tags alienating.

    Would LOVE to use the dynamic linking version if you have time to create it? Thanks!!!

    Posted: 3 years ago #
  7. I plan to eventually make it work with bbcode instead.
    Just have a billion other things going on right now.

    Posted: 3 years ago #
  8. This doesn't seem to be working out for me. I have the quote link showing, and when I click on it, it takes me down to the input box, but inserts no quote.

    Posted: 3 years ago #
  9. Nekita

    Member

    Great Plugin, thank you so much _ck_!

    Posted: 3 years ago #
  10. Thanks again _ck_ and original creator for their work.

    Posted: 3 years ago #
  11. I want to add a user name for the quote, anyone done any work on this? If not I will probably get it done this next holiday weekend. Probably use the name attribute on blockquote to do the trick with some extra markup.

    Posted: 3 years ago #
  12. winmutt did you see my mod above? It uses the cite tag.

    Posted: 3 years ago #
  13. I did not. Now that I have I have incorporated it into my mod. This is in conjunction with my bbcode_lite mod (http://bbpress.org/plugins/topic/bbcode-lite/#post-2485):

    function bb_quote_message() {
            global $bbdb, $topic;
            $post_id = (int)$_GET['quote'];
            if ($post_id) {
                    $row = $bbdb->get_row("SELECT $bbdb->posts.*, user_login FROM $bbdb->posts,  $bbdb->users WHERE poster_id=$bbdb->users.id AND post_id={$post_id} AND topic_id={$topic->topic_id} AND post_status=0");
                    if ($row) {
                            $row->post_text = preg_replace( '(|
    )', '', $row->post_text );
                            if (function_exists('bbcode_lite')) {
                                    echo htmlentities('[quote="'.$row->user_login.'"]'.$row->post_text.'[/quote]', ENT_COMPAT, 'UTF-8');
                            } else {
                                    echo htmlentities('<blockquote>'.$row->post_text.'</blockquote>', ENT_COMPAT, 'UTF-8');
                            }
                    }
            }
    }
    Posted: 3 years ago #
  14. Still works in alpha 1.06! Great plugin!

    Would be even better if it showed which user was quoted :]

    Posted: 3 years ago #
  15. Well it doesn't seem to work in alpha 1.06 when there's more than one page.

    example: http://www.holysh1t.net/forum/topic/quake-live-invites/page/9

    Posted: 3 years ago #
  16. OK seems like those things are fixed already! Sorry for my excessive spam.

    With the latest update _CK_, there does seem to be a problem. The link to the quotes keep adding a " after each URL, which makes them not link correctly.

    eg. http://www.holysh1t.net/forum/topic/name#post-662"

    Posted: 3 years ago #
  17. circuit

    Member

    there is definitely an extra " being added to the link which causes it not to work. it looks fine when quoted, but if you edit the post containing the quote, you can see the ". it seems to be coming from $quotelink but i can't figure out how or why.

    Posted: 3 years ago #
  18. bedbugger

    Member

    I want to reinstall this after upgrading. Is it working for 0.9.0.4?

    Posted: 3 years ago #
  19. bedbugger

    Member

    So, I have tried an install, with _ck_'s fix. I have got the plugin and am trying to paste in the required code to the template files.

    But one problem: my theme (TooNewsy) has no post-form.php.

    So where do I put it?

    Posted: 3 years ago #
  20. bedbugger

    Member

    If anyone can help with my previous question, it would be MUCH appreciated. :-)

    Posted: 3 years ago #

RSS feed for this topic

Add a Comment »

You must log in to post.