Skip to main content

PhpBB add topic and post

Project description


pip install PhpBB-Utility


from madyel import PhpBB

if __name__ == '__main__':
    config = {
        'ssh_host': '',
        'ssh_username': 'root',
        'ssh_password': 'password',
        'ssh_port': 22,
        'database_username': 'phpBBUser',
        'database_password': 'phpBBPassword',
        'database_name': 'phpBBDB',
        'localhost': '',
        'port_db': 3306,
    p = PhpBB(config, enable_ssh=True)
    category_id_phpbb = 4
    username_phpbb = "lilli"
    title = "Hello"
    body_post = "Hello World"
    print(p.insert_topic_post(category_id_phpbb, username_phpbb, title, body_post))

Project details

Release history Release notifications | RSS feed

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

phpbb-topic-post-0.9.tar.gz (4.6 kB view hashes)

Uploaded source

Built Distribution

phpbb_topic_post-0.9-py3-none-any.whl (5.1 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page