News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

rateTopic

Started by feeble, January 22, 2008, 10:49:18 PM

Previous topic - Next topic

feeble

Link to Mod

Description: Rate a Post based on your forums Message Icons. The Majority vote changes the message icon for the message at hand.

Aim: To replace the Applaud/Smite Feature of SMF. Based on the work done by Team Gary over at Facepunch Studios

Note: Also the message Icons are a little weird, they don't have any consistent size. At the moment its configured to 16px X 16px. Which makes a few of the icons cramped or misaligned
This can be fixed with appropriate images.
I recommend using something like Bitcons or Axialis Free Icons, just upload the icons to your THEME/images/post/ and add them to your message icons list in SMF Admin

This mod requires Manual theme changes in Custom themes
Manual Theme Changes

Preview



If you require help, head over to SMF Helper

Hoochie Coochie Man

Thanks for the mod.
Can I see a live demo?
İnadına SMF 1.1.X

Apllicmz




myaicons

looks pretty cool...

ill  have to do a manual install.. and i saw there isnt many changes needed...

will this completely remove/disable the current Karma feature ?

i scratch your back you scratch my back...
funny thing about my back is its located on my...

feeble

#4
Quote from: Hoochie Coochie Man on January 23, 2008, 05:33:34 AM<br />Thanks for the mod.<br />Can I see a live demo?<br />
Its being used at the moment over at SMF Helper

Quote from: myaicons on January 23, 2008, 02:23:07 PM<br />looks pretty cool...<br /><br />ill  have to do a manual install.. and i saw there isnt many changes needed... <br /><br />will this completely remove/disable the current Karma feature ?<br /><br /><br />
It will not disable the karma feature mod.

L.G.S

The title totally opposes the description. I clicked the title thinking that you could actually vote on the topic icon (seen when viewing forums) but when you begin to read the description you see it's actually a post that's being rated and not the topic..
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


Hoochie Coochie Man

Quote from: Feeble on January 23, 2008, 02:50:32 PM
Quote from: Hoochie Coochie Man on January 23, 2008, 05:33:34 AM<br />Thanks for the mod.<br />Can I see a live demo?<br />
Its being used at the moment over at [urk=http://www.smfhelper.info/forum/index.php]SMF Helper[/url]

Thanks for the demo
İnadına SMF 1.1.X

perro88

Nice mod thanks, maybe you should try to add a option to disable it or enable it on the X board, or permissions by merbergroups

feeble

Quote from: perro88 on January 24, 2008, 10:06:30 AM
Nice mod thanks, maybe you should try to add a option to disable it or enable it on the X board, or permissions by merbergroups
Good ideas.
Ill probably introduce that in a future patch, just wanted to get something simple out to begin with.

Quote from: Hoochie Coochie Man on January 24, 2008, 01:34:54 AMThanks for the demo
No worries

Quote from: L.G.S on January 23, 2008, 03:18:15 PMThe title totally opposes the description. I clicked the title thinking that you could actually vote on the topic icon (seen when viewing forums) but when you begin to read the description you see it's actually a post that's being rated and not the topic.
I do apologise for this, initially it was only for the First post in a topic, but a couple of days before submission I extended it to all posts under a few recommendations.
The message Icon thou is changed, on the top vote.

diegolyanky

It will be very cool if put a list of rates ( autors ) like on this web:

http://forums.facepunchstudios.com/showthread.php?p=8816968#post8816968

I attached an image with what I mean ;)
SMF ... SimpleMachines ... Simple, but complete if you want it ;)

2pac


falguni1

can you make one more mod to only rate the topic and not post.

feeble

Quote from: diegolyanky on January 24, 2008, 09:31:33 PMIt will be very cool if put a list of rates ( autors )
I like this as well, Ill look into it, and see what I can do.

Quote from: falguni1 on January 25, 2008, 07:02:52 AMcan you make one more mod to only rate the topic and not post.
Ill put out a patch soon, which will include a backend. So you can choose this option.

falguni1


ceewee

Does it need to be initilized, I've installed it, but it doesn't show in topics or posts?
Or does it only appear when replying/quoting messages?


perro88

Quote from: ceewee on January 26, 2008, 07:06:19 AM
Does it need to be initilized, I've installed it, but it doesn't show in topics or posts?
Or does it only appear when replying/quoting messages?


I think you have to add news message icons or something but not sure

feeble

Quote from: ceewee on January 26, 2008, 07:06:19 AM
Does it need to be initilized, I've installed it, but it doesn't show in topics or posts?
Or does it only appear when replying/quoting messages?

Nothing to activate, this mod is very simple right now

Its probably because you are using a custom theme?
Manual Theme Changes can be seen here

2pac

hey im using this mod and usign strictly the icons to show in the message index, like you can see here:

http://ninerskickass.com/forum/index.php/board,2.0.html

anyway, the only problem is, you cant really tell if a topic is locked... i was wondering if somebody can come up with some code so that when a topic is locked it displays a red lock icon instead?

it could probably be done with an if else statement i suppose, but im not sure what statements i would use to accomplish that. can someone help me out? thanks!

Qayyom Ashraf

I think only admin(s) can do this,

normal members are not viewing this option (mean they aren't able to Rate any topic)

how can I set permissions for all members

my forum url is www.JangForum.com
Qayyom Ashraf  |  Karachi-PK |::.www.JangForum.Com.::|

feeble

#19
Sorry for the delayed reply

Quote from: 2pac on January 27, 2008, 01:42:25 AM
anyway, the only problem is, you cant really tell if a topic is locked... i was wondering if somebody can come up with some code so that when a topic is locked it displays a red lock icon instead?

it could probably be done with an if else statement i suppose, but im not sure what statements i would use to accomplish that. can someone help me out? thanks!
What did it use to do before you installed this mod?

Since the locked icon isn't a message icon, this mod shoudn't be affecting what you had before.

But I can show you how to do it anyways if you want?

Quote from: qayyom on January 27, 2008, 11:58:30 PM
I think only admin(s) can do this,

normal members are not viewing this option (mean they aren't able to Rate any topic)

how can I set permissions for all members

my forum url is www.JangForum.com
This mod doesn't use any permissions just yet.

I made an account, and it seems to be working just fine.

2pac

before i installed this mod, i had just the regular status icons, like the "topic you have posted in", "sticky topic" and "locked topic"... etc. and i didnt even use the message icons

but i thought this mod was sort of fun to show what people think of the topics so i implemented it in place of the status icons

all i want to do is upload a similar red "lock" icon and have it appear in the message index when a topic is locked instead of the green ones i am currently using

i figure it may be possible with a simple if else statement but i dont know the argument code i would use in the statement for a locked topic


2pac

nevermind, i figured it out, i used this:

     if(!$topic['is_locked'])

SuperTongue

Quote from: diegolyanky on January 24, 2008, 09:31:33 PM
It will be very cool if put a list of rates ( autors ) like on this web:

http://forums.facepunchstudios.com/showthread.php?p=8816968#post8816968

I attached an image with what I mean ;)

That would be very awesome! I love this little mod and on Facepunch, they have it nailed down. Like he said, you should try to have it to show who gave what ratings.

perro88

Well I'll make anotehr suggestion :P. What about on the message icon option(of each icon) have a checkbox with something like "allow just for rating" so the icon appear on the rate topic but not when creating a topic. and then a "allow for rating checkbox". this way would be possible to add icons just for rate, for rate and as a option when creating a new topic or just as a option when creating a new topic. probably won't be hard to do. And again, great mod and nice coding there :P

perplexed

I had a look on SMF Helper but I just don't see how you rate a topic post.  I might be having a slow day today but how do you do it?  I can't see any examples.  *scratches head*

perro88

Quote from: perplexed on February 15, 2008, 06:42:24 AM
I had a look on SMF Helper but I just don't see how you rate a topic post.  I might be having a slow day today but how do you do it?  I can't see any examples.  *scratches head*
it's on top of the sign, you probably might to be logged to see the rater

feeble

Quote from: perplexed on February 15, 2008, 06:42:24 AM
I had a look on SMF Helper but I just don't see how you rate a topic post.  I might be having a slow day today but how do you do it?  I can't see any examples.  *scratches head*
There isn't actually a preview site at the moment, due to the preview site I was using switched over to SMF 2
Sorry about that, image is still good thou

perplexed

Quote from: perro88 on February 15, 2008, 12:59:47 PM
Quote from: perplexed on February 15, 2008, 06:42:24 AM
I had a look on SMF Helper but I just don't see how you rate a topic post.  I might be having a slow day today but how do you do it?  I can't see any examples.  *scratches head*
it's on top of the sign, you probably might to be logged to see the rater

yeah I was logged in lol

Quote from: feeble on February 15, 2008, 01:10:43 PM
Quote from: perplexed on February 15, 2008, 06:42:24 AM
I had a look on SMF Helper but I just don't see how you rate a topic post.  I might be having a slow day today but how do you do it?  I can't see any examples.  *scratches head*
There isn't actually a preview site at the moment, due to the preview site I was using switched over to SMF 2
Sorry about that, image is still good thou

cheers feeble

Stargater59

Well, first of all, cool mod. Exactly what I was looking for.  I love the little rating system at Facepunch.

But, I was wondering if there was anyway of separating the rating images from the message icons? I'm going to change all my message icons, and they're not going to work to well with this..

I don't know if there's a way to keep it all in the "Smileys and Message Icons" manager and call the two different image sets from two different locations or not..

Neo1607

#29
Quote from: Stargater59 on February 18, 2008, 02:02:38 PM
Well, first of all, cool mod. Exactly what I was looking for.  I love the little rating system at Facepunch.

But, I was wondering if there was anyway of separating the rating images from the message icons? I'm going to change all my message icons, and they're not going to work to well with this..

I don't know if there's a way to keep it all in the "Smileys and Message Icons" manager and call the two different image sets from two different locations or not..

I was wondering about separating the Message icons and the ratings images as well.  any help would be appreciated :)

