Yeah, as @shing said, you have to set up a reverse proxy. There is a section about that in the documentation (i.e. for nginx: https://flaskbb.readthedocs.io/en/latest/installation.html#nginx)
Glad I could help @shing! :)
It depends on your configuration but by default it should store the logs in the flaskbb/logs
directory.
Glad you like it!
PS: Not sure if you have noticed the lack of activity around FlaskBB - it's just temporary as I am trying to finish my studies which I hope I am done with soon!
Unfortunately, there aren't many themes available for FlaskBB..
I have made 2 myself: https://github.com/flaskbb/flaskbb/wiki#themes
But fortunately a few plugins have been made already: https://github.com/topics/flaskbb-plugin :)
Sorry for my late reply - for some reason I completely missed that you have created a new topic.
To create a new migration, you have to run:
flaskbb db revision "<YOUR_MESSAGE>"
This should create new file in flaskbb/migrations/<random_strings>_<YOUR_MESSAGE>.py
After this you can run
flaskbb db upgrade
and your new column should be created.
Thanks for letting me know. I'll see what I can do next week or the week after. I am on holidays now 😀 🏖️
That might be the reason why there are no spam posts anymore 😅
Thanks for letting me know - will fix ASAP.
haha feel free to delete those spam posts.. every 1-2 days there is at least one :P
ARO wrote:
Testing code:
#!/usr/bin/python import MySQLdb db = MySQLdb.connect(host="localhost", # your host, usually localhost user="john", # your username passwd="megajonhy", # your password db="jonhydb") # name of the data base # you must create a Cursor object. It will let # you execute all the queries you need cur = db.cursor() # Use all the SQL you like cur.execute("SELECT * FROM YOUR_TABLE_NAME") # print all the first cell of all the rows for row in cur.fetchall(): print row[0] db.close()
I may not know how to do that, but is there a way to integrate syntax highlighter?
looks like you got it working after all :)
you can set the syntax of code snippets like this:
```python
You have to create a new migration as well -- flaskbb db revision "my migration"
Please do not use the demo user for support requests.
Did you run flaskbb translations compile
?
now we got actually attacked by some spam bots..
What does Storing debug log for failure in /root/.pip/pip.log
say?
Integration support would be very nice; it would make FlaskBB a useful asset to any Flask application that needs a forum component. Most popular forum software is PHP based which makes integration tricky. I recognize that it's not trivial to implement, though.
I totally agree! After the new Plugin System has been merged into I'll have a deeper look into that.
I am glad you like it! I'll add the translation later today when I am back from work (probably around 19:00 CEST)
leave a reply here
✋
Wingysam wrote:
Not all that cool... Okay, I won't feed the troll.
I have changed it back to demo again ;)
It will always be generated with the 'slug' at the end. You can, however access it with out the 'slug' at the end.