GithubHelp home page GithubHelp logo

brunnopleffken / addictive-community Goto Github PK

View Code? Open in Web Editor NEW
28.0 28.0 9.0 5.21 MB

The definitive open-source discussion forum software.

Home Page: https://addictivehub.github.io/

License: GNU General Public License v2.0

HTML 27.08% JavaScript 3.64% CSS 31.03% Ruby 38.24%
discussion-board forum php

addictive-community's Introduction

Hi, I'm Brunno! πŸ––πŸ»

  • πŸ’Ό Software engineer from Curitiba, Brazil. Former Professor of Introduction to Programming Languages. Microsoft .NET C# Certified Specialist (heading to AWS Certified Solutions Architect), I have almost 20 years of computer science experience, specialized in programming languages and computer systems.

  • πŸŽ“ Bachelor's degree in Physics from Pontifical Catholic University of ParanΓ‘ (PUCPR) where I'm researcher in the areas of observational astrophysics and spectroscopy. Science advocate and popularizer, I write and maintain a website about Physics and Astronomy.

  • 🌟 I'm also CTO and Chief Software Architect of Sinaxys, a deep-job platform for healthcare professionals; and co-founder of ContaExpert, an online accounting startup.

Stack

Ruby (and the Ruby on Rails framework) is my main programming language since 2016. I'm also experienced in JavaScript/TypeScript, C# and .NET Core and PHP. I've used Python for scientific purposes only. And currently I'm learning Rust.

AWS Ruby C# JS/TS PHP Python Rust

Community

I've contributed to Visual Studio Code, Adobe Brackets (⚰️), Brave Browser and a lot to DIM Destiny Item Manager's new features and translations to Brazilian Portuguese. Throughout my life I created some interesting open source projects:

  • Localizer.js: real-time internationalization of websites in TypeScript.
  • Enchanter: wizard plugin for Bootstrap 5 in TypeScript.
  • Addictive Community: open-source forum software in PHP (archived).

addictive-community's People

Contributors

brunnopleffken avatar halojoy avatar johnforte avatar mariuszszalas avatar medivacruiser avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

addictive-community's Issues

Nice to see Manage Members, but one question

Nice to see you have started with Manage Members.
After all manage forum posts and manage users is the most important in a forum.
So, maybe after next release you can put up a version of Addictive-community
as a support forum, where people can ask questions and post.

Now my question. I see you have very well made a form for Editing member.
But maybe you forgot to add User Group.
I think it should be there with a drop-down menu to change usergroup.

Server info in Community Dashboard

There is a value $_SERVER["SERVER_SOFTWARE"]
that in my case shows: Apache/2.4.18 (Win64) PHP/5.6.19
This tells what server software is used.
This can be added to the Dashboard.

Russian

Russian symbol not allowed! It's Bad!

installation problem

I have a problem with the installation! Try to install the system VPS but steady returns Error!

Unable to connect to MySQL server.

What caused this? On the same server is installed MyBB forum, which work correctly.

fully error log

Hello, man! How to fix it problems? This is error_log

[03-Apr-2015 20:59:08 UTC] PHP Notice: Undefined variable: config in /home/xxxx/public_html/index.php on line 84

[03-Apr-2015 20:59:08 UTC] PHP Warning: mysql_query() expects parameter 2 to be resource, null given in /home/xxxx/public_html/kernel/class.database.php on line 83

[03-Apr-2015 20:59:08 UTC] PHP Notice: Undefined variable: config in /home/xxxx/public_html/index.php on line 84

[03-Apr-2015 20:59:08 UTC] PHP Warning: mysql_query() expects parameter 2 to be resource, null given in /home/xxxx/public_html/kernel/class.database.php on line 83

[03-Apr-2015 20:59:08 UTC] PHP Notice: Undefined variable: config in /home/xxxx/public_html/index.php on line 84

[03-Apr-2015 20:59:08 UTC] PHP Warning: mysql_query() expects parameter 2 to be resource, null given in /home/xxxx/public_html/kernel/class.database.php on line 83

[03-Apr-2015 21:01:30 UTC] PHP Warning: require_once(controllers/public.php): failed to open stream: No such file or directory in /home/xxxx/public_html/index.php on line 122

[03-Apr-2015 21:01:30 UTC] PHP Fatal error: require_once(): Failed opening required 'controllers/public.php' (include_path='.:/usr/local/php54/pear') in /home/xxxx/public_html/index.php on line 122

