Git Product home page Git Product logo

verifiedprofiles's People

Contributors

danieltj27 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

verifiedprofiles's Issues

Badge is not displayed on profile page

The verification badge is not displayed on the memberlist.php?mode=viewprofile&u=2 page. This I think is related to the fact that the update_username_string() hook has logic which only displays the badge when the full HTML version of the username is requested because in some instances the username is inserted in HTML and breaks the layout.

Reference: update_username_string:L99

An additional if statement should be added within this method to check if the user is on the view profile page and if so, ignore the previous modes check and display the badge.

Some useful references to look at in order to address this:

  • memberlist.php:L757
  • memberlist_view.html:L24
  • functions_content.php:L1513

Auto verify users in a specific group

Add a new feature that will automatically verify users when they are added into a specific group. Add an option (flag) to the group settings that automatically adds the checkmark to a username while it's their default group.

Need to consider what happens if a user has their verification removed manually from their profile by an admin though.

[2.1] Checkmark show in all username locations

This might not be possible, but instead of adding an event for literally every single place in a style, it would be better to instead filter the username HTML that is generated and display the checkmark that way.

It should then show in move places and be more consistent too.

Let admins upload custom verified icon

Admins should have the ability to upload a custom verified icon to the forum to replace the existing icon that comes bundled with the extension. This would allow admins to pick an icon themselves that matches their chosen style.

[2.1] Let users hide their verify checkmark if they want to

There should be a global option to allow users to hide their verification checkmark from their profile if they want to. This should allow them to remain verified but not have the UI (tick icon) show on the forum.

Perhaps this could also be added as a permission... worth thinking about.

Check for hide verify permission in is_badge_hidden()

Check if the user has permission to hide the badge in the is_badge_hidden function.

If a user hides their verification badge but then has the permission removed from their account, the badge will still remain hidden and there will be no way for the badge to appear again. The above function needs to check for this permission setting.

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.