Tomm

Post Reputation v1.1.1

← News & Stuff — Started 9 Mar, 2011 by Tomm

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

This feature has had the following changes:
  • Bug fixes
    • Fixes an issue where the reputation permissions appear in the modal forum permissions (with thanks to @Pirata Nervo)
    • Fixes a setting issue where the wrong description is used
Version 1.1.1 fixes two issues that have been found since v1.1's release at the start of March. Although this new version doesn't fix much, it's to highlight another important issue with MyNetwork's Core itself.

Also, the setting description for "Impose Post Reputation Limit?" in v1.1.0 is incorrect. The value of this setting actually decides whether to show or hide a post with low enough reputation instead of limiting the amount of posts users can give reputation to in 24 hours. Since 1.1, Post Reputation uses the usergroup permissions to decide whether or not the user has voted too many times in 24 hours.

Installing
To install Post Reputation 1.1.1, just download the feature and upload the files - keeping the folder structure intact. Then head over to the MyNetwork Overview in your Admin CP, click on the Core Module and beside Post Reputation, select the install option from the Options menu.

Check out the Support & FAQ before installing. Link: Post Reputation FAQ.

Upgrading
If you're still using Post Reputation 1.0, check out the Post Reputation v1.1 Release Thread. It details what's changed in this major version.

For those using v1.1.0, it's up to you whether to make these changes or not although it is recommended. You MUST perform the Core edits mentioned below to ensure you always have access to the Post Reputation settings however, it's heavily recommended you do that.

To upgrade, uninstall Post Reputation from the MyNetwork Overview page in the ACP. Don't worry, all reputation information is saved already in the database! Upload the files from the download following the folder's structure, and then install the feature again via the Overview. You will lose your current permissions doing this process.

Core Edits
@abdonroda and @Pirata Nervo revealed a problem with v1.1.0 where if you had another plugin using the "admin_load" plugin hook, the Post Reputation settings and permissions will not appear. This will only occur if you activate MyNetwork after installing the other plugin - nevertheless still a problem.

To resolve this, perform the following edit. Open ./inc/plugins/myn_core.php and find:

Code:
    if(!is_array($plugins->hooks['admin_load']))
    {
        // We're not in the styles, so load other network plugins
        $plugins->add_hook("admin_load", "myn_core_global");
    }

Replace it with:

Code:
    else
    {
        // We're not in the styles, so load other network plugins
        $plugins->add_hook("admin_load", "myn_core_global");
    }

This will allow Post Reputation to run happily along with other plugins that use the admin_load hook. The above edit doesn't need to be done if you're using Core v1.1.0.

If there's any questions, please feel free to ask. Take a look at the Post Reputation FAQ and the Post Reputation v1.1 Release Thread for more information about Post Reputation 1.1.

Download
Download Post Reputation 1.1.1
8  
Reply
nentab
9 Mar, 2011, 2:49 pm (This post was last modified: 9 Mar, 2011 3:03 pm by nentab.)
Thank you Tomm! I will try! ^^

EDIT: I've tried the plugin and it works perfectly, I have not had any problems. Thanks again Tomm!
1  
Reply
NNT_
13 Mar, 2011, 3:50 am (This post was last modified: 13 Mar, 2011 4:26 am by NNT_.)
Thanks Tomm, i will try to installing it right now.

EDIT: I tried, but i don't see the voting in postbit.

MobiHouse - Bring a new life to your phones
Website: http://mobihouse.tk/
0  
Reply
(13 Mar, 2011 3:50 am)NNT_ Wrote:  Thanks Tomm, i will try to installing it right now.

EDIT: I tried, but i don't see the voting in postbit.

You do this?

Quote:Template Editing
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.

Code:
<!--REP_AREA_{$post['pid']}-->

0  
Reply
Pirata Nervo
13 Mar, 2011, 5:30 pm (This post was last modified: 13 Mar, 2011 5:30 pm by Pirata Nervo.)
Thanks for the update!
0  
Reply
i couldnt see the controls in my forum after i installed it???? so i have to make edits to templates???
[Image: voft6.png]
0  
Reply
Yes - follow the instructions in the FAQ and you'll be post reputating in no time! Normally MyNetwork features alter the templates for you, but for this feature many people wanted a lot of control about where to place the buttons - which is why you need to tell Post Reputation where to put them!
2  
Reply
this is the error i get even after i edited templates as said in FAQ

   

the images are not showing in postbit,and if shown only one image is being showed....
also in settings page i couldnt select all forums.

hope u help me to get rid of this.....
[Image: voft6.png]
0  
Reply
Tomm
18 Mar, 2011, 8:27 am (This post was last modified: 18 Mar, 2011 8:27 am by Tomm.)
The images will show when you have permissions to vote - make sure you have set the usergroup permissions correctly first.

Second, you can't vote on your own post. You'll be able to vote on other's posts only. If the images still aren't showing up, have a look at the source code - if the controls are there (even if there is just the vote count) then they are working properly.

Why couldn't you select all forums? Select the first one in the list, scroll down to the bottom then hold in the shift button - then left click on the last forum. This will select all of them. To select more than one, hold down the ctrl button when selecting forums.
0  
Reply
heres how i face the problem i mentioned all in the image link provided
   

i downloaded the latest version from this site.....
i even edited css and postbit templates..

but still i couldnt get the minus rep button.


permissions are set clearly
[Image: voft6.png]
0  
Reply

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