Advertisement:

Author Topic: Post Ratings  (Read 125199 times)

Offline C4G-TK

  • Sr. Member
  • ****
  • Posts: 961
  • SHOW others respect & you GET respect in return.
Re: Post Ratings
« Reply #20 on: November 07, 2009, 02:08:00 PM »
OK, great.  I've really liked the Rate That Topic mod, but wanted something that was for every post and not just the first post.  This looks to be like what I need then.  I kind of got confused with all the options on yours! (It doesn't take much.) 

 
-img removed-

Offline SoLoGHoST

  • SMF Hero
  • ******
  • Posts: 1,796
  • Gender: Male
  • Real coders do not need to comment their code!
    • Dream Portal
Re: Post Ratings
« Reply #21 on: November 07, 2009, 02:59:32 PM »
I hear ya.  Well, actually, it takes a lot more than you think.  It's extremely involved when dealing with posts as there are many options that are permitted for posts within SMF, Lock, Sticky, Modify, Disable Smilies, Announce, etc. etc. etc..  So this makes it exceedingly difficult, since you'd have to take all of this into consideration and than some on creating a mod that does anything to actual posts.  The options for Post Ratings are needed to provide flexibility within the mod (to suit your needs better), for all of the things that were considered when creating the mod, to give you control over how it works.  Since what's the point of having something new and/or different, if you have no control over it, or very limited control over it.  You might say that I'm a control freak when it comes to offering control to the END-USER of my projects...lol.  And it's also, because I can't decide on what to do myself.  So if I get stuck within coding on the decision of should I do this?  or should I do that?  I'll normally just say, ahhhh, what the %%&#, let the user decide on what they want and move on.

Cheers :)

Offline C4G-TK

  • Sr. Member
  • ****
  • Posts: 961
  • SHOW others respect & you GET respect in return.
Re: Post Ratings
« Reply #22 on: November 07, 2009, 03:02:51 PM »
LOL

I mean it doesn't take much to get me confused!  LOL :D
-img removed-

Offline SoLoGHoST

  • SMF Hero
  • ******
  • Posts: 1,796
  • Gender: Male
  • Real coders do not need to comment their code!
    • Dream Portal
Re: Post Ratings
« Reply #23 on: November 07, 2009, 03:17:56 PM »
hehe, OK, I gotcha.

Thanks for clearing that up :-X ;)

Offline Freedbot

  • Semi-Newbie
  • *
  • Posts: 21
  • Kills humans!
    • Epic Data Net
Re: Post Ratings
« Reply #24 on: November 07, 2009, 06:30:00 PM »
I noticed when uninstalling and reinstalling the fixed version that uninstalling does not remove the files added to the custom theme folder.  Pretty sure it's only images, but I figured I should mention it.

Offline SoLoGHoST

  • SMF Hero
  • ******
  • Posts: 1,796
  • Gender: Male
  • Real coders do not need to comment their code!
    • Dream Portal
Re: Post Ratings
« Reply #25 on: November 07, 2009, 07:06:38 PM »
Custom Theme folder??  No files should be added by Post Ratings to a custom theme folder.  All files go within the default theme folder.

Are you saying that the files that go into the default theme folder do not all get removed?? 

Here are the files installed:
Code: [Select]
<require-file name="PostRatings.php" destination="$sourcedir" />
<require-file name="postRatings.js" destination="$themedir/scripts" />
<require-file name="enable_ratings.png" destination="$imagesdir/buttons" />
<require-file name="disable_ratings.png" destination="$imagesdir/buttons" />
<require-file name="delete_ratings.png" destination="$imagesdir/buttons" />
<require-dir name="post_ratings" destination="$imagesdir" />


And Here is the uninstall xml code for removing the files installed...

Code: [Select]
<remove-file name="$sourcedir/PostRatings.php" />
<remove-file name="$themedir/scripts/postRatings.js" />
<remove-file name="$imagesdir/buttons/enable_ratings.png" />
<remove-file name="$imagesdir/buttons/disable_ratings.png" />
<remove-file name="$imagesdir/buttons/delete_ratings.png" />
<remove-dir name="$imagesdir/post_ratings" />
<code>postratingsUninstall.php</code>

Seems to be removing the images to me.  What images aren't removed??
« Last Edit: November 07, 2009, 10:40:28 PM by SoLoGHoST »

Offline Freedbot

  • Semi-Newbie
  • *
  • Posts: 21
  • Kills humans!
    • Epic Data Net
