How to merge topics of same category or even better different category in admin ?
sanatisharif
Posts
-
how to merge topics in admin ? -
Plug-in that can give official posts from the unofficial distinction.for example, Suppose we have an expert advisory group to provide advice to the students, in addition to our consulting services, other users of this forum have the expertise to advise that we look, how we distinguish topics and posts them that students easily understand the distinction (age group 14-18 years old)?
-
iterate on nodebb postsusing this plugin - alter all existing content - we can remove all unrecognized bbcode to markdown plugin.
-
iterate on nodebb posts@bentael
our forum:
آموزش مجازی آلاء
Our Association provides for poor students, free and quality education.
Thank you very much, you saved us! -
how to config admin privilages ?I wan't to move all topics to anothe category, show me this error:
ERROR You do not have enough privileges for this action.
I am the admin user the first time it was defined during installation...
-
iterate on nodebb postspre-parse function Syntax:
content = encoding.convert(content,"windows-1252","utf8").toString().replace(/�/gi,'ف');
-
iterate on nodebb posts@bentael yes I wan't this plugin to fix imported posts, also I can't use "Toggle Post-import-tools" because of this issue:
Toggle post-import tools Is disabled! · Issue #143 · akhoury/nodebb-plugin-import
Pre-parse all content with my custom JavaScript and Post-parse all content with my custom JavaScript didn't show any input box when checked or unchecked them. we have this errors on console on home page of this plugin : WebSocket connect...
GitHub (github.com)
-
nodebb 0.9.2 - Some Errors - route, WebSocket, Uncaught Error: Load timeout for modulesin home page:
Running nodebb in DEV mode :
12/12 18:28 [29442] - info: [plugins] Plugins OK 12/12 18:28 [29442] - verbose: [meta/css] Minifying LESS/CSS 12/12 18:28 [29442] - verbose: [sounds] Sounds OK 12/12 18:28 [29442] - verbose: [meta/templates] Compiling templates 12/12 18:28 [29442] - verbose: [meta/js] Minification complete 12/12 18:28 [29442] - verbose: [meta/js] Client-side minfile committed to disk. 12/12 18:28 [29442] - verbose: [meta/templates] Successfully compiled templates. 12/12 18:28 [29442] - info: NodeBB Ready 12/12 18:28 [29442] - info: Enabling 'trust proxy' 12/12 18:28 [29442] - info: NodeBB is now listening on: 0.0.0.0:4567 12/12 18:28 [29442] - verbose: [hotswap] Router with id `auth` replaced successfully 12/12 18:28 [29442] - verbose: [meta/css] admin.css committed to disk. 12/12 18:28 [29442] - info: [plugins/spam-be-gone] Settings loaded 12/12 18:28 [29442] - verbose: [meta/css] stylesheet.css committed to disk. 12/12 18:28 [29442] - verbose: [hotswap] Router with id `plugins` replaced successfully 12/12 18:28 [29442] - verbose: [plugins] All plugins reloaded and rerouted 12/12 18:30 [29442] - warn: Route requested but not found: /vendor/jquery/timeago/locales/jquery.timeago.fa-short.js?_=1449932506270 12/12 18:36 [29442] - warn: Route requested but not found: /vendor/jquery/timeago/locales/jquery.timeago.fa-short.js?_=1449932876822
an I have this errors on Chrome console:
GET http://127.0.0.1:4567/plugins/nodebb-plugin-emoji-extended/images/exclamation.png net::ERR_CONNECTION_REFUSED (index):1665 GET http://127.0.0.1:4567/plugins/nodebb-plugin-emoji-extended/images/grinning.png net::ERR_CONNECTION_REFUSED index.js:153 WebSocket connection to 'ws://forum.sanatisharif.ir/socket.io/?EIO=3&transport=websocket&sid=2Y61E9Zihllh82snAAAD' failed: Establishing a tunnel via proxy server failed. index.js:153 GET http://forum.sanatisharif.ir/vendor/jquery/timeago/locales/jquery.timeago.fa-short.js?_=1449932876822 404 (Not Found)
Forum Config:
varnish on port 80, nginx on port 8082, nodebb on port 4567
varnish config:
backend forum { .host = "127.0.0.1"; # your nginx host .port = "8082"; # your nginx port .connect_timeout = 600s; .first_byte_timeout = 600s; .between_bytes_timeout = 600s; .max_connections = 100000; } backend nodebb { .host = "127.0.0.1"; # your nodebb host .port = "4567"; # your nodebb port .connect_timeout = 600s; .first_byte_timeout = 600s; .between_bytes_timeout = 600s; .max_connections = 100000; } # Only allow purging from specific IPs acl purge { "localhost"; "127.0.0.1"; } import std; # This function is used when a request is send by a HTTP client (Browser) sub vcl_recv { unset req.http.X-Forwarded-For; set req.http.X-Forwarded-For = client.ip; #pipe websocket connections directly to Node.js if (req.http.upgrade ~ "(?i)websocket" || req.http.Upgrade ~ "(?i)websocket") { set req.backend_hint = nodebb; return (pipe); } # NodeBB forum if (req.http.host ~ "(?i)^(www.)?forum\.sanatisharif\.ir$" || req.http.host ~ "(?i)^(www.)?forum\.sanatisharif\.com$" || req.http.host ~ "(?i)^(www.)?forum\.sanatisharif\.net$" || req.http.host ~ "(?i)^(www.)?forum\.sanatisharif\.org$") { set req.backend_hint = forum; if (req.url ~ "^/socket\.io/") { set req.backend_hint = nodebb; return (pipe); # return pass seems not working for websockets } return (pass); } # Allow purging from ACL if (req.method == "PURGE") { # If not allowed then a error 405 is returned if (!client.ip ~ purge) { return(synth(405, "This IP is not allowed to send PURGE requests.")); } # If allowed, do a cache_lookup -> vlc_hit() or vlc_miss() return (purge); } if (req.http.Authorization || req.http.Cookie || req.method == "POST") { # Not cacheable by default return (pass); } return (hash); } sub vcl_pipe { #Need to copy the upgrade for websockets to work if (req.http.upgrade) { set bereq.http.upgrade = req.http.upgrade; } } # This function is used when a request is sent by our backend (Nginx server) sub vcl_backend_response { # Remove some headers we never want to see unset beresp.http.Server; unset beresp.http.X-Powered-By; # For static content strip all backend cookies if (bereq.url ~ "\.(css|js|png|gif|jp(e?)g)|swf|ico") { unset beresp.http.cookie; } # Only allow cookies to be set if we're in admin area #if (beresp.http.Set-Cookie && bereq.url !~ "^/wp-(login|admin)") { # unset beresp.http.Set-Cookie; #} # don't cache response to posted requests or those with basic auth if ( bereq.method == "POST" || bereq.http.Authorization ) { set beresp.uncacheable = true; set beresp.ttl = 120s; return (deliver); } # don't cache search results if ( bereq.url ~ "\?s=" ){ set beresp.uncacheable = true; set beresp.ttl = 120s; return (deliver); } # A TTL of 24h #set beresp.ttl = 24h; # Define the default grace period to serve cached content #set beresp.grace = 30s; set beresp.grace = 6h; set beresp.ttl = 300m; return (deliver); } sub vcl_backend_error { return (deliver); } sub vcl_synth { return (deliver); }
nginx config:
upstream io_nodes { ip_hash; server 127.0.0.1:4567; server 127.0.0.1:4567; } server { listen 127.0.0.1:8082; server_name forum.sanatisharif.ir; root /home/nodeBB/forum/public; port_in_redirect off; access_log off; #home page location = / { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_set_header X-NginX-Proxy true; proxy_pass http://io_nodes; proxy_redirect off; # Socket.IO Support proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } location / { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_set_header X-NginX-Proxy true; try_files $uri $uri/ @proxy; location @proxy{ proxy_pass http://io_nodes; proxy_redirect off; # Socket.IO Support proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } }
-
iterate on nodebb postsI believe you'll need a bit more detail if you'd like assistance on this
please help me to write this plugin:
GitHub - sohrabafard/nodebb-plugin-alter-allContent: execute input JavaScript code on all posts, topics and categories, etc as callback.
execute input JavaScript code on all posts, topics and categories, etc as callback. - sohrabafard/nodebb-plugin-alter-allContent
GitHub (github.com)
-
iterate on nodebb postsanother example this plugin may be used to remove offensive words (profanity filters) on all existing posts or topics.
-
iterate on nodebb posts@julian said:
I believe you'll need a bit more detail if you'd like assistance on this
Hi, suppose you want to replace all word "Adobe" with the word "Adobe Inc." in the forum posts .
So using the above plug-ins, a JavaScript that replaces the word run on all posts and do that jobs.Or suppose you want all ANSI Strings to utf8 encoding conversion, this time the above plug-ins the run a JavaScript code on all posts, topics and categories, etc.
excuse me if my English is poor,
-
iterate on nodebb postsa plugin that execute some java-script as input on strings in noddbb Posts, Topics, Category ,... as callback then update it.
-
migrate to nodeBBUTF8 Converter · Issue #108 · akhoury/nodebb-plugin-import
UTF8 Database Converter have to be used before using NodeBB Import Tool. At this moment nodebb-plugin-import breaks non-latin charakcters. ą > ± ć > æ ę > ê ł > ³ ń > ñ ś > ¶ ż > ¿ SQL System Variables for IP.Board 2.3.x collation_connec...
GitHub (github.com)
-
migrate to nodeBB@julian vBulletin 4,
When I copy any corrupted text in notepad++ and then convert it from ansi to utf8 ,
text will be ok... -
migrate to nodeBBHello,
about "vbulletin" to "nodebb" migration using nodebb import plugin, the contents were transferred as follows:لطÙا Ùقط Úتب Ùˆ جزواتی را قرار دهید ÚÙ‡ نویسنده ÛŒ آن هستید Ùˆ یا از نویسنده ÛŒ آن اجازه دارید.
Who can help me?
-
[nodebb-plugin-blog-comments] Blog Commenting Engine (Ghost, Wordpress widget)@julian thanks, in plugin's readme file, just tell about wordpress and ghost cms, we don't use any cms.
-
[nodebb-plugin-blog-comments] Blog Commenting Engine (Ghost, Wordpress widget)Hi, We have a site in php and have many pages that do not use any CMS.
To comment on this site, JavaScript code Disqus system is placed at the end of each page.
Now we want a forum with "nodebb" be added to the site (as a sub-domain), which is our forum and cover site commenting systems, so we can eliminate Disqus!
I'm wondering if we can add nodeBB to php site, something like disqus.
Best regards,