[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.
Locked
enakta13
Registered User
Posts: 33
Joined: Sat Jan 14, 2012 5:16 am

Re: [DEV] Referral MOD With Contests

Post by enakta13 »

First of all than you a lot for this wonderful mod.
I would like to ask if there is a way to modify the Start and End Date....
or Only End Date?

If yes please tell me how?
H3llion
Registered User
Posts: 228
Joined: Thu Oct 29, 2009 9:13 am

Re: [DEV] Referral MOD With Contests

Post by H3llion »

Updated, different question.

For some reason applying Subsilver2 settings onto AcidTech did nothing. When I check Subsilver there is no traces of Referall Mod even when enabled yet Prosilver displays the settings such as top 5 refers. So basically the Referall Mod settings are not present on Subsilver2.

Where could I find the necessary changes for Subsilver2, il do it manually.
Last edited by H3llion on Thu Sep 13, 2012 10:37 am, edited 2 times in total.
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 »

enakta13 wrote: I would like to ask if there is a way to modify the Start and End Date....
or Only End Date?
You can add custom end dates by following this tutorial. I think I will implement Jessica's idea in the next release.
Check out my MODs.
H3llion
Registered User
Posts: 228
Joined: Thu Oct 29, 2009 9:13 am

Re: [DEV] Referral MOD With Contests

Post by H3llion »

For some reason applying Subsilver2 settings onto AcidTech did nothing. When I check Subsilver there is no traces of Referall Mod even when enabled yet Prosilver displays the settings such as top 5 refers. So basically the Referall Mod settings are not present on Subsilver2.

Where could I find the necessary changes for Subsilver2, il do it manually.
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 »

Subsilver2 is not supported at the moment. I hope I can make the edits for subsilver2 soon.
Check out my MODs.
hwsteele
Registered User
Posts: 1
Joined: Tue Oct 16, 2012 7:02 pm

Re: [DEV] Referral MOD With Contests

Post by hwsteele »

I was wondering if you could give a bit of a help please...
I installed your mod version 1.1.3 with automod and it seemed to load ok.
The problem I'm having with it is that it does not show any one has been referred any place it shows statistics on the board. I have tried doing a refferal with the admin and a regular member and nothing has shown up. I used the e-mail referral link with both of them.

Every thing looks ok the only thing is the stats say no one has been reffered.

I am using prosilver.

Any help you would give would be great.

Thanks again, and thank you very much for making this mod in the first place!
jbarrouk
Registered User
Posts: 218
Joined: Mon May 15, 2006 3:10 am
Contact:

Re: [DEV] Referral MOD With Contests

Post by jbarrouk »

Just wondering if this has progressed. I am very anxious for this mod and greatly appreciate your hard work.
User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [DEV] Referral MOD With Contests

Post by Jessica »

When will the next release come? :S
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein
Kirthel
Registered User
Posts: 116
Joined: Fri Mar 16, 2012 1:01 am

Re: [DEV] Referral MOD With Contests

Post by Kirthel »

Hey I am having an issue. Everything seems to have worked, except the contest section in the Admin Panel.

I am using MS SQL not MySQL and this is the error I am getting.

Code: Select all

General Error
SQL ERROR [ mssqlnative ]

SQLSTATE: 42S02 code: 208 message: [Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid object name 'gwforum_referral_contests'. [208]

SQL

SELECT TOP 25 * FROM gwforum_referral_contests ORDER BY contest_end_date DESC
Please notify the board administrator or webmaster: [email protected]
Any idea how to fix?

Also this error when you go to the UCP section under Referrals

Code: Select all

General Error
SQL ERROR [ mssqlnative ]

SQLSTATE: 42S02 code: 208 message: [Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid object name 'gwforum_referrals'. [208]

SQL

SELECT COUNT(referral_username) as total_referrals FROM gwforum_referrals WHERE referrer_username="Aireiel"
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 »

Make sure you have these lines in includes/constants.php

Code: Select all

define('REFERRALS_TABLE',              $table_prefix . 'referrals');
define('REFERRAL_CONTESTS_TABLE',              $table_prefix . 'referral_contests');
Jessica wrote:When will the next release come? :S
Maybe in January 2013, I don't know. Since I have released this MOD I have been very busy.
Check out my MODs.
User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [DEV] Referral MOD With Contests

Post by Jessica »

Siropu wrote:Make sure you have these lines in includes/constants.php

Code: Select all

define('REFERRALS_TABLE',              $table_prefix . 'referrals');
define('REFERRAL_CONTESTS_TABLE',              $table_prefix . 'referral_contests');
Jessica wrote:When will the next release come? :S
Maybe in January 2013, I don't know. Since I have released this MOD I have been very busy.
Any news?
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein
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 »

I hope I can release a new version by the end of this week.
Check out my MODs.
User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [DEV] Referral MOD With Contests

Post by Jessica »

Siropu wrote:I hope I can release a new version by the end of this week.
Great!
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein
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 »

Version 1.1.4 has been released.

What's new?
- subsilver2 is now supported.
- You can use a custom date: x days, x weeks or x months
- I also made some design tweaks for the index contest box.

Planned features:
Improved invitation system.
Allow user registration only by invitation (optional).

Update instructions:
Replace all files and run the installer to update the MOD version. The CSS for the prosilver style has been modified so you have to update it.


Download link in first post.
Check out my MODs.
User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [DEV] Referral MOD With Contests

Post by Jessica »

Updated.

Little thing, not a biggie:

I created a contest today, February 1st, at 12:50 pm. Set the duration to 3 months.

So it says the end date is April 1st, 11:50 am. the date is right, but the time isn't. Well, it's just one hour off and I suspect it's something to do with DST? It's really not a big deal and if there's no "fix" that's fine - one hour off is no big deal. Just wondering why it's one hour off.
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein
Locked

Return to “[3.0.x] Abandoned MODs”