News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Referral System

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

Previous topic - Next topic

Draffi

@ventic:

please, add your profile.template.php here, i will look....

(but i promise nothing...)

Draffi

ohh...

@vbgamer45: You created a great mod - but at last...you too, you need to say, it is useless without a statistic page...

maybe you can add this feature until 2012 is coming. I want to make a contest in my board, before 12-21-2012 ALL is ending  :o

THANK YOU.

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Don Houston

vbgamer45,

Is there a way that I can manually add referrals to a user?  I have had three people who signed up and said they tried to put who refereed them but it did not show up for that person.  Can I change that so that they get credit?

vbgamer45

Yeah you can go inside the database find the smf_members table then adjust the refferals column
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro


vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Don Houston

VB,

I also know you are the designer for EZ portal, where is the board for that.  I have a few questions and I went to that site and no real support there

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Ventic

Quote from: Draffi on November 07, 2011, 03:35:13 PM
@ventic:

please, add your profile.template.php here, i will look....

(but i promise nothing...)
ok

Draffi

@ventic:

Please try this profile.template.php....

Ventic

Quote from: Draffi on November 18, 2011, 11:52:07 AM
@ventic:

Please try this profile.template.php....
dude it would be better for me,if you could tell me what you changed cause i have done some edits

vbgamer45

Get a program like beyond compare and you can see what parts of the file were changed.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Spect3r

Quote from: Draffi on November 07, 2011, 03:39:58 PM
ohh...

@vbgamer45: You created a great mod - but at last...you too, you need to say, it is useless without a statistic page...

maybe you can add this feature until 2012 is coming. I want to make a contest in my board, before 12-21-2012 ALL is ending  :o

THANK YOU.

Im in the same situation, i also need thus stats  :-\

Ventic

Quote from: vbgamer45 on November 18, 2011, 02:30:09 PM
Get a program like beyond compare and you can see what parts of the file were changed.
which program is this

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Ventic


vbgamer45

It should find them I use it all the time make sure you use text compare settings.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Draffi

OK, dude, here you go:

After:
// If karma enabled show the members karma.

i delete:
// Start Refferals System

echo '
<dt>', $txt['ref_refferals'] , '</dt>
<dd>', $context['member']['referrals_no'], '</dd>
';
// Refferals Link
if ($modSettings['ref_showreflink'])
if ($context['user']['is_admin'] || $context['user']['is_owner'])
echo '

<dt>', $txt['ref_refferal_link'], '</dt>
<dd><input type="text" size="50" value="', $scripturl, '?action=refferals;refferedby=', $context['member']['id'], '" /></dd>
';



// End Refferals System


Replace:
echo '
<dt>', $txt['lastLoggedIn'], ': </dt>
<dd>', $context['member']['last_login'], '</dd>
</dl>';


with:
echo '
<dt>', $txt['lastLoggedIn'], ': </dt>
<dd>', $context['member']['last_login'], '</dd>
</dl>';

  // Start Refferals System

echo '
<dt>', $txt['ref_refferals'] , '</dt>
<dd>', $context['member']['referrals_no'], '</dd>
';
// Refferals Link
if ($modSettings['ref_showreflink'])
if ($context['user']['is_admin'] || $context['user']['is_owner'])
echo '

<dt>', $txt['ref_refferal_link'], '</dt>
<dd><input type="text" size="50" value="', $scripturl, '?action=refferals;refferedby=', $context['member']['id'], '" /></dd>
';



// End Refferals System



Advertisement: