294201
cadch
Re: Assign Smarty variable to PHP with XOOPS 2.5.11-Stable
  • 2/11 12:11

  • cadch

  • Just popping in

  • Posts: 48

  • Since: 2007/12/17


Quote:

liomj wrote:
lasttime before the xoops upgrade to smarty 3 this is working
<{assign var="cid" value=$downloads.cid}>    
<{
php}>
$catid=$this->get_template_vars('cid'); 
<{/
php}>


now after using
XOOPS 2.5.11-Stable with smarty 3

i receive this error
Error ErrorUsing $this when not in object context


how to update this code ?


<{assign var="cid" value=$downloads.cid}>    
<{
php}>
$catid=$_smarty_tpl->get_template_vars('cid'); 
<{/
php}>

try it~



294202
Mamba
Re: Assign Smarty variable to PHP with XOOPS 2.5.11-Stable

As I've mentioned earlier, in Smarty 3, the <{php}> tags are no longer supported. Instead, you need to use Smarty's built-in functions and modifiers to accomplish tasks that previously required PHP code.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



294203
oswaldo
Re: oledrion
  • 2/12 16:02

  • oswaldo

  • Quite a regular

  • Posts: 215

  • Since: 2008/8/22


Thanks Mamba, is there a tutorial to make a new payment gateway and incorporate it into oledrion?



294204
Mamba
Re: oledrion

Unfortunately, there is no tutorial. You would need to look at the code and see how it was done with the other gateways.

Are you looking for something particular?

But we have somebody in France who is currently working on improving Oledrion, so maybe they will add some new gateways, and the one that you're looking for, might be one of them. If I know what you're looking for, I could ask them...
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



294205
oswaldo
Re: oledrion
  • 2/13 15:22

  • oswaldo

  • Quite a regular

  • Posts: 215

  • Since: 2008/8/22


Thanks friend, the payment gateway I plan to use is from a local bank, (Honduras) I have been reviewing the example gateway of the bank of Persia, it looks interesting, I am going to review it.



294206
Mamba
Re: oledrion

In the meantime, the French developers are making nice progress with Oledrion! You can check the demo here

Resized Image
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



294207
Mamba
Re: XOOPS 2.5.11 search user is not working

This should be fixed with this commit:

Try to make the same changes in your installation and let us know if it worked.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



294208
spierrard
NewBB v 5.1.0 b 6
  • 2/17 18:57

  • spierrard

  • Just popping in

  • Posts: 1

  • Since: 2019/7/19


I've managed to update my xoops 2.5.10 version to 2.5.11. I've updated the Newbb module to version 5.1.0.b6 .
When I want to add a poll from Newbb, I get the following error :

Error: Class 'XoopsModules/Xoopspoll/Helper' not found in file /modules/newbb/polls.php line 43

use XmfRequest;
use 
XoopsModulesNewbb{
    
Helper,
    
TopicHandler,
    
ForumHandler
};
use 
XoopsModulesXoopspoll{
    
Constants as PollConstants,
    
Helper as PollHelper
};

/** @var TopicHandler $topicHandler */
/** @var ForumHandler $forumHandler */

// rewrite by irmtfan and zyspec to accept xoopspoll 1.4 and all old xoopspoll and umfrage versions and all clones

global $xoopsModule;

require_once 
__DIR__ '/header.php';
require_once 
$GLOBALS['xoops']->path('class/xoopsformloader.php');
require_once 
$GLOBALS['xoops']->path('class/xoopslists.php');
require_once 
$GLOBALS['xoops']->path('kernel/block.php');
xoops_load('XoopsLocal');

$pollHelper PollHelper::getInstance();

The last line is line 43

The xoopspoll module is installed in version 1.33.

I don't know what to correct.
thank you



294209
Mamba
Re: NewBB v 5.1.0 b 6

Thanks for the report, I'll take a look into it over the weekend
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



294210
Mamba
Re: NewBB v 5.1.0 b 6

I'll need to rewrite some parts and remove the old code containing the "Umfrage" module.

It might take a week or two, unless somebody else can help?
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs




TopTop
« 1 ... 29418 29419 29420 (29421) 29422 29423 »



Login

Who's Online

153 user(s) are online (119 user(s) are browsing Support Forums)


Members: 0


Guests: 153


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