I'm trying to split up the quote boxes. What I want to do is make the quote cite separate from the quote body.
Can it be done and how would I do it?
What templates would this be in and what code do I look for?
I want it to go FROM this:
[
attachment=25430]
To look like this:
[
attachment=25431]
Open class_parser.php in inc folder and find
Quote:$span = "";
if(!$delete_quote)
{
$span = "<span>{$date}</span>";
}
return "<blockquote><cite>{$span}".htmlspecialchars_uni($username)." $lang->wrote{$linkback}</cite>{$message}</blockquote>\n";
}
replace it with
Quote: $span = "";
if(!$delete_quote)
{
$span = "<span class=\"float_right\">{$date}</span>";
}
return "<blockquote class=\"author\">{$span}".htmlspecialchars_uni($username)." $lang->wrote{$linkback}</blockquote></blockquote><br /><br /><blockquote class=\"message\">{$message}</blockquote>\n";
}
Save it.
Open global.css that is used by your current forum theme and add:
Quote:blockquote.author {
border: 1px solid #ccc;
margin: 0;
background: #fff;
padding: 4px;
color:#000;
}
blockquote.message {
border: 1px solid #000000;
margin: 0;
background: #fff;
padding: 2px;
color:#000;
}
Oh, so not without a core file edit?
Thanks. Good info, I'll give it a try on my own site. Sadly I won't be able to distribute this in a theme though
In this case only core edit.