Giter Club home page Giter Club logo

advanced_forum's People

Contributors

anpolimus avatar aries1980 avatar ddrozdik avatar max-kuzomko avatar merlinofchaos avatar michellecox avatar podarok avatar sanchiz avatar zlyware avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

advanced_forum's Issues

Take a look at Harmony forum

Hi all,

I don't know if D8 advanced forum will be a "simple" port from D7, or a complete architectural rewrite all entities based. If the last is the case, please take a look to (entity based) Harmony Forum (https://www.drupal.org/node/2233303) and consider to join forces to output the best D8 forum solution!

Thank you

Private Key Tracking

Might be best to regenerate your keys unless this was intentional?

advanced_forum/provisioning/files/dot/ssh/id_rsa

RoadMap. Features list.

  • Prepare environment #3
    • VM #3
    • D7 #3
    • D8 #5
    • Contribs #4
    • Initial Advanced Forum module #6
  • For ability to build proper Architecture we need to investigate features list that already is in D7 version.
  • After getting full list of features - we need to draw a line over features that covered by core and stable contribs for not copy their functionality, but just reuse it within @drupal-ukraine/advanced-forum project
  • for the list of unique and needed features we need to create Architecture and to approach them as a project for D8

Admin page

Let's create empty admin page(without form for settings).
See advanced_forum_settings_page().

Some examples:
/advanced_forum.routing.yml

advanced_forum.admin_settings:
  path: '/admin/config/content/advanced-forum'
  defaults:
    _form: '\Drupal\advanced_forum\Form\SettingsForm'
    _title: 'Advanced Forum settings'
  requirements:
    _permission: 'administer advanced forum'

/src/Form/SettingsForm.php

<?php

/**
 * @file
 * Contains \Drupal\advanced_forum\Form\SettingsForm.
 */

namespace Drupal\advanced_forum\Form;

use Drupal\Core\Form\ConfigFormBase;
use Drupal\Core\Form\FormStateInterface;

/**
 * Defines a form that configures advanced forum settings.
 */
class SettingsForm extends ConfigFormBase {

  /**
   * {@inheritdoc}
   */
  public function getFormId() {
    return 'advenced_forum_admin_settings_form';
  }

  /**
   * {@inheritdoc}
   */
  protected function getEditableConfigNames() {
    return [
      'advanced_forum.settings',
    ];
  }

  /**
   * {@inheritdoc}
   */
  public function buildForm(array $form, FormStateInterface $form_state, Request $request = NULL) {
    // @todo implement settings form.
    return parent::buildForm($form, $form_state);
  }

  /**
   * {@inheritdoc}
   */
  public function submitForm(array &$form, FormStateInterface $form_state) {
    // @todo implement submit handler.
  }
}

Related to https://www.drupal.org/node/2291273

Admin page children )

Due to #11
We need to fix submit handler for admin page for ability to get form storing options.
Due to changes about variables->config we can start to work on migrations of changed variables for future upgrade path

  • Define default values for form configs #27
  • Fix all @d7 todo items within a form (small issues, can be splitted) #28
  • Approach submit callback #27
  • Add migration for variables->config for future D7->D8 upgrade

Simple coding tasks

When #27 landed there are tasks to be done from code

  1. @todo $node_types = _node_types_build()->types; https://github.com/drupal-ukraine/advanced_forum/blob/8.x-1.x/d8/modules/custom/advanced_forum/src/Form/AdminSettingsForm.php#L83 and https://github.com/drupal-ukraine/advanced_forum/blob/8.x-1.x/d8/modules/custom/advanced_forum/src/Form/AdminSettingsForm.php#L100
  2. Remove/implement https://github.com/drupal-ukraine/advanced_forum/blob/8.x-1.x/d8/modules/custom/advanced_forum/src/Form/AdminSettingsForm.php#L153
  3. Define forum containers https://github.com/drupal-ukraine/advanced_forum/blob/8.x-1.x/d8/modules/custom/advanced_forum/src/Form/AdminSettingsForm.php#L187 and https://github.com/drupal-ukraine/advanced_forum/blob/8.x-1.x/d8/modules/custom/advanced_forum/src/Form/AdminSettingsForm.php#L199
  4. Check image module is the same https://github.com/drupal-ukraine/advanced_forum/blob/8.x-1.x/d8/modules/custom/advanced_forum/src/Form/AdminSettingsForm.php#L206
  5. Port taxonomy vocabulary list https://github.com/drupal-ukraine/advanced_forum/blob/8.x-1.x/d8/modules/custom/advanced_forum/src/Form/AdminSettingsForm.php#L217
  6. Port field_info_instances() https://github.com/drupal-ukraine/advanced_forum/blob/8.x-1.x/d8/modules/custom/advanced_forum/src/Form/AdminSettingsForm.php#L221
  7. Convert system_get_date_types() https://github.com/drupal-ukraine/advanced_forum/blob/8.x-1.x/d8/modules/custom/advanced_forum/src/Form/AdminSettingsForm.php#L282 Simple one
  8. Set default date type https://github.com/drupal-ukraine/advanced_forum/blob/8.x-1.x/d8/modules/custom/advanced_forum/src/Form/AdminSettingsForm.php#L292 - pre Novice )))

Any plans for Drupal 9?

Hi, today I tried to install it in a Drupal 9.1.2 site and got a message that it's not compatible.
It looks like the whole project is abandoned. Do you plane to continue development?

Uninstall behavior

Let's implement uninstall behavior for variables.

Currently when you remove module, it's impossible to install it again.

Migrate forum_access to D8

Quote from #2 :

The ForumAccess module does not yet have a D8 version, although there is a ticket open for porting of it (maintainers could use support). It depends on ACL (Access Control Lists), which has an alpha1 for D8; the ACL maintainers are asking for support to finish the port.

So that is the current status of what blocks using the standard external modules. Some degree of "user access control" functionality might be helpful to build directly into this module if those are not yet stable and/or if helping bring them to a stable release might cause too much delay. Building such functionality directly into this module might not be ideal, but it would effectively circumvent the "blockers".

advanced_forum for Drupal 9.4

Hello. Tell me if there will be a release for Drupal 9.4. I upgraded from Drupal 7 to Drupal 9,4. I really liked advanced_forum. Please update

Lack of contrib modules for D8

Hi guys,

Thanks a lot for working on this! How can we work around the lack of important contrib modules for Drupal 8 that are usually needed for forum functionality, such as Private Messages and the Quote module?

Thanks!

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.