Re: Post Ratings
« Reply #26 on: November 08, 2009, 05:48:55 AM »
(copy-pasta'd directly) I mean this..

- Install in Other Themes

                Extract File       ./Themes/BacknBlack201/images/buttons/enable_ratings.png     
      Extract File    ./Themes/BacknBlack201/images/buttons/disable_ratings.png    
      Extract File    ./Themes/BacknBlack201/images/buttons/delete_ratings.png    
      Extract Tree    ./Themes/BacknBlack201/images/post_ratings

These are the same as the files installed to the default theme images folder, they aren't removed upon uninstallation.  This is of course using the packages manager.  It has the choice to install to the custom theme, but doesn't remember it has when you choose to uninstall.

Offline SoLoGHoST

  • SMF Hero
  • ******
  • Posts: 1,796
  • Gender: Male
  • Real coders do not need to comment their code!
    • Dream Portal
Re: Post Ratings
« Reply #27 on: November 08, 2009, 10:18:20 AM »
Well than this is a problem with SMF, nothing I can do about it as a mod author than.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,375
    • StoryBB/StoryBB on GitHub
Re: Post Ratings
« Reply #28 on: November 08, 2009, 12:19:35 PM »
Indeed, this is an SMF issue, because it's never recorded which other themes it has been installed on.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline SoLoGHoST

  • SMF Hero
  • ******
  • Posts: 1,796
  • Gender: Male
  • Real coders do not need to comment their code!
    • Dream Portal
Re: Post Ratings
« Reply #29 on: November 08, 2009, 04:52:59 PM »
Thank You Arantor :)

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,375
    • StoryBB/StoryBB on GitHub
Re: Post Ratings
« Reply #30 on: November 08, 2009, 04:54:48 PM »
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Freedbot

  • Semi-Newbie
  • *
  • Posts: 21
  • Kills humans!
    • Epic Data Net
Re: Post Ratings
« Reply #31 on: November 08, 2009, 07:30:58 PM »
Hmm, that is unfortunate.  I hadn't noticed before.  :-[ I'll have to be careful when next I go to uninstall something.  With all the customization of the theme and color scheme I only use one theme.  I don't even allow the default theme as an option.  The only reason I ever go to the default is to debug any quirks I find on the other theme.

Offline SoLoGHoST

  • SMF Hero
  • ******
  • Posts: 1,796
  • Gender: Male
  • Real coders do not need to comment their code!
    • Dream Portal
Re: Post Ratings
« Reply #32 on: November 09, 2009, 11:48:08 AM »
Ok guys, Post Ratings now compatible with SMF RC2, and actually I like it better with Curve than with the Core theme.  But, than again, I think everything looks better in the Curve Theme as opposed to the Core Theme.

Cheers and Enjoy :)

Offline anewhobby

  • Jr. Member
  • **
  • Posts: 122
Re: Post Ratings
« Reply #33 on: November 13, 2009, 11:34:17 PM »
Dose this work on version 1.1.10?

Offline SoLoGHoST

  • SMF Hero
  • ******
  • Posts: 1,796
  • Gender: Male
  • Real coders do not need to comment their code!
    • Dream Portal
Re: Post Ratings
« Reply #34 on: November 14, 2009, 12:05:43 AM »
No, if you want a 1.1.10 Version of this mod and are willing to pay $20 USD for it, I will do it once I have 10 people interested for this.

Cheers :)

Offline jdvarner

  • Jr. Member
  • **
  • Posts: 251
Re: Post Ratings
« Reply #35 on: November 14, 2009, 08:39:18 AM »
Very Nice mod. Interested in a 1.1.10 version.

Offline vkot

  • Senior Translator
  • Full Member
  • *
  • Posts: 603
  • Gender: Male
  • @}-'-,--
    • vassiliskotaras on LinkedIn
    • kithara.gr
Re: Post Ratings
« Reply #36 on: November 16, 2009, 10:22:07 AM »
The number os voters should be displayed too! A rating gets more credibility when there are many voters and vice-versa.
A topic with a rating of 5 stars by one voter (probably by the creator of the topic) is not better that a rating of 4.5 stars by 100 voters.

This is what I told to the creator of this mod http://mods.simplemachines.org/index.php?mod=91 a long time ago. I haven't seen a rating mod that does what I told, and I wonder why it seems that no-one finds it necessary...
For specialized SMF installation/customization, Web Development, Linux Server Administration, click here.
Για εξειδικευμένες υπηρεσίες στα παραπάνω, πατήστε εδώ.

Offline SoLoGHoST

  • SMF Hero
  • ******
  • Posts: 1,796
  • Gender: Male
  • Real coders do not need to comment their code!
    • Dream Portal
Re: Post Ratings
« Reply #37 on: November 16, 2009, 01:32:42 PM »
Hello vkot,
I agree, and in Post Ratings, it will tell you how many times the post has been rated... Rated 2 times.  And you are not able to rate your own posts or topics.  Have you tried this mod yet?

When I update this mod so that posts in a topic can be ordered by highest/lowest rating, I will be looking at how many times the post has been rated as well.

Cheers :)

Offline anewhobby

  • Jr. Member
  • **
  • Posts: 122
Re: Post Ratings
« Reply #38 on: November 17, 2009, 08:43:06 AM »
Can this mod be set up to only allow rating in the first post?  To basically turn it into a topic rating mod?

Offline SoLoGHoST

  • SMF Hero
  • ******
  • Posts: 1,796
  • Gender: Male
  • Real coders do not need to comment their code!
    • Dream Portal
Re: Post Ratings
« Reply #39 on: November 17, 2009, 01:12:55 PM »
Actually, haven't thought of this or why someone would need this.  But will do in a future version.

Currently, I've been occupied with another mod which seems to be taking up most of my time, so I will get back to this mod eventually with tons of more options for it.

Cheers :)