PDA

View Full Version : Miscellaneous Hacks - WebDAV Access


Andreas
11-09-2011, 11:00 PM
This Add-on allows you to access Templates and Plug-ins via WebDAV - just connect to <vbroot>/webdav.php with your WebDAV client using your username and WebDAV password.

Sorry, but I am too lazy to write more in-depth documentation, so plese take a look at http://tracker.vbulletin.com/browse/VBIV-12221 if you are interested.

dacho
11-12-2011, 07:24 AM
hanks mate
I will test it

zbahadir
11-15-2011, 11:24 PM
Very good :)
Thank you very much for the plugin.
No problem, it works.


This code is related to the parent folder is required.

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
</IfModule>

PhilG
12-26-2011, 01:07 PM
Just installed and struggled to figure out why my login was not working.. It's caps sensitive with the username!

JulianD
03-05-2012, 12:33 AM
Excellent! Did you know that Windows supports WebDav? Now I can easily edit my templates just like files!

ragtek
05-19-2012, 07:20 AM
Just installed it and it took me some time to find the new field for the webdav pw:D

I'm able to load files & templates, but once i change the file and save it, it's not saved to the db.

My log:

[Sat May 19 10:10:14 2012] [error] [client 127.0.0.1] WebDAV_DAV_Directory_Plugins_List::getChild(64_ini t_startup_add phrasegroups.php)
[Sat May 19 10:10:14 2012] [error] [client 127.0.0.1] [SabreDAV] Server teminated after 0.03668999671936 with 9 queries
[Sat May 19 10:10:14 2012] [error] [client 127.0.0.1] WebDAV_DAV_Directory_Styles::getName()
[Sat May 19 10:10:14 2012] [error] [client 127.0.0.1] WebDAV_DAV_Directory_Plugins::getName
[Sat May 19 10:10:14 2012] [error] [client 127.0.0.1] [SabreDAV] Server started
[Sat May 19 10:10:14 2012] [error] [client 127.0.0.1] [SabreDAV] realm is vBulletin WeBDAV
[Sat May 19 10:10:14 2012] [error] [client 127.0.0.1] [SabreDAV] User authentication passed - returning a0c02a844f70d70e3d97642d4c535c1d
[Sat May 19 10:10:14 2012] [error] [client 127.0.0.1] WebDAV_DAV_Root::getChild(Plug-ins)
[Sat May 19 10:10:14 2012] [error] [client 127.0.0.1] WebDAV_DAV_Directory_Plugins::getChild(By Product)
[Sat May 19 10:10:14 2012] [error] [client 127.0.0.1] WebDAV_DAV_Directory_Plugins_ByProduct::getChild(r agtek_poststomoderate_Postmoderation im Notificationmen\xc3\xbc)
[Sat May 19 10:10:14 2012] [error] [client 127.0.0.1] WebDAV_DAV_Directory_Plugins_List::getChild(64_ini t_startup_add phrasegroups.php)
[Sat May 19 10:10:14 2012] [error] [client 127.0.0.1] [SabreDAV] Server teminated after 0.038589000701904 with 6 queries
[Sat May 19 10:10:14 2012] [error] [client 127.0.0.1] WebDAV_DAV_Directory_Styles::getName()
[Sat May 19 10:10:14 2012] [error] [client 127.0.0.1] WebDAV_DAV_Directory_Plugins::getName
[Sat May 19 10:10:14 2012] [error] [client 127.0.0.1] [SabreDAV] Server started
[Sat May 19 10:10:14 2012] [error] [client 127.0.0.1] [SabreDAV] realm is vBulletin WeBDAV
[Sat May 19 10:10:14 2012] [error] [client 127.0.0.1] [SabreDAV] User authentication passed - returning a0c02a844f70d70e3d97642d4c535c1d
[Sat May 19 10:10:14 2012] [error] [client 127.0.0.1] WebDAV_DAV_Root::getChild(Plug-ins)
[Sat May 19 10:10:14 2012] [error] [client 127.0.0.1] WebDAV_DAV_Directory_Plugins::getChild(By Product)
[Sat May 19 10:10:14 2012] [error] [client 127.0.0.1] WebDAV_DAV_Directory_Plugins_ByProduct::getChild(r agtek_poststomoderate_Postmoderation im Notificationmen\xc3\xbc)
[Sat May 19 10:10:14 2012] [error] [client 127.0.0.1] WebDAV_DAV_Root::getChild(Plug-ins)
[Sat May 19 10:10:14 2012] [error] [client 127.0.0.1] WebDAV_DAV_Directory_Plugins::getChild(By Product)
[Sat May 19 10:10:14 2012] [error] [client 127.0.0.1] WebDAV_DAV_Directory_Plugins_ByProduct::getChild(r agtek_poststomoderate_Postmoderation im Notificationmen\xc3\xbc)
[Sat May 19 10:10:14 2012] [error] [client 127.0.0.1] WebDAV_DAV_Directory_Plugins_List::getChild(64_ini t_startup_add phrasegroups.php)
[Sat May 19 10:10:14 2012] [error] [client 127.0.0.1] [SabreDAV] Server teminated after 0.03594708442688 with 7 queries
[Sat May 19 10:10:14 2012] [error] [client 127.0.0.1] WebDAV_DAV_Directory_Styles::getName()
[Sat May 19 10:10:14 2012] [error] [client 127.0.0.1] WebDAV_DAV_Directory_Plugins::getName
[Sat May 19 10:10:14 2012] [error] [client 127.0.0.1] [SabreDAV] Server started
[Sat May 19 10:10:14 2012] [error] [client 127.0.0.1] [SabreDAV] realm is vBulletin WeBDAV
[Sat May 19 10:10:14 2012] [error] [client 127.0.0.1] [SabreDAV] User authentication passed - returning a0c02a844f70d70e3d97642d4c535c1d
[Sat May 19 10:10:14 2012] [error] [client 127.0.0.1] WebDAV_DAV_Root::getChild(Plug-ins)
[Sat May 19 10:10:14 2012] [error] [client 127.0.0.1] WebDAV_DAV_Directory_Plugins::getChild(By Product)
[Sat May 19 10:10:14 2012] [error] [client 127.0.0.1] WebDAV_DAV_Directory_Plugins_ByProduct::getChild(r agtek_poststomoderate_Postmoderation im Notificationmen\xc3\xbc)
[Sat May 19 10:10:14 2012] [error] [client 127.0.0.1] WebDAV_DAV_Directory_Plugins_List::getChild(64_ini t_startup_add phrasegroups.php___jb_old___)
[Sat May 19 10:10:14 2012] [error] [client 127.0.0.1] [SabreDAV] Server teminated after 0.031962871551514 with 6 queries


It seems that the put method isn't called when i save the file

ragtek
01-17-2013, 01:54 PM
Still not able to save the files:(

There's also nothing in the errorlog excpect a strict message

[Thu Jan 17 15:42:50 2013] [error] [client ::1] PHP Strict standards: Non-static method WebDAV_Helper::log() should not be called statically, assuming $this from incompatible context in C:\\xampp\\htdocs\\vb\\42\\packages\\webdav\\dav\\ directory\\plugins.php on line 54

Which i fixed with making the method static.

Neo_obs
04-29-2013, 08:47 PM
Is it possible to change the extension to php so dreamweaver will open the files?

nevermind I figured it out... had to make changes to a couple files.