Recent content by TheDiamondPicks

  1. TheDiamondPicks

    XF 1.5 Custom External Account Provider

    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...
  2. TheDiamondPicks

    ok

    ok
  3. TheDiamondPicks

    Replacing Hard Delete / Adding a New Delete Option

    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...
  4. TheDiamondPicks

    Replacing Hard Delete / Adding a New Delete Option

    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...
  5. TheDiamondPicks

    Replacing Hard Delete / Adding a New Delete Option

    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).
  6. TheDiamondPicks

    Replacing Hard Delete / Adding a New Delete Option

    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.
  7. TheDiamondPicks

    Replacing Hard Delete / Adding a New Delete Option

    That could work temporarily, but it doesn't seem seamless enough.
  8. TheDiamondPicks

    Replacing Hard Delete / Adding a New Delete Option

    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...
Top Bottom