Customizing SMF > Modifications and Packages
Post Ratings
SoLoGHoST:
Wow, I see what you mean, will fix momentarilly and thanks for pointing that out.
Cheers :)
SoLoGHoST:
Hello, it's because you have it disabled, and I musta missed that :(
Here's how to fix it, and am currently reuploading the package right now.
Open up ./Sources/Post.php and do a search for:
ratings_mode
It should find it in there 2 times. Where it gets defined in $topicOptions['ratings_mode'] change the last words in there from null to 0. And that's it.
Cheers, will upload the package right now.
C4G-TK:
I see where it can be up to the author of a post to choose whether or not their post is able to be rated. But, is there an option to make ALL posts automatically be required to have the post rated?
Bruno36:
SoLoGHoST thank you for this great mod
SoLoGHoST:
Thanks Very Much Bruno :)
--- Quote from: C4G-TK on November 07, 2009, 12:30:26 PM ---I see where it can be up to the author of a post to choose whether or not their post is able to be rated. But, is there an option to make ALL posts automatically be required to have the post rated?
--- End quote ---
If you want all posts automatically set to rated, go into Post Ratings Settings -> Automatic Ratings Setting for Topics, selecting -> All Topics (Enabled) will set all of your topics to enabled on your forum and automatically set new topics created to enabled as well. selecting -> New Topics (Enabled) will not touch any of your old topics, it will only make it so that any topic created after you set this, will be automatically set to enabled.
If you don't want users to be able to enable/disable their own topics for rating it or not, you can do this on a PER BOARD BASIS, in Board Profile Permissions. You should go to the Permissions section, select the membergroup you want to disable this for, and just make sure that Enable Post Ratings (underneath the Topics section) is unchecked for Own and unchecked for Any. If you don't want them to be able to enable/disable rating of posts in any topic (including their own topics), you can also do this for Posts. So underneath the Posts section of the Board Profile Permissions, you will see Disable Ratings (uncheck both, Own post and Any post). There, they will have NO control now, over whether their posts/topics are being rated. This will be completely dependant now on the Post Ratings Admin settings, unless someone who has the permission to do any post/any topic changes this.
Well, hopefully you guys understand as I felt this to be the best and most logical way to implement this.
Cheers :)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version