[03-Apr-2015 21:02:13 UTC] PHP Warning: require_once(controllers/public.php): failed to open stream: No such file or directory in /home/xxxx/public_html/index.php on line 122

[03-Apr-2015 21:02:13 UTC] PHP Fatal error: require_once(): Failed opening required 'controllers/public.php' (include_path='.:/usr/local/php54/pear') in /home/xxxx/public_html/index.php on line 122

[03-Apr-2015 21:02:34 UTC] PHP Strict Standards: Only variables should be passed by reference in /home/xxxx/public_html/controllers/usercp.php on line 85

[03-Apr-2015 21:02:34 UTC] PHP Deprecated: Function ereg_replace() is deprecated in /home/xxxx/public_html/controllers/usercp.php on line 99

[03-Apr-2015 21:02:34 UTC] PHP Warning: unlink(public/avatar/): Is a directory in /home/xxxx/public_html/controllers/usercp.php on line 103

[03-Apr-2015 21:02:34 UTC] PHP Warning: chmod(): No such file or directory in /home/xxxx/public_html/controllers/usercp.php on line 109

[03-Apr-2015 21:04:14 UTC] PHP Notice: Undefined property: Session::$sInfo in /home/xxxx/public_html/templates/default/report.tpl.php on line 31

[03-Apr-2015 21:14:15 UTC] PHP Notice: Undefined property: Session::$sInfo in /home/xxxx/public_html/templates/default/report.tpl.php on line 31

[03-Apr-2015 21:14:53 UTC] PHP Notice: Undefined property: Session::$sInfo in /home/xxxx/public_html/templates/default/report.tpl.php on line 31

[03-Apr-2015 21:15:16 UTC] PHP Notice: Undefined property: Session::$sInfo in /home/xxxx/public_html/templates/default/report.tpl.php on line 31

