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

sk718

Bump. If anyone can help me solve this problem, I would greatly appreciate it!

Bob Perry of Web Presence Consulting

Quote from: Vutrox on January 29, 2012, 03:25:03 PM
How can I see the top10 members with the most points?

sry for my bad English xD

Pop in to the stats page on my website, I can show you how it's done, if you want me to do it for you there's a fee
Best Regards,
Bob Perry



"The world is moving so fast these days that the man who says it can't be done is generally interrupted by someone doing it." Elbert Hubbard

fullmoonya

i have a problem. the refferer's username/name doesn't show in the "Referred by Membername" textbox in the registration page. i tried to use the link provided in my member's profile but it doesnt really show. please help me.
do not mark my topic solve unless it is REALLY SOLVED.
my forum

Visit My Blog:
Google SEO Share

fedxrx

When I use the mod, it installs perfectly and works great.  HOWEVER, when someone does get a referral, EVERYONE gets a referral.

Example:
Joe refers Susie to come to the site.  Susie joins, Joe gets referral +1

Now everyone has referral +1.

Joe refers someone else, they join the site.  Joe gets referral +2

Now everyone has referral +2.  Not just in their profile, but also on the threads.

How can I fix this?

Alex4108

Searched the thread and it seems nobody gets an answer to this question.

On SMF 2.0.2, where do I modify to credit the referring user SMFShop money?  Which function on what file do I need to tweak?

fullmoonya

i think the codes are not completed..maybe there is some code that needs to be put in register.template.php. i hope someone know how to fix those problem in this mod.
do not mark my topic solve unless it is REALLY SOLVED.
my forum

Visit My Blog:
Google SEO Share

Manicred

This mod needs serious upgrading. Does NOT work properly. Once someone refers someone everyone gets the referral. Plus how do you see who has referred who?

vbgamer45

The only way to see who reffered who at the moment is to look inside the database and the members table to look at the refferred id.
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

InfoStrides

I want to use this mod with SMF Shop so that I can assign value for each referral for use in the shop. Please help!

Sabrewulv

I installed this mod on an smf site. It says in settings show referral link in profile but there's no link there. On the registration page it says if referred by a member put in their name. i registered a dummy account and used my name for the refferal yet it didn't credit it to me.

Any ideas?

fullmoonya

Quote from: Sabrewulv on April 14, 2012, 03:40:21 PM
I installed this mod on an smf site. It says in settings show referral link in profile but there's no link there. On the registration page it says if referred by a member put in their name. i registered a dummy account and used my name for the refferal yet it didn't credit it to me.

Any ideas?

maybe you are using ultimate profile mod..
do not mark my topic solve unless it is REALLY SOLVED.
my forum

Visit My Blog:
Google SEO Share

mageguild

This mod was working fine for me but it appears to stop working.  I now get this error:  Undefined index: referrals_no.  This error is generated on every page where a users referral count is displayed. 

was1f

I Install Referral System In My Forum But This Is Not WOrked For Me Please Help How Can I Set That. .

Here Is Screen Short Of Admin Panel.


This Screen Short Of Users Panel.


Please Help Me.
My Froum URL: http://easyearning.net/forum/index.php

Thanks.

vbgamer45

You might need to add text to your themes/languages/modifications.english.php file if it exists

Copy from themes/default/languages/modifications.english.php
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

was1f

Quote from: vbgamer45 on June 17, 2012, 02:14:23 PM
You might need to add text to your themes/languages/modifications.english.php file if it exists

Copy from themes/default/languages/modifications.english.php

Which Text Bro I Dont Understand.

mybiafraland

Can't get this working on my concept3 three theme
"I don't know the key to success, but the key to failure is trying to please everybody." - Bill Cosby
on another note==>> Before sex.. you help each other get na'ked, after
sex you only dress yourself.... Moral of the story:
in life no one helps you once you're fuc'ked
My mentor's Blog hoping  my site beats nairaland someday

TheListener

Quote from: humblelad on June 19, 2012, 10:36:13 PM
Can't get this working on my concept3 three theme

How can't you get the mod to work?

mybiafraland

the mod installs fine but will not appear in the members profile
"I don't know the key to success, but the key to failure is trying to please everybody." - Bill Cosby
on another note==>> Before sex.. you help each other get na'ked, after
sex you only dress yourself.... Moral of the story:
in life no one helps you once you're fuc'ked
My mentor's Blog hoping  my site beats nairaland someday

4Kstore

Quote from: vbgamer45 on April 10, 2012, 01:39:52 PM
The only way to see who reffered who at the moment is to look inside the database and the members table to look at the refferred id.

I made a mini script for this...
maybe can help to someone.

Result:


Steps:
1º Install the mod *duhhh*

2º Edit: Sources/Load.php

Search:
// What a monstrous array...

Add before:

//Referrer Start
$context['referinfo'] = array();
$referinfo = array();
if($profile['referrals_no'] != 0)
{
$request2 = $smcFunc['db_query']('', '
SELECT referred_by, real_name, id_member
FROM {db_prefix}members
WHERE referred_by = {int:id_member_profile}',
array(
'id_member_profile' => $profile['id_member'],
)
);

while($row = $smcFunc['db_fetch_assoc']($request2))
{
  $referinfo = &$context['referinfo'][];  
  $referinfo['referidos_url'] = ''. $scripturl .'?action=profile;u='.$row['id_member'].'';  
  $referinfo['referidos_name'] = $row['real_name'];  
}
$smcFunc['db_free_result']($request2);
}
//Referrer END


Save and upload

3º:  Edit: Themes/{tutheme}/Profile.template.php

Search:

echo '
<dt>', $txt['ref_refferals'] , '</dt>
<dd>', $context['member']['referrals_no'], '</dd>
';


Replace for:

echo '
<dt>', $txt['ref_refferals'] , '</dt>
<dd>', $context['member']['referrals_no'], '';
if (!empty($context['referinfo']))
{
echo' - <select name="menu2">';
foreach($context['referinfo'] as $info)
{
echo'<option value="'.$info['referidos_url'].'">'.$info['referidos_name'].'</option>';
}
echo'</select>';
}
echo'</dd>';


Save and upload
Baii

¡¡NEW MOD: Sparkles User Names!!!

phpshiva


Advertisement: