Jump to content
MakeWebGames

Recommended Posts

Posted

Ok so here it is. I believe i saw a rating modification on MWG before, and it lacked a few things. So here, from scratch, is my rating mod requested by Maniak.

SQL

[mysql]

ALTER TABLE `users` ADD `ratings` INT( 11 ) NOT NULL

-- phpMyAdmin SQL Dump

-- version 3.2.4

-- http://www.phpmyadmin.net

--

-- Host: localhost

-- Generation Time: Jun 04, 2010 at 02:56 PM

-- Server version: 5.1.41

-- PHP Version: 5.3.1

SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";

 

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;

/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;

/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;

/*!40101 SET NAMES utf8 */;

--

-- Database: `v2`

--

-- --------------------------------------------------------

--

-- Table structure for table `ratings`

--

CREATE TABLE IF NOT EXISTS `ratings` (

`ratedID` int(11) NOT NULL,

`raterID` int(11) NOT NULL

) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--

-- Dumping data for table `ratings`

--

INSERT INTO `ratings` (`ratedID`, `raterID`) VALUES

(1, 1);

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;

/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;

/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;

[/mysql]

Cron

You're unable to view this code.

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

 

rate.php

You're unable to view this code.

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

 

And i'm sure you know how to add links to the viewuser. If not i can help you. Thanks, Solid Snake. ;)

Posted

Ok, this might make me look like an idiot.. but shouldn't

 

You're unable to view this code.

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

 

Be

 

You're unable to view this code.

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

 

I don't think it works right with ==

Posted

lol, there is no need to bump a post...... If someone wants it. They will search for it. If they like it they will post...

If your looking for attention, you are on the wrong site. 90% of users here, don't ever post when they use your mod. So if your looking for stuff like that. I'm sorry to break the bad news to you.

Posted

People don't use the search function true but if everyone bumped up their posts no one would see half of them so... if they don't use your mod then it's their loss. Rasheed Saeed no point in doing a rating system really... besides the karma system on the forum (Dayo's).

  • 4 weeks later...

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