31
hervet
Re: PHP-Debugging without XOOPS
  • 2009/7/29 14:15

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


Hello frank,

Quote:

frankblack wrote:
Hope this is helpful to someone?

Yes to me !
This is an excellent initiative.
Hope this code will be part of new versions.

Bye,
Hervé



32
hervet
Re: XoopsObject and design patterns?
  • 2009/6/12 7:38

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


It's a little bit of the "active record" design pattern.



33
hervet
Re: Ultimate e-commerce solution, needs integration
  • 2009/4/29 5:52

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


There's no relationship between Php4 and the .htaccess file.
The last one is used for url rewriting.
In all the cases, the module requires Php5:
http://xoops.instant-zero.com/modules/faq/faq.php?faqid=18



34
hervet
Re: Hook system for Xoops
  • 2009/3/20 10:36

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


Hello,

Quote:

kaotik wrote:
Hervet: how would this be implemented? Something like $XoopsHook? Wouldn't that be the idea Catzwolf is already sugesting with $hook = XoopsHook::getInstance();?


This is just a quick idea :
$service = XoopsServices::getInstance();

$service->call('mymodule', 'myMethod', 'Credentials', 'myParameter1', 'myParameter2', ...);

For example :
$service->call('News, 'CreateArticle', 'myFantasticPassword', array('Title' => 'My article', 'Content' => 'Hello world', etc));


For getting information :
$service->get('mymodule', 'myMethod', 'Credentials', parameters);

Several advantages :
1/ By using a XOOPS layer, XoopsServices, it will enable modules to speak between them and it will enable external "clients" to talk with us (a Java applet, another website etc)
2/ XOOPS itself could use this to communicate with modules. For examples for each module's search

This is just SOAP.

bye,
Hervé



35
hervet
Re: Hook system for Xoops
  • 2009/3/20 8:50

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


All this sounds excellent but why limit to exchanges between modules ?
A layer for web services could enable modules to "discuss" and will enable modules to be called from the outside.



36
hervet
Re: Module Repository: Question and Answer Session
  • 2009/3/19 12:32

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


I vote for attaching banks to the GPL license



37
hervet
Re: My search 1.1 SQL Injection vulnerable
  • 2009/3/13 15:10

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


Quote:

trabis wrote:
This only happens if using "magic quotes gpc" in php settings.

no



38
hervet
Re: My search 1.1 SQL Injection vulnerable
  • 2009/3/13 14:03

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


I could be wrong but :

1/ Data are coming from XOOPS itself, so sanitized and they are sanitzed by the module by this code :
if (!$searches->cleanVars()) {
            foreach(
$searches->getErrors() as $oneerror) {
                echo 
"<br><h2>".$oneerror."</h2>";
            }
            return 
false;
        }

Just before the code you mention.

2/ If there is an Sql injection, quoteString will not change anything.



39
hervet
Re: E-Mall
  • 2009/3/11 9:46

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


Don,

I'm going to contact you.

Bye,
Hervé



40
hervet
Re: XOOPS 2.3.3rc Issues
  • 2009/3/10 9:11

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


On my homepage, I have :
Quote:

Warning: Smarty error: unable to read resource: "db:system_homepage.html" in file /class/smarty/Smarty.class.php line 1092





TopTop
« 1 2 3 (4) 5 6 7 ... 139 »



Login

Who's Online

203 user(s) are online (114 user(s) are browsing Support Forums)


Members: 0


Guests: 203


more...

Donat-O-Meter

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

Latest GitHub Commits