vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   New Posting Features - [HTL] & [Normal] Thread Type v1.0.1 (https://vborg.vbsupport.ru/showthread.php?t=60698)

eXtremeTim 01-24-2004 10:00 PM

[HTL] & [Normal] Thread Type v1.0.1
 
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


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://vborg.vbsupport.ru/external/2010/09/1.gif

lolwtfomgoic 01-25-2004 01:26 AM

sounds like you borrowed this idea from fark and somethingawful :rolleyes:

eXtremeTim 01-25-2004 02:25 AM

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 01-25-2004 03:16 AM

What is this?? Can I see a before and after image? o.O

eXtremeTim 01-25-2004 03:30 AM

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 01-25-2004 09:23 AM

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 01-25-2004 10:23 AM

Why not add an admincp section to add different threadtypes? Easy enough to do and can be ordered nicely via a displayorder field :)

eXtremeTim 01-25-2004 01:29 PM

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 01-25-2004 06:00 PM

Quote:

Originally Posted by eXtremeTim
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 01-25-2004 06:21 PM

I will look into that one.

eXtremeTim 01-26-2004 12:37 AM

I will be releasing a htl version in a bit.

gmarik 01-26-2004 05:49 AM

You should listen to Misten - that's the only BIG thing your hack lacks.

eXtremeTim 01-26-2004 05:46 PM

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:

PHP Code:

 // ### POST NEW THREAD ###
 
if ($type == 'thread')
 




Add Below:

PHP Code:

 $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 01-26-2004 09:19 PM

Nice hack, but is there anyway I can set certain thread types for certain forums?

I'm installing. :)

Allan 02-01-2004 05:57 AM

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 04-05-2005 01:39 PM

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

esfron 04-14-2005 01:57 AM

Quote:

Originally Posted by eXtremeTim
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

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

akanevsky 07-10-2005 10:22 PM

Pardon my ignorance, but what is HTL? Looks like serialized data...


All times are GMT. The time now is 04:47 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01197 seconds
  • Memory Usage 1,754KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (18)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete