News:

Wondering if this will always be free?  See why free is better.

Main Menu

rateTopic

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

Previous topic - Next topic

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..

Advertisement: