(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
04-23-23 02:55 AM
0 users currently in Programming.
Acmlm's Board - I3 Archive - Programming - Need beta testers for referral system New poll | |
Add to favorites | Next newer thread | Next older thread
User Post
mvent2

Paragoomba








Since: 11-17-05
From: Brizzy, Australia

Last post: 6227 days
Last view: 6227 days
Posted on 12-18-05 04:51 AM Link | Quote
Average IQ was 40 before I typed this.
Back to the point, I remembered that there was dormant code for a referral system back in an old version of the evil closed-source Invision Power Board. When it came back into my mind I thought "What the hell, I'll do it anyway."

http://mvent2.1l.com/turing/1a2refs.zip <-- I need brave and willing debuggers to test this. This was designed to work primarily with 1.a2, however you may be able to put the code in 1.92 provided you know where.

How this works:
Users are given a personal referral link in their profile. When a user signs up from that link, that user is added to the referrer's "list". The number of referrals a user has is displayed with each post, and the names of all referrals are displayed in the profile. So far, that is all the code does. However, you can mod it to give people RPG-related bonuses etc.

This is an incentive for members to promote your board. But, I haven't put in any duplicate account making protection (does Acmlmboard already account for that?)

mvent2
Xkeeper
Took the board down in a blaze of glory, only to reveal how truly moronical ||bass is.


 





Since: 11-17-05
From: Henderson, Nevada

Last post: 5907 days
Last view: 5907 days
Skype
Posted on 12-18-05 06:27 AM Link | Quote
Originally posted by mvent2
This is an incentive for members to promote your board. But, I haven't put in any duplicate account making protection (does Acmlmboard already account for that?)
And, obviously, it's also an incentive to spam registration accounts.. obviously.

And no, none of the current, relased Acmlmboards have dual-registration prevention, but this one does, and it wasn't exactly hard to put in
mvent2

Paragoomba








Since: 11-17-05
From: Brizzy, Australia

Last post: 6227 days
Last view: 6227 days
Posted on 12-18-05 08:39 AM Link | Quote
I know thats a problem with referral scripts. Im trying to think up of different anti-spam-account measures, not like any of you PHP Gods are willing to help me.
Elric

Octoballoon


 





Since: 11-18-05
From: Melniboné

Last post: 6305 days
Last view: 5936 days
Posted on 12-18-05 06:48 PM Link | Quote
Start by upgrading to AcmlmBoard v1.92, and maybe one of the PHP Gods will help you...
DarkSlaya

930
Gamma Ray








Since: 11-17-05
From: Montreal, Canada

Last post: 5907 days
Last view: 5907 days
Posted on 12-18-05 07:25 PM Link | Quote
Originally posted by Elric
Start by upgrading to AcmlmBoard v1.92, and maybe one of the PHP Gods will help you...


You know that a version sucks when you say to "upgrade" to a version that has a version number that is bigger than the one you're upgrading to.
mvent2

Paragoomba








Since: 11-17-05
From: Brizzy, Australia

Last post: 6227 days
Last view: 6227 days
Posted on 12-18-05 08:31 PM Link | Quote
Maybe an Administrator can start by reopening the download page with a 1.92 download link.
Xkeeper
Took the board down in a blaze of glory, only to reveal how truly moronical ||bass is.


 





Since: 11-17-05
From: Henderson, Nevada

Last post: 5907 days
Last view: 5907 days
Skype
Posted on 12-18-05 08:32 PM Link | Quote
Excep that, you know, 1.92 was renamed to 1.A1, and there isn't a whole lot of change...
Deleted User
Banned


 





Since: 05-08-06

Last post: None
Last view: 5908 days
Posted on 12-18-05 09:08 PM Link | Quote
Originally posted by mvent2
Maybe an Administrator can start by reopening the download page with a 1.92 download link.


1.92
Deleted User
Banned


 





Since: 05-08-06

Last post: None
Last view: 5908 days
Posted on 12-18-05 11:20 PM Link | Quote
Stoping dupli accounts is very simple.. >_> Something like:

$rrq=mysql_query("SELECT * FROM `users` WHERE `lastip`='".$REMOTE_ADDR."' AND `powerlevel`<1");
$reregged=mysql_num_rows($rrq);
if($reregged>=1){
print "<script>alert('Don't reregister, if you aren\'t, contact the owner.')</script>";
print "<META HTTP-EQUIV=REFRESH CONTENT=0;URL=index.php>";
}

That way only staff can rereg but not more then once, don't see why they would need too.. I havn't tested this but it should work (Add an else statement around the registration funciton too.).
Add to favorites | Next newer thread | Next older thread
Acmlm's Board - I3 Archive - Programming - Need beta testers for referral system |


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.018 seconds; used 384.91 kB (max 477.91 kB)