Log in

View Full Version : How to convert from php5 --> php


sturdy
10-16-2006, 06:05 AM
Hey everybody,

I first thought it would be a good Idea to download my board with the php5 Files.
But then I mentioned that the style wasnt optimized for this files.
So I decided to delete all files with .php5 extension and to overwrite them with the normal .php files.

But now I have the problem that all link still are linked with .php5 e.g. in the UserCP :(

Do you know where I can change this easily ? Because I created the whole forum and dont want to do this again


thx
sturdy

//edit : The register-images etc. also dont work :(

Marco van Herwaarden
10-16-2006, 08:17 PM
The problem is that the .php5 extension will be compiled into your templates.

There are 2 ways to fix this:
- Update the templates in the database and replace all php5 by php. After this edit a style to rebuild the style cache.
- Use tools.php (found in the "do_not"upload" directory of your vBulletin distribution, upload it to the admincp directory) to re-load the master style.

sturdy
10-17-2006, 06:15 AM
Will this also solve the Problem with the register images ?

Marco van Herwaarden
10-17-2006, 08:19 AM
That should solve most of your problems.