MyBB Community Forums

Full Version: Modify Archives Link in Footer
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How can I change the filepath of the Archives link in the footer?

I've already modified every instance of the link in /archive/global.php /archive/index.php global.php and functions_archive.php

I specifically need to modify it for forumdisplay and showthread. The only thing I could find in the PHP file was:

$archive_url = build_archive_link("forum", $fid);
From line 3171 in ./inc/functions.php:

if((DIRECTORY_SEPARATOR == '\\' && is_numeric(stripos($_SERVER['SERVER_SOFTWARE'], "apache")) == false) || is_numeric(stripos(SAPI_NAME, "cgi")) !== false || defined("ARCHIVE_QUERY_STRINGS"))
{
	$base_url = $mybb->settings['bburl']."/archive/index.php?";
}
else
{
	$base_url = $mybb->settings['bburl']."/archive/index.php/";
}

??
Perfect, thanks!
Hey Zash,


is all you have to do is edit /archive/ to /newword/
or do you got change all $archiveurl also?