Author Topic: Referal Points  (Read 3856 times)

Offline Maniakc

Referal Points
« on: February 19, 2007, 12:39:38 pm »
I wanna be able to give 1000 points to all the people who refer someone else, but I'm too lazy to do it every time. Is there any plan to add this in a future version of SMF Shop? With the list of people who've been referred and how many points they received from the referrals. Maybe in the next release? I've tried the affiliates mod, but I don't wanna use that because its confusing with the $ thing. Might there be a way to modify the points from the affiliates mod to go with the shop points? Anyway, this is something I'd like to see happen if anyone is up for this job, or if you, Daniel15, want to add it to the next version. It would be the best thing to help get members!

Offline feeble

Re: Referal Points
« Reply #1 on: February 19, 2007, 08:24:34 pm »

Offline Maniakc

Re: Referal Points
« Reply #2 on: February 20, 2007, 01:05:42 am »
That is kinda what I meant, but when I try to install it in the package manager, I get this:

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci' at line 11
File: /home/content/m/a/n/maniakc/html/forums/Packages/temp/db.php
Line: 16

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.2, while your database is at version 1.1.1. The above error might possibly go away if you execute the latest version of upgrade.php.

Im gonna try the upgrade.php thing...

EDIT: Ok, now it shows that message without the "Note" thing...
« Last Edit: February 20, 2007, 02:02:33 am by Maniakc »

Offline Daniel15

Re: Referal Points
« Reply #3 on: February 24, 2007, 09:09:33 am »
That is kinda what I meant, but when I try to install it in the package manager, I get this:

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci' at line 11
File: /home/content/m/a/n/maniakc/html/forums/Packages/temp/db.php
Line: 16

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.2, while your database is at version 1.1.1. The above error might possibly go away if you execute the latest version of upgrade.php.

Im gonna try the upgrade.php thing...

EDIT: Ok, now it shows that message without the "Note" thing...

Was that for the Invites mod? If so, you'll need to ask the author to fix their install script. You're using an old version of MySQL (probably 4.0), which doesn't support some features.

Offline Maniakc

Re: Referal Points
« Reply #4 on: February 24, 2007, 10:22:42 am »
Yea, I am using 4.0 I checked my CPanel. Well, I hope the author fixes this to support older SQL or my host upgrades!

Offline Daniel15

Re: Referal Points
« Reply #5 on: February 24, 2007, 09:16:29 pm »
You could try this: In the db.php file, find the
Code: [Select]
DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci
bit (it will be at the end of a query), and remove it. This should work...

Although, your host should really upgrade (4.1 has been standard for a long time, and 5.0 is becoming standard now ;))