Post Reputation Support & FAQ
← Back to Support & FAQ — Help for Post Reputation
In MyBB 1.6, the ability to give reputation for a user's posts was added. Post Reputation goes a step further by allowing users to vote on a user's post, whether they like it or whether they hate it.
The powerful nature of Post Reputation means you can control which groups do what and in which forums. The customized permissions also allow you to control negative reputation, reputation in closed threads and whether or not the reputation given physically affects the user's main reputation.
Installing Post Reputation
To install this Feature, unzip the contents directly to your forum root (or upload following the download folder's structure). Visit the MyNetwork Overview in your ACP and then select the Core Module. The Post Reptuation Feature should be listed in the available features. Simply open the Options menu and select Install.
When installed, the Post Reputation feature adds columns to the forums (postrep_cache), posts (post_reputation) and usergroups (4 columns, permissions-based) tables. It also adds 6 MyBB settings, 2 MyNetwork template groups and 7 MyNetwork templates. It also alters the showthread.css stylesheet for all themes installed.
Through the installation process, the usergroups that are allowed to use MyBB's Post Reputation are added to the MyNetwork Post Reputation system. You can change this by following the setup instructions below.
After installing the Feature, please check your showthread.css stylesheets to ensure the Post Reptuation styles have been added. If they haven't, please see the Support and Known Issues section below.
Setup Post Reputation
After installing the Feature, you need to alter some settings to be able to use it. The settings are found in the Reputation setting group in the Configuration tab in your ACP.
You first need to set which forums can use Post Reputation. In 1.1, you can select from a list of your forums. Hold down ctrl to select multiple forums. To select all forums, select the first forum (make sure it's highlighted) then hold down the shift button. Scroll down the list to the last forum and click on it (while still keeping hold of shift). Selecting all forums will be better managed in 1.1.1. The other settings affect how Post Reputation behaves.
Now you need to choose what your usergroups can do. When you edit a usergroup through the ACP, there will be a new section in the Users & Permissions tab called Post Reputation. These are the default settings, so make sure they are set as if they can use Post Reputation everywhere on your forum. If you have custom forum permissions, you can choose to update these when you edit the usergroup.
You also have the ability to manipulate the permissions per forum too. For example, users might not be able to influence MyBB reputation except for a support forum or maybe a story-board section. To edit these permissions, edit a forum and you'll find a new tab here called Reputation Permissions. Here you'll find the same drag and drop system as you use for forum permissions - just switch around what is allowed and disallowed and it will override the usergroup permissions. Please note that you can set permissions for an entire category of forums by editing their parent category and setting the permissions here instead.
Post Reputation 1.1 allows you to place the voting controls in any postbit template. Just simply drop the following code in any template found in the Post Bit Templates group (any template that starts with postbit_) and this is where the voting controls will appear.
Using Post Reputation
After editing the templates, you're ready to go. Just head to a Post Reputation enabled forum and you'll find the voting controls wherever you've put them. Clicking on a control will increase or decrease the post's reputation (if you have set it to include negative reputation that is). If the usergroup is able to affect MyBB reputation, then the increase or decrease will also affect the user's reputation count. The post vote will appear in the user's reputation profile regardless of whether the given user's group is able to affect it or not - a simple note appears alongside the vote to say it doesn't affect the reputation if this is the case.
Support and Known Issues
Sometimes, the install procedure can't add the Post Reputation styles. To rectify this, you need to add the below CSS classes to the showthread.css stylesheet of the affected themes.
You can, of course, alter these to your liking. The Post Reptuation controls are styled to match the MyBB default theme.
Once you've installed the Feature, head to your home page and view the source - find where the stylesheets should be, and see that they are linking to their flat files and not dynamically being linked in. For example, a dynamic file will be linked to css.php whereas a flat file will be something like global.css.
If you do see css.php in your source code, go into your theme's stylesheets and edit each individual one - don't make any changes, just go to the edit page and hit save. This will re-cache the stylesheet. It's a known problem on some hosts, and it's because of some magic voodoo.
For MyAlerts compatibility you may need to modify MyAlerts for Post Reputation to fully work with the alerts system. Open ./inc/plugins/myalerts.php and, around line 1300, find:
You need to change it to:
If your file already looks like this then you do not need to modify the file and Post Reputation and MyAlerts will work together.
I can't see the controls!
If you visit a forum and there are no voting controls, please make sure you've got the permissions set correctly for both your usergroup and in the forum settings. If you think they're set correctly, and you've placed the Post Reputation tag correctly in a postbit template, then please start a support thread.
There are no other known issues for this Feature.
If you require support with this Feature, please use the MyNetwork Support Forum