Jump to content

* * * * *

Externally editing templates and CSS via WebDAV

IP.Board 3.2.0+ has the ability to edit templates and CSS externally via WebDAV. This is a standard protocol that can be used with many desktop clients on many platforms including OS X, Windows and Unix.

To enable external editing, please follow these steps:

Log into your Admin CP
Click on "Look & Feel"
Select "Externally Edit Templates & CSS"
Enable the form and submit

Posted Image

You are now ready to start editing your files. You'll note that the WebDAV details you need are displayed underneath the enable toggle. Refer to these shortly.

OS X Users
You can use Finder to navigate and edit these files. Simply choose "Go > Connect To Server" (Shortcut APPLE + K).
Using our example, enter "http://localhost/inv...board3/dav.php" as the server address. You will use your correct details of course.

Posted Image

You will now see the log in prompt. Enter your Admin CP username and password

Posted Image

You are now logged in and ready to edit your CSS and templates!

Posted Image

Another good WebDAV client is Panic Software's Transmit. Finder doesn't cache so it can be slow moving between folders.

Windows Users
Although you can connect directly to a WebDAV folder from within Windows, you may find a third party client easier to use, such as Cyberduck.

Connecting with Cyberduck:
- Connect with cyberduck using the Quick Connect feature and use the format: dav://localhost/invisionboard3/dav.php as the URL. Enter your Admin CP username and password when prompted.

For more information on WebDAV clients please see this page.
  • zbahadir, Ryan M, maxx_poland and 2 others like this


To use Windows 7's built-in support for WebDAV, follow this quick guide:

Click Start, type services.msc in to the search box and press enter. (You may need to provide UAC elevation.)
Posted Image

Find WebClient in the list, double-click it, and set startup type to automatic, then click start, then OK and close Services. (Depending on your setup, WebClient may already be set to automatic. If so, skip this step.)
Posted Image

Click Start, then Computer.

On the top bar, click Map Network Drive. Select a drive letter, and type http://yoursite.com/forums/dav.php as the folder, replacing /forums with the path to IP.Board (or removing it if IP.Board is at the site root). (If you have an SSL certificate installed, you may use https instead of http.) Check both reconnect at logon and use different credentials, then click finish. At this point, it should ask you for your username and password, enter them and click OK.
Posted Image

Depending on various conditions, your computer may appear to hang for up to a few minutes. Additionally, it may continue to say 'Attempting to Connect' even after it has successfully connected (if so, the drive will appear in My Computer at this point, and you can simply cancel any open dialog boxes and begin using WebDAV to edit your templates).
    • Ryan M, maxx_poland, iMatteh and 8 others like this
Nov 30 2012 10:48 PM

for ubuntu/debian linux:


open up terminal:


sudo apt-get install davfs2


once that is installed, 


do the following:



sudo echo “http://www.domain.net/dav.php ipb-username ipb-password” >> /etc/davfs2/secrets

create a mount point:


sudo mkdir /media/webdav


now open up fstab:


sudo nano /etc/fstab


start a new line, add the following:


http://www.domain.com/dav.php davfs defaults,uid=linux-username,gid=linux-username 0 0


ctrl+o to save, ctrl+x to exit.


now run this command:


sudo mount -a


if everything went well, you will find your template stuff mounted in /media/webdav, and you will be able to open and edit any text or IDE program you use in linux. (this is for ubuntu and debian, but with the exception of the installation of davfs2, the directions should be the same). 

    • Ryan M likes this

Developer Docs · Error Codes