GithubHelp home page GithubHelp logo

Comments (9)

halojoy avatar halojoy commented on May 27, 2024

One way would be to have Categories.
The possibility to group several rooms into one category.

from addictive-community.

brunnopleffken avatar brunnopleffken commented on May 27, 2024

Sounds nice, and not hard do implement at all! ;)
If everything works fine, I think this may come in the next release...

from addictive-community.

brunnopleffken avatar brunnopleffken commented on May 27, 2024

Yeah! This is how it looks!

screen shot 2015-06-30 at 12 52 33 am

from addictive-community.

halojoy avatar halojoy commented on May 27, 2024

Good work, Brunno.
When I wrote my forum script, I have an admin function for DisplayOrder. Just by changing a number I can move a forum up and down in the frontpage. I call it 'rank' in my database. We could have rank for category and rank for forum inside a category.

from addictive-community.

brunnopleffken avatar brunnopleffken commented on May 27, 2024

Actually there is a field for displaying order that hasn't been yet programmed...

CREATE TABLE `c_categories` (
  `c_id` int(2) NOT NULL AUTO_INCREMENT,
  `name` varchar(30) NOT NULL DEFAULT '',
  `order_n` int(2) DEFAULT NULL,
  `visible` int(1) NOT NULL,
  PRIMARY KEY (`c_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

I want to create something like this: https://jqueryui.com/sortable/
Drag and drop will make things a lot easier!

Another enhancement that I want to do is to not show any category when there's only one category or the others are empty. In this case, there isn't any division, the "category" is the community itself.

from addictive-community.

halojoy avatar halojoy commented on May 27, 2024

That is most convinient. Drag and drop.
In many places I have seen the use of up-arrow and down-arrows.
I wanted it simple, so I made to fill in numbers in a form input field: 2,1,4,3 etc.

from addictive-community.

brunnopleffken avatar brunnopleffken commented on May 27, 2024

I was thinking... For now I think I'll proceed this way: numbers in an input field.
So I can release v0.6.0 as soon as possible with all those fixes we did last week.

I'll create this drag-and-drop stuff as an enhancement (v 0.6.1 or 0.7.0).

from addictive-community.

halojoy avatar halojoy commented on May 27, 2024

I did a foreach inside the form. Which produce an array in $_POST.
This input array is used to UPDATE the ranking field of forums.
Yes.
You can always fix a drag and drop later. This is something I could not do :)
I can only use PHP in my scripts.
I don't think I will have to show my code. I am sure you know how.

from addictive-community.

brunnopleffken avatar brunnopleffken commented on May 27, 2024

That's it! After a few days busy with other hard works, the commit 087444c closes this improvement suggestion. This will be released soon in v0.6.0.

:)

from addictive-community.

Related Issues (20)

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.