I've just committed a new version that has a function to search cmBB for articles created by a specific user. E.g.:Toxyy wrote: ↑Tue Jul 04, 2017 2:18 pm I'll need to get on a demo board to see exactly what yours does, but what I mean is that a user could get his own page to submit his own articles rather than users submitting articles to the only one cmbb
Edit: again this is just going off of the screen shots...
I don't really see categories being used. Maybe each user could have a "hidden" cmbb category with their own link?
./article/search/2
Checkout Github: https://github.com/GerB/cmbb
Code: Select all
[phpBB Debug] PHP Warning: in file [ROOT]/ext/ger/cmbb/controller/edit.php on line 125: scandir([ROOT]/images/cmbb_upload/2): failed to open dir: No such file or directory
[phpBB Debug] PHP Warning: in file [ROOT]/ext/ger/cmbb/controller/edit.php on line 125: scandir(): (errno 2): No such file or directory
[phpBB Debug] PHP Warning: in file [ROOT]/ext/ger/cmbb/controller/edit.php on line 127: Invalid argument supplied for foreach()
Thanks for testing. It's caused because this function assumes the required user dir is in place, which isn't when you write your first article. I've pushed a fix just now.MohamedAG wrote: ↑Sat Aug 26, 2017 10:47 pm Got the following warnings
Solved byCode: Select all
[phpBB Debug] PHP Warning: in file [ROOT]/ext/ger/cmbb/controller/edit.php on line 125: scandir([ROOT]/images/cmbb_upload/2): failed to open dir: No such file or directory [phpBB Debug] PHP Warning: in file [ROOT]/ext/ger/cmbb/controller/edit.php on line 125: scandir(): (errno 2): No such file or directory [phpBB Debug] PHP Warning: in file [ROOT]/ext/ger/cmbb/controller/edit.php on line 127: Invalid argument supplied for foreach()
1- Creating "cmbb_upload" folder in the ROOT image folder
2- and removing ". $this->user->data['user_id']" From line 124 in edit.php
You can style this extension any way you like.No I have to figure out how to style it like this
http://www.free-css.com/free-css-templa ... e216/valet
Thank you so much for your amazing work.