Previous Thread
Next Thread
Print Thread
Rating: 5
Joined: Oct 1999
Posts: 282
Enthusiast
Enthusiast
Offline
Joined: Oct 1999
Posts: 282
Mod Name / Version: Off-topic Marker v1.0

Description: Enables users to mark their reply as "Off-topic" at the time of creation. These posts will display in a style different from normal posts. Users only interested in on-topic posts may now quickly discover and skip off-topic posts.

Admins & Mods can toggle "Off-topic" / "On-topic" on the fly in showthreaded & showflat at any time.

You may change the look (background, text, ...) of off-topic posts easily by changing the stylesheet.

Included are the strings for English, Spanish and German language files.

Working Under: UBB.Threads 6.4

Mod Status: Beta

Any pre-requisites: none

Author(s): Maze

Date: 01/11/04

Credits:

Files Altered: newreply.php, /templates/default/newreply.tmpl, /languages/XXX/newreply.php, addpost.php, /templates/default/addpost_preview.tmpl, showflat.php, /templates/default/showflat.tmpl, /languages/XXX/showflat.php, showthreaded.php, /templates/default/showthreaded.tmpl, /stylesheets/*.css

New Files: /admin/toggleofftopic.php, /images/thumbs_down.gif, /images/thumbs_up.gif

Database Altered: Yes, added a new field to the w3t_Posts-table

Info/Instructions:
[]http://www.bikefreak.de/images/forum/extern/ubbt_hack_offtopic1.png[/]

[]http://www.bikefreak.de/images/forum/extern/ubbt_hack_offtopic2.png[/]

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
104716-Hack Offtopic v1.0.zip (0 Bytes, 26 downloads)

Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Interesting Idea. Thanks.

Joined: Feb 2003
Posts: 196
Member
Member
Offline
Joined: Feb 2003
Posts: 196
can you set it in a way that we the admins and moderators be able to delete them in a showflat and showthreaded mode?. That would be very helpful

Joined: Oct 1999
Posts: 282
Enthusiast
Enthusiast
Offline
Joined: Oct 1999
Posts: 282
Well, this would be a completely different hack. More simple than this one though.

Joined: Sep 2003
Posts: 803
Coder
Coder
Offline
Joined: Sep 2003
Posts: 803
Maze? quick question. In the images you show the testing in, what are the thiumbs up and thumbs down for. is that part of this mod? And whats the icon to the right of that?

The reason im asking is the fact that I like the idea of adding icons to the bottom of the post like that to link to other stuff.

Sponsored Links
Joined: Oct 1999
Posts: 282
Enthusiast
Enthusiast
Offline
Joined: Oct 1999
Posts: 282
The thumbs up and down are for the admins/mods to toggle the post off- or on-topic. The icon on the right is the thread-management link (new in v6.4). I just changed the default text link to the icon.


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
Posts: 70
Joined: January 2007
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 20240506)