[2.0.21] Invitation_Only_U2U

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in here. No new MODs will be accepted into the MOD Database for phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.

Rating:

Excellent!
37
73%
Very Good
9
18%
Good
2
4%
Fair
1
2%
Poor
2
4%
 
Total votes: 51

tribalismo
Registered User
Posts: 34
Joined: Sun Mar 25, 2007 5:36 pm

Re: [2.0.21] Invitation_Only_U2U

Post by tribalismo » Sun Jul 08, 2007 1:10 pm

It seem's like something is going wrong with reading the language file here...

This is what i get in my ACP:
Image

I guess im doing something wrong when adding the required codes inside the "functions.php" file.

The install file tells me to
Find
Tip: This may be a partial find and not the whole line.

include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx);
But I don't have that line, at least not in that format.

Can someone help me here?
Maybe I can send anyone my current version of functions.php so he/she can take a look?

Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 25316
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: [2.0.21] Invitation_Only_U2U

Post by Paul » Sun Jul 29, 2007 8:14 pm

I have taked over all Kellanved's MODs, includign this one (With permission from Kellanved), and will give from this moment support for them, and release new version when needed. Iam trying to give as much as possible support, but at this moment I dont know the code complete, so please be patient when asking your question, I try to answer asap :).
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development

User avatar
Kellanved
Former Team Member
Posts: 2635
Joined: Wed Jan 26, 2005 2:48 pm
Location: Meta-level

Re: [2.0.21] Invitation_Only_U2U

Post by Kellanved » Sun Jul 29, 2007 8:28 pm

I have full confidence in Paul to develop the MOD to its full potential. Lately I hardly had any time for my MODs and felt really bad about it.

So, I'll hover somewhere in the background, but this MOD is Pauls's now. Have a lot of fun :D
Last edited by Kellanved on Thu Sep 20, 2007 10:11 am, edited 1 time in total.
Nocando is in Idontwanna county. No support via PM

User avatar
Warmbells
Registered User
Posts: 38
Joined: Sun Jul 11, 2004 10:10 pm
Location: England

Re: [2.0.21] Invitation_Only_U2U

Post by Warmbells » Wed Sep 05, 2007 1:49 pm

Hi,

I have just installed the mod and all went smoothly till I decided to try a test invite. I sent myself an invite with one of my other email addresses, all went well till I filled in the registration page and submitted it when I got the following error:

Code: Select all

Could not insert data into users table

DEBUG MODE

INSERT INTO phpbb_users (user_id, username, user_regdate, user_password, user_email, user_regip, user_regip,user_icq, user_website, user_occ, user_from, user_interests, user_sig, user_sig_bbcode_uid, user_avatar, user_avatar_type, user_viewemail, user_aim, user_yim, user_msnm, user_attachsig, user_allowsmile, user_allowhtml, user_allowbbcode, user_allow_viewonline, user_notify, user_notify_pm, user_popup_pm, user_timezone, user_dateformat, user_lang, user_style, user_level, user_allow_pm, user_active, user_actkey) VALUES (194, 'gedbee', 1188998469, '5dbc2d8dfb43c6bb846f443c33bae620', 'gerald.bramwell@xxxxx.xxx', '524513f8', '524513f8', '', 'http://www.helpinanimalsindistress.co.uk', 'retired', 'Swinton, Greater Manchester', '', '', '', '', 0, 0, '', '', '', 1, 1, 0, 1, 1, 0, 1, 1, 0, 'D M d, Y g:i a', 'english', 1, 0, 1, 0, '626951')

Line : 684
File : usercp_register.php
 
I've blanked the email domain just in case.

Anyone any ideas, registration was okay till installin this mod
PS. Help raise money for Animals in distress just by searching the web!

We are listed on everyclick.com, the search engine that helps charity.
Please follow this link and set everyclick as your home page so that all of your searching benefits Animals in distress http://www.everyclick.com/uk/animalsindistress

Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 25316
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: [2.0.21] Invitation_Only_U2U

