News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Referral System

Started by SMFHacks.com Team, March 03, 2008, 01:02:01 PM

Previous topic - Next topic

Fustrate

I never got a response from either one of you, so I've been working on other things. I'm going to do a test install of 2.0 + referrals, and see where it takes me.
Steven Hoffman
Former Team Member, 2009-2012

Sudhakar Arjunan

Quote from: Fustrate on February 02, 2009, 02:17:35 AM
I never got a response from either one of you, so I've been working on other things. I'm going to do a test install of 2.0 + referrals, and see where it takes me.

This is one of the excellent and very useful mod for all forum.

I will do the testing for you.

I had issue, since my forum is loaded with 8000 users and 70000 topics.

Thats why i have to take this decision.

On my free time, i will install it on my test board and comment here.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Fustrate

I'm already installing it... and I need to do it myself, so I can see everything that's going on.
Steven Hoffman
Former Team Member, 2009-2012

Low

I tried to install on a fresh 1.1.7 with default theme and it says "mod corrupt or damaged" or something along those lines.

I'd be really grateful if you could help.

Thanks

Bugpac ™

Im running this on 2.04, seems everyone by default has one referral, i have one guy who has referd 2 members, his profile has a drop down showing them members, but it seems everyone is getting counts for every member referd, so all my members show a count of two referals, but the guy who actually referd them is the only one that has a drop down menu....

Here is my forum if anyone wants a look...

www.dtsfab.com

Fustrate

Something's up with the 2.0 version, I'm still trying to figure it out (in between testing and tweaking Member Awards, which hasn't really been updated since Beta 1).

Low - try downloading it straight from http://www.fustrate.com/dev/sources/Referrals%20Mod/Referrals_Mod_smf1-1-x/
Steven Hoffman
Former Team Member, 2009-2012

Bugpac ™

Is there anyway for me to manually add a referral to a member?

Vekseid

Anyone use this with 2.0 RC1 yet?
Adult Role Playing Forums - - Over five million posts - - Elliquiy's LAMP configuration (maybe NSFW)

Blog about Forums and Servers - - Twenty things to make Simple Machines Forum go faster

Private/Instant Message requests for free support will be ignored.

KahneFan

I tried to install it, but there was an error on the profile page since RC1 uses a different layout for the new profile page.
#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

Fustrate

#409
This one might work for RC1, it's 2.1.4 (and no, you can't upgrade from 2.1.3 to 2.1.4 - I changed a whole lotta code to try to make it work smoothly)
Steven Hoffman
Former Team Member, 2009-2012

KahneFan

There are still errors with profile.template.php for RC1
#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

Fustrate

-_- I'll fix that tonight after 6 PM Pacific.
Steven Hoffman
Former Team Member, 2009-2012

Fustrate

#412
Try this one for RC1... and as always, I can't guarantee it'll work :) Removed.
Steven Hoffman
Former Team Member, 2009-2012

gremiopoker

 profile.template.php is perfect now...

but I have this error whem guest click REGISTER:

QuoteParse error: syntax error, unexpected T_ELSE in /home/XXXXXXXXXX/public_html/forum/Sources/Register.php on line 512

line 512 is "} else"
$regOptions['extra_register_vars']['referred_on'] = (int) time();
} else
fatal_lang_error('referrals_referrer_not_found', false);


and when I use referral link:

hxxp:gremiopoker.com/forum/index.php?referredby=1 [nonactive]

I got this error:

QuoteFatal error: Function name must be a string in /home/XXXX/public_html/forum/index.php on line 188

my line 188 is:
$request = $smcFunc['db_query']('', '

Any idea?

And thanks for your work

Sorry my english ;)

Ps. I alread have this referral mod in 1.1.7...but when I upgrade to 2.0 RC1 cant do it works...

Bugpac ™

heck, id just like to see it work proper for 2.04  :)

Fustrate

Until 2.0 goes final, I'll only be supporting the latest beta or release candidate.

Here's another one to try - just uninstall the old one and try this one instead.
Steven Hoffman
Former Team Member, 2009-2012

gremiopoker

I dont get the errors listed by me....is perfect :)

but have more little errors:

when guest click in REGISTER....using referral link.....referral field is empty

and if I try put manually the username on referral field i got this message:

QuoteThe referring user could not be found. Please double-check the name of the referrer. Or leave it blank.

thank you

lorogarcia

I have same problem.
I Install referrals_v2-2_RC1.zip and no run 100%, no count clicks to referal link and dont put the username in register field but the cookie exist, only run if put username and register

TJTELLEZ9

Can you reset the referrals count?

Fustrate

I've been really busy lately, so sorry for the late responses.

TJTELLEZ9 - either run this SQL query:
UPDATE smf_members
SET refferals_no = 0
WHERE 1=1


or create a new PHP page (reset.php), put it in your forum's root directory, and put this in it:
<?php
include_once('./SSI.php');

if(isset(
$smcFunc)){
     
$smcFunc['db_query']('''
          UPDATE {db_prefix}members
          SET referrals_no = 0
          WHERE 1=1'
, array());
} else {
     
db_query("
          UPDATE 
{$db_prefix}members
          SET referrals_no = 0
          WHERE 1=1"
__FILE____LINE__);
}

echo 
'Done!';
?>

and navigate to it in your browser.



I'm still working on the RC1 version, sorry for the delays.
Steven Hoffman
Former Team Member, 2009-2012

Advertisement: