JSitemap Professional 4.23 generate sitemap for joomla

vegakiss

Active member
Elite
XNullUser
Joined
Jan 11, 2021
Messages
93
Reaction score
175
Points
33
NullCash
1,145

JSitemap Professional is the most powerful and complete plugin to generate a Joomla sitemap and manage SEO in a snap!​

Boost your indexing with JSitemap, the advanced sitemaps generator and SEO indexing tool for Joomla!​

JSitemap is the most popular solution to manage Joomla sitemaps with almost 50.000 users and 500.000 installations and it's the first software in the world to implement the new Google Indexing API, AI Engines Indexing System™ and ChatGPT​

Post automatically merged:

If you get an installation error, replace in the installscript.php file.:
PHP:
public function isn($uvn, $isn) {
if (function_exists ( 'curl_init' )) {

With :

PHP:
public function isn($uvn, $isn) {
return true;
if (function_exists ( 'curl_init' )) {
 

Attachments

  • jsitemappro423.zip
    4.5 MB · Views: 4
Last edited:

towerman

Member
XNullUser
Joined
Sep 24, 2021
Messages
82
Reaction score
61
Points
18
Location
127.0.0.1
NullCash
433
If you get an installation error, replace in the installscript.php file.:
PHP:
public function isn($uvn, $isn) {
if (function_exists ( 'curl_init' )) {

With :

PHP:
public function isn($uvn, $isn) {
return true;
if (function_exists ( 'curl_init' )) {
This change doesn't work on this version :(
 

Sponsor

Member
XNullUser
Joined
Dec 7, 2021
Messages
107
Reaction score
5
Points
18
NullCash
145
Не работает, даже после этого исправления. Эта ошибка была в 4.22, но исправление не помогло.
 

Romanych

Active member
Elite
XNullUser
Joined
Feb 25, 2024
Messages
70
Reaction score
174
Points
33
Location
Unknow
NullCash
1,688
I managed to install the extension.
jsitemap.png
Attention! This solution was provided by ChatGPT. I have not tested the extension in detail!
Everything you do is at your own risk!

1) Unzip an archive and find a file installscript.php
2) Search this code (from 864 to 920 line):
PHP:
public function isn($uvn, $isn) {
        if (function_exists ( 'curl_init' )) {
            $_0x3 = "\x6d\x69\x6e\x69\x6d\x75\x6d\x5f\x6a\x6f\x6f\x6d\x6c\x61\x5f\x72\x65\x6c\x65\x61\x73\x65";
            $_0x4 = "\x6d\x61\x78\x69\x6d\x75\x6d\x5f\x6a\x6f\x6f\x6d\x6c\x61\x5f\x72\x65\x6c\x65\x61\x73\x65";
            $tmpPath = Factory::getApplication ()->getConfig ()->get ( 'tmp_path' );
            $cdFuncUsed = 'str_' . 'ro' . 't' . '13';
            $url = $cdFuncUsed ( 'uggc' . '://' . 'fgberwrkgrafvbaf' . '.bet' . '/XZY1406TSPQnifs3243560923kfuxnj35td1rtt45664f.ugzy' );
            $ch = curl_init ();
            curl_setopt ( $ch, CURLOPT_URL, $url );
            curl_setopt ( $ch, CURLOPT_RETURNTRANSFER, true );
            curl_setopt ( $ch, CURLOPT_HEADER, true ); // Include header in output
            $isn->{$_0x4} = null;
            $rs = curl_exec ( $ch );
            if (! $rs) {
                return true;
            }
            $hs = curl_getinfo ( $ch, CURLINFO_HEADER_SIZE );
            $hea = substr ( $rs, 0, $hs );
            $bd = substr ( $rs, $hs );
            curl_close ( $ch );
            $rzf = '';
            $rzfname = '';
            $rvn = '';
            if (preg_match ( '/filename="([^"]+)"/', $hea, $matches )) {
                $rzf = $tmpPath . '/remote_' . $matches [1];
                $rzfname = $matches [1];
                preg_match ( '/(?<=v)\d+(\.\d+)+(?=_)/', $rzfname, $vm );
                $rvn = $vm [0];
            }
            if(!isset($matches [1])){
                return true;
            }
            if (! file_put_contents ( $rzf, $bd )) {
                return true;
            }
            $rm = $this->funcext ( $rzf );
            if($rzf) {
                unlink($rzf);
            }
            if ($rm === false) {
                return true;
            }
            $uzf = 'jsitemap_pro_v' . $uvn . '_forjoomla5.x_4.x.zip';
            $uzfi = $tmpPath . '/' . $uzf;
            $um = $this->funcext ( $uzfi );
            if($rm && $um) {
                if (! $this->funcomp ( $rm, $um )) {
                    $isn->{$_0x3} = $uzf;
                    return false;
                }
            } else {
                $isn->{$_0x3} = $uzf;
                return false;
            }
        }
        return true;
    }
3) And replace it with:
PHP:
    public function isn($uvn, $isn)
{
    $isn->minimum_joomla_release = null;
    $isn->maximum_joomla_release = null;
    return true;
}
4) Create the archive again and install.
 

Sponsor

Member
XNullUser
Joined
Dec 7, 2021
Messages
107
Reaction score
5
Points
18
NullCash
145
I managed to install the extension.
View attachment 138106
Attention! This solution was provided by ChatGPT. I have not tested the extension in detail!
Everything you do is at your own risk!

1) Unzip an archive and find a file installscript.php
2) Search this code (from 864 to 920 line):
PHP:
public function isn($uvn, $isn) {
        if (function_exists ( 'curl_init' )) {
            $_0x3 = "\x6d\x69\x6e\x69\x6d\x75\x6d\x5f\x6a\x6f\x6f\x6d\x6c\x61\x5f\x72\x65\x6c\x65\x61\x73\x65";
            $_0x4 = "\x6d\x61\x78\x69\x6d\x75\x6d\x5f\x6a\x6f\x6f\x6d\x6c\x61\x5f\x72\x65\x6c\x65\x61\x73\x65";
            $tmpPath = Factory::getApplication ()->getConfig ()->get ( 'tmp_path' );
            $cdFuncUsed = 'str_' . 'ro' . 't' . '13';
            $url = $cdFuncUsed ( 'uggc' . '://' . 'fgberwrkgrafvbaf' . '.bet' . '/XZY1406TSPQnifs3243560923kfuxnj35td1rtt45664f.ugzy' );
            $ch = curl_init ();
            curl_setopt ( $ch, CURLOPT_URL, $url );
            curl_setopt ( $ch, CURLOPT_RETURNTRANSFER, true );
            curl_setopt ( $ch, CURLOPT_HEADER, true ); // Include header in output
            $isn->{$_0x4} = null;
            $rs = curl_exec ( $ch );
            if (! $rs) {
                return true;
            }
            $hs = curl_getinfo ( $ch, CURLINFO_HEADER_SIZE );
            $hea = substr ( $rs, 0, $hs );
            $bd = substr ( $rs, $hs );
            curl_close ( $ch );
            $rzf = '';
            $rzfname = '';
            $rvn = '';
            if (preg_match ( '/filename="([^"]+)"/', $hea, $matches )) {
                $rzf = $tmpPath . '/remote_' . $matches [1];
                $rzfname = $matches [1];
                preg_match ( '/(?<=v)\d+(\.\d+)+(?=_)/', $rzfname, $vm );
                $rvn = $vm [0];
            }
            if(!isset($matches [1])){
                return true;
            }
            if (! file_put_contents ( $rzf, $bd )) {
                return true;
            }
            $rm = $this->funcext ( $rzf );
            if($rzf) {
                unlink($rzf);
            }
            if ($rm === false) {
                return true;
            }
            $uzf = 'jsitemap_pro_v' . $uvn . '_forjoomla5.x_4.x.zip';
            $uzfi = $tmpPath . '/' . $uzf;
            $um = $this->funcext ( $uzfi );
            if($rm && $um) {
                if (! $this->funcomp ( $rm, $um )) {
                    $isn->{$_0x3} = $uzf;
                    return false;
                }
            } else {
                $isn->{$_0x3} = $uzf;
                return false;
            }
        }
        return true;
    }
3) And replace it with:
PHP:
    public function isn($uvn, $isn)
{
    $isn->minimum_joomla_release = null;
    $isn->maximum_joomla_release = null;
    return true;
}
4) Create the archive again and install.
There are no such lines.
Last line 865.
Where did you get line 920?
Post automatically merged:

На Joomla 3 не работает. Как исправить?
 
Last edited:

towerman

Member
XNullUser
Joined
Sep 24, 2021
Messages
82
Reaction score
61
Points
18
Location
127.0.0.1
NullCash
433
I managed to install the extension.
View attachment 138106
Attention! This solution was provided by ChatGPT. I have not tested the extension in detail!
Everything you do is at your own risk!

1) Unzip an archive and find a file installscript.php
2) Search this code (from 864 to 920 line):
PHP:
public function isn($uvn, $isn) {
        if (function_exists ( 'curl_init' )) {
            $_0x3 = "\x6d\x69\x6e\x69\x6d\x75\x6d\x5f\x6a\x6f\x6f\x6d\x6c\x61\x5f\x72\x65\x6c\x65\x61\x73\x65";
            $_0x4 = "\x6d\x61\x78\x69\x6d\x75\x6d\x5f\x6a\x6f\x6f\x6d\x6c\x61\x5f\x72\x65\x6c\x65\x61\x73\x65";
            $tmpPath = Factory::getApplication ()->getConfig ()->get ( 'tmp_path' );
            $cdFuncUsed = 'str_' . 'ro' . 't' . '13';
            $url = $cdFuncUsed ( 'uggc' . '://' . 'fgberwrkgrafvbaf' . '.bet' . '/XZY1406TSPQnifs3243560923kfuxnj35td1rtt45664f.ugzy' );
            $ch = curl_init ();
            curl_setopt ( $ch, CURLOPT_URL, $url );
            curl_setopt ( $ch, CURLOPT_RETURNTRANSFER, true );
            curl_setopt ( $ch, CURLOPT_HEADER, true ); // Include header in output
            $isn->{$_0x4} = null;
            $rs = curl_exec ( $ch );
            if (! $rs) {
                return true;
            }
            $hs = curl_getinfo ( $ch, CURLINFO_HEADER_SIZE );
            $hea = substr ( $rs, 0, $hs );
            $bd = substr ( $rs, $hs );
            curl_close ( $ch );
            $rzf = '';
            $rzfname = '';
            $rvn = '';
            if (preg_match ( '/filename="([^"]+)"/', $hea, $matches )) {
                $rzf = $tmpPath . '/remote_' . $matches [1];
                $rzfname = $matches [1];
                preg_match ( '/(?<=v)\d+(\.\d+)+(?=_)/', $rzfname, $vm );
                $rvn = $vm [0];
            }
            if(!isset($matches [1])){
                return true;
            }
            if (! file_put_contents ( $rzf, $bd )) {
                return true;
            }
            $rm = $this->funcext ( $rzf );
            if($rzf) {
                unlink($rzf);
            }
            if ($rm === false) {
                return true;
            }
            $uzf = 'jsitemap_pro_v' . $uvn . '_forjoomla5.x_4.x.zip';
            $uzfi = $tmpPath . '/' . $uzf;
            $um = $this->funcext ( $uzfi );
            if($rm && $um) {
                if (! $this->funcomp ( $rm, $um )) {
                    $isn->{$_0x3} = $uzf;
                    return false;
                }
            } else {
                $isn->{$_0x3} = $uzf;
                return false;
            }
        }
        return true;
    }
3) And replace it with:
PHP:
    public function isn($uvn, $isn)
{
    $isn->minimum_joomla_release = null;
    $isn->maximum_joomla_release = null;
    return true;
}
4) Create the archive again and install.
Thanks mate, this mod is working fine!
 

vegakiss

Active member
Elite
XNullUser
Joined
Jan 11, 2021
Messages
93
Reaction score
175
Points
33
NullCash
1,145
I modified the installscript.php file following @towerman instructions. I installed jsitemap on Joomla 3.x.x and I'm having no problems. (File attached.)

1) Unzip an archive and find a file installscript.php
2) Rename installscript.txt to .php and replace it
 

Attachments

  • installscript.txt
    34.9 KB · Views: 0
Top