• Resolved trevorNanders

    (@trevornanders)


    When I reply to a forum post by click in the ‘quote’ link, my reply is caught within the original quote. I have to use the tinymce tool bar to click BLOCKQUOTE and DIV off.

    Is this just me (my site) or does it happen to others? and how to stop the reply being caught in the quote?

    thanks

    https://wordpress.org/plugins/asgaros-forum/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Asgaros

    (@asgaros)

    Hello trevorNanders,

    do you have a link for me to check this out? When I make quotes, everything is looking fine. Here is an example:
    http://thomasbelser.net/meine-projekte/asgaros-forum/forum/?view=thread&id=3#postid-5

    Thread Starter trevorNanders

    (@trevornanders)

    What happens is when you click to quote, you are presented with a blockquote of the quote (obviously) but when you start typing your reply, you are WITHIN the block quote and thus, on submitting the post your reply is contained inside the blockquote.

    I have tweaked includes/views/editor.php line 34 thus:

    from
    $threadcontent = '<blockquote><div class="quotetitle"><i>'.__('Quote from', 'asgaros-forum').' '.$display_name.' '.sprintf(__('on %s', 'asgaros-forum'), $this->format_date($text->date)).'</div><i>'.$text->text.'</blockquote>';

    to:
    $threadcontent = '<p><br><hr><blockquote><div class="quotetitle"><i>'.__('Quote from', 'asgaros-forum').' '.$display_name.' '.sprintf(__('on %s', 'asgaros-forum'), $this->format_date($text->date)).'</div><i>'.$text->text.'</blockquote><hr></i><br><br>';

    So I’ve added a few line breaks and a horizontal line to split the quote from the reply text. Seems to work a bit better now.

    Is there a way to make this blockquoted text into italics AND gray text please? I’ve tried to do this myself but for some reason (probably css) my font colours and italics are ignored.

    thanks for the reply.
    R

    Edit css wp-content/plugins/asgaros-forum/skin/style.css

    #af-wrapper blockquote {
        font-size: inherit;
        padding: 10px;
        margin: 10px 0;
        background: rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(0, 0, 0, 0.3);
        border-left: 4px solid rgba(0, 0, 0, 0.3);
        outline: none;
        color: inherit;
    }

    Any kind for yourself.
    If I understand you correctly 🙂

    But it is better do so:

    How can I add my own theme?
    You can add own themes for your forum in the /wp-content/themes-asgarosforum directory (for example: /wp-content/themes-asgarosforum/my-theme). All themes in the /wp-content/themes-asgarosforum can be activated in the forum options. Each theme must have at least those files: style.css, mobile.css and widgets.css.

    Nothing is lost when you update.

    I also have a counter question about quotes.

    Can i use different colors under quotes ?

    I mean whenever i add quotes to any lines it just comes with a different color of my choice.

    Like currently it is white, i just want like light green to appear.

    Here is my link : Mera Status

    I will appreciate any relevant reply.

    Plugin Author Asgaros

    (@asgaros)

    Is this just me (my site) or does it happen to others? and how to stop the reply being caught in the quote?

    I tested it on multiple sites now and everything is working fine. Currently the following code is given to the editor:

    <blockquote><div class="quotetitle">Quote from xyz ...</div>The quote text</blockquote><br />

    As you can see there is already a line-break at the end which should help to start your new answer outside the quote. I dont know, maybe your theme or something else is overriding it. If you could give me a link I could check it. 🙂

    @sunnyn73
    You can style your quotes and anything else with custom css-rules in your theme OR create your own forum-theme. See the FAQ for more information on how to do this.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Quotes’ is closed to new replies.