391
liomj
Re: How do i check a xoops smarty plugin exist ?
  • 2022/10/2 22:32

  • liomj

  • Just popping in

  • Posts: 80

  • Since: 2012/4/10


<{if xoStats|default:false}>
Quote:
Error: Smarty error: [in sbadmin/tpl/content.tpl line 2]: syntax error: unidentified token ':false' (Smarty_Compiler.class.php, line 1410) in file /class/smarty/Smarty.class.php line 1099


<{if xoStats}>
Quote:
Error: Smarty error: [in sbadmin/tpl/content.tpl line 3]: syntax error: unrecognized tag 'xoStats' (Smarty_Compiler.class.php, line 585) in file /class/smarty/Smarty.class.php line 1099



392
goffy
Re: How do i check a xoops smarty plugin exist ?
  • 2022/10/2 15:46

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


try

<{if xoStats|default:false}>



393
liomj
How do i check a xoops smarty plugin exist ?
  • 2022/10/2 13:23

  • liomj

  • Just popping in

  • Posts: 80

  • Since: 2012/4/10


Hi

How do i check the xoops smarty plugin exist or not before display ?

Quote:
<{if xoStats}}>

<{xoStats}>
Latest Member : <{$latestMemberUname}>

Total Posts : <{$totalPosts}>

Total Users : <{$totalUsers}>

Total Online : <{$totalOnline}>

New Users Today : <{$newUsersToday}>

New Users Yesterday : <{$newUsersYesterday}>

<{/if}>

i tried like the above but i received smarty error when the plugin does not exist



394
Yurdal
Re: Problems module PUBLISHER - module convert line break in br
  • 2022/9/29 17:58

  • Yurdal

  • Friend of XOOPS

  • Posts: 386

  • Since: 2005/3/27


Dont know wich version php or mysql/mariadb but try to update to publisher 1.05 final :https://xoops.org/modules/publisher/item.php?itemid=5953

Or go for the 1.07b : https://github.com/XoopsModules25x/publisher/releases/tag/1.07_FINAL_b



395
Printen
Problems module PUBLISHER - module convert line break in br
  • 2022/9/29 15:58

  • Printen

  • Just popping in

  • Posts: 1

  • Since: 2022/9/29


Good afternoon, I have problems with the module (PUBLISHER Version 1.03 RC 1) version XOOPS 2.5.10, when I write an article, I have it disabled in preferences (“Enable line break” set to TRUE)
The problem is that when I go to post an HTML code, the module converts all line breaks to br code html .
I've spent a long time looking for solutions in xoops_data... in the module, I can't find a way to solve this problem and I really like the module, I hope you can help me find the solution to this problem, thank you very much in advance!



396
Mamba
Re: Obituaries 2.4.1. Beta1 cant add new record
  • 2022/9/29 9:24

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


Did it say which line was it in the code?

I'll look into it this weekend.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



397
Yurdal
Re: Obituaries 2.4.1. Beta1 cant add new record
  • 2022/9/26 15:28

  • Yurdal

  • Friend of XOOPS

  • Posts: 386

  • Since: 2005/3/27


Hi Mamba, :)
Just tried to add an record and get this error now :
Error : TypeError: explode() expects parameter 2 to be string, array given



398
Mamba
Re: XOOPS 2.5..11 beta 2 search.php need fix line 229
  • 2022/9/25 14:34

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


Could you please submit it as an issue to GitHub:

https://github.com/XOOPS/XoopsCore25/issues

Thanks!
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



399
cadch
XOOPS 2.5..11 beta 2 search.php need fix line 229
  • 2022/9/25 10:19

  • cadch

  • Just popping in

  • Posts: 48

  • Since: 2007/12/17


line 229:
$count          count($results);


fix:
if ($results) {
    
$count count($results);
}else{
    
$count 0;
}



400
Mamba
Re: Obituaries 2.4.1. Beta1 cant add new record
  • 2022/9/24 22:14

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


I've uploaded some changes to my GitHub: https://github.com/mambax7/obituaries

Please check it out, and let me know if it works for you.

This is still work in progress, but at least on my PC I can add a new item. Right now I'm doing some cleanup for PHP 8.2
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs




TopTop
« 1 ... 37 38 39 (40) 41 42 43 ... 29425 »



Login

Who's Online

313 user(s) are online (82 user(s) are browsing Support Forums)


Members: 0


Guests: 313


more...

Donat-O-Meter

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

Latest GitHub Commits