News:

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

Main Menu

Rate That Topic

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

Previous topic - Next topic

[SiNaN]

BOS4O:

It must be between "Posts and Topics" and "Calendar" links on the Admin CP.

F.L.A.M.E.R:

You mean the manual installation instructions?

http://custom.simplemachines.org/mods/index.php?action=parse;mod=1313;attach=65500;smf_version=1.1.5

Rafferty:

Does that mean you get it working?
Former SMF Core Developer | My Mods | SimplePortal

Rafferty

#21
i have fixed it. Im getting the rate log up ok, but where is the rate box, I cant see it

nb: Hmmm I have a topic search box in the same location.
Don't Follow me I got No Idea what I'm Doing

[SiNaN]

Former SMF Core Developer | My Mods | SimplePortal

jordanid

Sinan , thanks for the reply quickly
i did the change u asked to
but still the same problem
any idea ?!!

[SiNaN]

Can you attach your RateAdmin.php file here?
Former SMF Core Developer | My Mods | SimplePortal

Adish - (F.L.A.M.E.R)

Quote from: [SiNaN] on August 21, 2008, 11:20:19 AM
BOS4O:

It must be between "Posts and Topics" and "Calendar" links on the Admin CP.

F.L.A.M.E.R:

You mean the manual installation instructions?

http://custom.simplemachines.org/mods/index.php?action=parse;mod=1313;attach=65500;smf_version=1.1.5

Rafferty:

Does that mean you get it working?

No.. the problem is.. the mod got installed succesfully.. but the stars dont appear up... neither the rating option is there... i wonder if anything is wrong.. i am using DARKWOW theme.

[SiNaN]

Have you enabled Topic Rating both generally and board based?

Go to

Admin CP >> Topic Rating >> Default Settings >> Topic Rating Enabled

check it.

Go to

Admin CP >> Topic Rating >> Board Settings

enable for the boards that want to use this in.
Former SMF Core Developer | My Mods | SimplePortal

jordanid

okayz
heres my rate admin file
thank you .

[SiNaN]

I see that you didn't make the change I've mentioned. Can you try the one attached?
Former SMF Core Developer | My Mods | SimplePortal

Adish - (F.L.A.M.E.R)

Quote from: [SiNaN] on August 21, 2008, 12:22:22 PM
Have you enabled Topic Rating both generally and board based?

Go to

Admin CP >> Topic Rating >> Default Settings >> Topic Rating Enabled

check it.

Go to

Admin CP >> Topic Rating >> Board Settings

enable for the boards that want to use this in.

Ok now stars appear up.. but this is the error which comes when its clicked on..

Not Acceptable

An appropriate representation of the requested resource /index.php could not be found on this server.
Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.8b mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at hackerzden.com Port 80

[SiNaN]

Weird. Did you make the change I gave in the first page?

BTW, why did you click on those stars?
Former SMF Core Developer | My Mods | SimplePortal

jordanid

thank you
it works fine
tho , i by wrong , i attached the wrong file
i always keep a fresh copy of the file before i edit it
so , i attached the file before the updated .. lol
thank you very much

Adish - (F.L.A.M.E.R)

Quote from: [SiNaN] on August 21, 2008, 12:58:56 PM
Weird. Did you make the change I gave in the first page?

BTW, why did you click on those stars?

The capitaling stuff ?

I clicked on the stars to test it if its working or now.. and well i have set the permissions as i can vote the posts...

[SiNaN]

jordanid:

Here is the new one.

F.L.A.M.E.R:

Yes I was talking about that edit. I asked the reason; because clicking on those stars just takes you to the rate log, it is not for rating the topic. I think I should change it because everyone is confused with that.
Former SMF Core Developer | My Mods | SimplePortal

Adish - (F.L.A.M.E.R)

I did the edit. yet the same problem.

[SiNaN]

That error seems to me like a mod_security problem. Maybe you try turning that off.
Former SMF Core Developer | My Mods | SimplePortal

Adish - (F.L.A.M.E.R)

does it have any side effects ? i am having somewhat same problem with some other mods which i have and it is shown in the error logs..... i think it wont workout without contacting the hosting company.. i modified the .htaccess aswell..

[SiNaN]

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.
Former SMF Core Developer | My Mods | SimplePortal

Adish - (F.L.A.M.E.R)

ok, that made it work well, any idea how can i make it like adnimated sort of rating ? Like just as keep the cursor on the star and then click as you want, it will then rate it up..... for changing the rating, a hyperlink just underwhich says change rating, and it just asks for confirmation that "Are you sure you want to change your rating?". Just a sort of suggestion to make it a better mod... it is good as i am working on user demands and checking if people like the things presently in the forum..

[SiNaN]

Glad that did the trick. I'll fix it in the next version.

The idea sounds good to me, I'll consider that.
Former SMF Core Developer | My Mods | SimplePortal

Advertisement: