TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,236
  • Total Topics: 21,353
  • Online today: 340
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 222
  • Total: 222

Help if you don't mind.

Started by AmazinAzn, June 07, 2007, 05:59:17 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

AmazinAzn

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?

Lesmond

This is something best asked at SMF, or the mod developer.

AmazinAzn


pvcblue

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.

AmazinAzn

#4
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.

pvcblue

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.

AmazinAzn

It's alright I found where it was thanks for the help.

This website is proudly hosted on Crocweb Cloud Website Hosting.