feeble

apologies for my delayed response, I've been a little busy of late

To do what you are asking is simple enough, but just takes a little mysql knowledge
open
Source/Display.php
find
$request = db_query("
SELECT ID_ICON, title, filename
FROM {$db_prefix}message_icons
WHERE ID_BOARD IN (0, $board)", __FILE__, __LINE__);


now to limit the rate icons to say above message icon 4 add in
$request = db_query("
SELECT ID_ICON, title, filename
FROM {$db_prefix}message_icons
WHERE ID_BOARD IN (0, $board)
AND ID_ICON > 4", __FILE__, __LINE__);



and that's really it

it you need this more in depth let me know

2pac

I notice in Firefox, and I think maybe Opera, the Icons dont line up

the icons on the right(the dimmed ones) are higher than the ones on the left(the ones that show up after a post has been rated)

is there any fix to that?

vivek

Is it compatible with SMF 1.1.5, I downloaded the new version but cant make it work, it does show "allow rating " in the "manage board" but does not show rating buttons / icons anywhere in the topic.

Please help

chippa

when i go to the link for people using a custom theme i get this message

Quotefile not found

any help please?


Snap_shot

I sent you a pm asking if this was possiable to make work with 1.1.5 is there any way to make it work? I would love it and so would all the members on my forum.

Snap_shot

#35
Quote from: feeble on March 12, 2008, 04:09:57 PM
apologies for my delayed response, I've been a little busy of late

To do what you are asking is simple enough, but just takes a little mysql knowledge
open
Source/Display.php
find
$request = db_query("
SELECT ID_ICON, title, filename
FROM {$db_prefix}message_icons
WHERE ID_BOARD IN (0, $board)", __FILE__, __LINE__);


now to limit the rate icons to say above message icon 4 add in
$request = db_query("
SELECT ID_ICON, title, filename
FROM {$db_prefix}message_icons
WHERE ID_BOARD IN (0, $board)
AND ID_ICON > 4", __FILE__, __LINE__);



and that's really it

it you need this more in depth let me know

Ok i got the mod working but i can't seem to do this, i want to use seperate icons rather than my boards. and this is really confusing


EDIT: I have like ruined my smiles trying to get this to work i really need your help

brianjw

feeble,

If you update this to SMF 2.0 B4 then we at SMFhelper.info will be able to use it again. :)

It was a great mod and worked well. I look forward to seeing it at higher versions. ;)

SilverKnight

Feeble your work is great ! Please continue work on this project, it's quite basic but with a few more features, i could be one of the most used interactive content mods out there !

What it needs is:
Forum permissions (what ratings can be done per forum)
Gave and receive stats menu for profiles
Rollover effect which lights up the icon

Keep the good work up!


smldmr

#38
I have a little problem. I installed this mod on my smf 1.1.7. With FF and Opera, everything is fine but with IE the siteloading abort with an errormessage. It say that the site can't be opened. What is the problem here?

SilverKnight

Would be nice for this mod to not use the topic images as a base.. i use topic bars..

Grindcore

I know this is a very old topic, but your Mod looks pretty cool and it seems to be just, what I was looking for.

Is there any chance that this modification will be available for SMF v2.0? Would be great!

SuperBrian91

I apologize for bumping this old topic but I am wondering is this the same kind of rating system that is in this topic I created? http://www.simplemachines.org/community/index.php?topic=464638.msg3245214#msg3245214 

If it is, I have been looking for this mod for while now for my SMF 2.0 forum.

I also see it only compatible with SMF 1.1.4 what are the chances of getting it working for SMF 2.0 or converting it to work with SMF 2.0?

Thank and sorry about bumping the topic.

SilverKnight

Would like a smf 2.0 version.

busterone

I seriously doubt it. The mod author has not been active here since   October 20, 2008, 04:56:03 PM. 

Advertisement: