vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Thread Description v1.2 (https://vborg.vbsupport.ru/showthread.php?t=82799)

C.Birch 06-10-2005 06:02 AM

Quote:

Originally Posted by jpt62089
same with reply... <_<

please post any errors so it helps tim with fixing stuff :)

the below is the error i get when trying to reply:

Fatal error: Field threaddesc is not defined in $validfields in class vb_datamanager_post in /includes/class_dm.php on line 484

jpt62089 06-10-2005 06:03 AM

same here.....

Fatal error: Field threaddesc is not defined in $validfields in class vb_datamanager_post in /includes/class_dm.php on line 484

jpt62089 06-10-2005 06:09 AM

its something in the XML and not the file mods....

eXtremeTim 06-10-2005 06:10 AM

Heres the fix

in plugin titled

Thread Description: Save Description

Replaced the code with the following
PHP Code:

if ($type == 'thread') {
$post['threaddesc'] = htmlspecialchars_uni($post['threaddesc']);
$dataman->set('threaddesc'$post['threaddesc']);


I am updating the xml file right now.

jpt62089 06-10-2005 06:20 AM

works fine now :D thanks dude

C.Birch 06-10-2005 06:22 AM

that works fine now tim :)

eXtremeTim 06-10-2005 06:26 AM

Your both welcome. :)

Logikos 06-10-2005 08:25 AM

Tim is right, i tried mutiable ways to get this down to just one file edit. But not every hack can be "file-editless". Though he did save a whole lot of file editing using the hooks system. Nice work man!

/me clicks install!

eXtremeTim 06-10-2005 03:20 PM

Thank you.

If their was a way to get this down to one or no file edits I would have. I also believe I have noticed that I have an extra plugin snapped into this. I have disabled the one on my site right now to notice if I see any problems anywhere if not I will post the changes here.

cmiller1014 06-10-2005 07:42 PM

I thought the whole point was to avoid file edits? I wont be installing any hacks that have file edits. Is the plugin system crummy or what is the problem?


All times are GMT. The time now is 05:31 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.03081 seconds
  • Memory Usage 1,741KB
  • 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
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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