Jump to content

Invite System


Adriano Faria

Recommended Posts

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.

Link to comment
Share on other sites

  • 2 weeks later...
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();}}
	...
Link to comment
Share on other sites

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
Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

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