Heyuri / kokonotsuba

Heyuri's BBS software
Other
19 stars 12 forks source link

movethread and multiboard #103

Open hachikuji-san opened 2 days ago

hachikuji-san commented 2 days ago

here is 2 new modules: mod_multiboard & mod_movethread

mod_multiboard: is more or less a conf in module-form, it's similar to mod_api. mod_movethread: Moves threads (including files) to target board <- requires above module!

mod_movethread is a little big... which makes me think there should be another singleton similar to PIO but instead of being hard-coded to use the db details in config.php, it has a board object or array as a parameter on each function.

Anyway, tested and works on my instance. if not post errors.