Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: May 1999
Posts: 1,715
Addict
Addict
Joined: May 1999
Posts: 1,715
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.


Attachments
83701-PostNotice-1_0.txt (0 Bytes, 57 downloads)

Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Go Gardener!

Joined: May 1999
Posts: 1,715
Addict
Addict
Joined: May 1999
Posts: 1,715
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.

Joined: May 1999
Posts: 1,715
Addict
Addict
Joined: May 1999
Posts: 1,715
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. =]

Joined: Aug 2000
Posts: 1,609
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,609
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.)

Sponsored Links
Joined: May 1999
Posts: 1,715
Addict
Addict
Joined: May 1999
Posts: 1,715
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.

Joined: Aug 2000
Posts: 1,609
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,609
The censor feature only effects subsequent posts.

Joined: May 1999
Posts: 1,715
Addict
Addict
Joined: May 1999
Posts: 1,715
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. =]

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
[]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.

Joined: May 1999
Posts: 1,715
Addict
Addict
Joined: May 1999
Posts: 1,715
Doh! =]

Sponsored Links

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)