The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
|
Upload files to subfolders - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: Plugins (http://get-simple.info/forums/forumdisplay.php?fid=13) +--- Thread: Upload files to subfolders (/showthread.php?tid=1202) |
Upload files to subfolders - arse.bandit - 2010-12-24 Task I want to make plugin that will upload files to subfolders from administator's panel without using ftp-clients. Is there any working solution to upload files not only to /data/upload, but in to different subfolders? For example /data/upload/folder1, /data/upload/folder2. What i did? I replaced $targetPath in upload-ajax.php with the constant that dynamically creats before uploading, but i think that this constant works only on that page and i couldn't pass it to upload-ajax.php. So in this case $targetPath is empty and files uploading to the /admin folder. Next i tried to get a folder name via $_GET array, so it looks like $targetPath=GSDATAUPLOADPATH.$_GET['folder']; in this case $_GET part didn't get any thing, so files was placed in default upload folder. Also i tried to write folder path to the file on disk and in upload-ajax read it to get folder path. And to check $targetPath variable after reading file with folder path i rewrite it with $targetPath value. In this case when i writed folder path to file it is OK. But when i write back value of $targetPath file was empty. I think that $targetPath was empty to and uploaded files was saved to /admin folder. Can anybody help with this problem. How to pass dynamically folder path to upload function or it couldn't be done and better way is to upload files to default upload folder and then replace it in the needing folder. Upload files to subfolders - arse.bandit - 2010-12-25 i solve my problem in another way. i uploading my files via default Files-page with its own uploadify field. Then in my plugin i open directory that i need and import files from uploads folder to folder that i need. it is longer but working. Soon i'll post my extension to extension library )) Upload files to subfolders - Oleg06 - 2010-12-26 you may be approached this plugin http://get-simple.info/forum/topic/1247/privateloginuser-pagesplugin/ Upload files to subfolders - arse.bandit - 2010-12-26 it is not right what i need. i've ended my plugin http://get-simple.info/extend/plugin/simple-photo-gallery/67/ Upload files to subfolders - Oleg06 - 2010-12-26 Your plugin conflicts with other plugins Upload files to subfolders - arse.bandit - 2010-12-27 can you write about problems? what plugins have you installed?! Upload files to subfolders - Oleg06 - 2010-12-27 Code: Notice: Use of undefined constant photo - assumed 'photo' in /home/cp068800/public_html/neowebtime.ru/0/plugins/portfolio.php on line 37 Upload files to subfolders - arse.bandit - 2010-12-27 Oleg06, thx for your feedback. Corrected plugin and reload it to extesion library. If the problem will still occur, please write about it. Upload files to subfolders - Oleg06 - 2010-12-27 Code: Notice: Undefined variable: date in /home/cp068800/public_html/neowebtime.ru/0/plugins/portfolio.php on line 108 Code: Warning: rmdir(/home/cp068800/public_html/neowebtime.ru/0/data/photo/ss) [function.rmdir]: Directory not empty in /home/cp068800/public_html/neowebtime.ru/0/plugins/portfolio.php on line 235 Upload files to subfolders - arse.bandit - 2010-12-27 ÿðÿúð ÑÂþ÷ôðûðÑÂь ÑÂðüð øûø òы õõ ÑÂþ÷ôðûø?! Ѡу ÑÂõñѠÑÂþ÷ôðòðû üýþóþ ÿðÿþú ø ýøúðúøх þшøñþú ÿрø уôðûõýøø. ßþÑÂüþтрøтõ ftp-úûøõýтþü Ѡòúûючõýýыüø ÑÂúрытыüø фðùûðüø, üþöõт ÑÂтþ рð÷ъÑÂÑÂýøт ÑÂøтуðцøю. ÚÑÂтðтø, úðú òы òúûючøûø тðúøõ ÿþôрþñýыõ þшøñúø?! Upload files to subfolders - Oleg06 - 2010-12-27 ÿðÿúу Ñ ÑÂþ÷ôðòðû ÑÂðü õщõ Ѡÿõрòþù òõрÑÂøõù ÿûðóøýð ò gsconfig.php рðÑÂúþüõýтøрþòðû ÑÂтрþúу 19 define('GSDEBUG', TRUE); ò þñщõü-тþ òÑÂõ рðñþтðõт, тþûьúþ ÑÂтð ýðôÿøÑÂь òÑÂõ-рðòýþ ÿþÑÂòÃȄÂõтÑÂÑ Code: Notice: Undefined variable: date in /home/cp068800/public_html/neowebtime.ru/0/plugins/portfolio.php on line 108 Upload files to subfolders - arse.bandit - 2010-12-27 ÿðÿúу ÑÂþ÷ôðòðть ýõ ýðôþ ÿûðóøý ÑÂðü òÑÂõ ÑÂþ÷ôðõт. Ã’øôøüþ ø÷-÷ð тþóþ чтþ òы руúðüø ÿðÿúу ÑÂþ÷ôðûø þý ýõ ôðõт ø÷ ÿûðóøýð уôðûøть, тðú úðú ÿрðò òøôøüþ ýõт. ï ÑÂÿõцøðûьýþ ÿþ ýþòþù òÑÂõ уÑÂтðýþòøû, òÑÂõ ÿðÿúø уôðÃȄÂютÑÂÑÂ/ôþñðòÃȄÂютÑÂѠñõ÷ ÿрþñûõü. Ôðту þÑÂтðòøû, ÿрþÑÂтþ чтþñы ýõ ÷ðñыть úуôð ôþñðòÃȄÂть. áôõûðю чтþñы úþóôð ÑÂÿøÑÂþú ÿðÿþú ÑÂüþтрøшь ÿþúð÷ыòðûþ úþûøчõÑÂтòþ фðùûþò òýутрø. ÃÂу тøÿð рюшõчúð ÿрøúþûьýðѠ)) úðú ò цõûþü ÿþ уôþñÑÂтòу?! ôõûðû ÿþ ÑÂõñÑÂ, тðú чт þøýтõрõÑÂýþ úðú ôруóøü ñуôõт ÿþûь÷þòðтьÑÂÑ )) Upload files to subfolders - tat911 - 2010-12-29 ßûðóøý тþ чтþ ýуöýþ. áðü ÑÂøôõû ýðô ÑÂþ÷ôðýøõü тðúþóþ öõ. àüþöýþ ÑÂôõûðть тðú чтþñы фþтúø ýõ øüÿþртøрþòðть ø÷ ÿðÿúø upload ð ÷ðóруöðть ÿрÑÂüþ ò ÑÂþ÷ôðýýыõ ÿðÿúу. Ø õщõ... ÿрø øüÿþртõ фþтþú ÿõрõýþÑÂøт тþûьúþ Ã’áÕ фðùûы. ßрø ÿþÿытúõ уôðûøть ø÷ ÑÂÿøÑÂúð òþ÷üþöýых ú øüÿþрту хþтѠñы þôýþóþ òыôðõт þшøñúу ((( Upload files to subfolders - arse.bandit - 2010-12-29 Ѡ÷ðóру÷úþù ÿрÑÂü ò ÿðÿúу ÿрþñûõüð, Ѡò ÿõрòþü ÿþÑÂтõ ÿøÑÂðû чтþ ýøфøóð ýõ ÿþûучøûþÑÂь, тðú чтþ ÑÂôõûðû тðú, õÑÂûø ñуôõт òþ÷üþöýþÑÂть ÑÂрð÷у ýð ÿрÑÂüую ò ÿðÿúø ÷ðûøòðть, тþ ÿõрõôõûðю. ßрþ øüÿþрт ÑÂôõûðю чтþñы üþöýþ ñыûþ òыñøрðть ýуöýыõ ú øüÿþрту ø тþûьúþ øх øüÿþртøрþòðть. àðô чтþ ÿûðóøý ÿþûõ÷õý )) Öôøтõ ôðûьýõùшøх ôþрðñþтþú ø þñýþòûõýøù )) Upload files to subfolders - sergio - 2011-01-16 Ø÷òøýøтõ, ýþ Ѡтðú ø ýõ ÿþýÑÂû, úðú òыòõÑÂтø ÑÂту óðûõрõю ýð ÑÂтрðýøцðх ÑÂðùтð? Úðúую фуýúцøю ÿрþÿøÑÂðть ò шðñûþý øûø ÿрÑÂüþ ò рõôðúтøрþòðýøø ÑÂþþтòõтÑÂтòующõù ÑÂтрðýøцы? Upload files to subfolders - arse.bandit - 2011-01-16 ò ûюñþü üõÑÂтõ ò тõüõ òÑÂтðòьтõ ÑÂтрþчúу <?php portfolio_site_view(); ?>, ð ò ÿþÑÂтþÑÂýýую ÑÂÑÂыûúу òÿøшøтõ øüѠÿðÿúø óôõ фþтþóрðфøø ýðхþôÑÂтÑÂÑ Upload files to subfolders - tazmandev - 2011-01-25 This plugin does not work properly It moves all the files in upload directory when I create a gallery with it. And, could you step back to english, so we can follow you ? Upload files to subfolders - arse.bandit - 2011-01-25 tazmandev, why doesn't it work properly? it moves all the files to folders that you create under data/photo. i did this to make more understandable file organization. any more questions? Upload files to subfolders - Connie - 2011-03-03 privet! ya ochin lublu russkaja jazik a ya ni ponimaio kak rabotet etot plugin ... I love Russia and russian language but I do not understand how this plugin works 1) maybe russian and english language files? 2) maybe a step by step instruction how to use these files? 3) does this work with actual version of getsimple? 4) how to integrate this into pages? I feel frustrated... ;=( Upload files to subfolders - ccagle8 - 2011-03-03 this should be a feature that is part of the core in 3.0 Connie. Big things are coming with 3.0 soon.... RE: Upload files to subfolders - cornelombaard - 2013-09-11 I am no developer and I do not how to create a template file but I want to make this gallery work on my site. Please can you tell me how to make a gallery appear on a page. If I enter the folder URL I get just get the folder and index of page without the site theme RE: Upload files to subfolders - infografik - 2013-09-15 hello first: why the heck this plugin is in plugin secition? im hiding plugin section from my clients so they cant break page functionality second: what is this? Портфолио Новая галерея 0 галерей english please (at least) RE: Upload files to subfolders - hameau - 2013-09-16 @infografik: This thread is more than two years old and is not relevant for current versions of GS. RE: Upload files to subfolders - datiswous - 2013-09-17 Can it be closed? |