Log in

View Full Version : Remove Latest Version


Dumi
08-14-2006, 06:56 PM
How do I remove the notice of the latest version of VB when you log into the AdminCP?

Nick

Paul M
08-14-2006, 07:10 PM
Upgrading will remove it. :)

I don't think there is any other way other than editing the files.

Kirk Y
08-14-2006, 07:26 PM
Find and Remove in admincp/index.php:
<script type="text/javascript">
<!--
if (typeof(vb_version) != "undefined" && isNewerVersion("<?php echo $vbulletin->options['templateversion']; ?>", vb_version))
{
var current_version = "<?php echo $vbulletin->options['templateversion']; ?>";
var latest_string = "<?php echo $vbphrase['latest_version_available_x']; ?>";
var current_string = "<?php echo $vbphrase['you_are_running_vbulletin_version_x']; ?>";
var download_string = "<?php echo $vbphrase['download_vbulletin_x_from_members_area']; ?>";

document.writeln('<table cellpadding="4" cellspacing="0" border="0" align="center" width="90%" class="tborder"><tr><td class="tcat" align="center"><b><?php echo $vbphrase['there_is_a_newer_vbulletin_version']; ?></b></td></tr><tr><td class="alt1" align="center">');
document.writeln('<p><b><a href="http://www.vbulletin.com/forum/showthread.ph' + 'p?p=' + vb_announcementid + '" target="_blank">' + construct_phrase(latest_string, vb_version) + "</a></b></p>");
document.writeln('<p>' + construct_phrase(current_string, current_version.bold()) + '</p>');
document.writeln('<p><a href="http://members.vbulletin.com/" target="_blank">' + construct_phrase(download_string, vb_version.bold()) + '</a></p>');
document.writeln('</td></tr></table>');
}
//-->
</script>

Dumi
08-16-2006, 04:37 AM
Nope didnt do it, logged out and logged back in. ???

Freesteyelz
08-16-2006, 05:02 AM
Along with the copyright phrasing edit out the version in your meta tag in headerinclude template.

Kirk Y
08-16-2006, 06:50 PM
Nope didnt do it, logged out and logged back in. ???

Worked for me on my 3.5.4 board.

Ntfu2
08-16-2006, 10:57 PM
Nope didnt do it, logged out and logged back in. ???


make sure to do a CTRL+F5(hard refresh) to get the new javascript