Post by Paul » Wed Sep 05, 2007 2:13 pm

Did you run the sql included in the MOD?
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development

pmlabrier
Registered User
Posts: 30
Joined: Wed Feb 08, 2006 6:28 am
Contact:

Re: [2.0.21] Invitation_Only_U2U

Post by pmlabrier » Wed Sep 05, 2007 3:00 pm

Can this mod be used to invite already registered members to join a group?

Paul

User avatar
Warmbells
Registered User
Posts: 38
Joined: Sun Jul 11, 2004 10:10 pm
Location: England

Re: [2.0.21] Invitation_Only_U2U

Post by Warmbells » Wed Sep 05, 2007 5:38 pm

Paul wrote:Did you run the sql included in the MOD?
Yes I did, I even replaced usercp_register.php with the backup I had made before the mod instal but it still gives the same error. I might have to do a clean install of the board (after backing up the database)
PS. Help raise money for Animals in distress just by searching the web!

We are listed on everyclick.com, the search engine that helps charity.
Please follow this link and set everyclick as your home page so that all of your searching benefits Animals in distress http://www.everyclick.com/uk/animalsindistress

Eleri
Registered User
Posts: 47
Joined: Thu Dec 21, 2006 6:08 pm

Re: [2.0.21] Invitation_Only_U2U

Post by Eleri » Thu Sep 20, 2007 12:45 am

Heyo, I've installed this mod and everything seemed to be working fine. Sent out two test invitations.

Both had randomly generated codes, both people clicked on the link in the email to register, and were taken to the COPPA page. Clicking through, however came up with this:
- This is an Invitation Only Board

Hi, we are sorry to inform you that we do not accept anonymous registrations at the moment. As a result you need an Invitation Code to register.
If you have an invitation passcode, you can enter it in the field below.
Thank you for your understanding.
(place to insert invite code here)
Fatal error: Cannot redeclare prepare_message() (previously declared in /home/mystemba/public_html/heartofbirth/forum/includes/functions_post.php:38) in /home/mystemba/public_html/heartofbirth/forum/includes/functions_post.php on line 38
Manually entering the invite code takes you back to the COPPA page, and then that comes back to the error page, and so forth.

I noticed someone else had this error previously in the thread, but there doesn't seem to be an answer for them.

Any ideas what's glitching, and what I should look for to fix it?

I'm testing this on an unmodded 2.0.21 board for install on a 2.0.22 board

Eleri
Registered User
Posts: 47
Joined: Thu Dec 21, 2006 6:08 pm

Re: [2.0.21] Invitation_Only_U2U

Post by Eleri » Sun Sep 23, 2007 5:45 pm

anyone? Please?

toxicfume
Registered User
Posts: 13
Joined: Mon Jun 25, 2007 3:41 pm

Re: [2.0.21] Invitation_Only_U2U

Post by toxicfume » Sat Oct 20, 2007 6:44 am

Hi all,
I really would like to know how to change the default text of the email which appears in the "Message" text box of the NEW INVITATION page.

Can someone please help? Thanks!

Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 25316
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: [2.0.21] Invitation_Only_U2U

Post by Paul » Sat Oct 20, 2007 7:51 am

toxicfume wrote:Hi all,
I really would like to know how to change the default text of the email which appears in the "Message" text box of the NEW INVITATION page.

Can someone please help? Thanks!
That will be in one of the added/changed language files.
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development

toxicfume
Registered User
Posts: 13
Joined: Mon Jun 25, 2007 3:41 pm

Re: [2.0.21] Invitation_Only_U2U

Post by toxicfume » Sat Oct 20, 2007 9:13 am

Paul wrote:
toxicfume wrote:Hi all,
I really would like to know how to change the default text of the email which appears in the "Message" text box of the NEW INVITATION page.

Can someone please help? Thanks!
That will be in one of the added/changed language files.
Which file would that be? And where do I edit?

classmatesguy
Registered User
Posts: 11
Joined: Sat Nov 17, 2007 5:35 am

Re: [2.0.21] Invitation_Only_U2U

Post by classmatesguy » Fri Nov 30, 2007 5:56 am

Does anyone see any problems installing this mod with this setup:

phpbb 2.0.22
eXtreme Styles 2.4.0
Simple Subforums 1.0.2
Forum Meta Tags 1.0.2
Inline Ad Mod 1.0.3

blackmagic911
Registered User
Posts: 9
Joined: Tue Jul 26, 2005 10:01 pm

Re: [2.0.21] Invitation_Only_U2U

Post by blackmagic911 » Tue Dec 04, 2007 9:36 am

I'm realli getting a bit of a head ache. Everything works fine as i think it should but i'm having a bit of a problem figuring out wat the purpose of "Generate a new Invitation" I can create one, but i don't know how to assign that new invitation to a sender. Is there a way to create a new invitation is give it to someone to use??

right now the invitation shows in the "list", but it has not "invitation sender." My goal is to have the people in my usergroup to invite other people into the usergroup. This mod can do tat yes? from the description and config, it should, but i can't assign a sender.

Also, if i do manage to give the usergroup members to send invites for the usergroup, do they have to the a moderator cause there can only be one moderator.

Spherix
Registered User
Posts: 7
Joined: Fri May 05, 2006 7:06 pm

Re: [2.0.21] Invitation_Only_U2U

Post by Spherix » Thu Dec 06, 2007 6:01 pm

Thanks in advance for this mod, I have a question regarding installation however. With my forum, due to a faulty install at one point and limited server access, I reainstalled a copy with diffrent table prefixes (forum_ instead of phpbb_) This doesn't give any problems for the forum itself, but I was wondering what would be needed to modify in order to make it work with my current setup.

I noticed that in the install file there's a small bit of SQL work that needs to be done, ofcourse, I figured that I should alter the prefixes of the tables it wants to add/change to the one I'm using. But I'm wondering if that wont cause any problems code wise, since I'm not sure on how this mod is written, what it does regarding queries etc.

Main question;

Will the mod work when I change the table prefix in the install file from phpbb_ to forum_ ?

as in;

Code: Select all

CREATE TABLE phpbb_invitations (
	invitation_id MEDIUMINT( 8 ) NOT NULL AUTO_INCREMENT ,
	invitation_code VARCHAR( 8 ) NOT NULL ,
	invitation_description TEXT NOT NULL,
	invitation_uses MEDIUMINT( 8 ) NOT NULL DEFAULT '1',
	invitation_sender MEDIUMINT( 8 ) NOT NULL DEFAULT '0',
	invitation_group MEDIUMINT( 8 ) NOT NULL DEFAULT '0',
	invitation_group_auto_activate TINYINT( 1 ) NOT NULL DEFAULT '0',
	invitation_email TEXT NOT NULL,
	PRIMARY KEY ( invitation_id ) 
);

CREATE TABLE phpbb_invitation_users (
	invitation_id MEDIUMINT( 8 ) NOT NULL,
	user_id MEDIUMINT( 8 ) NOT NULL,	
	PRIMARY KEY ( user_id ) 
);	

INSERT INTO forum_config ( config_name , config_value ) 
	VALUES ('invitation_only', '2');
	
INSERT INTO forum_config ( config_name , config_value ) 
	VALUES ('invite_u2u', '2');
 
	
INSERT INTO forum_config ( config_name , config_value ) 
	VALUES ('additional_rules', '');
 
ALTER TABLE forum_users ADD user_invites MEDIUMINT( 8 ) NOT NULL DEFAULT '0';

ALTER TABLE forum_groups ADD group_invites MEDIUMINT( 8 ) NOT NULL DEFAULT '0';
Fast response would be much appriciated ;) Thanks!

Post Reply

Return to “[2.0.x] MOD Database Releases”