Advertisement:

Author Topic: Rate That Topic  (Read 118838 times)

Offline slinouille

  • Jr. Member
  • **
  • Posts: 312
    • VAG-Technique
Rate That Topic
« on: August 20, 2008, 02:57:44 PM »
Link to Mod

Rate That Topic

This mod gives the users the ability to rate topics. Here are the features noted in a detailed way:
  • An ultimate admin panel allows you to set every possible setting for the mod
  • A settings to completely disable the feature
  • Ability to disable or set the values and exclude groups for each board
  • Supports both "Default" and "Local" setting for each board
  • Feature to reset the topic ratings
  • Ability to show ratings on message index
  • "Do not show sticky topic ratings" feature
  • Rating log feature feature
  • Rate again and Change rate features
-[SiNaN]

Fix for "unable to load the 'rateadmin' template" error:

../Sources/RateAdmin.php

Find:

Code: [Select]
   loadTemplate('rateadmin');
Replace:

Code: [Select]
   loadTemplate('RateAdmin');
RateThatTopic v2.2.0
By Slinouille


Introduction
This mod gives the users the ability to rate topics.
This mod has been initialy created by Blue Dream for SMF1.1.7. For more details see mode page.
This version is the take over for SMF2.0b4.

Features
o Ability to enable or disable the mod
o Ability to show ratings on message index
o Ability to authorize the mod by board
o Rate again feature
o User friendly way of rating
o Sort by ratings in board view
o Admin can select a delay during which use can't re-rate
o Topic author can't rate his/hers own topic

Installation
Simply install the package to install this modification on the SMF Default Core theme.
Manual edits will be required for other themes.

This mod is compatible with SMF 2.0 Beta 4 Public and above only.

Support
Please use the modification thread for support with this modification.

Changelog
2.2.0 - 05th May 2008
o Added: customizable delay before re-rating

2.1.11 - 25th April 2008
o Added: topic author can't rate
o Bug correction: Database installation log errors

2.1.10 - 23th April 2009
o Correction of a bug when sorting by rating. Thanks to Tanks ;)

2.1.9 - 23th April 2009
o Correction of a bug in TableInstall script. Thanks to Tanks ;)

2.1.8 - 23th March 2009
o Corrected and optimized database installation and update

2.1.7 - 16th February 2009
o Add rating "floating stars" behavior
o Average rate is now a floating number (stars are also "floating")
o Correction of css bug in IE
o Correction of undefined index in error log

2.1.x - February 2009
o Debuging releases for full compliance with SMF2RC1

2.1.0 - 27th December 2008
o Initial release
« Last Edit: May 14, 2009, 04:20:49 AM by slinouille »
Visit VAG-Technique.fr
Take a look to my mods

Offline NeoXII

  • Semi-Newbie
  • *
  • Posts: 52
Re: Rate That Topic
« Reply #1 on: August 20, 2008, 08:40:30 PM »
Hy!! Great mod and idea!!!

But excuse me, where can I found the admin panel after installation?

Whit Firefox and Default theme I can found it  :(  and with IE in admin, Board setting crash...

Thank You very much!
« Last Edit: August 20, 2008, 09:04:53 PM by NeoXII »

Offline [SiNaN]

  • SMF Super Hero
  • *******
  • Posts: 11,509
  • Young and Foolish
    • SimplePortal
Re: Rate That Topic
« Reply #2 on: August 21, 2008, 12:17:16 AM »
Welcome NeoXII. :)

Thanks for the comment. Actually mod doesn't make a change in Boards are in Admin CP. So I have no idea what could be causing that. Do you have an error message displayed?

What is the default language of your forum?
Former SMF Core Developer | My Mods | My Anime List | SimplePortal | Samanyolu Fanları

Offline Nathaniel

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,117
  • Gender: Male
    • Verbtest.com
Re: Rate That Topic
« Reply #3 on: August 21, 2008, 01:41:20 AM »
Nice Mod [SiNaN], this is a useful feature which I have seen in vBulletin. :)

Now, if only there was a SMF 2 Beta version....... ;)
SMF Friend (Former Support Specialist) | SimplePortal Developer
My SMF Mods | SimplePortal

"Quis custodiet ipsos custodes?" - Who will Guard the Guards?

Please don't send me ANY support related PMs. I will just delete them.

Offline Tanks

  • Full Member
  • ***
  • Posts: 583
  • Gender: Male
  • Danish Dude
Re: Rate That Topic
« Reply #4 on: August 21, 2008, 02:16:11 AM »
would be so cool if this was also for SMF 2b :) Thanks anyway :)

Offline jordanid

  • Semi-Newbie
  • *
  • Posts: 79
Re: Rate That Topic
« Reply #5 on: August 21, 2008, 02:32:42 AM »
hey
thank you for the great mod
i installed it , worked 100% fine
but when i rated the topic
i got this problem
"Unable to load the 'rateadmin' template. "
would be very glad if you could help out .

thanks in advance
Essa

Offline Nathaniel

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,117
  • Gender: Male
    • Verbtest.com
Re: Rate That Topic
« Reply #6 on: August 21, 2008, 02:42:16 AM »
[SiNaN],
Looks like popular demand says that you should port this mod for SMF 2 Beta. :D
I can do it if you really don't want too. ;)
SMF Friend (Former Support Specialist) | SimplePortal Developer
My SMF Mods | SimplePortal

"Quis custodiet ipsos custodes?" - Who will Guard the Guards?

Please don't send me ANY support related PMs. I will just delete them.

Offline [SiNaN]

  • SMF Super Hero
  • *******
  • Posts: 11,509
  • Young and Foolish
    • SimplePortal
