Page 7 of 8

Re: [DEV] Referral MOD With Contests

Posted: Sun Feb 02, 2014 2:02 am
by Dead Man
Is this MOD abandon?
My board shows the people have referrals but when you try to view who you referred it doesn't show anything.

Re: [DEV] Referral MOD With Contests

Posted: Tue May 06, 2014 10:11 am
by durangod
UPDATE i think i found the anwer to my first question as to where to find the latest version and i believe this is the link:
http://www.siropu.com/forum/viewtopic.php?f=2&t=3

Other questions:
How close is this to being fully released into the mod directory?

Can we delete the install file after install?

I assume when you do the registration field you will allow them to choose a member name from a drop down list so that member gets immediate credit?

Until you do the registration field i have created a custom profile field as a temp solution, how do i add the totalls to the database manually, which table and with field can i manually add totalls to? For example: john smith gets a referral and i need to add +1 to his existing referrals, where can i do that?



thanks

Re: [DEV] Referral MOD With Contests

Posted: Sat Aug 02, 2014 2:49 pm
by radhwane
Hello friends ,

thank you dear Siropu for this MOD i like it so much
i install it in my phpbb3.0.12 and its working :D

few questions please :

1 - i try to register new account using my ref link in same PC & same IP adress its working good BUT THE PORBLEM i can register many accounts with same IP adress (its not good for contests )
i mean when you start a contest " referrals contest " maybe one user can register unlimited accounts :oops:

2 - i want to add some changes in ACP " .MODS > Referral MOD > Referrers " table or list show you :
username , referrals , IP adress , contry , date registred , ref POST ( how many post made by this ref ), refs come from (wich website come from ) etc .. . how can i add this changes included in table
too many changes :mrgreen: :mrgreen: :mrgreen:


thank you again Siropu thanks PHPBB.com

waiting updates :)

Re: [DEV] Referral MOD With Contests

Posted: Mon Aug 04, 2014 8:47 am
by Siropu
This MOD will be rewritten and improved for phpbb 3.1.
I won't be adding any new features nor I will provide support for the current version of the MOD.

I think I will add the option to upgrade from this MOD to the new one.

Re: [DEV] Referral MOD With Contests

Posted: Tue Sep 02, 2014 1:12 am
by advocatus
So I installed the mod and everything seemed to install correctly. However, when I copy the referral link (from the UCP) into a new browser, I get a 404-type (my site's 404 is weird) page. Any ideas why? Could it be my .htaccess file?

Re: [DEV] Referral MOD With Contests

Posted: Wed Sep 03, 2014 7:23 am
by Siropu
Please post the ref link here.

Re: [DEV] Referral MOD With Contests

Posted: Wed Sep 03, 2014 11:51 am
by advocatus
http://www.advocat.us/forums/index.php?r=2

Since my first post, I've completely removed my htaccess file. With that gone, the referral link just redirects to my forum index.

Re: [DEV] Referral MOD With Contests

Posted: Wed Sep 03, 2014 12:01 pm
by Siropu
Then it's working fine. :)

Re: [DEV] Referral MOD With Contests

Posted: Wed Sep 03, 2014 12:36 pm
by advocatus
Oh, I didn't realize that was how it was supposed to work. Thanks. I'll test it now.

[Edit: It works! Thank-you for such an awesome mod.]

Re: [DEV] Referral MOD With Contests

Posted: Wed Oct 08, 2014 8:35 pm
by Cable Player
Hello,
A member registered having somehow not gone through a referrer's link - how do you go about manually adding this for them? Even if it's via the database, I'd like to be able to manually add them in an event like this.

Thanks

Re: [DEV] Referral MOD With Contests

Posted: Thu Oct 09, 2014 6:31 am
by Siropu
Hi,

Here, I have made a small script to help you with that. I haven't tested it so please make a backup first and let me know how it goes.

http://www.siropu.com/download/rma.zip
Upload it where the forum is installed.

Re: [DEV] Referral MOD With Contests

Posted: Thu Oct 09, 2014 11:13 am
by Cable Player
Thanks, I'll give it a go.

Re: [DEV] Referral MOD With Contests

Posted: Thu Oct 09, 2014 11:20 am
by Cable Player
Hi again, I get this error message when running that file:

Code: Select all

General Error
SQL ERROR [ mysqli ]

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"51' at line 3 [1064]

SQL

SELECT username, user_regdate FROM phpbb_users WHERE user_id = "51

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/includes/db/dbal.php
LINE: 757
CALL: trigger_error()

FILE: [ROOT]/includes/db/mysqli.php
LINE: 189
CALL: dbal->sql_error()

FILE: [ROOT]/rma.php
LINE: 33
CALL: dbal_mysqli->sql_query()
That's when I place the user ID (the unique number). If I put the usernames in the box then the page just refreshes but nothing happens.

Re: [DEV] Referral MOD With Contests

Posted: Thu Oct 09, 2014 3:04 pm
by Siropu

Re: [DEV] Referral MOD With Contests

Posted: Thu Oct 16, 2014 7:57 pm
by Cable Player
Thanks, but this didn't work either.

It added a referral but not for the correct members.

I put my own user ID (the number "2") in the "referrer ID" box and the new member's ID in the "referral ID" box.

I checked the logs ACP > Mods > Refferral Mod > Referrers > (Click my username "view referrals") and it sayed "Username = Guest" "Referrer = test1" (the referred account). It should be "Username = test1" "Referrer = my username".

Sorry I've really struggled to explain this somehow >.<

Also:

Is it possible to make the referrals count clickable (on profile and viewtopic) so members can see who referred who? Also, is it possible to have "referred by" on the members profile?

Thanks