UBB.Dev
Posted By: Gardener Beta-[6.0-6.1-6.2] Post Notice 1.0 - 06/10/2003 3:29 AM
Mod Name / Version: Post Notice 1.0

Description: Makes it possible to add a notice above every post in selected forums. I used this to make it perfectly clear that all posts in a forum are part of a prank we made on April Fools Day.

Working Under: UBB.Threads 6.0-6.1-6.2

Mod Status: Beta

Any pre-requisites: None

Author(s): Gardener

Date: 06/09/03

Credits: None

Files Altered: showflat.php, showthreaded.php, config.inc.php

New Files: None

Database Altered: None

Info/Instructions: Please report any problems you might have and I'll try to fix them as soon as possible.


Disclaimer: Please backup every file that you intend to modify.
If the modification modifies the database, it's a good idea to backup your database before doing so.

Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.




Attached File
83701-PostNotice-1_0.txt  (57 downloads)
Posted By: JoshPet Re: Beta-[6.0-6.1-6.2] Post Notice 1.0 - 06/10/2003 3:29 AM
Go Gardener!
Posted By: Gardener Re: Beta-[6.0-6.1-6.2] Post Notice 1.0 - 06/10/2003 3:31 AM
I'd be glad if someone could check that this works on 6.3, I think it should but I haven't got a test site for 6.3 installed yet so I haven't tried it out.
Posted By: Gardener Re: Beta-[6.0-6.1-6.2] Post Notice 1.0 - 06/10/2003 3:34 AM
I've been thinking of writing this since april 1st, but haven't got around to it. But it's been fun seeing the occasional person falling for the prank afterwards even though there is a sticky post in it which explains it. =]

Can't think of many others who will have any use for this though, but I thought I might as well release while I'm at it. I was going to ask if anyone was interested first but it's such a small hack that writing the instructions took about the same amount of time. =]
Posted By: AKD96 Re: Beta-[6.0-6.1-6.2] Post Notice 1.0 - 06/10/2003 3:50 AM
I still can't wait until next April 1st so I can wreak havoc with my censor feature. Hopefully by then someone will have come up with a feature to replace certain words with certain words. (Good with Bad, Short with Long, etc.)
Posted By: Gardener Re: Beta-[6.0-6.1-6.2] Post Notice 1.0 - 06/10/2003 4:01 AM
It's such a good april fools prank that someone really ought to write a hack for it. =]

One problem though, it might be hard to reverse it, but if that's no concern it won't matter.
Posted By: AKD96 Re: Beta-[6.0-6.1-6.2] Post Notice 1.0 - 06/10/2003 4:02 AM
The censor feature only effects subsequent posts.
Posted By: Gardener Re: Beta-[6.0-6.1-6.2] Post Notice 1.0 - 06/10/2003 4:07 AM
Yes I know, but still, the posts made on April 1 won't be reversable. If you don't have any problem with that then it's ok. I would probably be a bit cautious though.

Hmm. I wonder how to implement the case when "long" is changed to "short" and "short" is changed into "long". If "long" is replaced to "short" first, then both "short" and "long" will be "long"... I guess all words would have to replaced with an interim word first and then all words would be changed to what they are supposed to be. Unless there is some smart php function to do this, it's not unlikely. =]
Posted By: JoshPet Re: Beta-[6.0-6.1-6.2] Post Notice 1.0 - 06/10/2003 4:22 AM
[]Hmm. I wonder how to implement the case when "long" is changed to "short" and "short" is changed into "long". If "long" is replaced to "short" first, then both "short" and "long" will be "long"... [/]

That's an april fools joke I could use.
Posted By: Gardener Re: Beta-[6.0-6.1-6.2] Post Notice 1.0 - 06/10/2003 4:38 AM
Doh! =]
© UBB.Developers