News: TinyPortal Release Schedule. Please read this update for More Info.

Login  |  Register
HTML5 Icon HTML5 Icon
TP on Social Media
Welcome, Guest. Please login or register.
Did you miss your activation email?

September 20, 2019, 08:49:34 PM

Login with username, password and session length

Recent

Members
Stats
  • Total Posts: 188921
  • Total Topics: 20754
  • Online Today: 130
  • Online Ever: 629
  • (November 08, 2018, 01:36:54 PM)
Users Online
Users: 0
Guests: 41
Total: 41

Author Topic: "Reply with Quote" function; Simplicity Theme  (Read 7871 times)

0 Members and 1 Guest are viewing this topic.

culpeper

  • Guest
"Reply with Quote" function; Simplicity Theme
« on: June 22, 2005, 12:51:27 PM »
Is there a mod that would change the quote command to italic when using the "Reply with Quote" function when responding to a post.  I have disabled the BBC "quote" (using Admin/Edit Features and Options/Disable BBC Code) and when using the "Reply with Quote" it will post the quote in regular font.  Instead, I would like it to post the quote in italic font.

In other words, I have disabled the quote function but the "reply with quote" still works by posting the quote in regular font.  I don't mind this but would prefer the quote in italics to separate it from the rest of the post that the poster will be typing.


Bjørn

  • Guest
Re: "Reply with Quote" function; Simplicity Theme
« Reply #1 on: June 22, 2005, 06:24:25 PM »
Probably you would be better off turning the bbc code back on, and then adjust the class .quote and .quoteheader(i think) in style.css. Just remove background-color, borders etc. leaving only font-style: italic;.

culpeper

  • Guest
Re: "Reply with Quote" function; Simplicity Theme
« Reply #2 on: June 22, 2005, 06:37:02 PM »
I'll look into that and thanks.

culpeper

  • Guest
Re: "Reply with Quote" function; Simplicity Theme
« Reply #3 on: June 22, 2005, 07:16:35 PM »
That works by making the changes to the different color *.css file.  After making the change I decided I like the original format better.   :D

Bjørn

  • Guest
Re: "Reply with Quote" function; Simplicity Theme
« Reply #4 on: June 23, 2005, 02:21:16 AM »
..of course, I forgot. Blue.css, red.css etc. ;)

culpeper

  • Guest
Re: "Reply with Quote" function; Simplicity Theme
« Reply #5 on: June 25, 2005, 10:55:05 AM »
Can the "reply with quote" function  below a post be replaced with "reply" function  instead?

Bjørn

  • Guest
Re: "Reply with Quote" function; Simplicity Theme
« Reply #6 on: June 26, 2005, 02:23:02 AM »
Yes, but you need to change quite a few code bits in the template.


culpeper

  • Guest
Re: "Reply with Quote" function; Simplicity Theme
« Reply #7 on: June 26, 2005, 10:12:32 AM »
I wouldn't want to go beyond a small line change or two in order to make a change.  It's not that important or imperative. ;D  Thanks for the response and information.

culpeper

  • Guest
Re: "Reply with Quote" function; Simplicity Theme
« Reply #8 on: July 06, 2005, 07:25:28 PM »
Well, let me ask something.  If the BBC quote function was disabled is there a simple code change to add italics when only using the "reply with quote" function?  With the BBC quote function disabled and using the "reply with quote" function the post before actually posting will look something like this:

Code: [Select]
[quote author=syd joseph link=topic=101.msg753#msg753 date=1120410249]
Kind of has a nice ring to it.  I think I'll start a band.[/quote]

and will looks this after posting:

Kind of has a nice ring to it.  I think I'll start a band

changed to something like this:

Code: [Select]
[i][quote author=syd joseph link=topic=101.msg753#msg753 date=1120410249]
Kind of has a nice ring to it.  I think I'll start a band.[/quote[/i]

and will look like this after posting:

  Kind of has a nice ring to it.  I think I'll start a band.
I guess what I am trying to describe is adding the italic command to the "reply with quote" function.

culpeper

  • Guest
Re: "Reply with Quote" function; Simplicity Theme
« Reply #9 on: July 06, 2005, 09:47:35 PM »
Ah, I found the line in post.php

Code: [Select]
$form_message = '[quote author=' . $mname . ' link=topic=' . $topic . '.msg' . (int) $_REQUEST['quote'] . '#msg' . (int) $_REQUEST['quote'] . ' date=' . $mdate . ']' . "\n" . $form_message . "\n" . '[/quote]';

But now I need to know how to put a couple of line breaks after the /quote command.
« Last Edit: July 06, 2005, 11:00:37 PM by culpeper »

Bjørn

  • Guest
Re: "Reply with Quote" function; Simplicity Theme
« Reply #10 on: July 07, 2005, 02:26:17 AM »
Isn't it easier to just change the stylesheet - the style - for quotes? Its quite easy to just set .quote to font-style: italic.

You can also set a margin-bottom: 20px; on that, so you get spaces after the quote.

culpeper

  • Guest
Re: "Reply with Quote" function; Simplicity Theme
« Reply #11 on: July 07, 2005, 07:26:40 AM »
It's easier that way if you have the quote function enabled as you suggested at first.  But with the BBC quote function disabled and using the 'reply with quote", in Simplicity Theme,  what ends up being posted is the quote in plain text.  Adding the italic command to the "reply with quote" function will post it in italics instead of plain text.  In simplicity you need to go through each color's css file and make the changes to the quote and quoteheader formatting but this is only needed if the BBC quote function is enabled.

Bjørn

  • Guest
Re: "Reply with Quote" function; Simplicity Theme
« Reply #12 on: July 07, 2005, 12:16:28 PM »
I see. Ok, then it would make sense to change the Post.php file instead.

culpeper

  • Guest
Re: "Reply with Quote" function; Simplicity Theme
« Reply #13 on: July 07, 2005, 01:21:03 PM »
Are you in England?

Bjørn

  • Guest
Re: "Reply with Quote" function; Simplicity Theme
« Reply #14 on: July 07, 2005, 01:32:09 PM »
No. I live in Norway. :)

culpeper

  • Guest
Re: "Reply with Quote" function; Simplicity Theme
« Reply #15 on: July 07, 2005, 01:47:10 PM »
Norway! 8)