Advertisement:

Author Topic: Rate That Topic  (Read 150564 times)

Offline [SiNaN]

  • SMF Super Hero
  • *******
  • Posts: 11,526
  • Young and Foolish
    • SimplePortal
Re: Rate That Topic
« Reply #20 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?
Former SMF Core Developer | My Mods | SimplePortal

Offline Rafferty

  • Jr. Member
  • **
  • Posts: 318
  • Gender: Male
    • 16 Air Defence Regiment Members
Re: Rate That Topic
« Reply #21 on: August 21, 2008, 11:23:51 AM »
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.
« Last Edit: August 21, 2008, 11:31:15 AM by Rafferty »
Don't Follow me I got No Idea what I'm Doing

Offline [SiNaN]

  • SMF Super Hero
  • *******
  • Posts: 11,526
  • Young and Foolish
    • SimplePortal
Re: Rate That Topic
« Reply #22 on: August 21, 2008, 11:39:53 AM »
Former SMF Core Developer | My Mods | SimplePortal

Offline jordanid

  • Semi-Newbie
  • *
  • Posts: 79
Re: Rate That Topic
« Reply #23 on: August 21, 2008, 11:51:05 AM »
Sinan , thanks for the reply quickly
i did the change u asked to
but still the same problem
any idea ?!!

Offline [SiNaN]

  • SMF Super Hero
  • *******
  • Posts: 11,526
  • Young and Foolish
    • SimplePortal
Re: Rate That Topic
« Reply #24 on: August 21, 2008, 12:09:17 PM »
Can you attach your RateAdmin.php file here?
Former SMF Core Developer | My Mods | SimplePortal

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

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,614
  • Gender: Male
  • I am a ninja!
    • adishpatel on Facebook
    • https://www.linkedin.com/in/adishpatel on LinkedIn
Re: Rate That Topic
« Reply #25 on: August 21, 2008, 12:15:21 PM »
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.

Offline [SiNaN]

  • SMF Super Hero
  • *******
  • Posts: 11,526
  • Young and Foolish
    • SimplePortal
Re: Rate That Topic
« Reply #26 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.
Former SMF Core Developer | My Mods | SimplePortal

Offline jordanid

  • Semi-Newbie
  • *
  • Posts: 79
Re: Rate That Topic
« Reply #27 on: August 21, 2008, 12:26:45 PM »
okayz
heres my rate admin file
thank you .

Offline [SiNaN]

  • SMF Super Hero
  • *******
  • Posts: 11,526
  • Young and Foolish
    • SimplePortal
Re: Rate That Topic
« Reply #28 on: August 21, 2008, 12:32:49 PM »
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

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

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,614
  • Gender: Male
  • I am a ninja!
    • adishpatel on Facebook
    • https://www.linkedin.com/in/adishpatel on LinkedIn
Re: Rate That Topic
« Reply #29 on: August 21, 2008, 12:42:32 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..
Code: [Select]
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

Offline [SiNaN]

  • SMF Super Hero
  • *******
  • Posts: 11,526
  • Young and Foolish
    • SimplePortal
Re: Rate That Topic
« Reply #30 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?
Former SMF Core Developer | My Mods | SimplePortal

Offline jordanid

  • Semi-Newbie
  • *
  • Posts: 79
Re: Rate That Topic
« Reply #31 on: August 21, 2008, 01:04:50 PM »
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

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

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,614
  • Gender: Male
  • I am a ninja!
    • adishpatel on Facebook
    • https://www.linkedin.com/in/adishpatel on LinkedIn
Re: Rate That Topic
« Reply #32 on: August 21, 2008, 01:05:57 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...

Offline [SiNaN]

  • SMF Super Hero
  • *******
  • Posts: 11,526
  • Young and Foolish
    • SimplePortal
Re: Rate That Topic
« Reply #33 on: August 21, 2008, 01:22:27 PM »
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

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

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,614
  • Gender: Male
  • I am a ninja!
    • adishpatel on Facebook
    • https://www.linkedin.com/in/adishpatel on LinkedIn
Re: Rate That Topic
« Reply #34 on: August 21, 2008, 01:29:03 PM »
I did the edit. yet the same problem.

Offline [SiNaN]

  • SMF Super Hero
  • *******
  • Posts: 11,526
  • Young and Foolish
    • SimplePortal
Re: Rate That Topic
« Reply #35 on: August 21, 2008, 01:38:13 PM »
That error seems to me like a mod_security problem. Maybe you try turning that off.
Former SMF Core Developer | My Mods | SimplePortal

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

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,614
  • Gender: Male
  • I am a ninja!
    • adishpatel on Facebook
    • https://www.linkedin.com/in/adishpatel on LinkedIn
Re: Rate That Topic
« Reply #36 on: August 21, 2008, 01:41:16 PM »
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..

Offline [SiNaN]

  • SMF Super Hero
  • *******
  • Posts: 11,526
  • Young and Foolish
    • SimplePortal
Re: Rate That Topic
« Reply #37 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:

Code: [Select]
action=ratelog;id=
Replace:

Code: [Select]
action=ratelog;rateid=
Display.template.php

Find:

Code: [Select]
action=ratelog;id=
Replace:

Code: [Select]
action=ratelog;rateid=
RateAdmin.php

Find:

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

Code: [Select]
$topic_id = !empty($_REQUEST['rateid']) ? (int) $_REQUEST['rateid'] : 0;
Then try clicking on those stars.
Former SMF Core Developer | My Mods | SimplePortal

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

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,614
  • Gender: Male
  • I am a ninja!
    • adishpatel on Facebook
    • https://www.linkedin.com/in/adishpatel on LinkedIn
Re: Rate That Topic
« Reply #38 on: August 21, 2008, 02:33:32 PM »
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..

Offline [SiNaN]

  • SMF Super Hero
  • *******
  • Posts: 11,526
  • Young and Foolish
    • SimplePortal
Re: Rate That Topic
« Reply #39 on: August 21, 2008, 02:40:22 PM »
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