SMF 2.0.18 has been released! Please update. Read more.
Started by niko, May 23, 2009, 01:02:36 AM
Quote from: Col on December 09, 2012, 01:47:09 PMDoes this mod track the individual changes within a post (like a wiki), or does it just store complete copies of each individual edited version of a post?
Fatal error: Cannot redeclare loadEdit() (previously declared in /xxx/Sources/PostHistory.php:221) in /xxx/Sources/BrokenLinksList.php on line 416
Quote from: Eclipse16V on January 02, 2013, 03:45:06 AMDoesn´t work with the Broken Link List Mod.Code Select ExpandFatal error: Cannot redeclare loadEdit() (previously declared in /xxx/Sources/PostHistory.php:221) in /xxx/Sources/BrokenLinksList.php on line 416 Can you help me?
Quote from: Old Fossil on April 11, 2013, 07:47:21 PMLooking at the mods parser all the edits which are there show so there is no reason as to why the mod won't work.
<modification format="xml" type="file">language/german-utf8.xml</modification>
Quote from: DEEPSNUYB on March 15, 2014, 04:52:59 AMHello. I have manually installed this. What else do I need to do to get it working specifically for 2.0.7?It statespost_history/Database.phpThis file should not be able to execute standalone. You may have to run the following queries manually.What queries?post_history/Subs-Install.phpThis file should not be able to execute standalone. You may have to run the following queries manually.What queries?post_history/install.phpI ran this. So I assume the install.php needs to be deleted. But is this the only file that needs to be deleted?
Quote from: BeastMode topic=525177.msg3720020#msg3720020It's so powerful that on this post and even in the two PMs you sent me,you still answered my question very quickly and you're apologizing for the delay. You're the #1 support I've probably ever encountered man, so much respect for that. Thank you, and get better soon.
<?php// Connection details$db['host'] = 'localhost';$db['user'] = 'xxx';$db['pass'] = 'xxx';$db['db'] = 'xxx';$lastYear = time() - (365 * 24 * 60 * 60);// MySQL we need ya..$link = mysqli_connect($db['host'], $db['user'], $db['pass']);if (!$link) die('Could not connect: ' . mysqli_error($link));//Select databasemysqli_select_db($link, $db['db']); //Delete Message History older than a year $query = "DELETE FROM smf_messages_history WHERE modified_time < ".$lastYear;mysqli_query($link, $query);// Close database connectionmysqli_close($link);?>