Page 1 of 1

Global Announcements not showing ??

Posted: Tue Jan 06, 2009 3:42 am
by jtryptophan
Hello -

I was doing some mod work and now my global announcements are hidden. I can search and find them, make them Sticky and they show, but no Global Announcements appear in any forum. What could I have done?

Thanks.

Joel


check that - no announcements of any kind, not just global.

Re: Global Announcements not showing ??

Posted: Tue Jan 06, 2009 4:34 am
by ric323
What is the address of your board?
What MODs were you installing?

Re: Global Announcements not showing ??

Posted: Tue Jan 06, 2009 4:55 am
by jtryptophan
http://www.mobwarsforum.com

I uninstalled {topic preview} {redbar} {th23domain}

I installed add this

That should narrow it down. :?

Re: Global Announcements not showing ??

Posted: Wed Jan 07, 2009 6:05 am
by jtryptophan
This is kinda important.. so bump ^^

Or could anyone point me in the direction of the part of viewforum or viewtopic I may have erased that normally controls the announcements? :o

Or, are announcements controlled from the ACP where my button finger may have slipped? :shock:

Thanks!

Re: Global Announcements not showing ??

Posted: Wed Jan 07, 2009 6:52 am
by jtryptophan
I have a renewed faith in my abilities.

It took me 2 hours and I received no assistance. :)

1 line of code was missing to viewforum.php - 1 line!

Code: Select all

$announcement-list[ ] =$row ['topic_id']]=true; 
<--- the line or something like it

Now, this line of code was nowhere near where I was making my modifications.

So, now I'm paranoid and think that either:
a) a hacker is trying to break me down by messing with my mind 1 line of code at a time.
b) when the server crashes, tiny bits of code like this are swallowed by the internet black hole.
c) i caused this to happen and will never know why.

Which is most likely?

This is supposed to be amusing. :P

Re: Global Announcements not showing ??

Posted: Wed Jan 07, 2009 6:58 am
by blakebowling
jtryptophan wrote:So, now I'm paranoid and think that either:
a) a hacker is trying to break me down by messing with my mind 1 line of code at a time.
b) when the server crashes, tiny bits of code like this are swallowed by the internet black hole.
c) i caused this to happen and will never know why.

Which is most likely?

This is supposed to be amusing. :P
I'm guessing B 8-)

Re: Global Announcements not showing ??

Posted: Wed Jan 07, 2009 10:45 am
by Mick
jtryptophan wrote:Or could anyone point me in the direction of the part of viewforum or viewtopic I may have erased that normally controls the announcements?
Hence the importance of making backup copies of your files before you edit them ;)

Re: Global Announcements not showing ??

Posted: Wed Jan 07, 2009 11:02 am
by ric323
If you don't already have it, grab a copy of Winmerge.
This is an essential utility for comparing text files.