Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Fix-it: Template Edition Details »
Fix-it: Template Edition
Mod Version: 2.00, by GeekyDesigns (Coder) GeekyDesigns is offline
Developer Last Online: May 2012 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (8 votes - 5.00 average) Installs: 50
Released: 03 Apr 2012 Last Update: Never Downloads: 448
Not Supported Additional Files  

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

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Administrative and Maintenance Tools Fix-it: Template Edition GeekyDesigns vBulletin 3.8 Add-ons 85 03 Apr 2015 06:31

Comments
  #2  
Old 03 Apr 2012, 22:27
ptceuro ptceuro is offline
 
Join Date: Jan 2012
Location: U.S.A
thank you GeekyDesigns
__________________
Make 5000$ Per Month with PTCeuro.com
The PTCeuro’s prizes program allowed you to have so many awards every month, Some of those prize could be some cash (Up to 5000$ per month) and with only a 100$ minimum payout.
Reply With Quote
  #3  
Old 03 Apr 2012, 23:02
Krusty1231's Avatar
Krusty1231 Krusty1231 is offline
 
Join Date: Aug 2010
Real name: Jerry
So, just to be clear - I only need this AFTER something bad happens? So if I install it right now while everything is good - and say a few months from now my forum gets hacked, I just have to run it?

Or, I do not install it now - my forum gets hacked in a few months - then come back here and install it?

I'm not entirely clear on that part.
Reply With Quote
  #4  
Old 03 Apr 2012, 23:05
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Real name: Zachery Woods
There is no reason to have the file on your server, unless something bad has happened.

It will only fix the template system, if they only modified the parsed templates.

It they replaced everything, I don't believe it will get fixed.
If they messed with the plugin system, it will also not be fixed.
__________________
Looking for ImpEx?
Reply With Quote
  #5  
Old 03 Apr 2012, 23:10
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Real name: Matthew Gordon
Originally Posted by Krusty1231 View Post
So, just to be clear - I only need this AFTER something bad happens? So if I install it right now while everything is good - and say a few months from now my forum gets hacked, I just have to run it?

Or, I do not install it now - my forum gets hacked in a few months - then come back here and install it?

I'm not entirely clear on that part.
Yeah, don't install it now. Download it, or bookmark this page if you want, but you shouldn't leave it on your server when you aren't using it (it's not a security risk, but you don't really want a file that fetches all the templates and re-compiles them just laying around - if someone happened to find it and hammered it, it could impact your server load).

It's a tool that can help clean up defaced forums if the templates are hacked a certain way, so it can be very useful if that happens. Just remember that that is all it does, it won't magically fix everything else or prevent you from being compromised again - it's a tool, not a cure.
__________________
Along with Zachery, I make releases as GeekyDesigns. Please do not PM or IM me for support.
Reply With Quote
  #6  
Old 23 Apr 2012, 18:27
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Any additional info on what these errors may mean?

Uncompiled template could not be compiled due to error: blog_sidebar_user_block_visitors (id: 4187, styleid: -10)
Uncompiled template could not be compiled due to error: vbcms_widget_recentarticle_page (id: 4301, styleid: -10)
Uncompiled template could not be compiled due to error: vbcms_widget_recentcontent_page (id: 4312, styleid: -10)
Besides the obvious that an error occurred?
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #7  
Old 24 Apr 2012, 21:07
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Real name: Zachery Woods
Templates with a styleid of -10 i dont think should be in the database at all.
__________________
Looking for ImpEx?
Reply With Quote
  #8  
Old 24 Apr 2012, 21:54
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
I have 956 templates in the database with a styleid of -10. It looks like it is the MASTER style.

There were a number of other templates with id of -10 that were rebuilt just fine.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #9  
Old 24 Apr 2012, 23:56
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Real name: Zachery Woods
Weird styleid -1 always used to be the master style (must be all the new stuff).

Check those styles and make sure they're okay?
__________________
Looking for ImpEx?
Reply With Quote
  #10  
Old 26 Apr 2012, 12:03
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
I looked at them in the database, I didn't see anything obviously wrong with them. Everything seems to be working so I'm not going to worry about it, just wasn't sure if you knew off-hand if that error was common or meant something other than what is said.

Still a great tool.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #11  
Old 14 May 2012, 17:31
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Real name: Matthew Gordon
Originally Posted by BirdOPrey5 View Post
Any additional info on what these errors may mean?



Besides the obvious that an error occurred?
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.
__________________
Along with Zachery, I make releases as GeekyDesigns. Please do not PM or IM me for support.
Reply With Quote
  #12  
Old 19 May 2012, 14:29
thecelticway thecelticway is offline
 
Join Date: Aug 2009
hi

uploaded this to my FTP>>AdminCP.......
cant seem to find it in the AP... am I missing something
Reply With Quote
  #13  
Old 19 May 2012, 17:22
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Wasn't the file named tool_reparse.php at one time?
Reply With Quote
  #14  
Old 19 May 2012, 20:57
thecelticway thecelticway is offline
 
Join Date: Aug 2009
anybody any idea where exactly does this file go~~~~
Reply With Quote
  #15  
Old 19 May 2012, 21:07
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
The instructions are right in the first post- right under: How do you use it?
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 13:08.

Layout Options | Width: Wide Color: