Fork me on GitHub

Integration MediaAttach/Dizkus  Bottom

  • I try to integrate MediaAttach in Dizkus, but I have many troubles :

    What I do :

    In MediaAttach : I rename pnforum templates as dizkus forum
    In Dizkus : I read the pnforum_intergration.txt in MediaAttach docs and try to apply difference to Dizkus files:
    pnajax.php
    pnuserapi.php
    pnjavascript/dizkus_user.js
    function.mediaattach_fileuploads.php
    pntemplates/dizkus_user_editpost.html
    pntemplates/dizkus_user_newtopic.html
    pntemplates/dizkus_user_viewforum.html
    pntemplates/dizkus_user_viewtopic.html
    in pntemplates/plugins/ transformation of function.pnupper_fileuploads.php in function.mediaattach_fileuploads.php

    I had modified pnforum in MediaAttach and _PNFORUM in _DZK

    First problem :
    I'm not a coder, and I have sometimes problem to locate where to hack the files, because the line are for an older version of pnforum... so I maybe make some error when I added or deleted lines...

    Second problem :

    Make a Smarty errors. I don't know where I can find this function...
    so I deactivate it in dizkus_user_viewforum.html

    It's seems to work, I can view a post and I try to add quick reply with an attachement (the link is here... I'm happy)...

    When I click to send (or preview) the post appears an error dialogu:

    illegal JSON response:
    SyntaxError: illegal characterin
    (with an explication telling me I have an authentification problem as try to use my browser's back button).

    And it seems to try to upload my file, but the upload never ending.

    Thanks for your help.

    (note: I have json alert dialogu on this community forum when I create a topic ... but my post is submitted)



    edited by: magicvince, Dec 30, 2008 - 05:46 AM
  • And I couldn't create new topic...
  • I suggest to watch the integration ticket.

    --
    Guite | ModuleStudio

This list is based on users active over the last 60 minutes.