Coder Social home page Coder Social logo

socialgroups's People

Contributors

dragonexpert avatar xazin avatar

Watchers

 avatar  avatar  avatar  avatar

socialgroups's Issues

SEO Urls for showgroup.php and groupthread.php

I have a baseline working for showgroup.php in a test environment, but I don't think it is that optimal and right now it ends up as .html&action=x for any actions. In my test environment I am running a query against socialgroups table collecting the gid and name columns then doing a str_replace in pre_output_page hook.

Restore Threads & Posts

A feature to restore soft deleted threads and posts. Probably will have it be in the Admin CP.

Privatize Attributes

The attributes in the various socialgroups classes should be private. We will have to make sure this doesn't break stuff before implementing.

Banned Members Per Group

Have a feature where a group can have its own list of banned users. Said users would not be able to see threads, request to join, etc.

View Groups User CP

When viewing the User CP you should be able to view what groups you are a member of.

Who's Online Groups.php No Template

Currently the users browsing is hard-coded HTML. It should use a template. For showgroup.php I used forumdisplay_usersbrowsing_user. You'll need to use the variables $user = array(), $invisiblemark because I'd assume we'd want this, and $comma.

Leader Management Permission Check

In groupcp.php the link to add or remove leaders doesn't show if the person is not the group owner, but there is no actual permission check done if the user goes to the correct url.

Who Posted Feature

Have a Who Posted feature similar to forumdisplay.php. This will not be in the initial release due to requiring a fair bit of Javascript.

AdminCP Navigation Issue

I noticed the navigation tabs weren't being output properly in AdminCP -> Social Groups.

  • Tabs not output correctly
  • Needed to be visually more pleasing
  • Deleting a category required double confirmation
  • Code Generalization

File Verification

Not necessarily needed at first release, but think it could be helpful.

Hook: $plugins->run_hooks("admin_tools_file_verification_check_commit_start");
It would be necessary to globalize the variable $bad_files. $bad_files have the following keys: ['status'] ( changed | missing ), ['path'] = $file_path including the name of the file.

I think the best solution would be to have a file that contains the checksums of all the files the plugin has. Have it do a comparison against that to return any changed files or missing files. Ideally we would also have a plugin hook such that more files are able to be added that aren't part of the core Social Groups.

PHP 8 Remaining Fixes

The files groupcp.php and groupthread.php still have to go through PHP 8 fixes. I understand there are going to be plenty of errors on groupthread.php due to using the build_postbit function which has a lot of PHP 8 issues. The goal is to remove any issues that are caused strictly by our code because once the core of MyBB is fixed for PHP 8, we won't have those errors anymore.

Show Socialgroups Stats on Admin Index Dashboard

Hook: admin_home_index_output_message

Will need to be its own table because MyBB doesn't have a good hook location for this information. For sure the number of groups should be something listed. I'm also thinking the total number of threads and posts also should along with how many are today. I don't think recording the number of unapproved is necessary and that would cause an extra query.

Task for Forum Stats Update

Due to the update_forum_stats function not containing any actual hooks, a task file will need to get created that runs. It might not be easy because the table is using dateline as the primary key instead of an auto incremented value.

Add field dateline to members table

Currently the table socialgroup_members stores the uid and the gid. It does not store what time they joined at. This may be a good feature to have because it provides options to sort by the newest members or oldest members.

Add Announcement Management Group CP

There should be an announcements management screen for the Group CP for individual groups. This would be a lot more intuitive than having to get to the link via showgroup.php.

Show Group Locked Warning

If a group is locked, there should be a warning on showgroup.php and groupthread.php that says so.

Create Cache for categories

The categories do not often change so using a cache would be a good improvement here because then it will be one less database query. Probably it should be called socialgroups_categories because that way if another plugin caches categories, it won't intefere with it.

Easier Template Editing

Currently Social Groups has over 50 templates and that number is only going to increase over time since MyBB doesn't have template conditionals. This makes it much more difficult to find the correct template to edit. My thoughts are to add a tab on the Templates Module of Social Groups that says Edit Templates. It then lets you edit all templates that start with socialgroups_ at one time.

Import Templates Feature

In the Admin Module for socialgroup templates, there should be an option to import templates via a file upload. The user would select which theme the templates get modified on in the file upload screen.

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.