xoops forums

Forum Index


Board index » All Posts (zyspec)




zyspec

Module Developer
Posted on: 12/13 3:00
zyspec
zyspec (Show more)
Module Developer
Posts: 1056
Since: 2004/9/21
#1

Re: How to create a new xoopsDB connection - from scratch

Try
$db     XoopsDatabaseFactory::getDatabaseConnection();


zyspec

Module Developer
Posted on: 12/12 17:26
zyspec
zyspec (Show more)
Module Developer
Posts: 1056
Since: 2004/9/21
#2

Re: Which editor do you use ?

I typically use Eclipse PDT.... I like it because:
  • there are versions for both Windows and Linux - so it's easy to switch between my various systems.
  • easy to create/modify coding styles (modified PSRxx, etc)
  • it's free
  • easily "jump-to" referenced functions
  • customized syntax highlighting for PHP, JS, XML, MySQL, etc
  • refactoring
  • GitHub integration (easy to pull/push/commit/etc)
  • Composer support
  • Good build/run tools
  • Eclipse community support
  • Bug/Issue tracking integration
  • code completion


  • The one drawback is lack of Smarty syntax support - there's a plugin for it but it's old & doesn't work well.

    I also use Notepad++ for a quick editor when needed. PHPStorm is a good product too but I haven't found enough difference/advantage to it that would cause me to change from Eclipse (and pay the money).


    zyspec

    Module Developer
    Posted on: 12/12 14:58
    zyspec
    zyspec (Show more)
    Module Developer
    Posts: 1056
    Since: 2004/9/21
    #3

    Re: Really stupid php / sql problem

    One thing is it appears that the print_r() in the getEmailsFromGroup() is missing the 'true' parameter in:
    file_put_contents(OLEDRION_GATEWAY_LOG_PATH"groupId: " print_r($groupId) . "n"FILE_APPEND LOCK_EX);


    should be:
    file_put_contents(OLEDRION_GATEWAY_LOG_PATH"groupId: " print_r($groupIdtrue) . "n"FILE_APPEND LOCK_EX);


    don't know if that's the only issue but looks like it should be corrected.


    zyspec

    Module Developer
    Posted on: 12/6 17:00
    zyspec
    zyspec (Show more)
    Module Developer
    Posts: 1056
    Since: 2004/9/21
    #4

    Re: oledrion: phpmailer postSend() not returning - stuck in try loop

    @rossb,

    I wouldn't mind helping but I'm currently working on 3 other modules trying to get them updated and working so I won't have any 'excess' time for a while.

    If you put the current code on github then you might be able to find someone who can look at what you have to help. It's a little harder to collaborate otherwise.

    Good luck and let us know how it's going.


    zyspec

    Module Developer
    Posted on: 12/5 16:40
    zyspec
    zyspec (Show more)
    Module Developer
    Posts: 1056
    Since: 2004/9/21
    #5

    Re: oledrion: phpmailer postSend() not returning - stuck in try loop

    @Bill,

    I don't know much about this module, and I just did a quick code read, but I'll ask a couple of questions that hopefully will lead you in the right direction....

    * Which version of Oledrion are you using? (e.g. where did you get it?).

    * In the code on Github. It looks to me like the call to the Utility::sendEmailFromTpl() method has been commented out (line 688) in the checkout routine (./checkout.php). I assume you've uncommented that code to see if it works?


    zyspec

    Module Developer
    Posted on: 12/3 16:57
    zyspec
    zyspec (Show more)
    Module Developer
    Posts: 1056
    Since: 2004/9/21
    #6

    Re: Is it a completely free CMS?

    That is correct... XOOPS is distributed under the GNU General Public License (GPL). Most of the modules (plugins), themes, etc. are also distributed for free.


    zyspec

    Module Developer
    Posted on: 11/30 15:16
    zyspec
    zyspec (Show more)
    Module Developer
    Posts: 1056
    Since: 2004/9/21
    #7

    Re: SQL error with Tag Module

    Yeah - just doing a little 'extra' testing to make sure I didn't miss any unintended side effects. I'll submit a pull request early next week.


    zyspec

    Module Developer
    Posted on: 2019/11/25 15:32
    zyspec
    zyspec (Show more)
    Module Developer
    Posts: 1056
    Since: 2004/9/21
    #8

    Re: SQL error with Tag Module

    Glad I could help... sorry it took a couple of tries (and actually loading the module) to get it right.


    zyspec

    Module Developer
    Posted on: 2019/11/22 20:24
    zyspec
    zyspec (Show more)
    Module Developer
    Posts: 1056
    Since: 2004/9/21
    #9

    Re: SQL error with Tag Module

    @mjoel,

    Sent you a PM to have you try something out to see if it works for you... let me know what you find.


    zyspec

    Module Developer
    Posted on: 2019/11/19 15:36
    zyspec
    zyspec (Show more)
    Module Developer
    Posts: 1056
    Since: 2004/9/21
    #10

    Re: SQL error with Tag Module

    @mjoel,

    Thanks... I'll load publisher and create a few test tags. I'll enable "ONLY_FULL_GROUP_BY" in my SQL server and make sure to test with it enabled.



    TopTop
    (1) 2 3 4 ... 96 »