Re: Rate That Topic
« Reply #7 on: August 21, 2008, 03:27:46 AM »
jordanid:

I'm not sure about the error. Can you provide me a test account so that I can see the error myself?

LHVWB:

If we finish the mod that we are currently working on, why not?



Former SMF Core Developer | My Mods | My Anime List | SimplePortal | Samanyolu Fanları

Offline Nathaniel

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,117
  • Gender: Male
    • Verbtest.com
Re: Rate That Topic
« Reply #8 on: August 21, 2008, 03:47:27 AM »
We are going to finish Simple Portal? I thought that is was an ongoing project! :P

Anyway, sorry for bringing this thread off topic. Won't happen again... ;)
SMF Friend (Former Support Specialist) | SimplePortal Developer
My SMF Mods | SimplePortal

"Quis custodiet ipsos custodes?" - Who will Guard the Guards?

Please don't send me ANY support related PMs. I will just delete them.

Offline NeoXII

  • Semi-Newbie
  • *
  • Posts: 52
Re: Rate That Topic
« Reply #9 on: August 21, 2008, 04:30:19 AM »
Hi [SiNaN]!  ;)

OK the problem is the default language..... how can I use rate topic with italian and an other Themes?

The problem  "Unable to load the 'rateadmin' template. " appear when you clik on stars in the topic.

Thank you very much [SiNaN]!!

Bye  :)

P.s: It's possibile set the time to change rating?


 
« Last Edit: August 21, 2008, 04:48:16 AM by NeoXII »

Offline [SiNaN]

  • SMF Super Hero
  • *******
  • Posts: 11,509
  • Young and Foolish
    • SimplePortal
Re: Rate That Topic
« Reply #10 on: August 21, 2008, 06:24:19 AM »
I think I got the error.

In some servers, files are case-sensitive. Let's try this:

../Sources/RateAdmin.php

Find:

Code: [Select]
loadTemplate('rateadmin');
Replace:

Code: [Select]
loadTemplate('RateAdmin');
But note that, when you click on those stars, you will see the rate log. If you want to rate, you select your rate from the select box at the right, and click "Go!".
Former SMF Core Developer | My Mods | My Anime List | SimplePortal | Samanyolu Fanları

Offline BOS4O

  • Jr. Member
  • **
  • Posts: 239
Re: Rate That Topic
« Reply #11 on: August 21, 2008, 07:03:09 AM »
cant see changes in the admin panel..
i am with the english language
i modified my theme but nothing..
it not works with the default theme either
this is my forum http://lfs-bg.net/
i deleted the mod temporally :)

Offline A.SK

  • Sophist Member
  • *****
  • Posts: 1,187
  • Gender: Male
  • SMF is the best forum tool
    • IT Acumens - A Edu Community
Re: Rate That Topic
« Reply #12 on: August 21, 2008, 07:18:24 AM »
Good Mod Author.

I have installed the mod and found that its taking some board tables width.

But the settings were too good and too easy.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens  -  Demo Smf forum : Chat ITAcumens

Offline [SiNaN]

  • SMF Super Hero
  • *******
  • Posts: 11,509
  • Young and Foolish
    • SimplePortal
Re: Rate That Topic
« Reply #13 on: August 21, 2008, 07:20:52 AM »
BOS4O:

If your theme has its own Modifications.english.php file, you should make the language file edits in that file too.

asudhakar:

You can disable the stars on the Message Index if you want.
Former SMF Core Developer | My Mods | My Anime List | SimplePortal | Samanyolu Fanları

Offline BuЯЯЯЯaK

  • SMF Hero
  • ******
  • Posts: 2,121
  • Gender: Male
  • Burak
    • dinle sevgili
Re: Rate That Topic
« Reply #14 on: August 21, 2008, 07:23:59 AM »
Nice mod @Sinan

Thanks :)

Offline BOS4O

  • Jr. Member
  • **
  • Posts: 239
Re: Rate That Topic
« Reply #15 on: August 21, 2008, 07:43:19 AM »
[SiNaN]

in the default template is not working too
i made all modifications on my template and is not working

Offline [SiNaN]

  • SMF Super Hero
  • *******
  • Posts: 11,509
  • Young and Foolish
    • SimplePortal
Re: Rate That Topic
« Reply #16 on: August 21, 2008, 07:43:59 AM »
Can you see the Admin Panel of the mod?
Former SMF Core Developer | My Mods | My Anime List | SimplePortal | Samanyolu Fanları

Offline BOS4O

  • Jr. Member
  • **
  • Posts: 239
Re: Rate That Topic
« Reply #17 on: August 21, 2008, 08:29:35 AM »
no... i was searching it in the admin panel but i cant find it

Offline (F.L.A.M.E.R)

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,614
  • Gender: Male
  • I am a ninja!
    • adishpatel on Facebook
Re: Rate That Topic
« Reply #18 on: August 21, 2008, 11:03:04 AM »
any manual edits ? I cannot get this right...
Need paid assistance for your forum? CLICK ME!
Email: flamer@simplemachines.org (Stop sending me love proposals! I don't do Internet dating :P)

Offline Rafferty

  • Jr. Member
  • **
  • Posts: 318
  • Gender: Male
    • 16 Air Defence Regiment Members
Re: Rate That Topic
« Reply #19 on: August 21, 2008, 11:05:46 AM »
Sinan I'm receiving the same error on clicking the stars "Unable to load rateadmin Template"

I have checked the source code you suggested and this is OK.
Don't Follow me I got No Idea what I'm Doing