u have to add page manager support. cause visiting the files hosting tab makes all page manager tabs disappear. yeah I know u got that BAdPanel thingy from it. it doesn't work in page manager either. I will mention it to SirNot and get it fixed.
the main functions work as expected. all images are there. I can add images as well. hide them also. btw u prolly want to check if Attachments is enabled. if not then spit out an error message.
Ok thanks. this is helpful Schizo. The error message for if you dont have Attachment, do you mean when you try to enable or if you go to the Files page? If someone does try to use this without Attachment, they havent read the description or install notes, so its gonna do more than one error message
How do I go about giving it Page Manager support? A tips here would be appreciated
Guessing URLs is a wide spread sport for hackers! ;-) I don't like security by obscurity!
But all the way, I did some hacking of your code, to support both of our points of view! And because of your nice code, it worked out very well. Only some very small changes were necessarey! :-)
Tiggr: thanks for feedback. I decided to do it this in another way, but I think you will find my new version will suit your needs as well.
Teaser: for the next version I will do the following things, and its comming out hopefully tonight • remove badpanel • use PostbackAction instead of Page as $_Get • integrate link to discussion the file was attached to • default.php settings where admin can order and shut of which colums to use • removed prototype.js as its vanilla default. you can delete this form the extension folder • and some code clean up
Paging and sorting is definitely gonna come in a soon future version. The column configurations are used in the 0.5 version. or they should be if i didnt screw up which file to upload. have you tried reordering them and seen them not work?
hahah. its partly.. mostly.. my fault.. I thought you said reordering didnt work, but the removing works atm by commenting out the line. I forgot to either use the boolean or tell you i didnt. Sooowwwwwyy..
Comments
yeah I know u got that BAdPanel thingy from it. it doesn't work in page manager either. I will mention it to SirNot and get it fixed.
the main functions work as expected. all images are there. I can add images as well. hide them also.
btw u prolly want to check if Attachments is enabled. if not then spit out an error message.
How do I go about giving it Page Manager support? A tips here would be appreciated
Guessing URLs is a wide spread sport for hackers! ;-) I don't like security by obscurity!
But all the way, I did some hacking of your code, to support both of our points of view! And because of your nice code, it worked out very well. Only some very small changes were necessarey! :-)
Here is my code, still based on 0.4201: http://www.colorful-sky.de/privat/default.php.txt
Just renamed for download!
What I did was that: A configuration var for choosing your point of view, or mine! true is yours, false is mine! ;-)
This is for building the hot-link-url,! it's just enought, because you are using it all around: And this for viewing: All I had to do after this, was to pull some globals into the right context, and all worked out fine!
Only thing is: It only works with InlineImages! :-( Perhabs there is a way without it?
Bye Tiggr
Teaser: for the next version I will do the following things, and its comming out hopefully tonight
• remove badpanel
• use PostbackAction instead of Page as $_Get
• integrate link to discussion the file was attached to
• default.php settings where admin can order and shut of which colums to use
• removed prototype.js as its vanilla default. you can delete this form the extension folder
• and some code clean up
Waiting for the next version?
But the disussion-Feature is great! Thank you very much!
(Will this have some paging? Sorting?)
And I'm a little bit afraid of allways nagging you with my wishes, but I do nothing for you!
They don't do anything, and there are no conditional statements in the uploaded code... perhaps a wrong version!
Thank you!
what PHP version are you using?
What I did was that: But have to do something like that: That's right?????
edit: 0.511 takes care of this