Jump to content
MakeWebGames

Recommended Posts

Posted

Hello i have seen mods out there about rating users

 

and they only allowed them to rate 1 person per day :/

 

this allows a player to rate a few people once per day :D

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Then create / replace rating.php

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

then in View User put

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Create Two images one rate up one rate down :P

then in cron_day put

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

/// Thanx to karlos for listening to my mumbo jumbo crap xD

 

Edit for alter users ::

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Posted

Re: [mccode V2] Rate User['s]

Try:

SQL

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

rating.php

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

add to viewuser.php

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Use same cron Wink.gif

Posted

Re: [mccode V2] Rate User['s]

ALTER TABLE `users` ADD `goodratings` INT( 11 ) NOT NULL DEFAULT '0';

ALTER TABLE `users` ADD `badratings` INT( 11 ) NOT NULL DEFAULT '0';

Would that be it?

Posted

Re: [mccode V2] Rate User['s]

 

it doesnt show the ratings on viewuser on either of the provided rating scripts.

lmao for the script with two ratings

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

For karlos modified 1 rating

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

  • 3 weeks later...
Posted

Re: [mccode v2] Rate User['s]

the first post makes it only show +1 and -1 nothing higher and

 

use thwe current SQL's

 

Rating.php add this for it to go more than +1

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

 

 

works but it rates them even when it says you have already rated this person and there is an error when trying to rate your self its a shame i really wanted this too work

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...