Hello,
After checking the forums with the 'Search' function for any answer, I've eventually decided to post.
I imported my forum from IPB to Vbulletin yesterday. Everything worked fine. Now I would like to clean my messages with the cleaner.php tool. However, this file refuses to work (after configuring it).
I get nothing, just a blank page.
These are the first lines of the file:
Thank for any help!
After checking the forums with the 'Search' function for any answer, I've eventually decided to post.
I imported my forum from IPB to Vbulletin yesterday. Everything worked fine. Now I would like to clean my messages with the cleaner.php tool. However, this file refuses to work (after configuring it).
I get nothing, just a blank page.
These are the first lines of the file:
PHP Code:
<?php
if (function_exists('set_time_limit') AND get_cfg_var('safe_mode')==0)
{
@set_time_limit(0);
}
ignore_user_abort(true);
error_reporting(E_ALL & ~E_NOTICE);
/*
* @package ImpEx.tools
* @version $Revision: 1.19 $
* @author Jerry Hutchings <[email protected]>
* @checkedout $Name: $
* @date $Date: 2006/03/31 02:48:11 $
* @copyright http://www.vbulletin.com/license.html
*
*/
// BACK UP YOUR DATABASE
// Cleaner
// Swaps X for Y in the database handy for smilies that have been wrongly parsed
// THIS IS A GARRUNTEED WAY TO TRASH YOU DB !!! .
// COMPLETLY INVALIDATES SUPPORT
// OK NOT REALLY, THOUGH ITS A BRUTAL SCRIPT BE VERY AWARE THAT YOU SHOULD BACK UP !!
// USE AT YOUR OWN RISK.
// BACK UP YOUR DATABASE
//
// I / we / the company takes no responsiability for you running this script
// Jerry - [email protected]
########################################
#
# Set to true / false
# $do_posts = ALL POSTS
# $do_sigs = ALL SIGNATURES
# $do_thread_titles = ALL THREAD TITLES
# $do_pm_text = ALL PM TEXTS;
# $do_pm_text_title = ALL PM TITLES;
########################################
// BACK UP YOUR DATABASE
// Set to true to run, and false when done, or remove this script (and all of impex when finished).
$active = true;
// Set true or false as to the data you want to clean
$do_posts = true;
$do_sigs = false;
$do_thread_titles = false;
$do_pm_text = false;
$do_pm_text_title = false;
########################################
# Replace 'Find me' and "Replace with me" with the strings you want replaced i.e
# "<b>" => "[b]"
# "<blockquote>" => "[quote]"
# add as many elements to the array as needed
// BACK UP YOUR DATABASE
$replacer = array(
"style_emoticons/<#EMO_DIR#>/Pancarte_jesors.gif" => ":jesors:",
"" => "",
"" => "",
"" => "",
"" => ""
);
// BACK UP YOUR DATABASE
################################################################################
# CHANGE NOTHING BELOW THIS LINE # CHANGE NOTHING BELOW THIS LINE # CHANGE NOTHI
################################################################################
Comment