@mj had same statistic sometime, but it was ddos - attack on my forum.
dread
Posts
-
10 million pageviews last 30 days but only 20.000 posts -
Change topics sorting in recent cards pluginEdit2: or maybe something like this topics.getLatestTidsFromSet('cid:1:tids', 0, -1, 'alltime', renderCards);
-
Topic sorting without comment activity -
Change topics sorting in recent cards plugin@pitaj yes, thanks for fast responce, exactly sit the topics by the time the topic was submitted.
Edit: topics.getTopicsFromSet('topics:recent', uid, 0, 19, renderCards); can you add var set; something like 'topics:new' or 'topics:last' or help me how can I do it?( for standalone plugin I know how to do this, but I failed to modificate this plugin. thanks in advise. -
Change topics sorting in recent cards pluginHi. Please help me, how can I change sorting of topics in your plugin https://github.com/NodeBB-Community/nodebb-plugin-recent-cards from lastposttime to time of create of topic(timestampISO) or just from max value of tid to lower. Thanks in advise.
-
Custom Page TitleYiiii!)) Thanks a lot for the "Title of the home page" in admin panel!!
-
Remove accountAt first this option located on https://community.nodebb.org/user/username/edit , and if it is not there - this option is disabled by admin for users. I think you may send your wish to admin or moderator to do it for you.
-
Login with TelegramAlso registration with it. We need to do it with https://github.com/julianlam/nodebb-plugin-sso-oauth I will try sooner or later.
-
Mass delete of one user's messages by administrator.Hi, does it possible to delete selected messages posted by custom user? I saw - it possible to delete multiple post in selected topic, and in users profile there is no checkboxes for delete what I want - only view of user posts or topics. How can I do it softly - I don't want to delete user with content. I can do it only by DB query? thanks in advance!
-
Can`t remove 1 topic from /unread sectionSolution for me was - click "Mark unread" button inside topic - and then in /unread after clicking on issue topic everything was great) but I can not understand how it can be and why it was happened(
-
Can`t remove 1 topic from /unread sectionYeap - restarting and clear browser cache. "Any word count or server side?" - what do you mean - run in dev mode and look - what it told to me? And this topic in /unread doesn`t have blue highlight on link - it is inactive black (
-
Can`t remove 1 topic from /unread sectionHi. I`d try everything - mark all read and chose only this topic read. restarting forum, but still one unread topic remain( what it could be? thanks in advise.
-
Big size of nodebb.sessions in MongoDBEverything good. session was sucsessfully deleted after expired. and NodeBB has good resistant to attacks like ddos under 1.5 million requests by day!
-
Big size of nodebb.sessions in MongoDBThanks a lot and for fast answer!
-
Big size of nodebb.sessions in MongoDBThanks - I will check. Not a lot of traffic for now, but few days ago it was ddos attack on us - may it be the reason of my trouble?
-
Big size of nodebb.sessions in MongoDBThanks. here is output
.......
{
"_id" : "zudIEAcDN-TdO1EoY8ezdf_TEd6btx3a",
"session" : "{"cookie":{"originalMaxAge":1209600000,"expires":"2017-11-18T15:29:02.913Z","secure":true,"httpOnly":true,"path":"/"}}",
"expires" : ISODate("2017-11-18T15:29:02.913Z")
}
{
"_id" : "yoLR3qVOSjfv3_lEjza0FKKcgagQJ24P",
"session" : "{"cookie":{"originalMaxAge":1209600000,"expires":"2017-11-23T06:12:31.671Z","secure":true,"httpOnly":true,"path":"/"}}",
"expires" : ISODate("2017-11-23T06:12:31.671Z")
}
{
"_id" : "15-HQ7qqcI6mlu2I7w569qtteZm2fkIm",
"session" : "{"cookie":{"originalMaxAge":1209599999,"expires":"2017-11-30T12:25:04.445Z","secure":true,"httpOnly":true,"path":"/"}}",
"expires" : ISODate("2017-11-30T12:25:04.445Z")
}
.......
what do you think - is everything normal? -
Big size of nodebb.sessions in MongoDBHi. I have a little problem with MongoDB storage - my collection named "nodebb.sessions" grows too fast after only few month of live working
{
"name": "nodebb.sessions",
"count": 2821032,
"size": 687468454,
"avgObjSize": 243,
"storageSize": 304398336,
"totalIndexSize": 215842816,
"indexSizes": {
"id": 188940288,
"expires_1": 26902528
}
}
can I truncate it? or something else happened with forum? or its normal& thanks in advise. -
How to move all threads from one subforum to another?@nodemode 1-st of all you need to create new subforum, that you will need. Than go to the each of 3 subforum and click button "Topic Tools" ==> "Move all" ==> and select subforum, that you create to move all topics from this subforum. It may take quite a long time if count of topics too large - dont worry.
-
Help needed by searching some variable in template.Template file stored here /nodebb/node_modules/nodebb-theme-persona/templates/partials/topics_list.tpl
And I want to find in this place
<div class="mobile-stat col-xs-2 visible-xs text-right"> <span class="human-readable-number">{topics.postcount}</span> <a href="{config.relative_path}/topic/{topics.slug}/{topics.teaser.index}"><i class="fa fa-arrow-circle-right"></i></a> </div> <div class="col-md-1 hidden-sm hidden-xs stats"> <span class="human-readable-number" title="{topics.postcount}">{topics.postcount}</span><br /> <small>[[global:posts]]</small> </div>
variable called {topics.postcount} - I just want to decrease it by one, but I can`t find its generating in controllers or middleware. thanks in advise.
-
Custom Page TitleHi. I`d try
if (req.path === '/api/' || req.path === '/') { meta.config.browserTitle = '{browserTitle}'; config.browserTitle = meta.config.browserTitle || meta.config.title; meta.config.titleLayout = '{browserTitle}'; config.titleLayout = (meta.config.titleLayout || '{browserTitle}').replace(/{/g, '{').replace(/}/g, '}'); }
in src/controllers/api.js where meta configs defined - but it doesn't work( where I can change core files to modify "Home | " from index page? than i'd try
if (req.path === '/api/' || req.path === '/') { config.titleLayout = (meta.config.titleLayout || '{browserTitle}').replace(/{/g, '{').replace(/}/g, '}') .replace(/|/g, '').replace(/|/g, '').replace(/\|/g, ''); } else { config.titleLayout = (meta.config.titleLayout || '{pageTitle} | {browserTitle}').replace(/{/g, '{').replace(/}/g, '}'); }
after "home": " " in pages.json but I had only "| NodeBB"
also I saw https://github.com/julianlam/nodebb-plugin-canned-responses/blob/master/library.js and your hook addTitles but I dont understand how can i modify <title> on main page with this hook after I choose it with titleMatch = /^/api/$/ or titleMatch = /^/$/
thanks.