[ABD] Highway Referral Invitation MOD - 0.1.0c

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
User avatar
Highway of Life
Former Team Member
Posts: 6048
Joined: Wed Feb 02, 2005 5:41 pm
Location: Seattle, WA
Name: David Lewis
Contact:

Re: [BETA] Highway Referral Invitation MOD - 0.1.0c

Post by Highway of Life »

I don’t really understand what you mean with the .htaccess connection.
Can you elaborate/clarify? :)
The phpBB Weekly Podcast - Discussing the developments of phpBB4 and beyond.

New to phpBB3? Want to learn about programing?
Visit phpBB Academy at StarTrekGuide to learn how.

FFN
Registered User
Posts: 4
Joined: Fri Apr 04, 2008 6:25 am
Contact:

Re: [BETA] Highway Referral Invitation MOD - 0.1.0c

Post by FFN »

Ok. Htaccess I will do himself. Can I get referral link as forum.com/ucp.php?mode=register&ref=username ?
I mean automatically fill the field referral.

User avatar
Highway of Life
Former Team Member
Posts: 6048
Joined: Wed Feb 02, 2005 5:41 pm
Location: Seattle, WA
Name: David Lewis
Contact:

Re: [BETA] Highway Referral Invitation MOD - 0.1.0c

Post by Highway of Life »

Ah, yes... that’s part of the Invitation feature to come. -- Will continue working on this as soon as the PayPal Donation MOD and Joomla! -> phpBB3 Mambot MODs are in good working order.
The phpBB Weekly Podcast - Discussing the developments of phpBB4 and beyond.

New to phpBB3? Want to learn about programing?
Visit phpBB Academy at StarTrekGuide to learn how.

muru
Registered User
Posts: 9
Joined: Thu Apr 03, 2008 1:58 pm

Re: [BETA] Highway Referral Invitation MOD - 0.1.0c

Post by muru »

Can i send e-mail to friends to join with the forum?
Because i cant find it. And does it work with phpBB 3.0.0 gold?

User avatar
Tripp
Former Team Member
Posts: 1358
Joined: Sun May 20, 2007 5:14 am
Location: G'boro, North Carolina
Name: Tripp
Contact:

Re: [BETA] Highway Referral Invitation MOD - 0.1.0c

Post by Tripp »

muru wrote:Can i send e-mail to friends to join with the forum?
Because i cant find it. And does it work with phpBB 3.0.0 gold?
Not sure what you mean by your first question but yes, it works on gold.
The box said 'You need Windows XP or better' .... so I installed linux.

Formerly Drugs

muru
Registered User
Posts: 9
Joined: Thu Apr 03, 2008 1:58 pm

Re: [BETA] Highway Referral Invitation MOD - 0.1.0c

Post by muru »

i mean how can i send friend invite to the email from the forum? :)
cos i cant fint it :roll:

User avatar
Tripp
Former Team Member
Posts: 1358
Joined: Sun May 20, 2007 5:14 am
Location: G'boro, North Carolina
Name: Tripp
Contact:

Re: [BETA] Highway Referral Invitation MOD - 0.1.0c

Post by Tripp »

muru wrote:i mean how can i send friend invite to the email from the forum? :)
cos i cant fint it :roll:
You can't and I dunno why you think that to begin with. All this does, as of right now, is gives you a place in registration to enter a username that referred you.
The box said 'You need Windows XP or better' .... so I installed linux.

Formerly Drugs

User avatar
geeklife
Registered User
Posts: 172
Joined: Tue Jan 29, 2008 1:13 am

Re: [BETA] Highway Referral Invitation MOD - 0.1.0c

Post by geeklife »

The next release should have many updates including invitations.

cunyalen
Registered User
Posts: 127
Joined: Sat Jul 14, 2007 9:09 pm

Re: [BETA] Highway Referral Invitation MOD - 0.1.0c

Post by cunyalen »

It'll be perfect to me if we could send invitations.

User avatar
fiorefrank
Registered User
Posts: 226
Joined: Fri Jun 08, 2007 10:43 am
Location: Italy
Contact:

Re: [BETA] Highway Referral Invitation MOD - 0.1.0c

Post by fiorefrank »

Bug :
If you don't put referral name you get :

Code: Select all

General Error
SQL ERROR [ mysqli ]

Column 'user_id' cannot be null [1048]

An SQL error occurred while fetching this page. Please contact the Board Administrator if this problem persists.
Fix :
Open referral.php
replace

Code: Select all

}

	$sql_ary = array(
		'user_id'			=> $row['user_id'], //from who
		'invite_user_id'	=> $user_id,		    //who is invited
		'invite_status'		=> INVITED_USER_JOINED,
	);

	if (!$invite_key)
	{
		$db->sql_query('INSERT INTO ' . INVITATIONS_TABLE . ' ' . $db->sql_build_array('INSERT', $sql_ary));
	}
	else
	{
		// not in use yet.
	}

with

Code: Select all

	$sql_ary = array(
		'user_id'			=> $row['user_id'], //from who
		'invite_user_id'	=> $user_id,		    //who is invited
		'invite_status'		=> INVITED_USER_JOINED,
	);

	if (!$invite_key)
	{
		$db->sql_query('INSERT INTO ' . INVITATIONS_TABLE . ' ' . $db->sql_build_array('INSERT', $sql_ary));
	}
	else
	{
		// not in use yet.
	}
	}

Maniii
Registered User
Posts: 26
Joined: Thu Feb 07, 2008 1:51 am
Location: France
Contact:

Re: [BETA] Highway Referral Invitation MOD - 0.1.0c

Post by Maniii »

Always in development :?:
I don't speak english, i try only :)

yais
Registered User
Posts: 306
Joined: Sun Jun 17, 2007 12:45 pm

Re: [BETA] Highway Referral Invitation MOD - 0.1.0c

Post by yais »

when is subsilver2 going to be supported. Looking forward to this mod but there hasnt been any sign of recent development.

Clemi
Registered User
Posts: 10
Joined: Mon Jul 10, 2006 8:51 pm

Re: [BETA] Highway Referral Invitation MOD - 0.1.0c

Post by Clemi »

Is this Mod working with 3.0.1?

Play4Fun_Support
Registered User
Posts: 6
Joined: Wed Apr 16, 2008 8:24 pm

Re: [BETA] Highway Referral Invitation MOD - 0.1.0c

Post by Play4Fun_Support »

Hello, can you pelase tell me how to avoid the bug when regsitering because the codes i see at the top are both the same.???

User avatar
Tripp
Former Team Member
Posts: 1358
Joined: Sun May 20, 2007 5:14 am
Location: G'boro, North Carolina
Name: Tripp
Contact:

Re: [BETA] Highway Referral Invitation MOD - 0.1.0c

Post by Tripp »

Play4Fun_Support wrote:Hello, can you pelase tell me how to avoid the bug when regsitering because the codes i see at the top are both the same.???
Could you please provide more information?
The box said 'You need Windows XP or better' .... so I installed linux.

Formerly Drugs

Locked

Return to “[3.0.x] Abandoned MODs”