Which old version?I would love to upgrade from the old version to the new version but I'm afraid of having problems, I have zero problems with the old one and it is still working fine on my board.
I'm running the new version with zero problems..I would love to upgrade from the old version to the new version but I'm afraid of having problems, I have zero problems with the old one and it is still working fine on my board.
There's a dark "default" theme available as an addon theme.I'm using 1.1.3 still because the new version doesn't have dark theme.
There's a dark "default" theme available as an addon theme.
I have the same error.I still get a dozen of these errors a day
- ErrorException: [E_NOTICE] Undefined index: lang
- src/addons/CMTV/Code/XF/BbCode/Renderer/Html.php:36
You can fix this messages by finding posts with CODE tag where "lang" option is missing.I have the same error.
Couple of questions about this add-on.
Firstly, someone mentioned earlier that there might not be a dark theme available. Since my forum uses the default Xenforo theme and Shades of Grey dark theme, is it possible for me to modify the colours myself, so I have one set for the light theme and another for the dark theme?
Secondly, if you install this plugin, but then remove it later on, will that have implications? e.g. does it add extra code somewhere and so reverting back to the normal code functionality provided by Xenforo will has issues?
//Xonokai dark syntax
.bbCodeCode code
{
.prism-token
{
&.prism-namespace
{
opacity: .7;
}
&.prism-constant
{
color: #e6d06c;
}
&.prism-comment,
&.prism-prolog,
&.prism-doctype,
&.prism-cdata
{
color: #6f705e;
}
&.prism-operator,
&.prism-boolean
{
color: #a77afe;
}
&.prism-attr-name,
&.prism-string,
&.prism-number
{
color: #e6d06c;
}
&.prism-entity,
&.prism-url,
.language-css &.prism-string,
.style &.prism-string
{
color: #e6d06c;
}
&.prism-class-name
{
color: #2196f3;
}
&.prism-selector,
&.prism-inserted
{
color: #a6e22d;
}
&.prism-function
{
color: #a6e22d;
}
&.prism-atrule,
&.prism-attr-value,
&.prism-keyword,
&.prism-important,
&.prism-deleted
{
color: #ef3b7d;
}
&.prism-regex,
&.prism-statement
{
color: #76d9e6;
}
&.prism-placeholder,
&.prism-variable
{
color: #fff;
}
&.prism-important,
&.prism-statement,
&.prism-bold
{
font-weight: bold;
}
&.prism-punctuation
{
color: #bebec5;
}
&.prism-entity
{
cursor: help;
}
&.prism-italic
{
font-style: italic;
}
}
}
.bbCodeBlock--code .bbCodeBlock-content
{
background-color: #2a2a2a;
color: #f5f5f5;
}
Code 2.1.0 was rewritten from scratch. It is not compatible with previous addon version and XF below 2.1 but it can handle code block titles from previous addon versions! There is no way to upgrade existing addon!
ErrorException: [E_NOTICE] Undefined index: lang src/addons/CMTV/Code/XF/BbCode/Renderer/Html.php:36
We use essential cookies to make this site work, and optional cookies to enhance your experience.