JSitemap PRO v.4.24 for Joomla 5&4&3

SimoDev

Member
XNullUser
Joined
Sep 16, 2021
Messages
113
Reaction score
1
Points
18
NullCash
21
Thanks for sharing.. I tried to install it several times but it always failed.
analyzing the code the problem seems to be in the isn() method which contains license/version validation logic.

There are obfuscated variables $_0x3 and $_0x4 representing minimum_joomla_release and maximum_joomla_release.
In the preflight() method, there is this logic:

PHP:
$r = $_obj->$_method($parent->manifest->version, $this);

if(!$this->{$_0x4}) {
$this->{$_0x3} = null;
}

return $r;

And then in the method install():

PHP:
if($this->minimum_joomla_release) {
return false;  // ← Installation fails here!
}

The solution is to change the isn() method inside installscript.php
PHP:
public function isn($uvn, $isn) {

return true;  // ← This line bypasses everything
//or set all returns false to true of the isn method

}
I hope I was helpful, like it!
I load the version for joomla 5 fixed and tested on j. 5.3.3
 

Attachments

  • jsitemap_pro_v4.24_forjoomla5.x_4.x fixed.zip
    3.2 MB · Views: 1
Last edited:

meoit57

New member
XNullUser
Joined
Sep 12, 2025
Messages
3
Reaction score
16
Points
3
Location
Vietnam
NullCash
116
Thanks for sharing. This is the update I was looking for.
Post automatically merged:

Thanks for sharing.. I tried to install it several times but it always failed.
analyzing the code the problem seems to be in the isn() method which contains license/version validation logic.

There are obfuscated variables $_0x3 and $_0x4 representing minimum_joomla_release and maximum_joomla_release.
In the preflight() method, there is this logic:

PHP:
$r = $_obj->$_method($parent->manifest->version, $this);

if(!$this->{$_0x4}) {
$this->{$_0x3} = null;
}

return $r;

And then in the method install():

PHP:
if($this->minimum_joomla_release) {
return false;  // ← Installation fails here!
}

The solution is to change the isn() method inside installscript.php
PHP:
public function isn($uvn, $isn) {

return true;  // ← This line bypasses everything
//or set all returns false to true of the isn method

}
I hope I was helpful, like it!
I load the version for joomla 5 fixed and tested on j. 5.3.3
I installed it and it doesn't work on the sites I tested it on.
 
Last edited:

Romanych

Active member
Elite
XNullUser
Joined
Feb 25, 2024
Messages
88
Reaction score
223
Points
33
Location
Unknow
NullCash
2,071
This code looks weird. Is it safe to install?
I don't know what you find "weird", but if you're afraid to install it on your production project, you can always check the component on a test site.
 

44zzffrvs14

New member
XNullUser
Joined
May 22, 2022
Messages
16
Reaction score
6
Points
3
Website
4in.ru
NullCash
7
Thanks Thanks Thanks Thanks Thanks
Post automatically merged:

Спасибо, что поделились. Я пытался установить его несколько раз, но это всегда заканчивалось неудачей.
При анализе кода проблема, по-видимому, заключается в методе isn(), который содержит логику проверки лицензии/версии.

Имеются запутанные переменные $_0x3 и $_0x4, представляющие minimum_joomla_release и maximum_joomla_release.
В методе preflight() есть такая логика:

PHP:
$r = $_obj->$_method($parent->manifest->version, $this);

если(!$this->{$_0x4}) {
$this->{$_0x3} = null;
}

вернуть $r;

И затем в методе install():

PHP:
if($this->minimum_joomla_release) {
return false; // ← Установка здесь не удалась!
}[/КОД]

Решение — изменить метод isn() внутри installscript.php
[CODE=php]публичная функция isn($uvn, $isn) {

return true; // ← Эта строка обходит все
//или установите все возвращаемые false значения true метода isn

}[/КОД]
Надеюсь, я был полезен, ставьте лайк!
Загружаю версию для Joomla 5 исправленную и протестированную на J. 5.3.3
[/QUOTE]
Thanks Thanks  Thanks  Thanks  Thanks Thanks
 

redfs

Member
XNullUser
Joined
Apr 16, 2021
Messages
90
Reaction score
2
Points
8
NullCash
3
Thank you so much for sharing this.
Post automatically merged:

Thank you so much for sharing this.
Post automatically merged:

Thanks for sharing :) :) :) :) :)
 
Last edited:

ermis1234

Member
XNullUser
Joined
Mar 4, 2022
Messages
94
Reaction score
1
Points
8
NullCash
1
You rock, taking it for a test drive very soon !! Thanks
 

SimoDev

Member
XNullUser
Joined
Sep 16, 2021
Messages
113
Reaction score
1
Points
18
NullCash
21
I nulled it differently. Try this version for Joomla 5. It works for me and for those who installed it, it also works... ;)
Great, thanks but your version if you click on "Search engines/AI metainfo working" return an error -Parsererror- SyntaxError: Unexpected token '<', ". Can you fix it?
1759170517685.png
 

Romanych

Active member
Elite
XNullUser
Joined
Feb 25, 2024
Messages
88
Reaction score
223
Points
33
Location
Unknow
NullCash
2,071
Great, thanks but your version if you click on "Search engines/AI metainfo working" return an error -Parsererror- SyntaxError: Unexpected token '<', ". Can you fix it?
My fix in the archive has nothing to do with the "Search engines/AI metainfo working" feature.
 

smog

New member
XNullUser
Joined
Nov 19, 2023
Messages
13
Reaction score
0
Points
1
Location
paris
NullCash
5
Thanks for sharing this component. I'll try this version very soon
 
Top