• Recently Browsing   0 members

    No registered users viewing this page.

Tobbe

UserScript: User reputation

Recommended Posts

Born out of the discussion in another thread, I've created a userscript that will display a users's reputation in both the user sidebar (not shown on mobile) and on a user's profile page.

 

This is the thread that started it all

 

This is what the reputation display looks like in the forum post sidebar

Screenshot Topic

 

And on the profile page

Screenshot Profile

 

Install the script from here

https://openuserjs.org/scripts/tlundberg/NerdFitness_forum_rep

 

The script is only tested in Google Chrome, and to install it you need a Userscript Mananger. Personally I use Tampermonkey

Share this post


Link to post
Share on other sites

Changelog

 

2019-12-29 Update readme with user profile screenshot
2019-12-29 v0.5
2019-12-29 Bail on wrong url
2019-12-29 Progressivly longer wait
2019-12-29 Handle `onerror` when fetching rep
2019-12-29 Handle users with just one post
2019-12-29 v0.4
2019-12-29 Show rep on profile page
2019-12-29 Refactor and add some comments
2019-12-29 prettier.js config
2019-12-28 Format source
2019-12-28 Show "fetching..."
2019-12-24 v0.3
2019-12-24 Remove timing
2019-12-24 More descriptive README
2019-12-24 Whitelist xhr acccess
2019-12-24 v0.2
2019-12-24 Add README
2019-12-24 Remove console.logs
2019-12-24 Initial commit

 

TODO:

Use caching for profile page rep

Keep a common cache online somewhere

Add a setting page/screen to toggle showing rep on forum posts and/or profile page

Show rep on new posts you write

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.