TinyPortal
Development => Support => Topic started by: AmazinAzn on June 07, 2007, 05:59:17 PM
I installed the Global Announcements mod and when I did I got a bunch of unnecessary text at the top of my site.
This is what it says:
//Global Announcements adminIndex text strings. $txt['global_announcements_admin'] = 'Global Announcements'; $txt['global_announcements_mods'] = 'Mods'; $txt['whoallow_globalAnnouncementsAdmin'] = 'Managing the Global Announcements.'; $txt['whoall_globalAnnouncements'] = 'Viewing a Global Announcement'; //Global Announcements adminIndex text strings. $txt['global_announcements_admin'] = 'Global Announcements'; $txt['global_announcements_mods'] = 'Mods'; $txt['whoallow_globalAnnouncementsAdmin'] = 'Managing the Global Announcements.'; $txt['whoall_globalAnnouncements'] = 'Viewing a Global Announcement'; //Global Announcements adminIndex text strings. $txt['global_announcements_admin'] = 'Global Announcements'; $txt['global_announcements_mods'] = 'Mods'; $txt['whoallow_globalAnnouncementsAdmin'] = 'Managing the Global Announcements.'; $txt['whoall_globalAnnouncements'] = 'Viewing a Global Announcement';
I uninstalled the mod and it's still there, any idea why it's there?
This is something best asked at SMF, or the mod developer.
Ok, will do.
Quote from: AmazinAzn on June 07, 2007, 05:59:17 PM
I installed the Global Announcements mod and when I did I got a bunch of unnecessary text at the top of my site.
This is what it says:
//Global Announcements adminIndex text strings. $txt['global_announcements_admin'] = 'Global Announcements'; $txt['global_announcements_mods'] = 'Mods'; $txt['whoallow_globalAnnouncementsAdmin'] = 'Managing the Global Announcements.'; $txt['whoall_globalAnnouncements'] = 'Viewing a Global Announcement'; //Global Announcements adminIndex text strings. $txt['global_announcements_admin'] = 'Global Announcements'; $txt['global_announcements_mods'] = 'Mods'; $txt['whoallow_globalAnnouncementsAdmin'] = 'Managing the Global Announcements.'; $txt['whoall_globalAnnouncements'] = 'Viewing a Global Announcement'; //Global Announcements adminIndex text strings. $txt['global_announcements_admin'] = 'Global Announcements'; $txt['global_announcements_mods'] = 'Mods'; $txt['whoallow_globalAnnouncementsAdmin'] = 'Managing the Global Announcements.'; $txt['whoall_globalAnnouncements'] = 'Viewing a Global Announcement';
I uninstalled the mod and it's still there, any idea why it's there?
in your default theme folder go to the language folder, open the english.index.php and look t othe bottom of the file. Sometimes when MODs change this file they don't put the changes inside the php tags. At the bottom of the file it should show this closer - "?>"
sometimes the mod puts the new text after it, just move it to the end of the file, and all should be right.
There's no text after it. G6 told me to "To remove the code, download the mod again and look in the mods XML file for where it adds the code, then remove it from that file." would that work?
[EDIT] Found it in Modifications.english.php, thanks for the help.
Quote from: AmazinAzn on June 07, 2007, 09:59:16 PM
There's no text after it. G6 told me to "To remove the code, download the mod again and look in the mods XML file for where it adds the code, then remove it from that file." would that work?
Yes you could do as G6 says, or just unzip the mod on your computer open the xml see which files it changes and fix them from that by opening each php as the xml says and checking where it changed them, instead of reapplying the MOD.
It's alright I found where it was thanks for the help.