vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How to convert from php5 --> php (https://vborg.vbsupport.ru/showthread.php?t=129195)

sturdy 10-16-2006 06:05 AM

How to convert from php5 --> php
 
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.


All times are GMT. The time now is 10:42 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02989 seconds
  • Memory Usage 1,706KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete