Post Reputation v1.0.1

← News & Stuff — Started 20 Oct, 2010

The new version of Post Reputation is now available for download.

This new version, which now directly affects the user's reputation, also adds the ability to remove a vote given on a user's post. All of this is performed inline via javascript - and even the reputation count is updated too!

This was my original plan for MyBB's default post reputation system, before a comment-based system was favoured. It's a shame, but at least we have MyNetwork. Shy

Upgrade
Always remember to download a backup of your database before making any major changes. It's also a good idea to make a backup of files too.

If you're using version 1.0.0, deactivate the feature by visiting the ACP - going to the MyNetwork Core overview page and from the Post Reputation options menu, selecting "Deactivate". Then, simply download the new version and upload all files - making sure that they replace the old ones.

Once this is completed, revisit the MyNetwork Core overview and from the Post Reputation options menu, select "Activate".

Upon re-activation, the upgrade process starts. This process may be intensive, so please perform the upgrade at a quiet time or on a localhost environment during maintenance. It will calculate all of the previous MyNetwork Post Reputation given, and attach it to the users it was given to. It will then calculate the normal reputation given to users for posts via MyBB's post reputation feature, and attach it to the posts it is relating to. After this, every user's reputation is re-calculated to ensure the values are correct.

Obviously, if you have a large user base and an active reputation feature, this will take some time. Please be careful, and if in doubt, please ask! The upgrade here and other forums that tested the feature were all successful.

If the upgrade was successful, you'll see an activation success message. If not, they'll be a fatal error message along the way.

Changes
Pretty much everything changes in 1.0.1. If you do not want Post Reputation to directly affect a user's reputation, then don't upgrade/install.

The upgrade process replaces all default templates and removes the maximum reputation in a day setting - the feature now runs off the usergroup setting instead.

Download
Download Post Reputation v1.0.1
3  
GUYS THIS IS THE BEST

Will install tomorrow.
0  
ryansstuff
21 Oct, 2010, 6:27 am (This post was last modified: 21 Oct, 2010 6:28 am by ryansstuff.)
OMG love it all installed Smile
One thing i think needs changing is Affected forums, is there a way to put that to all? as i am getting quite a few now and remembering to put them all on it is hard.
WOOOO love xekko Heart
0  
@ryansstuff - it's a planned change, although unfortunately it was easier doing it that way than hacking into the ACP form class and replacing the setting with a forum select. I'm working on it though.
0  
@Tomm ah glad to hear it Smile
WOOOO love xekko Heart
0  
brad-t
21 Oct, 2010, 2:47 pm (This post was last modified: 21 Oct, 2010 3:41 pm by brad-t.)
Help, urgent!

What do I place in the postbit template to make the counter appear? I can't see it!!
Quote:The upgrade process replaces all default templates and removes the maximum reputation in a day setting - the feature now runs off the usergroup setting instead.

this is still there for me
0  
http://harajuju.net/Thread-New-feature-H...55#pid2755

My implementation of this feature. As usual, I think it's very important to take your plugin features and make and brand them as your own. Otherwise, it's just, "hey, so i installed a plugin" and that's not very exciting for users, I think.
0  
Brad's implementation of the feature has lead to me to find a nice little bug. If a user has 0 rep (for example, when removing a reputation) and the new reputation is 0, then it actually updates the postbit will null. Obviously, it's not null.

I'd forgotten to apply the patch before releasing it, but the package has been updated so please download the feature again.

You only need to replace the javascript file - ./inc/network/core/javascript/postrep.js.
0  
brad-t
22 Oct, 2010, 5:18 pm (This post was last modified: 22 Oct, 2010 5:58 pm by brad-t.)
Thanks for the update. BTW, it still says 1.0.0 on there.

Another bug: if a certain usergroup has reputation disabled, all rep areas show as "rep added" color/image, and if you try to click it it says "post can't be found". Users who cannot give rep also cannot give rep to a post at all; not sure, but I assumed the implementation would be that they can add a "like" to the post but it would not count towards the recipient's rep.
0  
Suggestion for the future: allow different rep amounts per like depending on forum.
0  

User(s) browsing this thread: 2 Guest(s)