@pitaj Global widget is not what I want, as when user click some link inside the forum, the widget loads once again, that is not what I want. I need something like navigation bar.
Welcome to join us!
Qt Dream is a young and active community, so many Qt developers and contributors share their ideas and knowledge to others. We hope that Qt Dream will be better and better.
Posts made by jiangcaiyang
RE: Is there any place for a <div> to run across the site
Is there any place for a <div> to run across the site
As NodeBB is partially updated, I wonder if there is a container for a widget or <div> to run across the site. Navigation bar is an example, but there is no user-defined container available till present.
RE: Why Plugin nodebb-plugin-soundpack-default not play mp3 ?
I met the problem, It is maybe not updating fileMap.json. I don't know how to fix it.
nodebb-widget-image-carousel failed to load
When I enable this plugin, I have the following problem:
jQuery.Deferred exception: $(...).unslider is not a function TypeError: $(...).unslider is not a function at http://localhost:1111/assets/nodebb.min.js?v=1lv3pl83i9m:1:445193 at dispatch (http://localhost:1111/assets/nodebb.min.js?v=1lv3pl83i9m:1:46934) at g.handle (http://localhost:1111/assets/nodebb.min.js?v=1lv3pl83i9m:1:44855) at Object.trigger (http://localhost:1111/assets/nodebb.min.js?v=1lv3pl83i9m:1:76254) at http://localhost:1111/assets/nodebb.min.js?v=1lv3pl83i9m:1:76887 at Function.each (http://localhost:1111/assets/nodebb.min.js?v=1lv3pl83i9m:1:5723) at x.fn.init.each (http://localhost:1111/assets/nodebb.min.js?v=1lv3pl83i9m:1:4313) at x.fn.init.trigger (http://localhost:1111/assets/nodebb.min.js?v=1lv3pl83i9m:1:76863) at Object.e.widgets.render (http://localhost:1111/assets/nodebb.min.js?v=1lv3pl83i9m:1:326728) at Object.ajaxify.end (http://localhost:1111/assets/nodebb.min.js?v=1lv3pl83i9m:1:319517) undefined x.Deferred.exceptionHook @ jquery.js:3818 jquery.js:3827 Uncaught TypeError: $(...).unslider is not a function at client.js:2 at dispatch (jquery.js:5183) at g.handle (jquery.js:4991) at Object.trigger (jquery.js:8249) at jquery.js:8327 at Function.each (jquery.js:354) at x.fn.init.each (jquery.js:189) at x.fn.init.trigger (jquery.js:8326) at Object.e.widgets.render (widgets.js:61) at Object.ajaxify.end (ajaxify.js:213)
Then it points to the following code:
Which plugin to choose: nodebb-plugin-emoji or nodebb-plugin-emoji-extended
Who do better? I am confused.
Problem on upgrading 1.7.3: semver problem
Hello, long time no visit this site. Recently I updated my forum to 1.7.3, but gets error on
./nodebb upgrade. Here is the output:
/node_modules/semver/semver.js:293 throw new TypeError('Invalid Version: ' + version); ^ TypeError: Invalid Version: upgrades
more sensitive data omitted
It seems the new version of code has problem.
Any hook to nodebb build to perform custom steps
Is there any hook to perform custom steps, I need to change some text in .tpl file. I am using
sedcommand to perform replacement, this step need to be placed before "nodebb build", and another replacement using
sedneed to be placed after "nodebb build". So I need the hooks, or is there any way to modify source code to get the same results? Thanks in advance.
passing a string is deprecated
I am totally get confused by the output message:
winston.warn('[widgets.render] passing a string is deprecated!, filter:widget.render:' + widget.widget + '. Please set hookData.html in your plugin.');
There isn't any full example showing the correct way to code.
So I turn the forum for help, is there any people who could give me an example showing how to let the warning not showing?