Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Genestoy Posted July 4, 2017 Posted July 4, 2017 I am trying to add a "Delete" member button to an existing app so I can quickly delete a validating member Here is the code I am trying but it just keeps going to a "Page not found - Error code: 2S106/1" so obviously I have something wrong in the code? <li><a href='{$user->url()->setQueryString( array( 'do' => 'delete', 'id' => $user->member_id, 'delete' => 1 ) )}' data-action='delete' class='ipsButton ipsButton_verySmall ipsButton_normal'>{lang="delete"}</a></li> Here is the FireFox "Firebug" code from the acp for that delete button <a href="https://mysite.com/forums/admin/?adsess=3t819atr8getjfjgtk24hevq10&app=core&module=members&controller=members&do=delete&id=11" class="ipsButton ipsButton_verySmall ipsButton_normal " data-delete="" data-delete-warning="This action cannot be undone. The member's account will be deleted immediately." data-noajax=""> <i class="fa fa-times-circle"></i> <span data-role="title">Delete</span> </a> Thanks for any help
Recommended Posts
Archived
This topic is now archived and is closed to further replies.