FlaskBB
A lightweight forum software in Flask
sh4nks's Avatar
Administrator
offline
128 posts

What is the question? Was ist die frage?

Actually, I have been inspired by FluxBB and MyBB ;)

Thanks for the kind words! ☺️

Hey, welcome on board πŸ™‚ πŸ‘‹!

The Purge is complete -- over 1000 user accounts were deleted.

PS: I am sorry if I deleted a non spam/bot account.

πŸ˜„

I'll be deleting all accounts with less than 1 post in the next couple of days.
Most of these accounts are spam accounts.

Thanks for the info!

btw, you could also create your own "wsgi.py" file and point your configuration to it.

Hey,

sorry for the confusion but the landing page (flaskbb.org/*) are just a couple of static pages -- and the forum (forums.flaskbb.org) is running FlaskBB.

The code for the flaskbb website is here: https://github.com/flaskbb/flaskbb-website

shing wrote:

translates as: "Have a test"

:)

Hehe. I really have to implement the ability to change topic titles again..

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.

shing wrote:

oh just 'flaskbb upgrade'?

to install flaskbb just type flaskbb install

shing wrote:

How do you migrate changes to settings.py?

thanks in advance :)

what do you mean?

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.