[RC] phpBB Invite 3.0.0

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Scam Warning
User avatar
sysz
Registered User
Posts: 278
Joined: Mon Jan 30, 2012 11:36 pm
Location: Sweden, Helsingborg
Name: Kimmy Lindell Ekström
Contact:

Re: [RC] phpBB Invite 2.1.0

Post by sysz » Sat May 24, 2014 11:42 am

First thanks for the mod, the installation was easy and everything seems to work as it should.
I was wondering if there is an way to make it more visible for an user to see how many invites he or she has have, directly by just looking on the navbar?

For example if i have 5 invites then in the navbar it will show Invite (5), and if i have unlimited it will show Invite (∞)?
Currently working on the community

User avatar
KillBill.
Registered User
Posts: 588
Joined: Tue Jun 02, 2009 4:07 pm
Contact:

Re: [RC] phpBB Invite 2.1.0

Post by KillBill. » Sun May 25, 2014 12:26 am

sysz wrote:First thanks for the mod, the installation was easy and everything seems to work as it should.
I was wondering if there is an way to make it more visible for an user to see how many invites he or she has have, directly by just looking on the navbar?

For example if i have 5 invites then in the navbar it will show Invite (5), and if i have unlimited it will show Invite (∞)?
currently, so it works ;)

example: invite (10)
and unlimited no number - invite

User avatar
sysz
Registered User
Posts: 278
Joined: Mon Jan 30, 2012 11:36 pm
Location: Sweden, Helsingborg
Name: Kimmy Lindell Ekström
Contact:

Re: [RC] phpBB Invite 2.1.0

Post by sysz » Sun May 25, 2014 2:40 pm

Hehe yeah i just recently saw it when i some sec ago removed unlimited invites :oops: :lol:
Currently working on the community

clight77
Registered User
Posts: 907
Joined: Sun May 11, 2003 11:09 pm

Re: [RC] phpBB Invite 2.1.0

Post by clight77 » Thu Jun 26, 2014 4:03 pm

Hi killbill
Everything works up to the point where the invited user tries to register,then this is what they get when they submit:
Registration is currently by invitation only!

Thanks
I Follow Up On My Posts.
So Should Everybody...

User avatar
Solidjeuh
Registered User
Posts: 522
Joined: Wed Oct 06, 2010 11:20 pm
Location: Aalst / Belgium
Name: Andy Dm
Contact:

Re: [RC] phpBB Invite 2.1.0

Post by Solidjeuh » Thu Jun 26, 2014 4:10 pm

clight77 wrote:Hi killbill
Everything works up to the point where the invited user tries to register,then this is what they get when they submit:
Registration is currently by invitation only!

Thanks
Go to Admin panel / Registration settings
And choose 'Invitation + Registration'
I don't suffer from insanity. I enjoy every minute of it.

clight77
Registered User
Posts: 907
Joined: Sun May 11, 2003 11:09 pm

Re: [RC] phpBB Invite 2.1.0

Post by clight77 » Thu Jun 26, 2014 4:26 pm

Solidjeuh wrote:
clight77 wrote:Hi killbill
Everything works up to the point where the invited user tries to register,then this is what they get when they submit:
Registration is currently by invitation only!

Thanks
Go to Admin panel / Registration settings
And choose 'Invitation + Registration'

Thanks I did that,but I want it private,invitation only :)
I Follow Up On My Posts.
So Should Everybody...

clight77
Registered User
Posts: 907
Joined: Sun May 11, 2003 11:09 pm

Re: [RC] phpBB Invite 2.1.0

Post by clight77 » Thu Jun 26, 2014 7:02 pm

This is what I did temporarily
In ACP go to Registration settings
And choose Invitation + Registration

In:
index_body.html I commented out this part:

<!-- IF S_REGISTER_ENABLED -->&nbsp; &bull; &nbsp;<a href="{U_REGISTER}">{L_REGISTER}</a>

To:

<!--<!-- IF S_REGISTER_ENABLED -->&nbsp; &bull; &nbsp;<a href="{U_REGISTER}">{L_REGISTER}</a>-->

Also had to change this


from:
<!-- IF S_DISPLAY_ONLINE_LIST -->

to:
<!-- IF S_DISPLAY_ONLINE_LIST and U_MCP -->

from:
<!-- IF NEWEST_USER -->

to:
<!-- IF NEWEST_USER and U_MCP -->
So the Registration link is not shown on index.

Changed

From:
<!-- IF S_USER_LOGGED_IN and U_MCP -->

To:
<!-- IF S_USER_LOGGED_IN and S_IS_BOT -->

Stops display of login Logout on index footer.


Next in: overall_header.htmlI commented out this part:

<!-- IF not S_USER_LOGGED_IN and S_REGISTER_ENABLED --><li><i class="icon-plus"></i> <a href="{U_REGISTER}">{L_REGISTER}</a></li><!-- ENDIF -->

To:

<!--<!-- IF not S_USER_LOGGED_IN and S_REGISTER_ENABLED --><li><i class="icon-plus"></i> <a href="{U_REGISTER}">{L_REGISTER}</a></li><!-- ENDIF -->-->

So the Registration link is not shown on index header.

Next in: login_body.html
<!-- IF not S_ADMIN_AUTH and S_REGISTER_ENABLED -->

to:
<!-- IF S_ADMIN_AUTH and S_REGISTER_ENABLED -->

So when you click on Login it will not show Registration.
Just info that worked for me :)
Last edited by clight77 on Sun Jun 29, 2014 7:01 pm, edited 5 times in total.
I Follow Up On My Posts.
So Should Everybody...

User avatar
KillBill.
Registered User
Posts: 588
Joined: Tue Jun 02, 2009 4:07 pm
Contact:

Re: [RC] phpBB Invite 2.1.0

Post by KillBill. » Thu Jun 26, 2014 9:23 pm

clight77 wrote:This is what I did temporarily

In ACP go to Registration settings
And choose Invitation + Registration

In index_body.html I commented out this part:

<!-- IF S_REGISTER_ENABLED -->&nbsp; &bull; &nbsp;<a href="{U_REGISTER}">{L_REGISTER}</a>

To:

<!--<!-- IF S_REGISTER_ENABLED -->&nbsp; &bull; &nbsp;<a href="{U_REGISTER}">{L_REGISTER}</a>-->

So the Registration link is not shown on index.


Next in overall_header.html I commented out this part:

<!-- IF not S_USER_LOGGED_IN and S_REGISTER_ENABLED --><li><i class="icon-plus"></i> <a href="{U_REGISTER}">{L_REGISTER}</a></li><!-- ENDIF -->

To:

<!--<!-- IF not S_USER_LOGGED_IN and S_REGISTER_ENABLED --><li><i class="icon-plus"></i> <a href="{U_REGISTER}">{L_REGISTER}</a></li><!-- ENDIF -->-->

So the Registration link is not shown on index header.

Just info that worked for me :)
select -> Invitation only

In this case, there is no registration link.

So there is no need for editing.

clight77
Registered User
Posts: 907
Joined: Sun May 11, 2003 11:09 pm

Re: [RC] phpBB Invite 2.1.0

Post by clight77 » Fri Jun 27, 2014 3:16 pm

KillBill. wrote:
clight77 wrote:This is what I did temporarily

This is what I did temporarily

In ACP go to Registration settings
And choose Invitation + Registration

In:
index_body.html I commented out this part:

<!-- IF S_REGISTER_ENABLED -->&nbsp; &bull; &nbsp;<a href="{U_REGISTER}">{L_REGISTER}</a>

To:

<!--<!-- IF S_REGISTER_ENABLED -->&nbsp; &bull; &nbsp;<a href="{U_REGISTER}">{L_REGISTER}</a>-->

Also had to change this


from:
<!-- IF S_DISPLAY_ONLINE_LIST -->

to:
<!-- IF S_DISPLAY_ONLINE_LIST and U_MCP -->

from:
<!-- IF NEWEST_USER -->

to:
<!-- IF NEWEST_USER and U_MCP -->
So the Registration link is not shown on index.

Changed

From:
<!-- IF S_USER_LOGGED_IN and U_MCP -->

To:
<!-- IF S_USER_LOGGED_IN and S_IS_BOT -->

Stops display of login Logout on index footer.


Next in: overall_header.htmlI commented out this part:

<!-- IF not S_USER_LOGGED_IN and S_REGISTER_ENABLED --><li><i class="icon-plus"></i> <a href="{U_REGISTER}">{L_REGISTER}</a></li><!-- ENDIF -->

To:

<!--<!-- IF not S_USER_LOGGED_IN and S_REGISTER_ENABLED --><li><i class="icon-plus"></i> <a href="{U_REGISTER}">{L_REGISTER}</a></li><!-- ENDIF -->-->

So the Registration link is not shown on index header.

Next in: login_body.html
<!-- IF not S_ADMIN_AUTH and S_REGISTER_ENABLED -->

to:
<!-- IF S_ADMIN_AUTH and S_REGISTER_ENABLED -->

So when you click on Login it will not show Registration.

Just info that worked for me :)
select -> Invitation only

In this case, there is no registration link.

So there is no need for editing.
Hi Killbill
I did select just Invitation only,but as I mentioned earlier.

Everything works up to the point where the invited user tries to register,then this is what they get when they submit:

Registration is currently by invitation only!
That is why I edited the files.
Thanks
Last edited by clight77 on Sun Jun 29, 2014 5:27 pm, edited 1 time in total.
I Follow Up On My Posts.
So Should Everybody...

User avatar
KillBill.
Registered User
Posts: 588
Joined: Tue Jun 02, 2009 4:07 pm
Contact:

Re: [RC] phpBB Invite 2.1.0

Post by KillBill. » Fri Jun 27, 2014 9:27 pm

clight77 wrote:
KillBill. wrote:
clight77 wrote:This is what I did temporarily

In ACP go to Registration settings
And choose Invitation + Registration

In index_body.html I commented out this part:

<!-- IF S_REGISTER_ENABLED -->&nbsp; &bull; &nbsp;<a href="{U_REGISTER}">{L_REGISTER}</a>

To:

<!--<!-- IF S_REGISTER_ENABLED -->&nbsp; &bull; &nbsp;<a href="{U_REGISTER}">{L_REGISTER}</a>-->

So the Registration link is not shown on index.


Next in overall_header.html I commented out this part:

<!-- IF not S_USER_LOGGED_IN and S_REGISTER_ENABLED --><li><i class="icon-plus"></i> <a href="{U_REGISTER}">{L_REGISTER}</a></li><!-- ENDIF -->

To:

<!--<!-- IF not S_USER_LOGGED_IN and S_REGISTER_ENABLED --><li><i class="icon-plus"></i> <a href="{U_REGISTER}">{L_REGISTER}</a></li><!-- ENDIF -->-->

So the Registration link is not shown on index header.

Just info that worked for me :)
select -> Invitation only

In this case, there is no registration link.

So there is no need for editing.
Hi Killbill
I did select just Invitation only,but as I mentioned earlier.

Everything works up to the point where the invited user tries to register,then this is what they get when they submit:

Registration is currently by invitation only!
That is why I edited the files.
Thanks
if select Invitation + Registration you no longer write.
If you see this error message, it is incorrect, edit the function.php!

clight77
Registered User
Posts: 907
Joined: Sun May 11, 2003 11:09 pm

Re: [RC] phpBB Invite 2.1.0

Post by clight77 » Sat Jun 28, 2014 1:50 am

Hi Killbill
I am trying to use in ACP just Invitation.. I do not want Invitation + Registration
I have gone through all the code changes 3 times and still get the same thing:::: Registration is currently by invitation only!

I had to make these changes to make it work with Invitation + Registration but that is not what i want,I just want in ACP to select Invitation so I do not have to make the html changes :)

I had to actually do a few more changes.
This is what I did temporarily

In ACP go to Registration settings
And choose Invitation + Registration

In:
index_body.html I commented out this part:

<!-- IF S_REGISTER_ENABLED -->&nbsp; &bull; &nbsp;<a href="{U_REGISTER}">{L_REGISTER}</a>

To:

<!--<!-- IF S_REGISTER_ENABLED -->&nbsp; &bull; &nbsp;<a href="{U_REGISTER}">{L_REGISTER}</a>-->

Also had to change this


from:
<!-- IF S_DISPLAY_ONLINE_LIST -->

to:
<!-- IF S_DISPLAY_ONLINE_LIST and U_MCP -->

from:
<!-- IF NEWEST_USER -->

to:
<!-- IF NEWEST_USER and U_MCP -->
So the Registration link is not shown on index.

Changed

From:
<!-- IF S_USER_LOGGED_IN and U_MCP -->

To:
<!-- IF S_USER_LOGGED_IN and S_IS_BOT -->

Stops display of login Logout on index footer.


Next in: overall_header.htmlI commented out this part:

<!-- IF not S_USER_LOGGED_IN and S_REGISTER_ENABLED --><li><i class="icon-plus"></i> <a href="{U_REGISTER}">{L_REGISTER}</a></li><!-- ENDIF -->

To:

<!--<!-- IF not S_USER_LOGGED_IN and S_REGISTER_ENABLED --><li><i class="icon-plus"></i> <a href="{U_REGISTER}">{L_REGISTER}</a></li><!-- ENDIF -->-->

So the Registration link is not shown on index header.

Next in: login_body.html
<!-- IF not S_ADMIN_AUTH and S_REGISTER_ENABLED -->

to:
<!-- IF S_ADMIN_AUTH and S_REGISTER_ENABLED -->

So when you click on Login it will not show Registration.

Just info that worked for me :)
Thanks for trying to help :)
Last edited by clight77 on Sun Jun 29, 2014 5:28 pm, edited 1 time in total.
I Follow Up On My Posts.
So Should Everybody...

User avatar
KillBill.
Registered User
Posts: 588
Joined: Tue Jun 02, 2009 4:07 pm
Contact:

Re: [RC] phpBB Invite 2.1.0

Post by KillBill. » Sat Jun 28, 2014 9:35 pm

clight77 wrote:Thanks for trying to help :)
Run the installation verification.

clight77
Registered User
Posts: 907
Joined: Sun May 11, 2003 11:09 pm

Re: [RC] phpBB Invite 2.1.0

Post by clight77 » Sat Jun 28, 2014 9:58 pm

KillBill. wrote:
clight77 wrote:Thanks for trying to help :)
Run the installation verification.
Hi just ran install_verify.php all it showed was a blank white page..
Don't know what that means.

Thank you :)
I Follow Up On My Posts.
So Should Everybody...

User avatar
KillBill.
Registered User
Posts: 588
Joined: Tue Jun 02, 2009 4:07 pm
Contact:

Re: [RC] phpBB Invite 2.1.0

Post by KillBill. » Sun Jun 29, 2014 6:55 am

clight77 wrote:
KillBill. wrote:
clight77 wrote:Thanks for trying to help :)
Run the installation verification.
Hi just ran install_verify.php all it showed was a blank white page..
Don't know what that means.

Thank you :)
no install_verify.php

run http://example.com/install/index.php and click verify button.

clight77
Registered User
Posts: 907
Joined: Sun May 11, 2003 11:09 pm

Re: [RC] phpBB Invite 2.1.0

Post by clight77 » Sun Jun 29, 2014 5:06 pm

Hi KillBill

I ran that and this is what I got.
Intro
Verify

Information

The check found everything okay.

phpBB file edits: All files are edited.
phpBB users table new columns: All columns found.
phpBB Invite files: All files found.
phpBB Invite tables: All tables found.
phpBB Invite modules: All modules found.
phpBB Invite permissions: All permissions found.
phpBB Invite configuration: All phpBB Invite config found.
phpBB new config: phpBB config found.
But I still get the same issue when set to Invitation Only in ACP
Everything works up to the point where the invited user tries to register,then this is what they get when they submit:
Registration is currently by invitation only!

Thanks
Last edited by clight77 on Sun Jun 29, 2014 7:04 pm, edited 1 time in total.
I Follow Up On My Posts.
So Should Everybody...

Locked

Return to “[3.0.x] MODs in Development”

Who is online

Users browsing this forum: No registered users and 19 guests

cron