Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Fix-it: Template Edition Details »»
Fix-it: Template Edition
Version: 2.00, by GeekyDesigns GeekyDesigns is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 4.x.x Rating:
Released: 04-02-2012 Last Update: Never Installs: 50
Additional Files  
No support by the author.

A common method of defacing vBulletin sites is to edit the parsed template html directly via the database. It makes it harder for administrators to find the issue, and can be a pain in the ass to cleanup if you're not familiar with working with the database.

This tool will make it easier to clean your defaced site.

What it does:
Checks all of the templates in the database:
- Makes a new compiled version from the uncompiled template.
- Compares the current compiled template to the new compiled template
- If they differ, it updates the template, then rebuilds all of the styles.

How do you use it?
- Upload to your admincp, modcp, install, or root forums folder
- Browse to it
- Let it run
- Delete tool_recompiler.php after you are done using it.

This tool now works on vB3 and vB4.

vB3 Thread

Download Now

File Type: php tool_recompile.php (4.7 KB, 481 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
RaSa

Comments
  #22  
Old 05-19-2012, 11:38 PM
thecelticway thecelticway is offline
 
Join Date: Aug 2009
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
You have it in your website root right now...

Code:
http://www.thecelticway.net/tool_recompile.php
You need to move it to your forum root

Code:
http://www.thecelticway.net/forum/tool_recompile.php
sorry joe~~~~ same message....

Your search - http://www.thecelticway.net/forum/tool_recompile.php - did not match any documents.

Suggestions:

Make sure all words are spelled correctly.
Try different keywords.
Try more general keywords.



Reply With Quote
  #23  
Old 05-20-2012, 12:28 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Clicking on the link works-
http://www.thecelticway.net/forum/tool_recompile.php

You just need to turn on your forum for the tool to work. It doesn't work with the forums turned off.

Once you run it be sure to delete it.
Reply With Quote
  #24  
Old 05-20-2012, 04:24 PM
thecelticway thecelticway is offline
 
Join Date: Aug 2009
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
Clicking on the link works-
http://www.thecelticway.net/forum/tool_recompile.php

You just need to turn on your forum for the tool to work. It doesn't work with the forums turned off.

Once you run it be sure to delete it.

thanks Joe~~~~ got it:up:

but does this mean~~~~please

Template Recompiler Tool! ? Geeky Designs

You should remove this file from your server when you are done with it.
While it poses no substantial risk to your site's security, recompiling every template in the database is intensive on your server.
Keeping this file on your server would allow anyone to hammer your server with requests to this file.

Recompiling templates...
Template updated: error_summary (id: 2847, styleid: -10)
Uncompiled template could not be compiled due to error: newpost_preview (id: 2537, styleid: -10)
Uncompiled template could not be compiled due to error: post_thanks_javascript (id: 4030, styleid: -1)
Templates recompiled! Rebuilding styles...

Rebuild Style Information

Updating style information for each style

Default Style (vB3 Style - Incompatible) ... (Templates) !D?:6Г?u(Replacement Variables) $p(Controls) Done.

vB4 Default Style ... (Templates) !D?:6Г?u
Reply With Quote
  #25  
Old 05-20-2012, 07:21 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well you might as well delete your VB3 templates, they will never work on VB4... and try again.
Reply With Quote
  #26  
Old 05-20-2012, 08:45 PM
thecelticway thecelticway is offline
 
Join Date: Aug 2009
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
well you might as well delete your VB3 templates, they will never work on VB4... and try again.

thanks Joe..... does this look any better:up:

Template Recompiler Tool! ? Geeky Designs

You should remove this file from your server when you are done with it.
While it poses no substantial risk to your site's security, recompiling every template in the database is intensive on your server.
Keeping this file on your server would allow anyone to hammer your server with requests to this file.

Recompiling templates...
Uncompiled template could not be compiled due to error: newpost_preview (id: 2537, styleid: -10)
Uncompiled template could not be compiled due to error: post_thanks_javascript (id: 4030, styleid: -1)
No templates needed recompiling.

Thank you for using our tool!
Reply With Quote
  #27  
Old 05-20-2012, 08:58 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It looks better... note sure about these errors, I got a couple myself, didn't notice any issues afterwards- maybe the mod authors can chime in.
Reply With Quote
  #28  
Old 05-20-2012, 09:15 PM
thecelticway thecelticway is offline
 
Join Date: Aug 2009
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
It looks better... note sure about these errors, I got a couple myself, didn't notice any issues afterwards- maybe the mod authors can chime in.
defo: forum pages loading faster... lot faster
virus warning from Firefox no longer showing...... dont know about IE
:up:
Reply With Quote
Благодарность от:
BirdOPrey5
  #29  
Old 05-21-2012, 12:32 PM
thecelticway thecelticway is offline
 
Join Date: Aug 2009
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

SHIT!!!!!!.... virus warnings are back

anybody any idea how to remove this script......
Reply With Quote
  #30  
Old 05-29-2012, 12:13 AM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
Wasn't the file named tool_reparse.php at one time?
Yeah, it was.
Reply With Quote
  #31  
Old 08-04-2012, 10:27 PM
SgtSling SgtSling is offline
 
Join Date: Oct 2001
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Link14716 View Post
It means that the compile_template function returned an error. I should probably look into making it display a more specific error, but I honestly didn't think it'd pop up that often.
I am having the same problem with the styleid: -10) error.
I want to run this script because I had a template hack (or so I think)
Is there a fix for this?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04961 seconds
  • Memory Usage 2,342KB
  • Queries Executed 29 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete