News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Rate That Topic

Started by slinouille, August 20, 2008, 02:57:44 PM

Previous topic - Next topic

madman71

there are 2 instances of  loadTemplate('rateadmin');

one is in caps the other isnt.

They both have to be in caps the "R" and the "A"

MarkS

and my post says i did that but dont worry i fixwd it the rate admin is there twice and i needed to change both

thanks mark

madman71

ahhh, :)

good to hear you have it fixed.  Now only if someone can chime in to fix my missing stars issue  :(

MarkS

Quote from: madman71 on October 20, 2008, 02:57:09 PM
there are 2 instances of  loadTemplate('rateadmin');

one is in caps the other isnt.

They both have to be in caps the "R" and the "A"
yes thanks i found this out...;)



i now have the rate amin panel so i can see who rated wot and there total ratings

but is there a faster way to find wot post has the best rating over the board or will i have to manually check all the post.....


and can it be set in the forum so it only shows the stars when some one votes...?


thanks again mark

madman71

That would be a nice addition to this mod.  I dont think it's possible with the way it's written now.  Sinan hasnt been here for a while so im not sure if you'll ever get that option.  Maybe someone knows how to do it.

MarkS

ok m8...........

one more thing to ask is how can i make it so my mods can see who voted ant idea...?

MarkS

could you tell me by doing this wot dose it do...?
Quote from: [SiNaN] on August 21, 2008, 01:49:33 PM
I got a tip right now and let's try it on your site.

MessageIndex.template.php

Find:

action=ratelog;id=

Replace:

action=ratelog;rateid=

Display.template.php

Find:

action=ratelog;id=

Replace:

action=ratelog;rateid=

RateAdmin.php

Find:

$topic_id = !empty($_REQUEST['id']) ? (int) $_REQUEST['id'] : 0;

Replace:

$topic_id = !empty($_REQUEST['rateid']) ? (int) $_REQUEST['rateid'] : 0;

Then try clicking on those stars.

madman71

Quote from: MarkS on October 20, 2008, 03:13:28 PM
ok m8...........

one more thing to ask is how can i make it so my mods can see who voted ant idea...?

Im do not think there is the option to set permissions for viewing who voted, but everyone can see who voted i believe.


not sure about your other question

MarkS

i tested it out and for me all it dose is stop the mod working lol.........says error when you click the stars

madman71

are you talking about that code that you posted above?

MarkS

#130
yes m8 sorry should have said it dose nothing for me......


ok i had a idea and need some ones help to do this

ok here goes

when a post has no votes it shows 5stars

i dont like it, i want it to only show stars when some one votes so could this bit of code that make it show this

be changed to show nothing at all.......?

please help thank you

madman71

Did you activate in the admin panel?

MarkS

yes is did,,,

i dont think you unerstand me.....

i have it set to show in the forum and it shows the dull stars when no one has voted and the bright stars when some one dose vote, i dont want to see the dull stars i only want to see the stars when some one votes....


i have found a way to do this with out coding i have changed the .png to this a see though .png with no stars lol

MarkS

i have messed with all the .png files just to show the rate they have

IE: zero stars 1 star 2 stars and so on, so here they are fell free to use them

madman71

id use them if i could get them to display. As of now it only displays numbers 0 - 5

MarkS

wot do you mean..? i am no expert
dose it work on the default theme...?

madman71

Nope, stars do not work on any theme. Not even default :(

MarkS

Quote from: madman71 on October 20, 2008, 05:12:49 PM
Nope, stars do not work on any theme. Not even default :(

maybe the install did not go right have you done a re-install
Quote from: Wajalot on September 07, 2008, 06:15:04 PM

Hi [SiNaN]

First of all, many thanks for your time. I also fixed the error with your posts..

Now, if i can, i have a question. Is there any option to have some stats of rating as 'Most rated topic in a week, also in a month and ever' ?

Could be a good improvement.

Thanks again
this would be a great add to a great mod and make my life very easy as we will use this to find the top rated photos each week

so how about it....?

Quote from: Wajalot on October 06, 2008, 09:04:57 AM
Hi [SiNaN]

I dont want members can rate ther own topics, how can i do it?

Thanks!!

allso i would too like to do this

MarkS

Quote from: [SiNaN] on September 11, 2008, 10:36:58 AM
As a note for all; anyone who wants can take over the mod.

has any one had a go at this i would like it to have a few more things like:

1,have permitions for mods so they can see the admin panel

2, show the top rated post with in any one week

3, show a rate table for the post rated

any one fancy giving this ago..........?


Wajalot

#139
It seems like this mod is dead...

Another add could be the option of no one can reply a post before rating the post. Marks, I also have a digital photography page with votes for the bes t of the week. Actually, now i can´t use that option. What i´ve done is give permissions to mods to check the votes and they decide what photos are good enough to pass them to a gallery. But no the most rated one, cause we dont know wich one is.

Could be a very good improvement:

· Stats (most rate, and most rate in a week, in a month, in a year, even make categories, or most rated in a specific forum, etc)
· OPTION - People cannot vote themeselves
· OPTION - People cannot reply a post if they have not voted previously (for this one, should be good idea to have the rating box option inside the reply form)
· OPTION - To hide the stars until any vote is sent

If someone can do this...could be nice, i even would pay for it....

Cheers


Advertisement: