Jump to content

Invite System


Recommended Posts

Posted
14 hours ago, LiquidFractal said:

I was editing one of my member groups (Guest) - specifically

 

13 hours ago, Adriano Faria said:

Quick fix tomorrow in the morning. 👍

Download and open applications/invite/extensions/core/GroupForm/Invite.php and find;

	public function save( $values, &$group )
	{
		if( $group->g_id != \IPS\Settings::i()->guest_group )

Change to:

	public function save( $values, &$group )
	{
		$canInvite   = 0;
		$isUnlimited = 0;

		if( $group->g_id != \IPS\Settings::i()->guest_group )

Save and upload.

Fix should be available in a few days in marketplace. Not submitted yet.

Posted

In a future update, could the function within the ACP be added to hide the 'invitees' tab in the users profile?

I tried to guess if it could be done via CSS, but this is all a guessing game to me.

#elProfileTab_node_invite_Invitees{
  display: none;
}

 

  • 2 weeks later...
Posted (edited)

Has "Invited By" on public profile been disabled in latest updates or do additional settings need modification? Not showing up now.

Edited by ASI
Posted (edited)

Please do. It used to show but now is not regardless of any setting combination and clearing cache.

Edited by ASI
Posted
On 12/5/2021 at 3:02 AM, ASI said:

Has "Invited By" on public profile been disabled in latest updates or do additional settings need modification? Not showing up now.

I just tested on my online board and it is working just fine:

MY8KVHs.png

 

Disabling the setting, it won't show up:

K7sVnva.png

 

The template is right:

{{if \IPS\Settings::i()->is_on AND \IPS\Settings::i()->is_show_invited_by}}
	{{$user = \IPS\invite\Member::getMember();}}
	...
Posted (edited)
On 12/6/2021 at 7:56 AM, Adriano Faria said:

The template is right:

How can I check this?

 

Mine is missing what your screenshot shows even though it is enabled in settings. You are running the latest IPS version? Any ideas then?

Edited by ASI
Posted

Latest IPS and Is versions, of course. If your version doesn’t has something, then probably you’re outdated.

Create a new “default” theme, unmodified and test it on it, please.

If you don’t know how to do it, send a message with ACP URL and credentials.

Posted
4 hours ago, Adriano Faria said:

Create a new “default” theme, unmodified and test it on it, please.

Maybe its the theme though everything before the latest updates worked. Switching to 'default ips' theme is not enough (didn't work) and need to create a new default theme?

Posted
10 minutes ago, ASI said:

Maybe its the theme though everything before the latest updates worked.

I wonder why as I didn’t touch that area since version 2.4.1 from November 2019, as you can see in the Changelog. 

Anyway, it’s working for me in a version installed from marketplace. So yes, you probably have a modified theme somehow; that’s the only reason for it not showing there.

You can do what I requested and/or provide ACP access. I’ll test on a stock theme probably tomorrow. Otherwise, not a bug. Working just fine.

Posted
20 hours ago, Adriano Faria said:

You can do what I requested and/or provide ACP access. I’ll test on a stock theme probably tomorrow. Otherwise, not a bug. Working just fine.

Indeed it is strange. Tried on a stock theme (same installation) and still didn't work. Is it possible to uninstall/reinstall without losing all the data somehow? Your inbox appears to be full.

Posted
9 minutes ago, ASI said:

Is it possible to uninstall/reinstall without losing all the data somehow?

You would need to dump the records from invite_* tables and import them after reinstall.

11 minutes ago, ASI said:

Your inbox appears to be full.

Thanks. Fixed. 

  • 3 months later...
  • 3 weeks later...
  • 1 month later...
  • 4 weeks later...
Posted (edited)

Testing 4.7 Beta 6 today with the Invite System 2.6.6 app enabled.  When I click on any of the groups, I get the following error:

Could contain: Text, Page, Document, Word

As long as "Invite" is enabled you can't modify "any" group settings. So, it's a bit of a problem. 😑

This occurs if server is running PHP 7.4 or PHP 8.

Edited by Chris Anderson
Posted
45 minutes ago, Chris Anderson said:

Testing 4.7 Beta 6 today with the Invite System 2.6.6 app enabled. 

 

45 minutes ago, Chris Anderson said:

So, it's a bit of a problem. 😑

This occurs if server is running PHP 7.4 or PHP 8.

Is this a test site or your live board? If it's your live board, you shouldn't update until you make sure all resources you use are compatible. I didn't test Invite System yet:

WaiqXVp.png

Posted
5 minutes ago, Chris Anderson said:

Just wanted to give you a head's up as it might not be something you might overlook as part of your compatibility testing.

Ok, I thought it was your live site. I’ll check it out. 

👍

Posted (edited)
3 hours ago, Chris Anderson said:

Testing 4.7 Beta 6 today with the Invite System 2.6.6 app enabled.  When I click on any of the groups, I get the following error:

Could contain: Text, Page, Document, Word

As long as "Invite" is enabled you can't modify "any" group settings. So, it's a bit of a problem. 😑

This occurs if server is running PHP 7.4 or PHP 8.

The issue happens because the Invite cache is deleted on app install/upgrade, so if you don't want to wait for the marketplace version, replace the following file: applications / invite / extensions / core / GroupForm / Invite.php

The fix will load the Invite cache if it isn't in the Groups form.

Also upload the following file: applications / invite / sources / Member / Group.php

Edited by Adriano Faria
  • 1 month later...
Posted
8 hours ago, Prince of Hell said:

What is the point in invite system if Members can't invite people without email

What do you suggest? Email address is still required for everything out there when you create an account. It IS required to create an account on IPS so it has a lot a point to me.

Posted
7 hours ago, Adriano Faria said:

What do you suggest? Email address is still required for everything out there when you create an account. It IS required to create an account on IPS so it has a lot a point to me.

its should be a option but everyone i know dont want to be force to put email. just give us the code

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...