[ABD] Referral MOD With Contests

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
User avatar
Dead Man
Registered User
Posts: 241
Joined: Tue Jun 05, 2012 12:35 am

Re: [DEV] Referral MOD With Contests

Post by Dead Man » Sun Feb 02, 2014 2:02 am

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.

User avatar
durangod
Registered User
Posts: 677
Joined: Tue Nov 03, 2009 1:26 pm

Re: [DEV] Referral MOD With Contests

Post by durangod » Tue May 06, 2014 10:11 am

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

radhwane
Registered User
Posts: 1
Joined: Sat Aug 02, 2014 2:01 pm

Re: [DEV] Referral MOD With Contests

Post by radhwane » Sat Aug 02, 2014 2:49 pm

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 :)

User avatar
Siropu
Registered User
Posts: 155
Joined: Mon Nov 16, 2009 6:15 pm
Location: Romania
Contact:

Re: [DEV] Referral MOD With Contests

Post by Siropu » Mon Aug 04, 2014 8:47 am

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.
Check out my MODs.

User avatar
advocatus
Registered User
Posts: 290
Joined: Tue Aug 12, 2014 11:58 am
Location: Ontario, Canada.
Contact:

Re: [DEV] Referral MOD With Contests

Post by advocatus » Tue Sep 02, 2014 1:12 am

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?
Hi, I'm advocatus and I own www.forumgames.in.

User avatar
Siropu
Registered User
Posts: 155
Joined: Mon Nov 16, 2009 6:15 pm
Location: Romania
Contact:

Re: [DEV] Referral MOD With Contests

Post by Siropu » Wed Sep 03, 2014 7:23 am

Please post the ref link here.
Check out my MODs.

User avatar
advocatus
Registered User
Posts: 290
Joined: Tue Aug 12, 2014 11:58 am
Location: Ontario, Canada.
Contact:

Re: [DEV] Referral MOD With Contests

Post by advocatus » Wed Sep 03, 2014 11:51 am

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.
Hi, I'm advocatus and I own www.forumgames.in.

User avatar
Siropu
Registered User
Posts: 155
Joined: Mon Nov 16, 2009 6:15 pm
Location: Romania
Contact:

Re: [DEV] Referral MOD With Contests

Post by Siropu » Wed Sep 03, 2014 12:01 pm

Then it's working fine. :)
Check out my MODs.

User avatar
advocatus
Registered User
Posts: 290
Joined: Tue Aug 12, 2014 11:58 am
Location: Ontario, Canada.
Contact:

Re: [DEV] Referral MOD With Contests

Post by advocatus » Wed Sep 03, 2014 12:36 pm

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.]
Hi, I'm advocatus and I own www.forumgames.in.

Cable Player
Registered User
Posts: 516
Joined: Thu Feb 03, 2011 4:45 pm
Location: Hampshire, England

Re: [DEV] Referral MOD With Contests

Post by Cable Player » Wed Oct 08, 2014 8:35 pm

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

User avatar
Siropu
Registered User
Posts: 155
Joined: Mon Nov 16, 2009 6:15 pm
Location: Romania
Contact:

Re: [DEV] Referral MOD With Contests

Post by Siropu » Thu Oct 09, 2014 6:31 am

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.
Check out my MODs.

Cable Player
Registered User
Posts: 516
Joined: Thu Feb 03, 2011 4:45 pm
Location: Hampshire, England

Re: [DEV] Referral MOD With Contests

Post by Cable Player » Thu Oct 09, 2014 11:13 am

Thanks, I'll give it a go.

Cable Player
Registered User
Posts: 516
Joined: Thu Feb 03, 2011 4:45 pm
Location: Hampshire, England

Re: [DEV] Referral MOD With Contests

Post by Cable Player » Thu Oct 09, 2014 11:20 am

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.

User avatar
Siropu
Registered User
Posts: 155
Joined: Mon Nov 16, 2009 6:15 pm
Location: Romania
Contact:

Re: [DEV] Referral MOD With Contests

Post by Siropu » Thu Oct 09, 2014 3:04 pm

Check out my MODs.

Cable Player
Registered User
Posts: 516
Joined: Thu Feb 03, 2011 4:45 pm
Location: Hampshire, England

Re: [DEV] Referral MOD With Contests

Post by Cable Player » Thu Oct 16, 2014 7:57 pm

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

Locked

Return to “[3.0.x] Abandoned MODs”

Who is online

Users browsing this forum: Pazh1 and 21 guests