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 Descriptions v1.0.1 (https://vborg.vbsupport.ru/showthread.php?t=60697)

achtungbaby 01-26-2004 09:02 AM

Quote:

Originally Posted by Boofo
Any way to add this to the editpost so we can add thread descriptions to threads that are already there?

That's what I'm waitin for.

StarBuG 01-26-2004 09:33 AM

Nice hack!

That´s what I´m waiting for!

/me clicks install

Greetings

Star

TheComputerGuy 01-26-2004 11:05 AM

Quote:

Originally Posted by Boofo
Any way to add this to the editpost so we can add thread descriptions to threads that are already there?

That would be a good feature

SteveK 01-26-2004 02:03 PM

Perhaps I missed the step, but I believe the HTL version needs to support database prefix's. I was able to edit this in via the Hack Manager to get it installed. Nice one, overall--- thanks.

eXtremeTim 01-26-2004 05:44 PM

EVERYBODY USING APPLY THIS FIX NOW. There was a major security problem found. This stops the use of html and applies swear filering to the text.

Open functions_newpost.php

Find:
PHP Code:

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

Add Below:
PHP Code:

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

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

Boofo 01-29-2004 03:47 PM

Any word on updating this for the editpost to add descriptions to threads already there?

fly 02-07-2004 04:28 PM

<i>...Posting here to be informed of an update...</i>

M.C. 02-10-2004 11:03 PM

any chance to add description on POST EDIT?

Boofo 02-10-2004 11:33 PM

We figured out what needed to be added and it is more code than the original hack. But it works! ;)

achtungbaby 02-11-2004 02:18 AM

Quote:

Originally Posted by Boofo
We figured out what needed to be added and it is more code than the original hack. But it works! ;)

Care to post the code...?


All times are GMT. The time now is 01:46 AM.

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.01317 seconds
  • Memory Usage 1,738KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete