ntvy95 / hide Goto Github PK
View Code? Open in Web Editor NEWA phpBB extension: HIDE BBCode. Based on marcovo Hide BBcode. Tested on phpBB 3.1.9.
License: GNU General Public License v2.0
A phpBB extension: HIDE BBCode. Based on marcovo Hide BBcode. Tested on phpBB 3.1.9.
License: GNU General Public License v2.0
II got this error if I jump to my portal page:
Fatal error: Uncaught Error: Class 'bbcode' not found in /var/xxx/html/FORUM/ext/ntvy95/hide/event/listener.php:213 Stack trace: #0 /var/xxx/html/xxx/ext/ntvy95/hide/event/listener.php(142): ntvy95\hide\event\listener->replace_hide_bbcode_wrapper(NULL, '17kg30pn', '<div style="wid...', NULL) #1 /var/xxx/html/xxx/vendor/symfony/event-dispatcher/EventDispatcher.php(214): ntvy95\hide\event\listener->modify_text_for_display_after(Object(phpbb\event\data), 'core.modify_tex...', Object(phpbb\event\dispatcher)) #2 /var/xxx/html/xxx/vendor/symfony/event-dispatcher/EventDispatcher.php(44): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(Array, 'core.modify_tex...', Object(phpbb\event\data)) #3 /var/xxx/html/xxx/phpbb/event/dispatcher.php(62): Symfony\Component\EventDispatcher\EventDispatcher->dispatch('core.modify_tex...', Object(phpbb\event\data)) #4 in /var/xxx/html/xxx/ext/ntvy95/hide/event/listener.php on line 213
I have phpbb 3.2.7 version installed on my server. Plugin was tested on 3.1.9 but is there no information about compatibility with latest version of CMS.
So, when I create a thread or post I have message on forum top, but looks like all works correct:
Warning: file_exists(): open_basedir restriction in effect. File(./../theme/custom.css) is not within the allowed path(s): (/usr/home/.../domains/.../public_html:/tmp:/usr/share:/usr/local/share/pear:/dev) in /usr/home/.../domains/.../public_html/cache/production/twig/1d/1de536f28e6b3a4cd2516948e7dc7595573f01235aa7aed97728de1b99a0a766.php on line 35
Line 27-39:
{
// line 1
$asset_file = "../theme/custom.css";
$asset = new \phpbb\template\asset($asset_file, $this->getEnvironment()->get_path_helper(), $this->getEnvironment()->get_filesystem());
if (substr($asset_file, 0, 2) !== './' && $asset->is_relative()) {
$asset_path = $asset->get_path();
$local_file = $this->getEnvironment()->get_phpbb_root_path() . $asset_path;
if (!file_exists($local_file)) {
$local_file = $this->getEnvironment()->findTemplate($asset_path);
$asset->set_path($local_file, true);
}
}`
And line 35 is:
`if (!file_exists($local_file)) {`
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.