Basically I am adding a custom external account provider to my XF install. What I want to be able to do is have an entry in the External Accounts page that a user can access to change settings regarding the account. However I have a few things that make it difficult:
The user should not be able...
Getting a strange error:
An exception occurred: Cannot load class using XFCP. Load the class using the correct loader first. in /var/www/html/library/XenForo/Autoloader.php on line 108
XenForo_Autoloader->autoload()
spl_autoload_call() in NextDelete/ControllerPublic/NextDelete.php at line 2...
Probably my non-existant PHP skills but I can't seem to get it working quite right:
Class NextDelete_ControllerPublic_Post:
<?php
class NextDelete_ControllerPublic_Post extends XenForo_ControllerPublic_Post {
public function actionDelete()
{
$response = parent::actionDelete();
if...
Would you be able to clarify where that particular function is located, and how I should start sorting it (sorry about this, I'm relatively new to making xf addons).
Hmm, interesting idea. Since I want to do the second bit I could potentially add a checkbox which then would connect to a database with post ids or something along those lines. If a post matches an id in the db then it won't display for those without the permission.
Basically in my forum, moderators have the 'View Deleted Posts' permission, which obviously allows them to see soft-deleted messages.
Essentially I want to be able to make a system that either replaces hard-delete or supplements it (since I don't like the idea of not being able to get the data...