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
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- michiel responded to »password problem« 10:01 AM
- mazdev responded to »Hide "Register new account" and change template to 3 col« 07:50 AM
- mesteele101 created topic »Zikula 1.3.3 - Site Search 1.5.2 - Unable to turn off plug-ins« 07:48 AM
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
- mdee created topic »How to implement returnpage ?« 25. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
