PDA

View Full Version : New Posting Features - [HTL] & [Normal] Thread Type v1.0.1


eXtremeTim
25 Jan 2004, 00:21
THIS HACK IS BACK UNDER PRODUCTION
I will be working on getting a new version of this hack out tonight. I will provide support here the best I can. For priority support go here (http://www.extremechatforums.com/forums/index.php?section=9998)


Thread Type
Version: 1.0.1
vB-version: 3.0.0 Release Candidate 2
Developer: Tim "eXtremeTim" Yarbrough
Install-difficulty: Easy
File-edits: 4
Template-edits: 2
Files modified for this Hack:
root/newthread.php
root/forumdisplay.php
root/includes/functions_newpost.php
Templates modified for this Hack:
newthread
threadbit
DB Tables modified for this Hack:
thread
New Features For The Next Version:
Ability to create the dropdown on a per forum basis.

This hack was designed for: http://www.extremechatforums.com/forum/index.php


https://www.vbulletin.org/forum/external/2010/09/1.gif (https://www.paypal.com/xclick/business=tim%40extremechatforums%2ecom&item_name=Tim%27s%20vBulletin%20Scripts&no_shipping=0&no_note=1&tax=0&currency_code=USD)

lolwtfomgoic
25 Jan 2004, 02:26
sounds like you borrowed this idea from fark and somethingawful :rolleyes:

eXtremeTim
25 Jan 2004, 03:25
I have never even been to fark or somethingawful :-/. I just decided this would be a good feature last night while i was making my thread description hack.

Xyphen
25 Jan 2004, 04:16
What is this?? Can I see a before and after image? o.O

eXtremeTim
25 Jan 2004, 04:30
Before image not needed you should know what a thread listing on forumdisplay.php looks like.

The after is attached. You can select from a big list of different post types so its not only just informative.

NuclioN
25 Jan 2004, 10:23
Nice ExtremeTim. :) I've added a font color for the threadbit because otherwise it looks if the thread type is part of the subject.

Dean C
25 Jan 2004, 11:23
Why not add an admincp section to add different threadtypes? Easy enough to do and can be ordered nicely via a displayorder field :)

eXtremeTim
25 Jan 2004, 14:29
I didn't have time to make any method for the acp. Like i said I just sat down last night and was working on the changes for teh thread description hack and decided this would be a good idea. So I made this one at the same time.

tilight
25 Jan 2004, 19:00
I didn't have time to make any method for the acp. Like i said I just sat down last night and was working on the changes for teh thread description hack and decided this would be a good idea. So I made this one at the same time.
Is there a way I could make this be in the edit post also?

eXtremeTim
25 Jan 2004, 19:21
I will look into that one.

eXtremeTim
26 Jan 2004, 01:37
I will be releasing a htl version in a bit.

gmarik
26 Jan 2004, 06:49
You should listen to Misten - that's the only BIG thing your hack lacks.

eXtremeTim
26 Jan 2004, 18:46
Apply this fix to make sure your protected. I dont see this being a problem with this hack but I decided to add this in to be a little more on the safe side. It always better to be safe then sorry.

Open functions_newpost.php

Find:

// ### POST NEW THREAD ###

if ($type == 'thread')

{



Add Below:

$post['threadtype'] = htmlspecialchars_uni(fetch_censored_text($post['threadtype']));



I will update the two install files to have this new change in v1.0.1. The only change will be this security update.

Ryan Ashbrook
26 Jan 2004, 22:19
Nice hack, but is there anyway I can set certain thread types for certain forums?

I'm installing. :)

Allan
01 Feb 2004, 06:57
Here is the problem: You filled well your new subject, the title, description, you choose your type of subject, you tape your subject... Now you make a previsualisation of your subject before sending... You contemplate previsualisation... then you send! There you will see only the title of your subject in the part where you have all the subjects of the forum... of aillor I do not know how one call this part.

Conclusion, I have the impression that it is necessary to avoid of prévisualiser the subject so that the hacks (those referred to above) function.

the problem is identical for these 2 hack "Thread Type v1.0.1" and "Thread Descriptions v1.0.1"

eXtremeTim
05 Apr 2005, 14:39
THIS HACK IS BACK UNDER PRODUCTION
I will be working on getting a new version of this hack out tonight. I will provide support here the best I can. For priority support go here (http://www.extremechatforums.com/forums/index.php?section=9998)

esfron
14 Apr 2005, 02:57
THIS HACK IS BACK UNDER PRODUCTION
I will be working on getting a new version of this hack out tonight. I will provide support here the best I can. For priority support go here (http://www.extremechatforums.com/forums/index.php?section=9998)


Nice hack, extremetim. I am impatiently waiting for a per forum basis option.

akanevsky
10 Jul 2005, 23:22
Pardon my ignorance, but what is HTL? Looks like serialized data...