Referral System

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

Previous topic - Next topic

Fustrate

#340
2.0 Beta 4 Users

I just updated this mod. Use referrals2_2-1-2.tar.gz referrals2_2-1-3.tar.gz to either install or upgrade to the new version, and it will fix the registration error.

Portoguese was also added, thanks to DeviDarkL.
Steven Hoffman
Former Team Member, 2009-2012

KahneFan

In case anyone else encounters a problem unsinstalling; I had to uninstall SMF Media Gallery BEFORE I could uninstall referrals in order to reinstall referrals, then reinstall SMG.

BTW, just tried a test registry and no more error message. Thanks for the great mod Yoda!
#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

Sudhakar Arjunan

Quote from: YodaOfDarkness on January 01, 2009, 03:25:07 PM
2.0 Beta 4 Users

I just updated this mod. Use referrals2_2-1-2.tar.gz to either install or upgrade to the new version, and it will fix the registration error.

Portoguese was also added, thanks to DeviDarkL.

Excellent update.

Waiting for a long time.

Worked perfectly.

Thanks a lot YodaofDarkness.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Sudhakar Arjunan

But i found the User who recently joined is not showed on the profile drop down.

but on number it shows the count properly.

Even on the new member list, it is not showing a tab called reffereb by him.

Got Error on the Stats page :

http://sitename.com/index.php?action=stats
Apply Filter: Only show the errors with the same message
8: Undefined index: referrals
Apply Filter: Only show the errors from this file
File: /home/sitefolder/public_html/forumfolder/Themes/default/Stats.template.php (main sub template - eval?)
Line: 291
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Fustrate

Fixed it in the new one - use referrals2_2-1-3.tar.gz to upgrade (or install).
Steven Hoffman
Former Team Member, 2009-2012

Sudhakar Arjunan

Quote from: YodaOfDarkness on January 02, 2009, 06:12:08 PM
Fixed it in the new one - use referrals2_2-1-3.tar.gz to upgrade (or install).

I have installed and got the error once, so i have attached the picture for your reference.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Fustrate

I think you had it cached, and the refresh fixed it for you.
Steven Hoffman
Former Team Member, 2009-2012

KahneFan

Referrals are either short, or not working right? If you click on the profiles on my "More Stats" page for the members who have referred others, the members with [1] referral do not show a drop down list for the members that they referred. And members with [>1) show 1 less on their drop down (if not more). For example, I currently show 10 referrals (no link hit supposedly), but my drop down only shows 8 names listed. Another member with 3 referrals only has 2 names on the drop down. and the memebrs with 1 don't even have a drop down...

http://ipostyoupost.com/index.php?action=stats
#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

Fustrate

Can you go into your database, into the members table, sort by reffered_by, and see how many were referred by you? Is it 8 or 10?
Steven Hoffman
Former Team Member, 2009-2012

KahneFan

Per my current stats page

KahneFan: 10
Tony: 3
Elochai: 2
Eric: 1
dry3210: 1

Per my database
KahneFan: 8
Tony: 2
Elochai: 1
Eric: 0
dry3210: 0

Also, on a side note; I'm not sure if this has to do with this mod, custom profile fields or my theme, but look at the image below. It should have...

Referrals: 10
Forum Software: SMF

but it shows

Referrals: 10 Forum
Software: SMF

It needs a break between the referrals line and the custom field line.
#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

Fustrate

So go into the template file and put a <br /> in there ;)

Lemme write a file for you to run that will update your referrals_no to the correct number - how many members do you have?
Steven Hoffman
Former Team Member, 2009-2012

KahneFan

55 members.

And, I'm not sure which file that would be in Boardindex.template.php? Display.template.php?
#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

KahneFan

#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

Fustrate

err, you kinda need to attach it to a post :)

Back up your database, put this file in your forum's directory (with SSI.php) and run it. If something blows up, restore the database and tell me.
Steven Hoffman
Former Team Member, 2009-2012

KahneFan

Quote from: YodaOfDarkness on January 04, 2009, 04:31:53 AM
...If something blows up...

Thanks for scaring me  :o


Anywho, thiis is what I got...

Quote
Parse error: syntax error, unexpected T_STRING in /home/content/b/u/d/budaadmin/html/sites/ipost/referrals.php on line 1
#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

Fustrate

I forgot to save it with Windows linebreaks >_< here's the new one
Steven Hoffman
Former Team Member, 2009-2012

KahneFan

I got this message...
Quote
User #1 updated: 44

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/content/b/u/d/budaadmin/html/sites/ipost/referrals.php on line 24
Need to do more? Click here.

And now the totals show...
KahneFan: 44
Tony: 3
Elochai: 2
Eric: 1
dry3210: 1
#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

Fustrate

Try this one (it didn't mess anything up, just those numbers):
Steven Hoffman
Former Team Member, 2009-2012

KahneFan

Quote
User # updated: 44

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/content/b/u/d/budaadmin/html/sites/ipost/referrals.php on line 24
Need to do more? Click here.


Same results.
#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

mghq


Advertisement: