71
zivXP
Meta Description in publisher
  • 2023/3/2 9:58

  • zivXP

  • Not too shy to talk

  • Posts: 113

  • Since: 2006/2/9 1


Category description strictly equal to Meta Description
Is it possible to make them independent?



72
zivXP
Re: XoopsSecure module available for Testing
  • 2023/3/2 9:28

  • zivXP

  • Not too shy to talk

  • Posts: 113

  • Since: 2006/2/9 1


In README.md it is written:
## Minimum Requirements
- Xoops 2.5.10
- PHP 8.0
- MySql > 7.0

Xoops 2.5.10 doesn't work for me in PHP 8.0
On Xoops 2.5.10 Failed to execute xoops_module_pre_install_xoopssecure

message: This module requires PHP version 8.0+ (7.4.33 installed)



73
zivXP
Re: Smarty 3 and Smarty 4 coming soon to XOOPS
  • 2023/3/1 13:03

  • zivXP

  • Not too shy to talk

  • Posts: 113

  • Since: 2006/2/9 1


When installing XoopsCore25-test_smarty4 swears at a file that doesn't exist
Fatal Error Failed opening required '.../public_html/class/libraries/vendor/symfony/polyfill-ctype/bootstrap80.php' (include_path='.:/usr/share/php') file: .../public_html/class/libraries/vendor/symfony/polyfill-ctype/bootstrap.php : 15



74
zivXP
Re: Smarty 3 and Smarty 4 coming soon to XOOPS
  • 2023/3/1 11:52

  • zivXP

  • Not too shy to talk

  • Posts: 113

  • Since: 2006/2/9 1


And yet I was able to install XoopsCore25-test_smarty3 on PHP version 5.6.40.
Probably, I made a mistake earlier in the installation actions.



75
zivXP
Re: Smarty 3 and Smarty 4 coming soon to XOOPS
  • 2023/3/1 10:17

  • zivXP

  • Not too shy to talk

  • Posts: 113

  • Since: 2006/2/9 1


It is not installed XoopsCore25-test_smarty3 on PHP version 7.4.33 (MySQLi extension mysqlnd 7.4.33)
It comes to creating tables and a white screen appears.

Installed from version 8.0. If you then switch to 7.4, then the site will work.



76
zivXP
Re: Smarty 3 and Smarty 4 coming soon to XOOPS
  • 2023/3/1 8:26

  • zivXP

  • Not too shy to talk

  • Posts: 113

  • Since: 2006/2/9 1


I am a beginner (weak) programmer and with a complex (difficult)I can't help you. I can help with testing.
There is a test domain where xoops 2.5.11 is installed.



77
zivXP
Re: XoopsSecure module available for Testing
  • 2023/3/1 8:03

  • zivXP

  • Not too shy to talk

  • Posts: 113

  • Since: 2006/2/9 1


Module for xoops 2.5.11?



78
zivXP
Re: Rating in publisher
  • 2023/3/1 8:01

  • zivXP

  • Not too shy to talk

  • Posts: 113

  • Since: 2006/2/9 1


These people don't have a name. I asked on this forum.
https://www.cyberforum.ru/php-beginners/thread3085052.html

This is probably already an established function.
In different languages there is a different algorithm for changing endings with numerals.
I don't know how it's possible to take everything into account. Is it possible?



79
zivXP
Re: Rating in publisher
  • 2023/2/28 18:59

  • zivXP

  • Not too shy to talk

  • Posts: 113

  • Since: 2006/2/9 1





80
zivXP
Re: Rating in publisher
  • 2023/2/28 17:20

  • zivXP

  • Not too shy to talk

  • Posts: 113

  • Since: 2006/2/9 1


Kind people who are called programmers helped me here.
This code needs to be replaced in the files Utility.php, ajax_rating.php
$tense == $count _MD_PUBLISHER_VOTE_VOTE _MD_PUBLISHER_VOTE_VOTES//plural form votes/vote


with this one:
// Change to define Russian word endings
function getTense($n$one$two$more)
{
      
$n $n 100;
    if (
10 $n && 20 $n) {
        return 
$more;
    }
    
$n $n 10;
    if (
== $n) {
        return 
$one;
    }
    if (
<= $n && >= $n) {
        return 
$two;
    }
    return 
$more;
}
$tense getTense($count_MD_PUBLISHER_VOTE_VOTE_MD_PUBLISHER_VOTE_VOTES_MD_PUBLISHER_VOTE_VOTESS); //plural form votes/vote


I've already tested it. Everything works correctly.
1 голос
2,3,4 голоса
5-20 голосов
21 - голос
22,23,24 голоса
25-30 голосов
and further
There are still exceptions. They are also taken into account in this code.




TopTop
« 1 ... 5 6 7 (8) 9 10 11 12 »



Login

Who's Online

219 user(s) are online (152 user(s) are browsing Support Forums)


Members: 0


Guests: 219


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits