• The default language of any content posted is English.
    Do not create multi-accounts, you will be blocked!

How to add Custom Tools in Monster Tools?

easyrahil

Member
Messages
85
Reactions
12
Hello All, Dev and experts. I am curious if anyone can tell me how to add a custom tool in main page of Moonster tools script? and catagory also if possible? Thanks in advance.
 
Reacted by:
Hello! @easyrahil recently i modified a similer plugin, You will need to modify the plugin code to add your custom tool. You can follow these steps:

1. Open the plugin folder and locate the file "index.php". This file is responsible for rendering the main page of the plugin.

2. Find the section of the code that renders the existing tools on the page. It should look something like this:

```php
<div class="tools">
<?php foreach ($tools as $tool): ?>
<div class="tool">
<h3><?php echo $tool['title']; ?></h3>
<p><?php echo $tool['description']; ?></p>
<a href="<?php echo $tool['url']; ?>" target="_blank">Go to Tool</a>
</div>
<?php endforeach; ?>
</div>
```

3. To add your custom tool, you can copy the code above and modify it to match your tool. For example:

```php
<div class="tools">
<?php foreach ($tools as $tool): ?>
<div class="tool">
<h3><?php echo $tool['title']; ?></h3>
<p><?php echo $tool['description']; ?></p>
<a href="<?php echo $tool['url']; ?>" target="_blank">Go to Tool</a>
</div>
<?php endforeach; ?>

<div class="tool">
<h3>My Custom Tool</h3>
<p>This is my custom tool.</p>
<a href="https://example.com/my-custom-tool" target="_blank">Go to Tool</a>
</div>
</div>
```

4. Save the file and refresh the plugin page to see your custom tool added.

To add a category for your custom tool, you can modify the code above to include a category parameter for each tool. Then, you can modify the plugin code to group the tools by category on the main page. This will require more advanced coding skills, so if you need help with this, you may want to consider hiring a developer.
 
Reacted by:
  • Like
Reactions: easyrahil
Hello! @easyrahil recently i modified a similer plugin, You will need to modify the plugin code to add your custom tool. You can follow these steps:

1. Open the plugin folder and locate the file "index.php". This file is responsible for rendering the main page of the plugin.

2. Find the section of the code that renders the existing tools on the page. It should look something like this:

```php
<div class="tools">
<?php foreach ($tools as $tool): ?>
<div class="tool">
<h3><?php echo $tool['title']; ?></h3>
<p><?php echo $tool['description']; ?></p>
<a href="<?php echo $tool['url']; ?>" target="_blank">Go to Tool</a>
</div>
<?php endforeach; ?>
</div>
```

3. To add your custom tool, you can copy the code above and modify it to match your tool. For example:

```php
<div class="tools">
<?php foreach ($tools as $tool): ?>
<div class="tool">
<h3><?php echo $tool['title']; ?></h3>
<p><?php echo $tool['description']; ?></p>
<a href="<?php echo $tool['url']; ?>" target="_blank">Go to Tool</a>
</div>
<?php endforeach; ?>

<div class="tool">
<h3>My Custom Tool</h3>
<p>This is my custom tool.</p>
<a href="https://example.com/my-custom-tool" target="_blank">Go to Tool</a>
</div>
</div>
```

4. Save the file and refresh the plugin page to see your custom tool added.

To add a category for your custom tool, you can modify the code above to include a category parameter for each tool. Then, you can modify the plugin code to group the tools by category on the main page. This will require more advanced coding skills, so if you need help with this, you may want to consider hiring a developer.
Thanks and i ll sure give it a try. and let you know.
 
Reacted by:
Okay I have checked nd the files are totally different. Monster Tools script is based on Laravel, you may check in the php script section and available. and here is the index file code which is actually in public folder.
Code:
<?php

use Illuminate\Contracts\Http\Kernel;
use Illuminate\Http\Request;

if (!file_exists(__DIR__ . '/../.env')) {
    copy(__DIR__ . '/../.env.example', __DIR__ . '/../.env');
}

define('LARAVEL_START', microtime(true));

/*
|--------------------------------------------------------------------------
| Check If The Application Is Under Maintenance
|--------------------------------------------------------------------------
|
| If the application is in maintenance / demo mode via the "down" command
| we will load this file so that any pre-rendered content can be shown
| instead of starting the framework, which could cause an exception.
|
*/

if (file_exists($maintenance = __DIR__ . '/../storage/framework/maintenance.php')) {
    require $maintenance;
}

/*
|--------------------------------------------------------------------------
| Register The Auto Loader
|--------------------------------------------------------------------------
|
| Composer provides a convenient, automatically generated class loader for
| this application. We just need to utilize it! We'll simply require it
| into the script here so we don't need to manually load our classes.
|
*/

require __DIR__ . '/../vendor/autoload.php';

/*
|--------------------------------------------------------------------------
| Run The Application
|--------------------------------------------------------------------------
|
| Once we have the application, we can handle the incoming request using
| the application's HTTP kernel. Then, we will send the response back
| to this client's browser, allowing them to enjoy our application.
|
*/

$app = require_once __DIR__ . '/../bootstrap/app.php';

$kernel = $app->make(Kernel::class);

$response = $kernel->handle(
    $request = Request::capture()
)->send();

$kernel->terminate($request, $response);
 
Reacted by:
Please share the file and let me try
please download from the thread here:
Code:
https://nullcave.club/resources/monstertools-the-all-in-one-seo-web-toolkit-script.3655/updates
and if soe problem in settings page in admin p anel please replace this file and download edited from the given link.
you need to replace the file in Public/Build/assets/app-b89abf24.js
This file causing the problem. i edited and corrected it. If you wanna use that here is the file:
Code:
 
Reacted by:
Top