Comments (6)
You should be able to set the board start date using the Board config options section. It would just be another line in the box:
board_startdate;123456789
The other part of your request might be doable from that and probably should be. It appears that right now the post date/time is the same for every single post. This randomizing could prove to be difficult though so we'll see.
from quickinstall.
Thanks, later on I will fork this into my local devs and see if I could help here, is very interesting.
Say I am creating an hall of fame for the TPOTM, it will take care to provide monthly stats since the board's startdate, indeed the Posters needs to have a different post_time at least. I do not have a live environment to backup in order to create an optimal development limbo.
from quickinstall.
@DavidIQ Posts in a topic do not all have the same time. They are posted 1 second apart from each other, so with time displayed like hh:mm it only appears the times may be all the same. However, every post and every topic does have a unique timestamp.
https://github.com/phpbb/quickinstall/blob/master/includes/functions_populate.php#L355
I don't see any benefit to randomizing timestamps (or any way to make such a complicated thing work for such an edge case use), considering you have to deal with a random number of forums, topics and posts, the wildcard board start date, and still manage some semblance of sequentially ordering them among posts within topics, and topics within forums, and user reg dates, etc.
from quickinstall.
Maybe considering ie.:
boardstardate = 5 years ago
tot posts 1000
dividing those 1000 posts per the tot months
not really randomising, I admit I used the wrong word.
from quickinstall.
I guess all of the meyhem goes here, includes/functions_populate..
// Estimate the number of posts created.
// Or in reality, calculate the highest possible number and convert to seconds in the past.
// If one of them is zero this would not be so nice.
$replies = ($this->num_replies_max) ? $this->num_replies_max : 1;
$topics = ($this->num_topics_max) ? $this->num_topics_max : 1;
$forums = ($this->num_forums) ? $this->num_forums : 1;
$this->post_time = time() - ($topics * $replies * $forums);
$this->post_time = ($this->post_time < 0) ? 0 : $this->post_time;
This line
$this->post_time = time() - ($topics * $replies * $forums);
I guess, not tried, we could add a magic against a config['board_startdate'] of some sort and try..
What at the present time it does is to start posting a post/topic every second in the past accordingly to a SUM of variables, since now(),
from quickinstall.
Thanks for your feature request but we've decided to not add this because we don't see added value for QuickInstall.
from quickinstall.
Related Issues (20)
- Error with full text native HOT 4
- [Minor-Bug] Displaying Error when no boards are installed. HOT 4
- Search problems HOT 10
- Warning php 7.2 HOT 1
- 3.3.0 compatibility HOT 3
- 4.0.0 compatibility
- PHPBB_DISPLAY_LOAD_TIME has been removed in 3.3 HOT 1
- Creating a phpBB 3.3.1 board on QI 1.5.0 with php >7.2 fails HOT 5
- PHP 8 support HOT 5
- PHP Warning: in file /includes/qi_functions.php on line 247: Undefined array key "" HOT 1
- Compatibility with phpBB 4 / Doctrine
- PHP 8 - The new board is not populated HOT 1
- Additional board config settings HOT 1
- phpBB 3.2.11 and PHP 7.2.34 install goes in loop forever. HOT 8
- Search index deletion fails on phpBB Native Fulltext HOT 3
- created NRU group has more members than board settings
- QuickInstall 1.6.7 and 1.6.8 loops infinitely HOT 1
- [1.3.x] Lang key "INSTALL_STYLES_EXPLAIN" bad directory reference. HOT 1
- Distinct use of the extra folder HOT 1
- General Error when attempting to instal PHPBB 3.2.2 through EasyPHP HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quickinstall.