News: Welcome to the TinyPortal Support site.

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

August 21, 2019, 05:11:46 AM

Login with username, password and session length

Recent

Members
  • Total Members: 3751
  • Latest: tom888
Stats
  • Total Posts: 188690
  • Total Topics: 20745
  • Online Today: 41
  • Online Ever: 629
  • (November 08, 2018, 01:36:54 PM)
Users Online
Users: 1
Guests: 28
Total: 29

Author Topic: "Reply with Quote" function; Simplicity Theme  (Read 7844 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 »