Release Tasks for Beta 1

  • Admin Control Panel (Admin CP)
    • Member Profile settings
    • Theme management
    • Member banishment
    • Language: Bad Words and Import/Export
  • Room moderators
  • Edit posts
  • Read/unread threads
  • Pagination on...
    • ...Rooms
    • ...Personal messages (inbox and sent items)
  • Review missing friendly URLs
  • Review framework (see #9)

install failed

Problem install: Checking information and connecting to database... FAILED

how to fix it?

In index.php after install redirect put an exit()

At index.php line 67 you have a header location 'install'.
You should put en EXIT after this. Put it at line 68.
Otherwise script continues with line 71 after visiting install.

There is a notice unless you do this, which proves script goes through line 71.

DB Error when update member profile.

I get the following:
An error occoured on the following query: UPDATE c_members SET email = 'my_email_here', hide_email = '1', member_title = '', location = '', profile = '', b_day = '', b_month = '', b_year = '', gender = 'M', website = '', im_facebook = '', im_twitter = '' WHERE m_id = 2;

This one I don't understand. Most fields should accept a NULL ....

edit: When I submit birthday data it is ok.

Set the default language.

I wanted to change the default language.
But this is not possible in Admin CP.
I do not remember if it can be set during Install.

Default language is what Guests will see
and is what members have from beginning.

Good thing you have only english in Admin CP.
This makes it easier to refer when there is issue and question.

Report abuse

Show bug:
Warning: require(templates/default/ajax.phtml): failed to open stream: No such file or directory in /home/m/metaldetru/bb/public_html/index.php on line 182

Warning: require(templates/default/ajax.phtml): failed to open stream: No such file or directory in /home/m/metaldetru/bb/public_html/index.php on line 182

Fatal error: require(): Failed opening required 'templates/default/ajax.phtml' (include_path='.:/usr/share/php5:/usr/share/php') in /home/m/metaldetru/bb/public_html/index.php on line 182

The new installer does not work.

I use here addictive development version.

First I get message there is no config.php.
When I make one empty config.php it is alright.
But in step 2 there is an error connecting to database.

In step 2 should be Requirements.
We can not connect to database when there is no user/password submitted.

First we should add an empty CONFIG.PHP to the files.

Friendly URL

Do you have to do is friendly URL it there is a cache

Update Addictive Community to be PHP7 compatible

While Addictive Community is totally compatible with PHP 5.3 or higher, it's broken in PHP7. Our goal is to make Addictive Community work in PHP7 smoother than ever.

But remember: to make it still compatible with the popular PHP 5.3+ we'll not implement the new PHP7 features, like type declarations or the new operators.

Error

Warning: require_once(sources/adm_templates_edit.php): failed to open stream: No such file or directory in /home/m/metaldetru/bb/public_html/admin/main.php on line 77

Fatal error: require_once(): Failed opening required 'sources/adm_templates_edit.php' (include_path='.:/usr/share/php5:/usr/share/php') in /home/m/metaldetru/bb/public_html/admin/main.php on line 77

Creating new Room database error

I got database error when trying to create a new room.
'rooms' table has one item 'threads'
When I changed this item in database to accept NULL, everything is okay.

forums and subforums

Hello! Can you add and parenting forums, for example the picture? Not only rooms, but also split them.

asd

file extension

Hello! Can you do anything about file backup, integrated with the forum? Forum will play games and I would need something like a file repository + comments and reports to the attachments.
Thanks!

Tried the 0.6.0 install. Get error. Missing 'default'.

When I click Let's Go in step 5 of install I get this from index.php:

ERROR! Language files or keywords are missing for .

Notice: Undefined variable: url in C:\Apache24\htdocs\addictive-0.6.0\kernel\Core.php on line 117

Notice: Undefined index: m_id in C:\Apache24\htdocs\addictive-0.6.0\controllers\Application.php on line 139

Notice: Undefined index: m_id in C:\Apache24\htdocs\addictive-0.6.0\controllers\Application.php on line 143

Notice: Undefined index: usergroup in C:\Apache24\htdocs\addictive-0.6.0\controllers\Application.php on line 108

Notice: Undefined index: usergroup in C:\Apache24\htdocs\addictive-0.6.0\controllers\Community.php on line 79

Warning: require(templates//Community.Main.phtml): failed to open stream: No such file or directory in C:\Apache24\htdocs\addictive-0.6.0\index.php on line 178

Fatal error: require(): Failed opening required 'templates//Community.Main.phtml' (include_path='.') in C:\Apache24\htdocs\addictive-0.6.0\index.php on line 178

There is a 'default' missing in 'templates/default/Community.Main'.
I have looked in the database tables. 'default' is there. So it is some script error.

Obsolete threads

In Admin CP is a setting to enable Obsolete threads.
I have NOT ticked that option.
Still threads more than 60 days old become obsolete.
They should not be obsolete.

URL profile

Hello There! How can I change the URL of the profiles are named? That is not so: profile/1 as: profile/username
Thanks!

can't edit template

ERORR!
`Warning: require_once(sources/adm_templates_edit.php): failed to open stream: No such file or directory in /home/m/metaldetru/bb/public_html/admin/main.php on line 77

Fatal error: require_once(): Failed opening required 'sources/adm_templates_edit.php' (include_path='.:/usr/share/php5:/usr/share/php') in /home/m/metaldetru/bb/public_html/admin/main.php on line 77`

Fatal error in Installer

Fatal error: Call to undefined method stdClass::InstallerDB() in /home/jelen/public_html/community/install/index.php on line 150 what's wrong?

Add Reply INSERT INTO Error

I can create a New Thread with a post to go with it. It works perfectly.
But when I try to Add Reply there is an Error:

"An error occoured on the following query: INSERT INTO c_posts (author_id, thread_id, post_date, ip_address, post, quote_post_id, best_answer, first_post, attach_id) VALUES ('1', '2', '1435050390', '188.122.128.27', 'test for a new post', '', '0', '0', '0');"

installation problem #2

Hello, installation problem # 2....

Error!

Access denied for user 'www-data'@'localhost' (using password: NO)

Addictive Community - (c) 2015 All rights reserved.

Facebook photo

I added my facebook link and selected facebook photo.
But it does not work.

This is the error from facebook:
{
"error": {
"message": "(#803) Cannot query users by their username (hal.ojoy.3)",
"type": "OAuthException",
"code": 803
}
}

Cosmetics. In contoller Community.php

I get a Notice.
Notice: Undefined variable: has_unread_threads in C:\Apache24\htdocs\addictive\controllers\Community.php on line 164

Otherwise I can not see any notices. Which is truly fantastic!

Can't login to Admin page and need further improvement

I like the idea and style of this forum script. However, further improvements need to be made.

When I tried to login into the admin page, it showed:

Not Found. The requested URL /add/admin/auth.php was not found on this server.

Plus, could you please add SEO friendly url, auto generate meta description accordin to the post content instead of homepage description. Also, add canonical tag too. Thanks

Known issues for v0.3.0

  • Chromium-based browsers (like Chrome and Opera 15+) rendering Atom feeds as plain text;
  • Incorrect post and thread count in statistics sidebar right after fresh install.

Security: XXS in Post

when i post <div style="width:100%; height: 100%; top: 0px; left: 0px; z-index:1000; position: fixed; background: red; font-size: 20px;"><center>TEST XSS :)</div>

Something wrong with Installer.

There is something wrong with the 0.5.1 installer.
I can fill in the database user and password.
But when I submit it won't let me connect to database.
Error. Access denied for user '' @ 'localhost'

Probably something with dbname, username or password.
I have tested other software and there is nothing wrong when installing them.

Can't Reply and Forward Message

Error Run Function Fatal error: Call to undefined method Messenger::Reply() in /home/arcestia/public_html/index.php on line 147

SQL Injections. & file Attachments accept .PHP file

hello, please fix its.
usercp/photo?m=1
how to inject usercp/photo?m=1'
ERROR: Notice: Undefined index: 1' in C:\xampp\htdocs\project\controllers\Usercp.php on line 170

attachments accept php file with tamper data addons mozilla firefox.
.php.jpg edit to .php
and shell on public/attachments/3/1436027285/local.php

thanksyou
sorry bad english

New Thread error

Create new thread works for Admin.
But when I try to create New Thread as normal member I get this database error:

An error occoured on the following query: INSERT INTO c_threads (title, slug, author_member_id, replies, views, start_date, room_id, announcement, lastpost_date, lastpost_member_id, locked, approved, with_bestanswer, poll_question, poll_data, poll_allow_multiple) VALUES ('Third Thread', 'third-thread', '2', '1', '0', '1437300554', '1', '', '1437300554', '2', '', '1', '0', '', '', '0');

But no problem posting Reply.

Base Framework rewriting

The current "MVC" pattern implemented in Addictive Community is just a mess. It's not completely object-oriented, and after implementing URL rewriting it became hard to write and maintain. So I decided to rewrite all the core-framework to make it more easy to write, maintain and extend.

Here is what WILL change:

  • Controllers are now entirely object-oriented and has three basic methods: _BeforeFilter() (it runs before Main, e.g. authentication), Main() (the actual Main method) and _AfterFilter() (it runs after Main). There will be no more those large do-everything controller files;
  • URL now follows the controller/id and controller/action/id pattern. So, accessing forum.com/thread/1 - without an specific action -, actually it runs Thread::Main(1). Accessing forum.com/thread/reply, it runs Thread::Reply(), and so on;
  • No more blank templates or exit;. Inside a method, just write $this->layout = false to avoid page rendering. Useful for actions that returns JSON, manipulate MySQL data or any other back-end task;
  • Will be possible and easier to create plugins and extensions for Addictive Community.

It'll take a while to be completed, but worth the job.

Edit post does not work.

I try to edit post I submitted.
When I have changed post and push button 'Edit'
I get this:
"You cannot edit a post that you did not publish."

Deleting post works, but not edit.

article system

Hello! Can you make a page for lessons? Example /articles
Anyone can publish articles and to comment on them, but only if it is logged.

Problem with delete room

Fatal error: Cannot use object of type mysqli_result as array in C:\xampp\htdocs\admin\process.php on line 154

Sending validation email.

I know that my send email works. I just use the php mail() function. I have set the email correctly in Addictive;
smtp.alltele.net
port 25
TLS
But the mailing does not work. I have tried changing the settings in every possible way. Still I get this error:
"Mailer Error: You're unable to send e-mails. Check your SMTP settings"
I am sure it would work with mail(), but you use a more complicated email class.

Update system

With the v0.9 to be released in the coming days with new features (and ever closer to the final version), it is necessary to develop a practical and functional update system.

The main requirement of the future system update is: the community administrator can update to the latest version, regardless of which version he's currently using. The steps involve identifying the current version of the forum system and the latest version; define how many migration steps will be made in the database, and perform all the migration steps.

The expectation is that the new system updates to be deployed in version 0.10, so the development of version 0.10 will be fully focused on this new feature.

Any plan for future demo?

Hey man, I've been looking at your progress on Github and it looks like you're doing some amazing stuff. Are you planning to setup a demo link for this software anytime in the future? Looking forward.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.