View Full Version : vBulletin to FTP Upload ?
Hey guy's sup. I would like to see a hack for vBulletin that would let selected people upload to the ftp using VB. An if there is a hack out for this sorry about the post but could you link me? O and I'm using VB GOLD
Pseudomizer
05-01-2004, 10:02 PM
Hey guy's sup. I would like to see a hack for vBulletin that would let selected people upload to the ftp using VB. An if there is a hack out for this sorry about the post but could you link me? O and I'm using VB GOLD
Hi KOM,
there is a hack to do FTP uploads via the ACP. But you want to offer this to your end users ? Why ?
Cheers,
no not to end users just like admin/supermods
P.S what is ACP ?? lol
Pseudomizer
05-01-2004, 11:13 PM
no not to end users just like admin/supermods
P.S what is ACP ?? lol
ACP = Admin Control Panel
With the mentioned hack every Admin could use FTP via the ACP to upload files but not supermods.
Cheers,
Yea I was looking around and found it. But I have guy's that post news on the site and they take alot of SS of the game there posting about. AN with the acp I would have to move them all the time. I would like to see a hack that let's people that I want to upload to the FTP. I think it would be a nice tool for the people out there like me that have staff and could upload stuff to the ftp with out me having to do it and without giving them ftp info
Pseudomizer
05-01-2004, 11:35 PM
Yea I was looking around and found it. But I have guy's that post news on the site and they take alot of SS of the game there posting about. AN with the acp I would have to move them all the time. I would like to see a hack that let's people that I want to upload to the FTP. I think it would be a nice tool for the people out there like me that have staff and could upload stuff to the ftp with out me having to do it and without giving them ftp info
And why do you need FTP ? You can go with HTTP Upload. This should solve your problem or not ?
Cheers,
well I would just like it all hooked up in the forums. So if any one is up for coding this plezz do let me know
But on the other hand, I run 2 websites and the one website does not have VB so where would I get the http or php code so the staff can upload from the website to the ftp
Pseudomizer
05-02-2004, 12:56 AM
But on the other hand, I run 2 websites and the one website does not have VB so where would I get the http or php code so the staff can upload from the website to the ftp
Hi Kom,
i do not have the time to develop this at the moment. If you are familiar with PHP you can do this on your own. :nervous:
Here is the link how HTTP Uploads work: http://www.devarticles.com/c/a/PHP/Creating-a-MultiFile-Upload-Script-in-PHP/2/
Check out page2,3 and 4. :bandit:
If you want only specific usergroups to be able to upload via this then just input on the top of your php page:
if ( $bbuserinfo[groupid] == '6' || $bbuserinfo[groupid] == '5' || $bbuserinfo[groupid] == '7' )
{
your upload code
}
else
{
action for non authorized people
}
Group 6 = admins
Group 5 = Supermods
Group 7 = Mods
This should help you to proceed. ;)
Cheers,
Yea I seen that but I did not see in the code where the uploads go. I would think it would go to my ftp host but I did not see any line where I would put the path or the user name and password
Pseudomizer
05-02-2004, 10:36 AM
Yea I seen that but I did not see in the code where the uploads go. I would think it would go to my ftp host but I did not see any line where I would put the path or the user name and password
With all respect: Are you familiar what's the difference between HTTP Upload and FTP Upload ?
HTTP Upload does not need any login details. It uploads files with the owner apache webserver user into the /temp directory. You decide where to put these files afterwards.
Regardless of this there is a major difference between a server administrator and a forum administrator. Supermods should not be involved in server maintenance. They are mods and nothing else. If you want them to do it upgrade them to admins and use the ACP with the FTP upload. This will save you a lot of time and efforts.
Cheers,
Well I tryed that http thing all I did was copy the code and make the 3 pages but when I hit the number of boxs to show up the next page just say's submit. But when I open that page in Dreamweaver it has the browse box. just don't have it when you try and use it on the site :( any ideas ?
Pseudomizer
05-03-2004, 12:44 AM
Hi KOM,
it took me 3 hours to write this up for you. Please try it. I will post this mini-hack in the mini-hack section.
But i just want to say:
I take no responsibility for this hack !!! If someone finds a security hole or a bug and something happens i will not be responsible for any damage !!!
Enjoy it !!!
Cheers,
:) thank YOU!!!
this is a big help and I will install it. An get back with you :)
Well I gave it a try and uploaded the two php files in the same folder. but when I put my username and password in it just go's back to the log in page any ideas ?
Pseudomizer
05-03-2004, 10:48 PM
Well I gave it a try and uploaded the two php files in the same folder. but when I put my username and password in it just go's back to the log in page any ideas ?
Multiple things:
1. the login and password are both case sensitive
2. you server does not support sessions ( PHP.ini setting )
3. the webserver username has no rights to write into this directory ( should not be but you never know )
Cheers,
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.