Jump to content

Invite System

Featured Replies

  • Author

No and I didn’t notice. Will fix in next version. If this is a huge issue for issue, you can edit the email template in your ACP.

Anyway, clicking on the button will open the register screen with the code. 

  • Replies 736
  • Views 66.6k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Nice to hear, this is your list: Export Generated Invits (Batch) on admin side (CSV, TXT) Invite to include a Coupon from the online store if it was activated Manage the case when

  • Robert Clarke
    Robert Clarke

    Any chance of adding a option to purchase a invite code? "No invite code? No Problem! Purchase a invite code for $10 HERE" and they pay via paypal and done.  Willing to pay more than 15 if this is can

  • Adriano Faria
    Adriano Faria

    @Martin1980, @Chris Bell, @JiigSaaw, @socceronly and everybody else interested on this app, I'm planning an upgrade soon. I know you all made suggestion but it is all spread out on the topic. Can

Posted Images

  • Author

I requested to reject the pending version. Will fix when they do and release it again. 

  • Author
11 hours ago, Daveo16 said:

I see in your email screenshot, that the sign up button now shows a code instead of the words "Sign Up" (as in my email screenshot).

Is this an intended change?

Fixed and new version re submitted.

Found another bug...

Invite System v2.6.0

Went to merge two members together and got this error...

The URL of page the error occurred on was https://<domain>/admin/?app=core&module=members&controller=members&do=merge&id=918

UPDATE `invite_members` invite_members  SET `is_member_id`=1284 WHERE is_member_id=918 
IPS\Db\Exception: Duplicate entry '1284' for key 'PRIMARY' (1062)
#0 /var/www/vhosts/<domain>/system/Db/Db.php(1154): IPS\_Db->preparedQuery()
#1 /var/www/vhosts/<domain>/applications/invite/extensions/core/MemberSync/Invite.php(38): IPS\_Db->update()
#2 /var/www/vhosts/<domain>/system/Member/Member.php(4032): IPS\invite\extensions\core\MemberSync\_Invite->onMerge()
#3 /var/www/vhosts/<domain>/system/Member/Member.php(4066): IPS\_Member->memberSync()
#4 /var/www/vhosts/<domain>/applications/core/modules/admin/members/members.php(2680): IPS\_Member->merge()
#5 /var/www/vhosts/<domain>/system/Dispatcher/Controller.php(90): IPS\core\modules\admin\members\_members->merge()
#6 /var/www/vhosts/<domain>/system/Dispatcher/Dispatcher.php(153): IPS\Dispatcher\_Controller->execute()
#7 /var/www/vhosts/<domain>/main/index.php(13): IPS\_Dispatcher->run()
#8 {main}
  
Backtrace:
#0 /var/www/vhosts/<domain>/init.php(1004): IPS\_Log::log()
#1 [internal function]: IPS\IPS::exceptionHandler()
#2 {main}

Had to disable the app to do the merge of accounts then re-enable the app afterwards.

Edited by Daveo16

  • Author

Test in 2.6.1 when it’s approved. 

Will do

  • Author
On 7/28/2021 at 8:09 PM, Adriano Faria said:

Test in 2.6.1 when it’s approved. 

 

23 hours ago, Daveo16 said:

Will do

Just checked and it's the same. I have to wait for 2.6.1 to get approved first then submit a fix. If you don't want to wait and have FTP access to your server, then download /applications/invite/extensions/core/MemberSync/Invite.php and find:

		\IPS\Db::i()->update( 'invite_members', array( 'is_member_id' => $member->member_id ), array( 'is_member_id=?', $member2->member_id ) );

Replace to:

	        \IPS\Db::i()->update( 'invite_members', array( 'is_member_id' => $member->member_id ), array( 'is_member_id=?', $member2->member_id ), array(), NULL, \IPS\Db::IGNORE );

Save and upload.

Edited by Adriano Faria

Edited the file (v2.6.0). Will test when I can find two members that need merging.

Also, file was at: /applications/invite/extensions/core/MemberSync/Invite.php as there is no /applications/invite/extensions/core/MemberSync.php file.

Edited by Daveo16

Found another bug in v2.6.0...

AdminCP > Community > Invite System > Members

The URL of page the error occurred on was https://<domain>/main/?app=invite&module=invite&controller=members

OutOfRangeException:  (0)
#0 /var/www/vhosts/daves-blog.co.uk/themoviemasters.com/applications/invite/modules/admin/invite/members.php(41): IPS\Patterns\_ActiveRecord::load()
#1 /var/www/vhosts/daves-blog.co.uk/themoviemasters.com/system/Helpers/Table/Db.php(435): IPS\invite\modules\admin\invite\_members->IPS\invite\modules\admin\invite\{closure}()
#2 /var/www/vhosts/<domain>/system/Helpers/Table/Table.php(489): IPS\Helpers\Table\_Db->getRows()
#3 /var/www/vhosts/<domain>/init.php(902) : eval()'d code(56): IPS\Helpers\Table\_Table->__toString()
#4 /var/www/vhosts/<domain>/system/Theme/Theme.php(860) : eval()'d code(2040): IPS\Helpers\Table\tthumb_hook_table_Table->__toString()
#5 /var/www/vhosts/<domain>/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_admin_global->globalTemplate()
#6 /var/www/vhosts/<domain>/system/Dispatcher/Dispatcher.php(173): IPS\Theme\_SandboxedTemplate->__call()
#7 /var/www/vhosts/<domain>/system/Dispatcher/Standard.php(113): IPS\_Dispatcher->finish()
#8 /var/www/vhosts/<domain>/init.php(902) : eval()'d code(77): IPS\Dispatcher\_Standard->finish()
#9 /var/www/vhosts/<domain>/init.php(902) : eval()'d code(19): IPS\Dispatcher\spaciouswidgets_hook_spaciousCSS->finish()
#10 /var/www/vhosts/<domain>/system/Dispatcher/Dispatcher.php(155): IPS\Dispatcher\nexus_hook_DispatcherAdmin->finish()
#11 /var/www/vhosts/<domain>/main/index.php(13): IPS\_Dispatcher->run()
#12 {main}

Backtrace...

#0 /var/www/vhosts/<domain>/init.php(1004): IPS\_Log::log()
#1 /var/www/vhosts/<domain>/system/Helpers/Table/Table.php(569): IPS\IPS::exceptionHandler()
#2 /var/www/vhosts/<domain>/init.php(902) : eval()'d code(56): IPS\Helpers\Table\_Table->__toString()
#3 /var/www/vhosts/<domain>/system/Theme/Theme.php(860) : eval()'d code(2040): IPS\Helpers\Table\tthumb_hook_table_Table->__toString()
#4 /var/www/vhosts/<domain>/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_admin_global->globalTemplate()
#5 /var/www/vhosts/<domain>/system/Dispatcher/Dispatcher.php(173): IPS\Theme\_SandboxedTemplate->__call()
#6 /var/www/vhosts/<domain>/system/Dispatcher/Standard.php(113): IPS\_Dispatcher->finish()
#7 /var/www/vhosts/<domain>/init.php(902) : eval()'d code(77): IPS\Dispatcher\_Standard->finish()
#8 /var/www/vhosts/<domain>/init.php(902) : eval()'d code(19): IPS\Dispatcher\spaciouswidgets_hook_spaciousCSS->finish()
#9 /var/www/vhosts/<domain>/system/Dispatcher/Dispatcher.php(155): IPS\Dispatcher\nexus_hook_DispatcherAdmin->finish()
#10 /var/www/vhosts/<domain>/main/index.php(13): IPS\_Dispatcher->run()
#11 {main}

 

  • Author

Not finding a member. Did you deleted a member that sent invitations by any chance?

Nope. Only 1 user has sent 2 invites, and the member that sent the invites is still a member of the forum, as are the two members he invited.

  • Author

I’ll take a look after 2.6.1 is out. I’ll 

OK thank you

Still waiting for 2.6.1 to be approved by IPS.

Any idea why it's taking so long, as it's been over a week since you released the new version ?

  • Author
11 minutes ago, Daveo16 said:

Still waiting for 2.6.1 to be approved by IPS.

Any idea why it's taking so long, as it's been over a week since you released the new version ?

God, my bad. I requested to reject the pending version to fix a issue you reported: not sending the invitation in the email.

On 7/25/2021 at 9:40 PM, Adriano Faria said:

I requested to reject the pending version. Will fix when they do and release it again. 

Then they rejected but I forgot to upload new version. ☹️

Sorry. Better because I will upload the new version tomorrow with the others issues reported. 

Sorry.

Edited by Adriano Faria

  • Author
On 8/4/2021 at 9:16 AM, Daveo16 said:

No worries and thank you for the update.

New version submitted right now.

Waiting for IPS review and approval.

Hi.

I'm still waiting for the update and noticed it's still not been approved by IPS.

Any ideas why it's taking so long ?

  • Author

Others are saying that is taking a couple of weeks to get approved. I submitted it last Thursday, according to my post above so it may take a bit more.

36 minutes ago, Adriano Faria said:

Others are saying that is taking a couple of weeks to get approved. I submitted it last Thursday, according to my post above so it may take a bit more.

Thanks for the heads up on this. 👍

Thank you Adriano, was coming to tell you about the issue, the app works great except this issue with invite code not displaying.

Doing it manually.

 

Thank you again, waiting for the update.

It's still not been approved by IPS 😞

  • Author
On 8/14/2021 at 6:20 PM, Daveo16 said:

It's still not been approved by IPS 😞

New version is available now.

Hi Adriano. Not sure if this is Invite-related?

Getting this error every minute.

Quote

ParseError: syntax error, unexpected '[', expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' (0)
#0 [internal function]: IPS\IPS::autoloader('IPS\\invite\\task...')
#1 [internal function]: spl_autoload_call('IPS\\invite\\task...')
#2 /home/#####/public_html/system/Task/Task.php(718): class_exists('IPS\\invite\\task...')
#3 /home/#####/public_html/system/Task/Task.php(198): IPS\_Task::constructFromData(Array)
#4 /home/#####/public_html/applications/core/interface/task/task.php(56): IPS\_Task::queued()
#5 {main}

When I disabled Invite it stopped.

Thoughts?

Thanks!!

  • Author
20 minutes ago, Giray said:

Hi Adriano. Not sure if this is Invite-related?

Getting this error every minute.

When I disabled Invite it stopped.

Thoughts?

Thanks!!

Oh God, my bad! 😞

Will upload a new version now to fix it.

Let me know if you or anyone else wants a fix, just reply here.

FTP required!

--------------------------

Sent you the fix via message, @Giray.

Edited by Adriano Faria

Recently Browsing 0

  • No registered users viewing this page.