vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Administrative and Maintenance Tools - Fix-it: Template Edition (https://vborg.vbsupport.ru/showthread.php?t=220967)

kh99 03-10-2012 02:29 PM

Quote:

Originally Posted by aVirulence (Post 2308201)
I'm getting a 500 error when I try to run this on my vb4 forum (after changing the parameter as discussed above).

I tried it again and it seems to work - what program did you use to edit the file? Some programs will put strange characters in the file and cause problems.

aVirulence 03-11-2012 09:16 PM

Quote:

Originally Posted by kh99 (Post 2308280)
I tried it again and it seems to work - what program did you use to edit the file? Some programs will put strange characters in the file and cause problems.

I used Nano. I think the problem is with the time it takes to run the script (there is no output, it's just loading). I tried running the PHP script from the command line, but I'm getting an error there as well (different kind, I guess the script cannot be run from the command line).

sonic83 04-02-2012 02:48 PM

Hello. This hack work in version 4.1.10 or .11?

Thank you

GeekyDesigns 04-03-2012 07:14 PM

We're working on releasing a new version for 4.x

Link14716 04-03-2012 09:23 PM

I've updated this for vB4.

Quote:

Originally Posted by kh99 (Post 2297386)
I think for this to work in vb4 you just need to take the "false" parameter off the compile_template line so it looks like this:

Code:

    $template['newparsed'] = compile_template($template['template_un']);

I'm curious how I ended up with the false parameter because compile_template only has one parameter in vB3. o.O

mdawg 04-03-2015 04:31 AM

How about making this for vb 5 - vb5 is the wave of the future!

I was stuck in vb3 for years but now that I've upgraded to vb5 over all I am glad I made the move.


All times are GMT. The time now is 05:53 PM.

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.01086 seconds
  • Memory Usage 1,728KB
  • 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)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete