| Twiebie |
|
|---|---|
|
I understood through a ticket in Github that it's possible to customize the quotes a bit by using resource strings in theme.php in the theme folder. For example:
$R['forums_code_quote'] = "{\$postername}:\n{\$text}\n\n";
$R['forums_code_quote_begin'] = '';
$R['forums_code_quote_close'] = '';
I've tried this but nothing changes. Am I missing something here? |
| GHengeveld |
|
|---|---|
|
Not sure you got this or not, but resource strings can be defined in themename.php, e.g. nemesis.php. |
| Twiebie |
|
|---|---|
|
Yep, that's exactly what I did. It's not changing anything. |
| GHengeveld |
|
|---|---|
|
You can try to set $theme_reload['R']['forums_code_quote'] in your themename.php. The _begin and _close variants won't work since they don't use cot_rc(). This is a bug. |
| Trustmaster |
|
|---|---|
|
Also plugins such as bbcode or html may overload these resources because they are parser-specific. Please let us know if some of these tricks worked or not. May the Source be with you!
|
| Twiebie |
|
|---|---|
$theme_reload['R']['forums_code_quote'] = "{\$postername}:\n{\$text}\n\n";
Works in themename.php, but obviously without open and close tags it doesn't create a quote and only inserts the text. I guess I could use something like:
$theme_reload['R']['forums_code_quote'] = "[quote]{\$postername}:\n{\$text}\n\n[/quote]";
Should I submit a ticket for this bug? Editing bbcode.forums.php is also an option, but much less desirable as this is a change in the system instead of the theme. Added 24 minutes later: It's not really going to work out with quotes inside quotes. A quote inside a quote is not displayed as a quote, only as plain text. Any idea's on that? Відредаговано: Twiebie (13.06.2012 21:11, 13 років тому) |
| Trustmaster |
|
|---|---|
|
Yes, please create a ticket for _begin/_close problem. As for nested quotes, they've been deprecated since Seditio. I guess the reason is to keep the markup simple. May the Source be with you!
|
| Twiebie |
|
|---|---|
|
Okay, i'll create a ticket for that. Not very user friendly to not have nested quotes. Results in very messy posts when quoting a post that already contains quotes... Added 4 days later: Any chance nested quotes can be implemented again in the system, or perhaps as a plugin? Can this be done with the patterns for bbcodes? It's pretty standard to have working nested quotes in a forum, isn't it? Відредаговано: Twiebie (18.06.2012 22:15, 13 років тому) |