Resource icon

HX - Lock Thread Reason 1.0.5

No permission to download

timothy259856

Active member
timothy259856 submitted a new resource:

HX - Lock Thread Reason - Allow input reason when Lock(Close) thread.

Features:
  • Allow moderator Input/Edit reason (message) when they going to Lock (Close) a thread.
  • Show reason on thread which Locked (Closed)
More information: See the pictures.
View attachment 84378 View attachment 84379 View attachment 84380


Intallation:
  1. Extract the zip.
  2. Upload to you root folder.
  3. Install the xml.
  4. Do your job.
Notes: This is my first addon with 3hours coding, it's contain many bad logic...

Read more about this resource...
 
Error uninstall addon.
error_hx.webp
Install.php
Code uninstall.
Code:
        public static function uninstallCode(){       
            //Drop table
            $db->query("
                    DROP TABLE xf_hx_lockthreadreason
                    ");
        }
Fix.
Code:
        public static function uninstallCode(){       
            $db = XenForo_Application::get('db');           
            //Drop table
            $db->query("
                    DROP TABLE xf_hx_lockthreadreason
                    ");
        }
 
Very Bad add-on , i have only errors when i want close a threat , DEINSTALL is impossible .
Please fix it.

Code:
ErrorException: Fatal Error: Call to a member function query() on a non-object - library\HX\LockThreadReason\Install.php:19
Generiert durch: BoomBoomUlli, Vor 3 Minuten
Stapelverfolgung

#0 [internal function]: XenForo_Application::handleFatalError()
#1 {main}

Benötigter Status

array(3) {
  ["url"] => string(76) "https://roughnecks-germany.de/admin.php?add-ons/hx_lock_thread_reason/delete"
  ["_GET"] => array(1) {
    ["add-ons/hx_lock_thread_reason/delete"] => string(0) ""
  }
  ["_POST"] => array(2) {
    ["_xfConfirm"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
  }
}
 
Very Bad add-on , i have only errors when i want close a threat , DEINSTALL is impossible .
Please fix it.

Code:
ErrorException: Fatal Error: Call to a member function query() on a non-object - library\HX\LockThreadReason\Install.php:19
Generiert durch: BoomBoomUlli, Vor 3 Minuten
Stapelverfolgung

#0 [internal function]: XenForo_Application::handleFatalError()
#1 {main}

Benötigter Status

array(3) {
  ["url"] => string(76) "https://roughnecks-germany.de/admin.php?add-ons/hx_lock_thread_reason/delete"
  ["_GET"] => array(1) {
    ["add-ons/hx_lock_thread_reason/delete"] => string(0) ""
  }
  ["_POST"] => array(2) {
    ["_xfConfirm"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
  }
}

Sorry! I've missed change the version string so older code still remain. Get new update and try to uninstall addon.

Anw, you said that you get error when you try to close a thread, what's errors?
 
Sorry! I've missed change the version string so older code still remain. Get new update and try to uninstall addon.

Anw, you said that you get error when you try to close a thread, what's errors?

thx in first for the update,i hope he work.

The error is :
Not Found
The requested document was not found on this server.

But is all uploaded .
 
The Addon is not Work i can not lock the thread
That is the link from addon (see Picture)
I have not the file hxlockthreadreadreason on my Server
 

Attachments

  • ll.webp
    ll.webp
    2.5 KB · Views: 12
Last edited:
Back
Top Bottom